Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type ApplyDeploymentSpec
- func NewApplyDeploymentSpec() *ApplyDeploymentSpec
- func NewApplyDeploymentSpecEmpty() *ApplyDeploymentSpec
- func NewApplyDeploymentSpecList(ps ...*ApplyDeploymentSpec) []ApplyDeploymentSpec
- func NewApplyDeploymentSpecWith(cluster string, image string, replicas int32) *ApplyDeploymentSpec
- func NewApplyDeploymentSpecWithDefault() *ApplyDeploymentSpec
- type ApplyDeploymentWorkflowStep
- func (a *ApplyDeploymentWorkflowStep) Alias(alias string) *ApplyDeploymentWorkflowStep
- func (a *ApplyDeploymentWorkflowStep) Build() v1beta1.WorkflowStep
- func (a *ApplyDeploymentWorkflowStep) DefType() string
- func (a *ApplyDeploymentWorkflowStep) DependsOn(dependsOn []string) *ApplyDeploymentWorkflowStep
- func (a *ApplyDeploymentWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*ApplyDeploymentWorkflowStep, error)
- func (a *ApplyDeploymentWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*ApplyDeploymentWorkflowStep, error)
- func (o *ApplyDeploymentWorkflowStep) GetCluster() string
- func (o *ApplyDeploymentWorkflowStep) GetClusterOk() (*string, bool)
- func (o *ApplyDeploymentWorkflowStep) GetCmd() []string
- func (o *ApplyDeploymentWorkflowStep) GetCmdOk() ([]string, bool)
- func (o *ApplyDeploymentWorkflowStep) GetImage() string
- func (o *ApplyDeploymentWorkflowStep) GetImageOk() (*string, bool)
- func (o *ApplyDeploymentWorkflowStep) GetReplicas() int32
- func (o *ApplyDeploymentWorkflowStep) GetReplicasOk() (*int32, bool)
- func (o *ApplyDeploymentWorkflowStep) HasCmd() bool
- func (a *ApplyDeploymentWorkflowStep) If(_if string) *ApplyDeploymentWorkflowStep
- func (a *ApplyDeploymentWorkflowStep) Inputs(input common.StepInputs) *ApplyDeploymentWorkflowStep
- func (a *ApplyDeploymentWorkflowStep) Outputs(output common.StepOutputs) *ApplyDeploymentWorkflowStep
- func (o *ApplyDeploymentWorkflowStep) SetCluster(v string) *ApplyDeploymentWorkflowStep
- func (o *ApplyDeploymentWorkflowStep) SetCmd(v []string) *ApplyDeploymentWorkflowStep
- func (o *ApplyDeploymentWorkflowStep) SetImage(v string) *ApplyDeploymentWorkflowStep
- func (o *ApplyDeploymentWorkflowStep) SetReplicas(v int32) *ApplyDeploymentWorkflowStep
- func (a *ApplyDeploymentWorkflowStep) Timeout(timeout string) *ApplyDeploymentWorkflowStep
- func (o *ApplyDeploymentWorkflowStep) Validate() error
- func (a *ApplyDeploymentWorkflowStep) WorkflowStepName() string
- type NullableApplyDeploymentSpec
- func (v *NullableApplyDeploymentSpec) Get() *ApplyDeploymentSpec
- func (v *NullableApplyDeploymentSpec) IsSet() bool
- func (v NullableApplyDeploymentSpec) MarshalJSON() ([]byte, error)
- func (v *NullableApplyDeploymentSpec) Set(val *ApplyDeploymentSpec)
- func (v *NullableApplyDeploymentSpec) UnmarshalJSON(src []byte) error
- func (v *NullableApplyDeploymentSpec) Unset()
Constants ¶
const ApplyDeploymentType = "apply-deployment"
Variables ¶
This section is empty.
Functions ¶
func FromWorkflowStep ¶
func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
func FromWorkflowSubStep ¶
func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
Types ¶
type ApplyDeploymentSpec ¶
type ApplyDeploymentSpec struct { Cluster *string `json:"cluster"` Cmd []string `json:"cmd,omitempty"` Image *string `json:"image"` Replicas *int32 `json:"replicas"` }
ApplyDeploymentSpec struct for ApplyDeploymentSpec
func NewApplyDeploymentSpec ¶
func NewApplyDeploymentSpec() *ApplyDeploymentSpec
NewApplyDeploymentSpec is short for NewApplyDeploymentSpecWithDefault which instantiates a new ApplyDeploymentSpec object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func NewApplyDeploymentSpecEmpty ¶
func NewApplyDeploymentSpecEmpty() *ApplyDeploymentSpec
NewApplyDeploymentSpecEmpty instantiates a new ApplyDeploymentSpec object with no properties set. This constructor will not assign any default values to properties.
func NewApplyDeploymentSpecList ¶
func NewApplyDeploymentSpecList(ps ...*ApplyDeploymentSpec) []ApplyDeploymentSpec
NewApplyDeploymentSpecs converts a list ApplyDeploymentSpec pointers to objects. This is helpful when the SetApplyDeploymentSpec requires a list of objects
func NewApplyDeploymentSpecWith ¶
func NewApplyDeploymentSpecWith(cluster string, image string, replicas int32) *ApplyDeploymentSpec
NewApplyDeploymentSpecWith instantiates a new ApplyDeploymentSpec object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewApplyDeploymentSpecWithDefault ¶
func NewApplyDeploymentSpecWithDefault() *ApplyDeploymentSpec
NewApplyDeploymentSpecWithDefault instantiates a new ApplyDeploymentSpec object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (ApplyDeploymentSpec) MarshalJSON ¶
func (o ApplyDeploymentSpec) MarshalJSON() ([]byte, error)
func (ApplyDeploymentSpec) ToMap ¶
func (o ApplyDeploymentSpec) ToMap() (map[string]interface{}, error)
type ApplyDeploymentWorkflowStep ¶
type ApplyDeploymentWorkflowStep struct { Base apis.WorkflowStepBase Properties ApplyDeploymentSpec }
func ApplyDeployment ¶
func ApplyDeployment(name string) *ApplyDeploymentWorkflowStep
func (*ApplyDeploymentWorkflowStep) Alias ¶
func (a *ApplyDeploymentWorkflowStep) Alias(alias string) *ApplyDeploymentWorkflowStep
func (*ApplyDeploymentWorkflowStep) Build ¶
func (a *ApplyDeploymentWorkflowStep) Build() v1beta1.WorkflowStep
func (*ApplyDeploymentWorkflowStep) DefType ¶
func (a *ApplyDeploymentWorkflowStep) DefType() string
func (*ApplyDeploymentWorkflowStep) DependsOn ¶
func (a *ApplyDeploymentWorkflowStep) DependsOn(dependsOn []string) *ApplyDeploymentWorkflowStep
func (*ApplyDeploymentWorkflowStep) FromWorkflowStep ¶
func (a *ApplyDeploymentWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*ApplyDeploymentWorkflowStep, error)
func (*ApplyDeploymentWorkflowStep) FromWorkflowSubStep ¶
func (a *ApplyDeploymentWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*ApplyDeploymentWorkflowStep, error)
func (*ApplyDeploymentWorkflowStep) GetCluster ¶
func (o *ApplyDeploymentWorkflowStep) GetCluster() string
GetCluster returns the Cluster field value
func (*ApplyDeploymentWorkflowStep) GetClusterOk ¶
func (o *ApplyDeploymentWorkflowStep) GetClusterOk() (*string, bool)
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*ApplyDeploymentWorkflowStep) GetCmd ¶
func (o *ApplyDeploymentWorkflowStep) GetCmd() []string
GetCmd returns the Cmd field value if set, zero value otherwise.
func (*ApplyDeploymentWorkflowStep) GetCmdOk ¶
func (o *ApplyDeploymentWorkflowStep) GetCmdOk() ([]string, bool)
GetCmdOk returns a tuple with the Cmd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApplyDeploymentWorkflowStep) GetImage ¶
func (o *ApplyDeploymentWorkflowStep) GetImage() string
GetImage returns the Image field value
func (*ApplyDeploymentWorkflowStep) GetImageOk ¶
func (o *ApplyDeploymentWorkflowStep) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*ApplyDeploymentWorkflowStep) GetReplicas ¶
func (o *ApplyDeploymentWorkflowStep) GetReplicas() int32
GetReplicas returns the Replicas field value
func (*ApplyDeploymentWorkflowStep) GetReplicasOk ¶
func (o *ApplyDeploymentWorkflowStep) GetReplicasOk() (*int32, bool)
GetReplicasOk returns a tuple with the Replicas field value and a boolean to check if the value has been set.
func (*ApplyDeploymentWorkflowStep) HasCmd ¶
func (o *ApplyDeploymentWorkflowStep) HasCmd() bool
HasCmd returns a boolean if a field has been set.
func (*ApplyDeploymentWorkflowStep) If ¶
func (a *ApplyDeploymentWorkflowStep) If(_if string) *ApplyDeploymentWorkflowStep
func (*ApplyDeploymentWorkflowStep) Inputs ¶
func (a *ApplyDeploymentWorkflowStep) Inputs(input common.StepInputs) *ApplyDeploymentWorkflowStep
func (*ApplyDeploymentWorkflowStep) Outputs ¶
func (a *ApplyDeploymentWorkflowStep) Outputs(output common.StepOutputs) *ApplyDeploymentWorkflowStep
func (*ApplyDeploymentWorkflowStep) SetCluster ¶
func (o *ApplyDeploymentWorkflowStep) SetCluster(v string) *ApplyDeploymentWorkflowStep
SetCluster sets field value
func (*ApplyDeploymentWorkflowStep) SetCmd ¶
func (o *ApplyDeploymentWorkflowStep) SetCmd(v []string) *ApplyDeploymentWorkflowStep
SetCmd gets a reference to the given []string and assigns it to the cmd field. Cmd:
func (*ApplyDeploymentWorkflowStep) SetImage ¶
func (o *ApplyDeploymentWorkflowStep) SetImage(v string) *ApplyDeploymentWorkflowStep
SetImage sets field value
func (*ApplyDeploymentWorkflowStep) SetReplicas ¶
func (o *ApplyDeploymentWorkflowStep) SetReplicas(v int32) *ApplyDeploymentWorkflowStep
SetReplicas sets field value
func (*ApplyDeploymentWorkflowStep) Timeout ¶
func (a *ApplyDeploymentWorkflowStep) Timeout(timeout string) *ApplyDeploymentWorkflowStep
func (*ApplyDeploymentWorkflowStep) Validate ¶
func (o *ApplyDeploymentWorkflowStep) Validate() error
Validate validates this ApplyDeploymentSpec 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set
func (*ApplyDeploymentWorkflowStep) WorkflowStepName ¶
func (a *ApplyDeploymentWorkflowStep) WorkflowStepName() string
type NullableApplyDeploymentSpec ¶
type NullableApplyDeploymentSpec struct {
// contains filtered or unexported fields
}
func NewNullableApplyDeploymentSpec ¶
func NewNullableApplyDeploymentSpec(val *ApplyDeploymentSpec) *NullableApplyDeploymentSpec
func (*NullableApplyDeploymentSpec) Get ¶
func (v *NullableApplyDeploymentSpec) Get() *ApplyDeploymentSpec
func (*NullableApplyDeploymentSpec) IsSet ¶
func (v *NullableApplyDeploymentSpec) IsSet() bool
func (NullableApplyDeploymentSpec) MarshalJSON ¶
func (v NullableApplyDeploymentSpec) MarshalJSON() ([]byte, error)
func (*NullableApplyDeploymentSpec) Set ¶
func (v *NullableApplyDeploymentSpec) Set(val *ApplyDeploymentSpec)
func (*NullableApplyDeploymentSpec) UnmarshalJSON ¶
func (v *NullableApplyDeploymentSpec) UnmarshalJSON(src []byte) error
func (*NullableApplyDeploymentSpec) Unset ¶
func (v *NullableApplyDeploymentSpec) Unset()