Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type ApplyComponentSpec
- func NewApplyComponentSpec() *ApplyComponentSpec
- func NewApplyComponentSpecEmpty() *ApplyComponentSpec
- func NewApplyComponentSpecList(ps ...*ApplyComponentSpec) []ApplyComponentSpec
- func NewApplyComponentSpecWith(cluster string, component string, namespace string) *ApplyComponentSpec
- func NewApplyComponentSpecWithDefault() *ApplyComponentSpec
- type ApplyComponentWorkflowStep
- func (a *ApplyComponentWorkflowStep) Alias(alias string) *ApplyComponentWorkflowStep
- func (a *ApplyComponentWorkflowStep) Build() v1beta1.WorkflowStep
- func (a *ApplyComponentWorkflowStep) DefType() string
- func (a *ApplyComponentWorkflowStep) DependsOn(dependsOn []string) *ApplyComponentWorkflowStep
- func (a *ApplyComponentWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*ApplyComponentWorkflowStep, error)
- func (a *ApplyComponentWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*ApplyComponentWorkflowStep, error)
- func (o *ApplyComponentWorkflowStep) GetCluster() string
- func (o *ApplyComponentWorkflowStep) GetClusterOk() (*string, bool)
- func (o *ApplyComponentWorkflowStep) GetComponent() string
- func (o *ApplyComponentWorkflowStep) GetComponentOk() (*string, bool)
- func (o *ApplyComponentWorkflowStep) GetNamespace() string
- func (o *ApplyComponentWorkflowStep) GetNamespaceOk() (*string, bool)
- func (a *ApplyComponentWorkflowStep) If(_if string) *ApplyComponentWorkflowStep
- func (a *ApplyComponentWorkflowStep) Inputs(input common.StepInputs) *ApplyComponentWorkflowStep
- func (a *ApplyComponentWorkflowStep) Outputs(output common.StepOutputs) *ApplyComponentWorkflowStep
- func (o *ApplyComponentWorkflowStep) SetCluster(v string) *ApplyComponentWorkflowStep
- func (o *ApplyComponentWorkflowStep) SetComponent(v string) *ApplyComponentWorkflowStep
- func (o *ApplyComponentWorkflowStep) SetNamespace(v string) *ApplyComponentWorkflowStep
- func (a *ApplyComponentWorkflowStep) Timeout(timeout string) *ApplyComponentWorkflowStep
- func (o *ApplyComponentWorkflowStep) Validate() error
- func (a *ApplyComponentWorkflowStep) WorkflowStepName() string
- type NullableApplyComponentSpec
- func (v *NullableApplyComponentSpec) Get() *ApplyComponentSpec
- func (v *NullableApplyComponentSpec) IsSet() bool
- func (v NullableApplyComponentSpec) MarshalJSON() ([]byte, error)
- func (v *NullableApplyComponentSpec) Set(val *ApplyComponentSpec)
- func (v *NullableApplyComponentSpec) UnmarshalJSON(src []byte) error
- func (v *NullableApplyComponentSpec) Unset()
Constants ¶
const ApplyComponentType = "apply-component"
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 ApplyComponentSpec ¶
type ApplyComponentSpec struct { // Specify the cluster Cluster *string `json:"cluster"` // Specify the component name to apply Component *string `json:"component"` // Specify the namespace Namespace *string `json:"namespace"` }
ApplyComponentSpec struct for ApplyComponentSpec
func NewApplyComponentSpec ¶
func NewApplyComponentSpec() *ApplyComponentSpec
NewApplyComponentSpec is short for NewApplyComponentSpecWithDefault which instantiates a new ApplyComponentSpec 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 NewApplyComponentSpecEmpty ¶
func NewApplyComponentSpecEmpty() *ApplyComponentSpec
NewApplyComponentSpecEmpty instantiates a new ApplyComponentSpec object with no properties set. This constructor will not assign any default values to properties.
func NewApplyComponentSpecList ¶
func NewApplyComponentSpecList(ps ...*ApplyComponentSpec) []ApplyComponentSpec
NewApplyComponentSpecs converts a list ApplyComponentSpec pointers to objects. This is helpful when the SetApplyComponentSpec requires a list of objects
func NewApplyComponentSpecWith ¶
func NewApplyComponentSpecWith(cluster string, component string, namespace string) *ApplyComponentSpec
NewApplyComponentSpecWith instantiates a new ApplyComponentSpec 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 NewApplyComponentSpecWithDefault ¶
func NewApplyComponentSpecWithDefault() *ApplyComponentSpec
NewApplyComponentSpecWithDefault instantiates a new ApplyComponentSpec 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 (ApplyComponentSpec) MarshalJSON ¶
func (o ApplyComponentSpec) MarshalJSON() ([]byte, error)
func (ApplyComponentSpec) ToMap ¶
func (o ApplyComponentSpec) ToMap() (map[string]interface{}, error)
type ApplyComponentWorkflowStep ¶
type ApplyComponentWorkflowStep struct { Base apis.WorkflowStepBase Properties ApplyComponentSpec }
func ApplyComponent ¶
func ApplyComponent(name string) *ApplyComponentWorkflowStep
func (*ApplyComponentWorkflowStep) Alias ¶
func (a *ApplyComponentWorkflowStep) Alias(alias string) *ApplyComponentWorkflowStep
func (*ApplyComponentWorkflowStep) Build ¶
func (a *ApplyComponentWorkflowStep) Build() v1beta1.WorkflowStep
func (*ApplyComponentWorkflowStep) DefType ¶
func (a *ApplyComponentWorkflowStep) DefType() string
func (*ApplyComponentWorkflowStep) DependsOn ¶
func (a *ApplyComponentWorkflowStep) DependsOn(dependsOn []string) *ApplyComponentWorkflowStep
func (*ApplyComponentWorkflowStep) FromWorkflowStep ¶
func (a *ApplyComponentWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*ApplyComponentWorkflowStep, error)
func (*ApplyComponentWorkflowStep) FromWorkflowSubStep ¶
func (a *ApplyComponentWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*ApplyComponentWorkflowStep, error)
func (*ApplyComponentWorkflowStep) GetCluster ¶
func (o *ApplyComponentWorkflowStep) GetCluster() string
GetCluster returns the Cluster field value
func (*ApplyComponentWorkflowStep) GetClusterOk ¶
func (o *ApplyComponentWorkflowStep) GetClusterOk() (*string, bool)
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*ApplyComponentWorkflowStep) GetComponent ¶
func (o *ApplyComponentWorkflowStep) GetComponent() string
GetComponent returns the Component field value
func (*ApplyComponentWorkflowStep) GetComponentOk ¶
func (o *ApplyComponentWorkflowStep) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*ApplyComponentWorkflowStep) GetNamespace ¶
func (o *ApplyComponentWorkflowStep) GetNamespace() string
GetNamespace returns the Namespace field value
func (*ApplyComponentWorkflowStep) GetNamespaceOk ¶
func (o *ApplyComponentWorkflowStep) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value and a boolean to check if the value has been set.
func (*ApplyComponentWorkflowStep) If ¶
func (a *ApplyComponentWorkflowStep) If(_if string) *ApplyComponentWorkflowStep
func (*ApplyComponentWorkflowStep) Inputs ¶
func (a *ApplyComponentWorkflowStep) Inputs(input common.StepInputs) *ApplyComponentWorkflowStep
func (*ApplyComponentWorkflowStep) Outputs ¶
func (a *ApplyComponentWorkflowStep) Outputs(output common.StepOutputs) *ApplyComponentWorkflowStep
func (*ApplyComponentWorkflowStep) SetCluster ¶
func (o *ApplyComponentWorkflowStep) SetCluster(v string) *ApplyComponentWorkflowStep
SetCluster sets field value
func (*ApplyComponentWorkflowStep) SetComponent ¶
func (o *ApplyComponentWorkflowStep) SetComponent(v string) *ApplyComponentWorkflowStep
SetComponent sets field value
func (*ApplyComponentWorkflowStep) SetNamespace ¶
func (o *ApplyComponentWorkflowStep) SetNamespace(v string) *ApplyComponentWorkflowStep
SetNamespace sets field value
func (*ApplyComponentWorkflowStep) Timeout ¶
func (a *ApplyComponentWorkflowStep) Timeout(timeout string) *ApplyComponentWorkflowStep
func (*ApplyComponentWorkflowStep) Validate ¶
func (o *ApplyComponentWorkflowStep) Validate() error
Validate validates this ApplyComponentSpec 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 (*ApplyComponentWorkflowStep) WorkflowStepName ¶
func (a *ApplyComponentWorkflowStep) WorkflowStepName() string
type NullableApplyComponentSpec ¶
type NullableApplyComponentSpec struct {
// contains filtered or unexported fields
}
func NewNullableApplyComponentSpec ¶
func NewNullableApplyComponentSpec(val *ApplyComponentSpec) *NullableApplyComponentSpec
func (*NullableApplyComponentSpec) Get ¶
func (v *NullableApplyComponentSpec) Get() *ApplyComponentSpec
func (*NullableApplyComponentSpec) IsSet ¶
func (v *NullableApplyComponentSpec) IsSet() bool
func (NullableApplyComponentSpec) MarshalJSON ¶
func (v NullableApplyComponentSpec) MarshalJSON() ([]byte, error)
func (*NullableApplyComponentSpec) Set ¶
func (v *NullableApplyComponentSpec) Set(val *ApplyComponentSpec)
func (*NullableApplyComponentSpec) UnmarshalJSON ¶
func (v *NullableApplyComponentSpec) UnmarshalJSON(src []byte) error
func (*NullableApplyComponentSpec) Unset ¶
func (v *NullableApplyComponentSpec) Unset()