Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type CreateConfigSpec
- func NewCreateConfigSpec() *CreateConfigSpec
- func NewCreateConfigSpecEmpty() *CreateConfigSpec
- func NewCreateConfigSpecList(ps ...*CreateConfigSpec) []CreateConfigSpec
- func NewCreateConfigSpecWith(config map[string]interface{}, name string) *CreateConfigSpec
- func NewCreateConfigSpecWithDefault() *CreateConfigSpec
- type CreateConfigWorkflowStep
- func (c *CreateConfigWorkflowStep) Alias(alias string) *CreateConfigWorkflowStep
- func (c *CreateConfigWorkflowStep) Build() v1beta1.WorkflowStep
- func (c *CreateConfigWorkflowStep) DefType() string
- func (c *CreateConfigWorkflowStep) DependsOn(dependsOn []string) *CreateConfigWorkflowStep
- func (c *CreateConfigWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*CreateConfigWorkflowStep, error)
- func (c *CreateConfigWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*CreateConfigWorkflowStep, error)
- func (o *CreateConfigWorkflowStep) GetConfig() map[string]interface{}
- func (o *CreateConfigWorkflowStep) GetConfigOk() (map[string]interface{}, bool)
- func (o *CreateConfigWorkflowStep) GetName() string
- func (o *CreateConfigWorkflowStep) GetNameOk() (*string, bool)
- func (o *CreateConfigWorkflowStep) GetNamespace() string
- func (o *CreateConfigWorkflowStep) GetNamespaceOk() (*string, bool)
- func (o *CreateConfigWorkflowStep) GetTemplate() string
- func (o *CreateConfigWorkflowStep) GetTemplateOk() (*string, bool)
- func (o *CreateConfigWorkflowStep) HasNamespace() bool
- func (o *CreateConfigWorkflowStep) HasTemplate() bool
- func (c *CreateConfigWorkflowStep) If(_if string) *CreateConfigWorkflowStep
- func (c *CreateConfigWorkflowStep) Inputs(input common.StepInputs) *CreateConfigWorkflowStep
- func (c *CreateConfigWorkflowStep) Outputs(output common.StepOutputs) *CreateConfigWorkflowStep
- func (o *CreateConfigWorkflowStep) SetConfig(v map[string]interface{}) *CreateConfigWorkflowStep
- func (o *CreateConfigWorkflowStep) SetName(v string) *CreateConfigWorkflowStep
- func (o *CreateConfigWorkflowStep) SetNamespace(v string) *CreateConfigWorkflowStep
- func (o *CreateConfigWorkflowStep) SetTemplate(v string) *CreateConfigWorkflowStep
- func (c *CreateConfigWorkflowStep) Timeout(timeout string) *CreateConfigWorkflowStep
- func (o *CreateConfigWorkflowStep) Validate() error
- func (c *CreateConfigWorkflowStep) WorkflowStepName() string
- type NullableCreateConfigSpec
- func (v *NullableCreateConfigSpec) Get() *CreateConfigSpec
- func (v *NullableCreateConfigSpec) IsSet() bool
- func (v NullableCreateConfigSpec) MarshalJSON() ([]byte, error)
- func (v *NullableCreateConfigSpec) Set(val *CreateConfigSpec)
- func (v *NullableCreateConfigSpec) UnmarshalJSON(src []byte) error
- func (v *NullableCreateConfigSpec) Unset()
Constants ¶
const CreateConfigType = "create-config"
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 CreateConfigSpec ¶
type CreateConfigSpec struct { // Specify the content of the config. Config map[string]interface{} `json:"config"` // Specify the name of the config. Name *string `json:"name"` // Specify the namespace of the config. Namespace *string `json:"namespace,omitempty"` // Specify the template of the config. Template *string `json:"template,omitempty"` }
CreateConfigSpec struct for CreateConfigSpec
func NewCreateConfigSpec ¶
func NewCreateConfigSpec() *CreateConfigSpec
NewCreateConfigSpec is short for NewCreateConfigSpecWithDefault which instantiates a new CreateConfigSpec 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 NewCreateConfigSpecEmpty ¶
func NewCreateConfigSpecEmpty() *CreateConfigSpec
NewCreateConfigSpecEmpty instantiates a new CreateConfigSpec object with no properties set. This constructor will not assign any default values to properties.
func NewCreateConfigSpecList ¶
func NewCreateConfigSpecList(ps ...*CreateConfigSpec) []CreateConfigSpec
NewCreateConfigSpecs converts a list CreateConfigSpec pointers to objects. This is helpful when the SetCreateConfigSpec requires a list of objects
func NewCreateConfigSpecWith ¶
func NewCreateConfigSpecWith(config map[string]interface{}, name string) *CreateConfigSpec
NewCreateConfigSpecWith instantiates a new CreateConfigSpec 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 NewCreateConfigSpecWithDefault ¶
func NewCreateConfigSpecWithDefault() *CreateConfigSpec
NewCreateConfigSpecWithDefault instantiates a new CreateConfigSpec 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 (CreateConfigSpec) MarshalJSON ¶
func (o CreateConfigSpec) MarshalJSON() ([]byte, error)
func (CreateConfigSpec) ToMap ¶
func (o CreateConfigSpec) ToMap() (map[string]interface{}, error)
type CreateConfigWorkflowStep ¶
type CreateConfigWorkflowStep struct { Base apis.WorkflowStepBase Properties CreateConfigSpec }
func CreateConfig ¶
func CreateConfig(name string) *CreateConfigWorkflowStep
func (*CreateConfigWorkflowStep) Alias ¶
func (c *CreateConfigWorkflowStep) Alias(alias string) *CreateConfigWorkflowStep
func (*CreateConfigWorkflowStep) Build ¶
func (c *CreateConfigWorkflowStep) Build() v1beta1.WorkflowStep
func (*CreateConfigWorkflowStep) DefType ¶
func (c *CreateConfigWorkflowStep) DefType() string
func (*CreateConfigWorkflowStep) DependsOn ¶
func (c *CreateConfigWorkflowStep) DependsOn(dependsOn []string) *CreateConfigWorkflowStep
func (*CreateConfigWorkflowStep) FromWorkflowStep ¶
func (c *CreateConfigWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*CreateConfigWorkflowStep, error)
func (*CreateConfigWorkflowStep) FromWorkflowSubStep ¶
func (c *CreateConfigWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*CreateConfigWorkflowStep, error)
func (*CreateConfigWorkflowStep) GetConfig ¶
func (o *CreateConfigWorkflowStep) GetConfig() map[string]interface{}
GetConfig returns the Config field value
func (*CreateConfigWorkflowStep) GetConfigOk ¶
func (o *CreateConfigWorkflowStep) GetConfigOk() (map[string]interface{}, bool)
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (*CreateConfigWorkflowStep) GetName ¶
func (o *CreateConfigWorkflowStep) GetName() string
GetName returns the Name field value
func (*CreateConfigWorkflowStep) GetNameOk ¶
func (o *CreateConfigWorkflowStep) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateConfigWorkflowStep) GetNamespace ¶
func (o *CreateConfigWorkflowStep) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*CreateConfigWorkflowStep) GetNamespaceOk ¶
func (o *CreateConfigWorkflowStep) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateConfigWorkflowStep) GetTemplate ¶
func (o *CreateConfigWorkflowStep) GetTemplate() string
GetTemplate returns the Template field value if set, zero value otherwise.
func (*CreateConfigWorkflowStep) GetTemplateOk ¶
func (o *CreateConfigWorkflowStep) GetTemplateOk() (*string, bool)
GetTemplateOk returns a tuple with the Template field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateConfigWorkflowStep) HasNamespace ¶
func (o *CreateConfigWorkflowStep) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*CreateConfigWorkflowStep) HasTemplate ¶
func (o *CreateConfigWorkflowStep) HasTemplate() bool
HasTemplate returns a boolean if a field has been set.
func (*CreateConfigWorkflowStep) If ¶
func (c *CreateConfigWorkflowStep) If(_if string) *CreateConfigWorkflowStep
func (*CreateConfigWorkflowStep) Inputs ¶
func (c *CreateConfigWorkflowStep) Inputs(input common.StepInputs) *CreateConfigWorkflowStep
func (*CreateConfigWorkflowStep) Outputs ¶
func (c *CreateConfigWorkflowStep) Outputs(output common.StepOutputs) *CreateConfigWorkflowStep
func (*CreateConfigWorkflowStep) SetConfig ¶
func (o *CreateConfigWorkflowStep) SetConfig(v map[string]interface{}) *CreateConfigWorkflowStep
SetConfig sets field value
func (*CreateConfigWorkflowStep) SetName ¶
func (o *CreateConfigWorkflowStep) SetName(v string) *CreateConfigWorkflowStep
SetName sets field value
func (*CreateConfigWorkflowStep) SetNamespace ¶
func (o *CreateConfigWorkflowStep) SetNamespace(v string) *CreateConfigWorkflowStep
SetNamespace gets a reference to the given string and assigns it to the namespace field. Namespace: Specify the namespace of the config.
func (*CreateConfigWorkflowStep) SetTemplate ¶
func (o *CreateConfigWorkflowStep) SetTemplate(v string) *CreateConfigWorkflowStep
SetTemplate gets a reference to the given string and assigns it to the template field. Template: Specify the template of the config.
func (*CreateConfigWorkflowStep) Timeout ¶
func (c *CreateConfigWorkflowStep) Timeout(timeout string) *CreateConfigWorkflowStep
func (*CreateConfigWorkflowStep) Validate ¶
func (o *CreateConfigWorkflowStep) Validate() error
Validate validates this CreateConfigSpec 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 (*CreateConfigWorkflowStep) WorkflowStepName ¶
func (c *CreateConfigWorkflowStep) WorkflowStepName() string
type NullableCreateConfigSpec ¶
type NullableCreateConfigSpec struct {
// contains filtered or unexported fields
}
func NewNullableCreateConfigSpec ¶
func NewNullableCreateConfigSpec(val *CreateConfigSpec) *NullableCreateConfigSpec
func (*NullableCreateConfigSpec) Get ¶
func (v *NullableCreateConfigSpec) Get() *CreateConfigSpec
func (*NullableCreateConfigSpec) IsSet ¶
func (v *NullableCreateConfigSpec) IsSet() bool
func (NullableCreateConfigSpec) MarshalJSON ¶
func (v NullableCreateConfigSpec) MarshalJSON() ([]byte, error)
func (*NullableCreateConfigSpec) Set ¶
func (v *NullableCreateConfigSpec) Set(val *CreateConfigSpec)
func (*NullableCreateConfigSpec) UnmarshalJSON ¶
func (v *NullableCreateConfigSpec) UnmarshalJSON(src []byte) error
func (*NullableCreateConfigSpec) Unset ¶
func (v *NullableCreateConfigSpec) Unset()