...

Package generator

Overview ▾

func GetApplyCommand

func GetApplyCommand(params ApplyCommandParams) v1alpha2.Command

func GetCompositeCommand

func GetCompositeCommand(params CompositeCommandParams) v1alpha2.Command

func GetContainerComponent

func GetContainerComponent(params ContainerComponentParams) v1alpha2.Component

func GetExecCommand

func GetExecCommand(params ExecCommandParams) v1alpha2.Command

func GetImageComponent

func GetImageComponent(params ImageComponentParams) v1alpha2.Component

func GetJob

func GetJob(jobParams JobParams) batchv1.Job

func GetKubernetesComponent

func GetKubernetesComponent(params KubernetesComponentParams) v1alpha2.Component

func GetOpenshiftComponent

func GetOpenshiftComponent(params OpenshiftComponentParams) v1alpha2.Component

func GetVolumeComponent

func GetVolumeComponent(params VolumeComponentParams) v1alpha2.Component

type ApplyCommandParams

type ApplyCommandParams struct {
    Id         string
    Attributes *attributes.Attributes

    Component string

    Label     *string
    Kind      v1alpha2.CommandGroupKind
    IsDefault *bool
}

type CompositeCommandParams

type CompositeCommandParams struct {
    Id         string
    Attributes *attributes.Attributes

    Commands []string
    Parallel *bool

    Label     *string
    Kind      v1alpha2.CommandGroupKind
    IsDefault *bool
}

type ContainerComponentParams

type ContainerComponentParams struct {
    Name       string
    Attributes *attributes.Attributes

    Container v1alpha2.Container
    Endpoints []v1alpha2.Endpoint
}

type ExecCommandParams

type ExecCommandParams struct {
    Id         string
    Attributes *attributes.Attributes

    CommandLine      string
    Component        string
    WorkingDir       string
    Env              []v1alpha2.EnvVar
    HotReloadCapable *bool

    Label     *string
    Kind      v1alpha2.CommandGroupKind
    IsDefault *bool
}

type ImageComponentParams

type ImageComponentParams struct {
    Name       string
    Attributes *attributes.Attributes

    Image v1alpha2.Image
}

type JobParams

type JobParams struct {
    TypeMeta        metav1.TypeMeta
    ObjectMeta      metav1.ObjectMeta
    PodTemplateSpec corev1.PodTemplateSpec
    SpecParams      JobSpecParams
}

type JobSpecParams

type JobSpecParams struct {
    CompletionMode          *batchv1.CompletionMode
    TTLSecondsAfterFinished *int32
    BackOffLimit            *int32
    Parallelism             *int32
    Completion              *int32
    ActiveDeadlineSeconds   *int64
}

type KubernetesComponentParams

type KubernetesComponentParams struct {
    Name       string
    Attributes *attributes.Attributes

    Kubernetes *v1alpha2.KubernetesComponent
}

type OpenshiftComponentParams

type OpenshiftComponentParams struct {
    Name       string
    Attributes *attributes.Attributes

    Openshift *v1alpha2.OpenshiftComponent
}

type VolumeComponentParams

type VolumeComponentParams struct {
    Name string
}