Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type ApplyObjectSpec
- func NewApplyObjectSpec() *ApplyObjectSpec
- func NewApplyObjectSpecEmpty() *ApplyObjectSpec
- func NewApplyObjectSpecList(ps ...*ApplyObjectSpec) []ApplyObjectSpec
- func NewApplyObjectSpecWith(cluster string, value map[string]interface{}) *ApplyObjectSpec
- func NewApplyObjectSpecWithDefault() *ApplyObjectSpec
- type ApplyObjectWorkflowStep
- func (a *ApplyObjectWorkflowStep) Alias(alias string) *ApplyObjectWorkflowStep
- func (a *ApplyObjectWorkflowStep) Build() v1beta1.WorkflowStep
- func (a *ApplyObjectWorkflowStep) DefType() string
- func (a *ApplyObjectWorkflowStep) DependsOn(dependsOn []string) *ApplyObjectWorkflowStep
- func (a *ApplyObjectWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*ApplyObjectWorkflowStep, error)
- func (a *ApplyObjectWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*ApplyObjectWorkflowStep, error)
- func (o *ApplyObjectWorkflowStep) GetCluster() string
- func (o *ApplyObjectWorkflowStep) GetClusterOk() (*string, bool)
- func (o *ApplyObjectWorkflowStep) GetValue() map[string]interface{}
- func (o *ApplyObjectWorkflowStep) GetValueOk() (map[string]interface{}, bool)
- func (a *ApplyObjectWorkflowStep) If(_if string) *ApplyObjectWorkflowStep
- func (a *ApplyObjectWorkflowStep) Inputs(input common.StepInputs) *ApplyObjectWorkflowStep
- func (a *ApplyObjectWorkflowStep) Outputs(output common.StepOutputs) *ApplyObjectWorkflowStep
- func (o *ApplyObjectWorkflowStep) SetCluster(v string) *ApplyObjectWorkflowStep
- func (o *ApplyObjectWorkflowStep) SetValue(v map[string]interface{}) *ApplyObjectWorkflowStep
- func (a *ApplyObjectWorkflowStep) Timeout(timeout string) *ApplyObjectWorkflowStep
- func (o *ApplyObjectWorkflowStep) Validate() error
- func (a *ApplyObjectWorkflowStep) WorkflowStepName() string
- type NullableApplyObjectSpec
- func (v *NullableApplyObjectSpec) Get() *ApplyObjectSpec
- func (v *NullableApplyObjectSpec) IsSet() bool
- func (v NullableApplyObjectSpec) MarshalJSON() ([]byte, error)
- func (v *NullableApplyObjectSpec) Set(val *ApplyObjectSpec)
- func (v *NullableApplyObjectSpec) UnmarshalJSON(src []byte) error
- func (v *NullableApplyObjectSpec) Unset()
Constants ¶
const ApplyObjectType = "apply-object"
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 ApplyObjectSpec ¶
type ApplyObjectSpec struct { // The cluster you want to apply the resource to, default is the current control plane cluster Cluster *string `json:"cluster"` // Specify Kubernetes native resource object to be applied Value map[string]interface{} `json:"value"` }
ApplyObjectSpec struct for ApplyObjectSpec
func NewApplyObjectSpec ¶
func NewApplyObjectSpec() *ApplyObjectSpec
NewApplyObjectSpec is short for NewApplyObjectSpecWithDefault which instantiates a new ApplyObjectSpec 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 NewApplyObjectSpecEmpty ¶
func NewApplyObjectSpecEmpty() *ApplyObjectSpec
NewApplyObjectSpecEmpty instantiates a new ApplyObjectSpec object with no properties set. This constructor will not assign any default values to properties.
func NewApplyObjectSpecList ¶
func NewApplyObjectSpecList(ps ...*ApplyObjectSpec) []ApplyObjectSpec
NewApplyObjectSpecs converts a list ApplyObjectSpec pointers to objects. This is helpful when the SetApplyObjectSpec requires a list of objects
func NewApplyObjectSpecWith ¶
func NewApplyObjectSpecWith(cluster string, value map[string]interface{}) *ApplyObjectSpec
NewApplyObjectSpecWith instantiates a new ApplyObjectSpec 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 NewApplyObjectSpecWithDefault ¶
func NewApplyObjectSpecWithDefault() *ApplyObjectSpec
NewApplyObjectSpecWithDefault instantiates a new ApplyObjectSpec 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 (ApplyObjectSpec) MarshalJSON ¶
func (o ApplyObjectSpec) MarshalJSON() ([]byte, error)
func (ApplyObjectSpec) ToMap ¶
func (o ApplyObjectSpec) ToMap() (map[string]interface{}, error)
type ApplyObjectWorkflowStep ¶
type ApplyObjectWorkflowStep struct { Base apis.WorkflowStepBase Properties ApplyObjectSpec }
func ApplyObject ¶
func ApplyObject(name string) *ApplyObjectWorkflowStep
func (*ApplyObjectWorkflowStep) Alias ¶
func (a *ApplyObjectWorkflowStep) Alias(alias string) *ApplyObjectWorkflowStep
func (*ApplyObjectWorkflowStep) Build ¶
func (a *ApplyObjectWorkflowStep) Build() v1beta1.WorkflowStep
func (*ApplyObjectWorkflowStep) DefType ¶
func (a *ApplyObjectWorkflowStep) DefType() string
func (*ApplyObjectWorkflowStep) DependsOn ¶
func (a *ApplyObjectWorkflowStep) DependsOn(dependsOn []string) *ApplyObjectWorkflowStep
func (*ApplyObjectWorkflowStep) FromWorkflowStep ¶
func (a *ApplyObjectWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*ApplyObjectWorkflowStep, error)
func (*ApplyObjectWorkflowStep) FromWorkflowSubStep ¶
func (a *ApplyObjectWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*ApplyObjectWorkflowStep, error)
func (*ApplyObjectWorkflowStep) GetCluster ¶
func (o *ApplyObjectWorkflowStep) GetCluster() string
GetCluster returns the Cluster field value
func (*ApplyObjectWorkflowStep) GetClusterOk ¶
func (o *ApplyObjectWorkflowStep) GetClusterOk() (*string, bool)
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*ApplyObjectWorkflowStep) GetValue ¶
func (o *ApplyObjectWorkflowStep) GetValue() map[string]interface{}
GetValue returns the Value field value
func (*ApplyObjectWorkflowStep) GetValueOk ¶
func (o *ApplyObjectWorkflowStep) GetValueOk() (map[string]interface{}, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*ApplyObjectWorkflowStep) If ¶
func (a *ApplyObjectWorkflowStep) If(_if string) *ApplyObjectWorkflowStep
func (*ApplyObjectWorkflowStep) Inputs ¶
func (a *ApplyObjectWorkflowStep) Inputs(input common.StepInputs) *ApplyObjectWorkflowStep
func (*ApplyObjectWorkflowStep) Outputs ¶
func (a *ApplyObjectWorkflowStep) Outputs(output common.StepOutputs) *ApplyObjectWorkflowStep
func (*ApplyObjectWorkflowStep) SetCluster ¶
func (o *ApplyObjectWorkflowStep) SetCluster(v string) *ApplyObjectWorkflowStep
SetCluster sets field value
func (*ApplyObjectWorkflowStep) SetValue ¶
func (o *ApplyObjectWorkflowStep) SetValue(v map[string]interface{}) *ApplyObjectWorkflowStep
SetValue sets field value
func (*ApplyObjectWorkflowStep) Timeout ¶
func (a *ApplyObjectWorkflowStep) Timeout(timeout string) *ApplyObjectWorkflowStep
func (*ApplyObjectWorkflowStep) Validate ¶
func (o *ApplyObjectWorkflowStep) Validate() error
Validate validates this ApplyObjectSpec 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 (*ApplyObjectWorkflowStep) WorkflowStepName ¶
func (a *ApplyObjectWorkflowStep) WorkflowStepName() string
type NullableApplyObjectSpec ¶
type NullableApplyObjectSpec struct {
// contains filtered or unexported fields
}
func NewNullableApplyObjectSpec ¶
func NewNullableApplyObjectSpec(val *ApplyObjectSpec) *NullableApplyObjectSpec
func (*NullableApplyObjectSpec) Get ¶
func (v *NullableApplyObjectSpec) Get() *ApplyObjectSpec
func (*NullableApplyObjectSpec) IsSet ¶
func (v *NullableApplyObjectSpec) IsSet() bool
func (NullableApplyObjectSpec) MarshalJSON ¶
func (v NullableApplyObjectSpec) MarshalJSON() ([]byte, error)
func (*NullableApplyObjectSpec) Set ¶
func (v *NullableApplyObjectSpec) Set(val *ApplyObjectSpec)
func (*NullableApplyObjectSpec) UnmarshalJSON ¶
func (v *NullableApplyObjectSpec) UnmarshalJSON(src []byte) error
func (*NullableApplyObjectSpec) Unset ¶
func (v *NullableApplyObjectSpec) Unset()