func GetApplyCommand(params ApplyCommandParams) v1alpha2.Command
func GetCompositeCommand(params CompositeCommandParams) v1alpha2.Command
func GetContainerComponent(params ContainerComponentParams) v1alpha2.Component
func GetExecCommand(params ExecCommandParams) v1alpha2.Command
func GetImageComponent(params ImageComponentParams) v1alpha2.Component
func GetJob(jobParams JobParams) batchv1.Job
func GetKubernetesComponent(params KubernetesComponentParams) v1alpha2.Component
func GetOpenshiftComponent(params OpenshiftComponentParams) v1alpha2.Component
func GetVolumeComponent(params VolumeComponentParams) v1alpha2.Component
type ApplyCommandParams struct {
Id string
Attributes *attributes.Attributes
Component string
Label *string
Kind v1alpha2.CommandGroupKind
IsDefault *bool
}
type CompositeCommandParams struct {
Id string
Attributes *attributes.Attributes
Commands []string
Parallel *bool
Label *string
Kind v1alpha2.CommandGroupKind
IsDefault *bool
}
type ContainerComponentParams struct {
Name string
Attributes *attributes.Attributes
Container v1alpha2.Container
Endpoints []v1alpha2.Endpoint
}
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 struct {
Name string
Attributes *attributes.Attributes
Image v1alpha2.Image
}
type JobParams struct {
TypeMeta metav1.TypeMeta
ObjectMeta metav1.ObjectMeta
PodTemplateSpec corev1.PodTemplateSpec
SpecParams JobSpecParams
}
type JobSpecParams struct {
CompletionMode *batchv1.CompletionMode
TTLSecondsAfterFinished *int32
BackOffLimit *int32
Parallelism *int32
Completion *int32
ActiveDeadlineSeconds *int64
}
type KubernetesComponentParams struct {
Name string
Attributes *attributes.Attributes
Kubernetes *v1alpha2.KubernetesComponent
}
type OpenshiftComponentParams struct {
Name string
Attributes *attributes.Attributes
Openshift *v1alpha2.OpenshiftComponent
}
type VolumeComponentParams struct {
Name string
}