...

Package generated

import "github.com/chaos-mesh/chaos-mesh/pkg/ctrl/server/generated"
Overview
Index

Overview ▾

func NewExecutableSchema

func NewExecutableSchema(cfg Config) graphql.ExecutableSchema

NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.

type AttrOverrideSpecResolver

type AttrOverrideSpecResolver interface {
    Ino(ctx context.Context, obj *v1alpha1.AttrOverrideSpec) (*int, error)
    Size(ctx context.Context, obj *v1alpha1.AttrOverrideSpec) (*int, error)
    Blocks(ctx context.Context, obj *v1alpha1.AttrOverrideSpec) (*int, error)

    Kind(ctx context.Context, obj *v1alpha1.AttrOverrideSpec) (*string, error)
    Perm(ctx context.Context, obj *v1alpha1.AttrOverrideSpec) (*int, error)
    Nlink(ctx context.Context, obj *v1alpha1.AttrOverrideSpec) (*int, error)
    UID(ctx context.Context, obj *v1alpha1.AttrOverrideSpec) (*int, error)
    Gid(ctx context.Context, obj *v1alpha1.AttrOverrideSpec) (*int, error)
    Rdev(ctx context.Context, obj *v1alpha1.AttrOverrideSpec) (*int, error)
}

type BandwidthSpecResolver

type BandwidthSpecResolver interface {
    Limit(ctx context.Context, obj *v1alpha1.BandwidthSpec) (int, error)
    Buffer(ctx context.Context, obj *v1alpha1.BandwidthSpec) (int, error)
    Peakrate(ctx context.Context, obj *v1alpha1.BandwidthSpec) (*int, error)
    Minburst(ctx context.Context, obj *v1alpha1.BandwidthSpec) (*int, error)
}

type ChaosConditionResolver

type ChaosConditionResolver interface {
    Type(ctx context.Context, obj *v1alpha1.ChaosCondition) (string, error)
    Status(ctx context.Context, obj *v1alpha1.ChaosCondition) (string, error)
}

type CidrAndPortResolver

type CidrAndPortResolver interface {
    Port(ctx context.Context, obj *v1alpha1.CidrAndPort) (int, error)
}

type ComplexityRoot

type ComplexityRoot struct {
    AttrOverrideSpec struct {
        Atime  func(childComplexity int) int
        Blocks func(childComplexity int) int
        Ctime  func(childComplexity int) int
        Gid    func(childComplexity int) int
        Ino    func(childComplexity int) int
        Kind   func(childComplexity int) int
        Mtime  func(childComplexity int) int
        Nlink  func(childComplexity int) int
        Perm   func(childComplexity int) int
        Rdev   func(childComplexity int) int
        Size   func(childComplexity int) int
        UID    func(childComplexity int) int
    }

    BandwidthSpec struct {
        Buffer   func(childComplexity int) int
        Limit    func(childComplexity int) int
        Minburst func(childComplexity int) int
        Peakrate func(childComplexity int) int
        Rate     func(childComplexity int) int
    }

    CPUStressor struct {
        Load    func(childComplexity int) int
        Options func(childComplexity int) int
        Workers func(childComplexity int) int
    }

    Cgroups struct {
        CPU    func(childComplexity int) int
        Memory func(childComplexity int) int
        Raw    func(childComplexity int) int
    }

    CgroupsCpu struct {
        Period func(childComplexity int) int
        Quota  func(childComplexity int) int
    }

    CgroupsMemory struct {
        Limit func(childComplexity int) int
    }

    ChaosCondition struct {
        Reason func(childComplexity int) int
        Status func(childComplexity int) int
        Type   func(childComplexity int) int
    }

    CidrAndPort struct {
        Cidr func(childComplexity int) int
        Port func(childComplexity int) int
    }

    ContainerState struct {
        Running    func(childComplexity int) int
        Terminated func(childComplexity int) int
        Waiting    func(childComplexity int) int
    }

    ContainerStateRunning struct {
        StartedAt func(childComplexity int) int
    }

    ContainerStateTerminated struct {
        ContainerID func(childComplexity int) int
        ExitCode    func(childComplexity int) int
        FinishedAt  func(childComplexity int) int
        Message     func(childComplexity int) int
        Reason      func(childComplexity int) int
        Signal      func(childComplexity int) int
        StartedAt   func(childComplexity int) int
    }

    ContainerStateWaiting struct {
        Message func(childComplexity int) int
        Reason  func(childComplexity int) int
    }

    ContainerStatus struct {
        ContainerID          func(childComplexity int) int
        Image                func(childComplexity int) int
        ImageID              func(childComplexity int) int
        LastTerminationState func(childComplexity int) int
        Name                 func(childComplexity int) int
        Ready                func(childComplexity int) int
        RestartCount         func(childComplexity int) int
        Started              func(childComplexity int) int
        State                func(childComplexity int) int
    }

    CorruptSpec struct {
        Correlation func(childComplexity int) int
        Corrupt     func(childComplexity int) int
    }

    DelaySpec struct {
        Correlation func(childComplexity int) int
        Jitter      func(childComplexity int) int
        Latency     func(childComplexity int) int
        Reorder     func(childComplexity int) int
    }

    DuplicateSpec struct {
        Correlation func(childComplexity int) int
        Duplicate   func(childComplexity int) int
    }

    ExperimentStatus struct {
        DesiredPhase func(childComplexity int) int
        Records      func(childComplexity int) int
    }

    Fd struct {
        Fd     func(childComplexity int) int
        Target func(childComplexity int) int
    }

    HTTPChaos struct {
        APIVersion                 func(childComplexity int) int
        Annotations                func(childComplexity int) int
        CreationTimestamp          func(childComplexity int) int
        DeletionGracePeriodSeconds func(childComplexity int) int
        DeletionTimestamp          func(childComplexity int) int
        Finalizers                 func(childComplexity int) int
        GenerateName               func(childComplexity int) int
        Generation                 func(childComplexity int) int
        Kind                       func(childComplexity int) int
        Labels                     func(childComplexity int) int
        Name                       func(childComplexity int) int
        Namespace                  func(childComplexity int) int
        OwnerReferences            func(childComplexity int) int
        Podhttp                    func(childComplexity int) int
        ResourceVersion            func(childComplexity int) int
        SelfLink                   func(childComplexity int) int
        Spec                       func(childComplexity int) int
        Status                     func(childComplexity int) int
        UID                        func(childComplexity int) int
    }

    HTTPChaosSpec struct {
        Abort           func(childComplexity int) int
        Code            func(childComplexity int) int
        Delay           func(childComplexity int) int
        Duration        func(childComplexity int) int
        Method          func(childComplexity int) int
        Mode            func(childComplexity int) int
        Patch           func(childComplexity int) int
        Path            func(childComplexity int) int
        Port            func(childComplexity int) int
        Replace         func(childComplexity int) int
        RequestHeaders  func(childComplexity int) int
        ResponseHeaders func(childComplexity int) int
        Selector        func(childComplexity int) int
        Target          func(childComplexity int) int
        Value           func(childComplexity int) int
    }

    HTTPChaosStatus struct {
        Conditions func(childComplexity int) int
        Experiment func(childComplexity int) int
        Instances  func(childComplexity int) int
    }

    IOChaos struct {
        APIVersion                 func(childComplexity int) int
        Annotations                func(childComplexity int) int
        CreationTimestamp          func(childComplexity int) int
        DeletionGracePeriodSeconds func(childComplexity int) int
        DeletionTimestamp          func(childComplexity int) int
        Finalizers                 func(childComplexity int) int
        GenerateName               func(childComplexity int) int
        Generation                 func(childComplexity int) int
        Kind                       func(childComplexity int) int
        Labels                     func(childComplexity int) int
        Name                       func(childComplexity int) int
        Namespace                  func(childComplexity int) int
        OwnerReferences            func(childComplexity int) int
        Podios                     func(childComplexity int) int
        ResourceVersion            func(childComplexity int) int
        SelfLink                   func(childComplexity int) int
        Spec                       func(childComplexity int) int
        Status                     func(childComplexity int) int
        UID                        func(childComplexity int) int
    }

    IOChaosAction struct {
        Atime          func(childComplexity int) int
        Blocks         func(childComplexity int) int
        Ctime          func(childComplexity int) int
        Faults         func(childComplexity int) int
        Filling        func(childComplexity int) int
        Gid            func(childComplexity int) int
        Ino            func(childComplexity int) int
        Kind           func(childComplexity int) int
        Latency        func(childComplexity int) int
        MaxLength      func(childComplexity int) int
        MaxOccurrences func(childComplexity int) int
        Methods        func(childComplexity int) int
        Mtime          func(childComplexity int) int
        Nlink          func(childComplexity int) int
        Path           func(childComplexity int) int
        Percent        func(childComplexity int) int
        Perm           func(childComplexity int) int
        Rdev           func(childComplexity int) int
        Size           func(childComplexity int) int
        Source         func(childComplexity int) int
        Type           func(childComplexity int) int
        UID            func(childComplexity int) int
    }

    IOChaosSpec struct {
        Action         func(childComplexity int) int
        Attr           func(childComplexity int) int
        ContainerNames func(childComplexity int) int
        Delay          func(childComplexity int) int
        Duration       func(childComplexity int) int
        Errno          func(childComplexity int) int
        Methods        func(childComplexity int) int
        Mistake        func(childComplexity int) int
        Mode           func(childComplexity int) int
        Path           func(childComplexity int) int
        Percent        func(childComplexity int) int
        Selector       func(childComplexity int) int
        Value          func(childComplexity int) int
        VolumePath     func(childComplexity int) int
    }

    IOChaosStatus struct {
        Conditions func(childComplexity int) int
        Experiment func(childComplexity int) int
        Instances  func(childComplexity int) int
    }

    IoFault struct {
        Errno  func(childComplexity int) int
        Weight func(childComplexity int) int
    }

    KillProcessResult struct {
        Command func(childComplexity int) int
        Pid     func(childComplexity int) int
    }

    Logger struct {
        Component func(childComplexity int, ns string, component model.Component) int
        Pod       func(childComplexity int, ns string, name string) int
    }

    LossSpec struct {
        Correlation func(childComplexity int) int
        Loss        func(childComplexity int) int
    }

    MemoryStressor struct {
        Options func(childComplexity int) int
        Size    func(childComplexity int) int
        Workers func(childComplexity int) int
    }

    MistakeSpec struct {
        Filling        func(childComplexity int) int
        MaxLength      func(childComplexity int) int
        MaxOccurrences func(childComplexity int) int
    }

    MutablePod struct {
        CleanIptables func(childComplexity int, chains []string) int
        CleanTcs      func(childComplexity int, devices []string) int
        KillProcesses func(childComplexity int, pids []string) int
        Pod           func(childComplexity int) int
    }

    Mutation struct {
        Pod func(childComplexity int, ns string, name string) int
    }

    Namespace struct {
        Component       func(childComplexity int, component model.Component) int
        Httpchaos       func(childComplexity int, name *string) int
        Iochaos         func(childComplexity int, name *string) int
        Networkchaos    func(childComplexity int, name *string) int
        Ns              func(childComplexity int) int
        Pod             func(childComplexity int, name *string) int
        Podhttpchaos    func(childComplexity int, name *string) int
        Podiochaos      func(childComplexity int, name *string) int
        Podnetworkchaos func(childComplexity int, name *string) int
        Stresschaos     func(childComplexity int, name *string) int
    }

    NetworkChaos struct {
        APIVersion                 func(childComplexity int) int
        Annotations                func(childComplexity int) int
        CreationTimestamp          func(childComplexity int) int
        DeletionGracePeriodSeconds func(childComplexity int) int
        DeletionTimestamp          func(childComplexity int) int
        Finalizers                 func(childComplexity int) int
        GenerateName               func(childComplexity int) int
        Generation                 func(childComplexity int) int
        Kind                       func(childComplexity int) int
        Labels                     func(childComplexity int) int
        Name                       func(childComplexity int) int
        Namespace                  func(childComplexity int) int
        OwnerReferences            func(childComplexity int) int
        Podnetwork                 func(childComplexity int) int
        ResourceVersion            func(childComplexity int) int
        SelfLink                   func(childComplexity int) int
        UID                        func(childComplexity int) int
    }

    OwnerReference struct {
        APIVersion         func(childComplexity int) int
        BlockOwnerDeletion func(childComplexity int) int
        Controller         func(childComplexity int) int
        Kind               func(childComplexity int) int
        Name               func(childComplexity int) int
        UID                func(childComplexity int) int
    }

    Pod struct {
        APIVersion                 func(childComplexity int) int
        Annotations                func(childComplexity int) int
        CreationTimestamp          func(childComplexity int) int
        Daemon                     func(childComplexity int) int
        DeletionGracePeriodSeconds func(childComplexity int) int
        DeletionTimestamp          func(childComplexity int) int
        Finalizers                 func(childComplexity int) int
        GenerateName               func(childComplexity int) int
        Generation                 func(childComplexity int) int
        Ipset                      func(childComplexity int) int
        Iptables                   func(childComplexity int) int
        Kind                       func(childComplexity int) int
        Labels                     func(childComplexity int) int
        Logs                       func(childComplexity int) int
        Mounts                     func(childComplexity int) int
        Name                       func(childComplexity int) int
        Namespace                  func(childComplexity int) int
        OwnerReferences            func(childComplexity int) int
        Processes                  func(childComplexity int) int
        ResourceVersion            func(childComplexity int) int
        SelfLink                   func(childComplexity int) int
        Spec                       func(childComplexity int) int
        Status                     func(childComplexity int) int
        TcQdisc                    func(childComplexity int) int
        UID                        func(childComplexity int) int
    }

    PodCondition struct {
        LastProbeTime      func(childComplexity int) int
        LastTransitionTime func(childComplexity int) int
        Message            func(childComplexity int) int
        Reason             func(childComplexity int) int
        Status             func(childComplexity int) int
        Type               func(childComplexity int) int
    }

    PodHTTPChaos struct {
        APIVersion                 func(childComplexity int) int
        Annotations                func(childComplexity int) int
        CreationTimestamp          func(childComplexity int) int
        DeletionGracePeriodSeconds func(childComplexity int) int
        DeletionTimestamp          func(childComplexity int) int
        Finalizers                 func(childComplexity int) int
        GenerateName               func(childComplexity int) int
        Generation                 func(childComplexity int) int
        Kind                       func(childComplexity int) int
        Labels                     func(childComplexity int) int
        Name                       func(childComplexity int) int
        Namespace                  func(childComplexity int) int
        OwnerReferences            func(childComplexity int) int
        Pod                        func(childComplexity int) int
        ResourceVersion            func(childComplexity int) int
        SelfLink                   func(childComplexity int) int
        Spec                       func(childComplexity int) int
        Status                     func(childComplexity int) int
        UID                        func(childComplexity int) int
    }

    PodHttpChaosActions struct {
        Abort   func(childComplexity int) int
        Delay   func(childComplexity int) int
        Patch   func(childComplexity int) int
        Replace func(childComplexity int) int
    }

    PodHttpChaosPatchActions struct {
        Body    func(childComplexity int) int
        Headers func(childComplexity int) int
        Queries func(childComplexity int) int
    }

    PodHttpChaosPatchBodyAction struct {
        Type  func(childComplexity int) int
        Value func(childComplexity int) int
    }

    PodHttpChaosReplaceActions struct {
        Body    func(childComplexity int) int
        Code    func(childComplexity int) int
        Headers func(childComplexity int) int
        Method  func(childComplexity int) int
        Path    func(childComplexity int) int
        Queries func(childComplexity int) int
    }

    PodHttpChaosRule struct {
        Actions  func(childComplexity int) int
        Port     func(childComplexity int) int
        Selector func(childComplexity int) int
        Source   func(childComplexity int) int
        Target   func(childComplexity int) int
    }

    PodHttpChaosSelector struct {
        Code            func(childComplexity int) int
        Method          func(childComplexity int) int
        Path            func(childComplexity int) int
        Port            func(childComplexity int) int
        RequestHeaders  func(childComplexity int) int
        ResponseHeaders func(childComplexity int) int
    }

    PodHttpChaosSpec struct {
        Rules func(childComplexity int) int
        TLS   func(childComplexity int) int
    }

    PodHttpChaosStatus struct {
        FailedMessage      func(childComplexity int) int
        ObservedGeneration func(childComplexity int) int
        Pid                func(childComplexity int) int
        StartTime          func(childComplexity int) int
    }

    PodHttpChaosTLS struct {
        CAName          func(childComplexity int) int
        CertName        func(childComplexity int) int
        KeyName         func(childComplexity int) int
        SecretName      func(childComplexity int) int
        SecretNamespace func(childComplexity int) int
    }

    PodIOChaos struct {
        APIVersion                 func(childComplexity int) int
        Annotations                func(childComplexity int) int
        CreationTimestamp          func(childComplexity int) int
        DeletionGracePeriodSeconds func(childComplexity int) int
        DeletionTimestamp          func(childComplexity int) int
        Finalizers                 func(childComplexity int) int
        GenerateName               func(childComplexity int) int
        Generation                 func(childComplexity int) int
        Ios                        func(childComplexity int) int
        Kind                       func(childComplexity int) int
        Labels                     func(childComplexity int) int
        Name                       func(childComplexity int) int
        Namespace                  func(childComplexity int) int
        OwnerReferences            func(childComplexity int) int
        Pod                        func(childComplexity int) int
        ResourceVersion            func(childComplexity int) int
        SelfLink                   func(childComplexity int) int
        Spec                       func(childComplexity int) int
        Status                     func(childComplexity int) int
        UID                        func(childComplexity int) int
    }

    PodIOChaosSpec struct {
        Actions         func(childComplexity int) int
        Container       func(childComplexity int) int
        VolumeMountPath func(childComplexity int) int
    }

    PodIOChaosStatus struct {
        FailedMessage      func(childComplexity int) int
        ObservedGeneration func(childComplexity int) int
        Pid                func(childComplexity int) int
        StartTime          func(childComplexity int) int
    }

    PodIP struct {
        IP func(childComplexity int) int
    }

    PodNetworkChaos struct {
        APIVersion                 func(childComplexity int) int
        Annotations                func(childComplexity int) int
        CreationTimestamp          func(childComplexity int) int
        DeletionGracePeriodSeconds func(childComplexity int) int
        DeletionTimestamp          func(childComplexity int) int
        Finalizers                 func(childComplexity int) int
        GenerateName               func(childComplexity int) int
        Generation                 func(childComplexity int) int
        Kind                       func(childComplexity int) int
        Labels                     func(childComplexity int) int
        Name                       func(childComplexity int) int
        Namespace                  func(childComplexity int) int
        OwnerReferences            func(childComplexity int) int
        Pod                        func(childComplexity int) int
        ResourceVersion            func(childComplexity int) int
        SelfLink                   func(childComplexity int) int
        Spec                       func(childComplexity int) int
        Status                     func(childComplexity int) int
        UID                        func(childComplexity int) int
    }

    PodNetworkChaosSpec struct {
        IPSets          func(childComplexity int) int
        Iptables        func(childComplexity int) int
        TrafficControls func(childComplexity int) int
    }

    PodNetworkChaosStatus struct {
        FailedMessage      func(childComplexity int) int
        ObservedGeneration func(childComplexity int) int
    }

    PodSelectorSpec struct {
        AnnotationSelectors func(childComplexity int) int
        FieldSelectors      func(childComplexity int) int
        LabelSelectors      func(childComplexity int) int
        Namespaces          func(childComplexity int) int
        NodeSelectors       func(childComplexity int) int
        Nodes               func(childComplexity int) int
        PodPhaseSelectors   func(childComplexity int) int
        Pods                func(childComplexity int) int
    }

    PodSpec struct {
        NodeName func(childComplexity int) int
    }

    PodStatus struct {
        Conditions                 func(childComplexity int) int
        ContainerStatuses          func(childComplexity int) int
        EphemeralContainerStatuses func(childComplexity int) int
        HostIP                     func(childComplexity int) int
        InitContainerStatuses      func(childComplexity int) int
        Message                    func(childComplexity int) int
        NominatedNodeName          func(childComplexity int) int
        Phase                      func(childComplexity int) int
        PodIP                      func(childComplexity int) int
        PodIPs                     func(childComplexity int) int
        QosClass                   func(childComplexity int) int
        Reason                     func(childComplexity int) int
        StartTime                  func(childComplexity int) int
    }

    PodStressChaos struct {
        Cgroups       func(childComplexity int) int
        Pod           func(childComplexity int) int
        ProcessStress func(childComplexity int) int
        StressChaos   func(childComplexity int) int
    }

    Process struct {
        Command func(childComplexity int) int
        Fds     func(childComplexity int) int
        Pid     func(childComplexity int) int
        Pod     func(childComplexity int) int
    }

    ProcessStress struct {
        Cgroup  func(childComplexity int) int
        Process func(childComplexity int) int
    }

    Query struct {
        Namespace func(childComplexity int, ns *string) int
        Pods      func(childComplexity int, selector model.PodSelectorInput) int
    }

    RawIPSet struct {
        CidrAndPorts func(childComplexity int) int
        Cidrs        func(childComplexity int) int
        IPSetType    func(childComplexity int) int
        Name         func(childComplexity int) int
        SetNames     func(childComplexity int) int
        Source       func(childComplexity int) int
    }

    RawIptables struct {
        Device    func(childComplexity int) int
        Direction func(childComplexity int) int
        IPSets    func(childComplexity int) int
        Name      func(childComplexity int) int
        Source    func(childComplexity int) int
    }

    RawTrafficControl struct {
        Bandwidth func(childComplexity int) int
        Corrupt   func(childComplexity int) int
        Delay     func(childComplexity int) int
        Device    func(childComplexity int) int
        Duplicate func(childComplexity int) int
        IPSet     func(childComplexity int) int
        Loss      func(childComplexity int) int
        Source    func(childComplexity int) int
        Type      func(childComplexity int) int
    }

    Record struct {
        Id          func(childComplexity int) int
        Phase       func(childComplexity int) int
        SelectorKey func(childComplexity int) int
    }

    ReorderSpec struct {
        Correlation func(childComplexity int) int
        Gap         func(childComplexity int) int
        Reorder     func(childComplexity int) int
    }

    StressChaos struct {
        APIVersion                 func(childComplexity int) int
        Annotations                func(childComplexity int) int
        CreationTimestamp          func(childComplexity int) int
        DeletionGracePeriodSeconds func(childComplexity int) int
        DeletionTimestamp          func(childComplexity int) int
        Finalizers                 func(childComplexity int) int
        GenerateName               func(childComplexity int) int
        Generation                 func(childComplexity int) int
        Kind                       func(childComplexity int) int
        Labels                     func(childComplexity int) int
        Name                       func(childComplexity int) int
        Namespace                  func(childComplexity int) int
        OwnerReferences            func(childComplexity int) int
        Podstress                  func(childComplexity int) int
        ResourceVersion            func(childComplexity int) int
        SelfLink                   func(childComplexity int) int
        Spec                       func(childComplexity int) int
        UID                        func(childComplexity int) int
    }

    StressChaosSpec struct {
        ContainerNames    func(childComplexity int) int
        Duration          func(childComplexity int) int
        Mode              func(childComplexity int) int
        Selector          func(childComplexity int) int
        StressngStressors func(childComplexity int) int
        Stressors         func(childComplexity int) int
        Value             func(childComplexity int) int
    }

    StressChaosStatus struct {
        Conditions func(childComplexity int) int
        Experiment func(childComplexity int) int
        Instances  func(childComplexity int) int
    }

    Stressors struct {
        CPUStressor    func(childComplexity int) int
        MemoryStressor func(childComplexity int) int
    }

    Timespec struct {
        Nsec func(childComplexity int) int
        Sec  func(childComplexity int) int
    }
}

type Config

type Config struct {
    Resolvers  ResolverRoot
    Directives DirectiveRoot
    Complexity ComplexityRoot
}

type ContainerStateRunningResolver

type ContainerStateRunningResolver interface {
    StartedAt(ctx context.Context, obj *v1.ContainerStateRunning) (*time.Time, error)
}

type ContainerStateTerminatedResolver

type ContainerStateTerminatedResolver interface {
    StartedAt(ctx context.Context, obj *v1.ContainerStateTerminated) (*time.Time, error)
    FinishedAt(ctx context.Context, obj *v1.ContainerStateTerminated) (*time.Time, error)
}

type DirectiveRoot

type DirectiveRoot struct {
}

type ExperimentStatusResolver

type ExperimentStatusResolver interface {
    DesiredPhase(ctx context.Context, obj *v1alpha1.ExperimentStatus) (string, error)
}

type HTTPChaosResolver

type HTTPChaosResolver interface {
    UID(ctx context.Context, obj *v1alpha1.HTTPChaos) (string, error)

    CreationTimestamp(ctx context.Context, obj *v1alpha1.HTTPChaos) (*time.Time, error)
    DeletionTimestamp(ctx context.Context, obj *v1alpha1.HTTPChaos) (*time.Time, error)

    Labels(ctx context.Context, obj *v1alpha1.HTTPChaos) (map[string]interface{}, error)
    Annotations(ctx context.Context, obj *v1alpha1.HTTPChaos) (map[string]interface{}, error)

    Podhttp(ctx context.Context, obj *v1alpha1.HTTPChaos) ([]*v1alpha1.PodHttpChaos, error)
}

type HTTPChaosSpecResolver

type HTTPChaosSpecResolver interface {
    Mode(ctx context.Context, obj *v1alpha1.HTTPChaosSpec) (string, error)

    Target(ctx context.Context, obj *v1alpha1.HTTPChaosSpec) (string, error)

    RequestHeaders(ctx context.Context, obj *v1alpha1.HTTPChaosSpec) (map[string]interface{}, error)
    ResponseHeaders(ctx context.Context, obj *v1alpha1.HTTPChaosSpec) (map[string]interface{}, error)
}

type HTTPChaosStatusResolver

type HTTPChaosStatusResolver interface {
    Instances(ctx context.Context, obj *v1alpha1.HTTPChaosStatus) (map[string]interface{}, error)
}

type IOChaosActionResolver

type IOChaosActionResolver interface {
    Type(ctx context.Context, obj *v1alpha1.IOChaosAction) (string, error)

    Methods(ctx context.Context, obj *v1alpha1.IOChaosAction) ([]string, error)

    Ino(ctx context.Context, obj *v1alpha1.IOChaosAction) (*int64, error)
    Size(ctx context.Context, obj *v1alpha1.IOChaosAction) (*int64, error)
    Blocks(ctx context.Context, obj *v1alpha1.IOChaosAction) (*int64, error)
    Atime(ctx context.Context, obj *v1alpha1.IOChaosAction) (*v1alpha1.Timespec, error)
    Mtime(ctx context.Context, obj *v1alpha1.IOChaosAction) (*v1alpha1.Timespec, error)
    Ctime(ctx context.Context, obj *v1alpha1.IOChaosAction) (*v1alpha1.Timespec, error)
    Kind(ctx context.Context, obj *v1alpha1.IOChaosAction) (*string, error)
    Perm(ctx context.Context, obj *v1alpha1.IOChaosAction) (*int, error)
    Nlink(ctx context.Context, obj *v1alpha1.IOChaosAction) (*int64, error)
    UID(ctx context.Context, obj *v1alpha1.IOChaosAction) (*int64, error)
    Gid(ctx context.Context, obj *v1alpha1.IOChaosAction) (*int64, error)
    Rdev(ctx context.Context, obj *v1alpha1.IOChaosAction) (*int64, error)
    Filling(ctx context.Context, obj *v1alpha1.IOChaosAction) (*string, error)
    MaxOccurrences(ctx context.Context, obj *v1alpha1.IOChaosAction) (*int64, error)
    MaxLength(ctx context.Context, obj *v1alpha1.IOChaosAction) (*int64, error)
}

type IOChaosResolver

type IOChaosResolver interface {
    UID(ctx context.Context, obj *v1alpha1.IOChaos) (string, error)

    CreationTimestamp(ctx context.Context, obj *v1alpha1.IOChaos) (*time.Time, error)
    DeletionTimestamp(ctx context.Context, obj *v1alpha1.IOChaos) (*time.Time, error)

    Labels(ctx context.Context, obj *v1alpha1.IOChaos) (map[string]interface{}, error)
    Annotations(ctx context.Context, obj *v1alpha1.IOChaos) (map[string]interface{}, error)

    Podios(ctx context.Context, obj *v1alpha1.IOChaos) ([]*v1alpha1.PodIOChaos, error)
}

type IOChaosSpecResolver

type IOChaosSpecResolver interface {
    Mode(ctx context.Context, obj *v1alpha1.IOChaosSpec) (string, error)

    Action(ctx context.Context, obj *v1alpha1.IOChaosSpec) (string, error)

    Errno(ctx context.Context, obj *v1alpha1.IOChaosSpec) (*int, error)

    Methods(ctx context.Context, obj *v1alpha1.IOChaosSpec) ([]string, error)
}

type IOChaosStatusResolver

type IOChaosStatusResolver interface {
    Instances(ctx context.Context, obj *v1alpha1.IOChaosStatus) (map[string]interface{}, error)
}

type IoFaultResolver

type IoFaultResolver interface {
    Errno(ctx context.Context, obj *v1alpha1.IoFault) (int, error)
}

type LoggerResolver

type LoggerResolver interface {
    Component(ctx context.Context, ns string, component model.Component) (<-chan string, error)
    Pod(ctx context.Context, ns string, name string) (<-chan string, error)
}

type MistakeSpecResolver

type MistakeSpecResolver interface {
    Filling(ctx context.Context, obj *v1alpha1.MistakeSpec) (*string, error)
}

type MutablePodResolver

type MutablePodResolver interface {
    KillProcesses(ctx context.Context, obj *model.MutablePod, pids []string) ([]*model.KillProcessResult, error)
    CleanTcs(ctx context.Context, obj *model.MutablePod, devices []string) ([]string, error)
    CleanIptables(ctx context.Context, obj *model.MutablePod, chains []string) ([]string, error)
}

type MutationResolver

type MutationResolver interface {
    Pod(ctx context.Context, ns string, name string) (*model.MutablePod, error)
}

type NamespaceResolver

type NamespaceResolver interface {
    Component(ctx context.Context, obj *model.Namespace, component model.Component) ([]*v1.Pod, error)
    Pod(ctx context.Context, obj *model.Namespace, name *string) ([]*v1.Pod, error)
    Stresschaos(ctx context.Context, obj *model.Namespace, name *string) ([]*v1alpha1.StressChaos, error)
    Iochaos(ctx context.Context, obj *model.Namespace, name *string) ([]*v1alpha1.IOChaos, error)
    Podiochaos(ctx context.Context, obj *model.Namespace, name *string) ([]*v1alpha1.PodIOChaos, error)
    Httpchaos(ctx context.Context, obj *model.Namespace, name *string) ([]*v1alpha1.HTTPChaos, error)
    Podhttpchaos(ctx context.Context, obj *model.Namespace, name *string) ([]*v1alpha1.PodHttpChaos, error)
    Networkchaos(ctx context.Context, obj *model.Namespace, name *string) ([]*v1alpha1.NetworkChaos, error)
    Podnetworkchaos(ctx context.Context, obj *model.Namespace, name *string) ([]*v1alpha1.PodNetworkChaos, error)
}

type NetworkChaosResolver

type NetworkChaosResolver interface {
    UID(ctx context.Context, obj *v1alpha1.NetworkChaos) (string, error)

    CreationTimestamp(ctx context.Context, obj *v1alpha1.NetworkChaos) (*time.Time, error)
    DeletionTimestamp(ctx context.Context, obj *v1alpha1.NetworkChaos) (*time.Time, error)

    Labels(ctx context.Context, obj *v1alpha1.NetworkChaos) (map[string]interface{}, error)
    Annotations(ctx context.Context, obj *v1alpha1.NetworkChaos) (map[string]interface{}, error)

    Podnetwork(ctx context.Context, obj *v1alpha1.NetworkChaos) ([]*v1alpha1.PodNetworkChaos, error)
}

type OwnerReferenceResolver

type OwnerReferenceResolver interface {
    UID(ctx context.Context, obj *v11.OwnerReference) (string, error)
}

type PodConditionResolver

type PodConditionResolver interface {
    Type(ctx context.Context, obj *v1.PodCondition) (string, error)
    Status(ctx context.Context, obj *v1.PodCondition) (string, error)
    LastProbeTime(ctx context.Context, obj *v1.PodCondition) (*time.Time, error)
    LastTransitionTime(ctx context.Context, obj *v1.PodCondition) (*time.Time, error)
}

type PodHTTPChaosResolver

type PodHTTPChaosResolver interface {
    UID(ctx context.Context, obj *v1alpha1.PodHttpChaos) (string, error)

    CreationTimestamp(ctx context.Context, obj *v1alpha1.PodHttpChaos) (*time.Time, error)
    DeletionTimestamp(ctx context.Context, obj *v1alpha1.PodHttpChaos) (*time.Time, error)

    Labels(ctx context.Context, obj *v1alpha1.PodHttpChaos) (map[string]interface{}, error)
    Annotations(ctx context.Context, obj *v1alpha1.PodHttpChaos) (map[string]interface{}, error)

    Pod(ctx context.Context, obj *v1alpha1.PodHttpChaos) (*v1.Pod, error)
}

type PodHttpChaosReplaceActionsResolver

type PodHttpChaosReplaceActionsResolver interface {
    Body(ctx context.Context, obj *v1alpha1.PodHttpChaosReplaceActions) (*string, error)
    Queries(ctx context.Context, obj *v1alpha1.PodHttpChaosReplaceActions) (map[string]interface{}, error)
    Headers(ctx context.Context, obj *v1alpha1.PodHttpChaosReplaceActions) (map[string]interface{}, error)
}

type PodHttpChaosRuleResolver

type PodHttpChaosRuleResolver interface {
    Target(ctx context.Context, obj *v1alpha1.PodHttpChaosRule) (string, error)
}

type PodHttpChaosSelectorResolver

type PodHttpChaosSelectorResolver interface {
    RequestHeaders(ctx context.Context, obj *v1alpha1.PodHttpChaosSelector) (map[string]interface{}, error)
    ResponseHeaders(ctx context.Context, obj *v1alpha1.PodHttpChaosSelector) (map[string]interface{}, error)
}

type PodIOChaosResolver

type PodIOChaosResolver interface {
    UID(ctx context.Context, obj *v1alpha1.PodIOChaos) (string, error)

    CreationTimestamp(ctx context.Context, obj *v1alpha1.PodIOChaos) (*time.Time, error)
    DeletionTimestamp(ctx context.Context, obj *v1alpha1.PodIOChaos) (*time.Time, error)

    Labels(ctx context.Context, obj *v1alpha1.PodIOChaos) (map[string]interface{}, error)
    Annotations(ctx context.Context, obj *v1alpha1.PodIOChaos) (map[string]interface{}, error)

    Pod(ctx context.Context, obj *v1alpha1.PodIOChaos) (*v1.Pod, error)
    Ios(ctx context.Context, obj *v1alpha1.PodIOChaos) ([]*v1alpha1.IOChaos, error)
}

type PodNetworkChaosResolver

type PodNetworkChaosResolver interface {
    UID(ctx context.Context, obj *v1alpha1.PodNetworkChaos) (string, error)

    CreationTimestamp(ctx context.Context, obj *v1alpha1.PodNetworkChaos) (*time.Time, error)
    DeletionTimestamp(ctx context.Context, obj *v1alpha1.PodNetworkChaos) (*time.Time, error)

    Labels(ctx context.Context, obj *v1alpha1.PodNetworkChaos) (map[string]interface{}, error)
    Annotations(ctx context.Context, obj *v1alpha1.PodNetworkChaos) (map[string]interface{}, error)

    Pod(ctx context.Context, obj *v1alpha1.PodNetworkChaos) (*v1.Pod, error)
}

type PodResolver

type PodResolver interface {
    UID(ctx context.Context, obj *v1.Pod) (string, error)

    CreationTimestamp(ctx context.Context, obj *v1.Pod) (*time.Time, error)
    DeletionTimestamp(ctx context.Context, obj *v1.Pod) (*time.Time, error)

    Labels(ctx context.Context, obj *v1.Pod) (map[string]interface{}, error)
    Annotations(ctx context.Context, obj *v1.Pod) (map[string]interface{}, error)

    Logs(ctx context.Context, obj *v1.Pod) (string, error)
    Daemon(ctx context.Context, obj *v1.Pod) (*v1.Pod, error)
    Processes(ctx context.Context, obj *v1.Pod) ([]*model.Process, error)
    Mounts(ctx context.Context, obj *v1.Pod) ([]string, error)
    Ipset(ctx context.Context, obj *v1.Pod) (string, error)
    TcQdisc(ctx context.Context, obj *v1.Pod) ([]string, error)
    Iptables(ctx context.Context, obj *v1.Pod) ([]string, error)
}

type PodSelectorSpecResolver

type PodSelectorSpecResolver interface {
    Pods(ctx context.Context, obj *v1alpha1.PodSelectorSpec) (map[string]interface{}, error)
    NodeSelectors(ctx context.Context, obj *v1alpha1.PodSelectorSpec) (map[string]interface{}, error)
    FieldSelectors(ctx context.Context, obj *v1alpha1.PodSelectorSpec) (map[string]interface{}, error)
    LabelSelectors(ctx context.Context, obj *v1alpha1.PodSelectorSpec) (map[string]interface{}, error)
    AnnotationSelectors(ctx context.Context, obj *v1alpha1.PodSelectorSpec) (map[string]interface{}, error)
}

type PodStatusResolver

type PodStatusResolver interface {
    Phase(ctx context.Context, obj *v1.PodStatus) (string, error)

    StartTime(ctx context.Context, obj *v1.PodStatus) (*time.Time, error)

    QosClass(ctx context.Context, obj *v1.PodStatus) (string, error)
}

type PodStressChaosResolver

type PodStressChaosResolver interface {
    Cgroups(ctx context.Context, obj *model.PodStressChaos) (*model.Cgroups, error)
    ProcessStress(ctx context.Context, obj *model.PodStressChaos) ([]*model.ProcessStress, error)
}

type ProcessResolver

type ProcessResolver interface {
    Fds(ctx context.Context, obj *model.Process) ([]*model.Fd, error)
}

type QueryResolver

type QueryResolver interface {
    Namespace(ctx context.Context, ns *string) ([]*model.Namespace, error)
    Pods(ctx context.Context, selector model.PodSelectorInput) ([]*v1.Pod, error)
}

type RawIPSetResolver

type RawIPSetResolver interface {
    IPSetType(ctx context.Context, obj *v1alpha1.RawIPSet) (string, error)
}

type RawIptablesResolver

type RawIptablesResolver interface {
    Direction(ctx context.Context, obj *v1alpha1.RawIptables) (string, error)
}

type RawTrafficControlResolver

type RawTrafficControlResolver interface {
    Type(ctx context.Context, obj *v1alpha1.RawTrafficControl) (string, error)
}

type RecordResolver

type RecordResolver interface {
    Phase(ctx context.Context, obj *v1alpha1.Record) (string, error)
}

type ResolverRoot

type ResolverRoot interface {
    AttrOverrideSpec() AttrOverrideSpecResolver
    BandwidthSpec() BandwidthSpecResolver
    ChaosCondition() ChaosConditionResolver
    CidrAndPort() CidrAndPortResolver
    ContainerStateRunning() ContainerStateRunningResolver
    ContainerStateTerminated() ContainerStateTerminatedResolver
    ExperimentStatus() ExperimentStatusResolver
    HTTPChaos() HTTPChaosResolver
    HTTPChaosSpec() HTTPChaosSpecResolver
    HTTPChaosStatus() HTTPChaosStatusResolver
    IOChaos() IOChaosResolver
    IOChaosAction() IOChaosActionResolver
    IOChaosSpec() IOChaosSpecResolver
    IOChaosStatus() IOChaosStatusResolver
    IoFault() IoFaultResolver
    Logger() LoggerResolver
    MistakeSpec() MistakeSpecResolver
    MutablePod() MutablePodResolver
    Mutation() MutationResolver
    Namespace() NamespaceResolver
    NetworkChaos() NetworkChaosResolver
    OwnerReference() OwnerReferenceResolver
    Pod() PodResolver
    PodCondition() PodConditionResolver
    PodHTTPChaos() PodHTTPChaosResolver
    PodHttpChaosReplaceActions() PodHttpChaosReplaceActionsResolver
    PodHttpChaosRule() PodHttpChaosRuleResolver
    PodHttpChaosSelector() PodHttpChaosSelectorResolver
    PodIOChaos() PodIOChaosResolver
    PodNetworkChaos() PodNetworkChaosResolver
    PodSelectorSpec() PodSelectorSpecResolver
    PodStatus() PodStatusResolver
    PodStressChaos() PodStressChaosResolver
    Process() ProcessResolver
    Query() QueryResolver
    RawIPSet() RawIPSetResolver
    RawIptables() RawIptablesResolver
    RawTrafficControl() RawTrafficControlResolver
    Record() RecordResolver
    StressChaos() StressChaosResolver
    StressChaosSpec() StressChaosSpecResolver
    StressChaosStatus() StressChaosStatusResolver
}

type StressChaosResolver

type StressChaosResolver interface {
    UID(ctx context.Context, obj *v1alpha1.StressChaos) (string, error)

    CreationTimestamp(ctx context.Context, obj *v1alpha1.StressChaos) (*time.Time, error)
    DeletionTimestamp(ctx context.Context, obj *v1alpha1.StressChaos) (*time.Time, error)

    Labels(ctx context.Context, obj *v1alpha1.StressChaos) (map[string]interface{}, error)
    Annotations(ctx context.Context, obj *v1alpha1.StressChaos) (map[string]interface{}, error)

    Podstress(ctx context.Context, obj *v1alpha1.StressChaos) ([]*model.PodStressChaos, error)
}

type StressChaosSpecResolver

type StressChaosSpecResolver interface {
    Mode(ctx context.Context, obj *v1alpha1.StressChaosSpec) (string, error)
}

type StressChaosStatusResolver

type StressChaosStatusResolver interface {
    Instances(ctx context.Context, obj *v1alpha1.StressChaosStatus) (map[string]interface{}, error)
}