Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type NullableStepGroupSpec
- func (v *NullableStepGroupSpec) Get() *StepGroupSpec
- func (v *NullableStepGroupSpec) IsSet() bool
- func (v NullableStepGroupSpec) MarshalJSON() ([]byte, error)
- func (v *NullableStepGroupSpec) Set(val *StepGroupSpec)
- func (v *NullableStepGroupSpec) UnmarshalJSON(src []byte) error
- func (v *NullableStepGroupSpec) Unset()
- type StepGroupSpec
- type StepGroupWorkflowStep
- func (s *StepGroupWorkflowStep) AddSubStep(subStep apis.WorkflowStep) *StepGroupWorkflowStep
- func (s *StepGroupWorkflowStep) Alias(alias string) *StepGroupWorkflowStep
- func (s *StepGroupWorkflowStep) Build() v1beta1.WorkflowStep
- func (s *StepGroupWorkflowStep) DefType() string
- func (s *StepGroupWorkflowStep) DependsOn(dependsOn []string) *StepGroupWorkflowStep
- func (s *StepGroupWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*StepGroupWorkflowStep, error)
- func (s *StepGroupWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*StepGroupWorkflowStep, error)
- func (s *StepGroupWorkflowStep) If(_if string) *StepGroupWorkflowStep
- func (s *StepGroupWorkflowStep) Inputs(input common.StepInputs) *StepGroupWorkflowStep
- func (s *StepGroupWorkflowStep) Outputs(output common.StepOutputs) *StepGroupWorkflowStep
- func (s *StepGroupWorkflowStep) Timeout(timeout string) *StepGroupWorkflowStep
- func (o *StepGroupWorkflowStep) Validate() error
- func (s *StepGroupWorkflowStep) WorkflowStepName() string
Constants ¶
const StepGroupType = "step-group"
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 NullableStepGroupSpec ¶
type NullableStepGroupSpec struct {
// contains filtered or unexported fields
}
func NewNullableStepGroupSpec ¶
func NewNullableStepGroupSpec(val *StepGroupSpec) *NullableStepGroupSpec
func (*NullableStepGroupSpec) Get ¶
func (v *NullableStepGroupSpec) Get() *StepGroupSpec
func (*NullableStepGroupSpec) IsSet ¶
func (v *NullableStepGroupSpec) IsSet() bool
func (NullableStepGroupSpec) MarshalJSON ¶
func (v NullableStepGroupSpec) MarshalJSON() ([]byte, error)
func (*NullableStepGroupSpec) Set ¶
func (v *NullableStepGroupSpec) Set(val *StepGroupSpec)
func (*NullableStepGroupSpec) UnmarshalJSON ¶
func (v *NullableStepGroupSpec) UnmarshalJSON(src []byte) error
func (*NullableStepGroupSpec) Unset ¶
func (v *NullableStepGroupSpec) Unset()
type StepGroupSpec ¶
type StepGroupSpec struct { }
StepGroupSpec struct for StepGroupSpec
func NewStepGroupSpec ¶
func NewStepGroupSpec() *StepGroupSpec
NewStepGroupSpec is short for NewStepGroupSpecWithDefault which instantiates a new StepGroupSpec 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 NewStepGroupSpecEmpty ¶
func NewStepGroupSpecEmpty() *StepGroupSpec
NewStepGroupSpecEmpty instantiates a new StepGroupSpec object with no properties set. This constructor will not assign any default values to properties.
func NewStepGroupSpecList ¶
func NewStepGroupSpecList(ps ...*StepGroupSpec) []StepGroupSpec
NewStepGroupSpecs converts a list StepGroupSpec pointers to objects. This is helpful when the SetStepGroupSpec requires a list of objects
func NewStepGroupSpecWith ¶
func NewStepGroupSpecWith() *StepGroupSpec
NewStepGroupSpecWith instantiates a new StepGroupSpec 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 NewStepGroupSpecWithDefault ¶
func NewStepGroupSpecWithDefault() *StepGroupSpec
NewStepGroupSpecWithDefault instantiates a new StepGroupSpec 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 (StepGroupSpec) MarshalJSON ¶
func (o StepGroupSpec) MarshalJSON() ([]byte, error)
func (StepGroupSpec) ToMap ¶
func (o StepGroupSpec) ToMap() (map[string]interface{}, error)
type StepGroupWorkflowStep ¶
type StepGroupWorkflowStep struct { Base apis.WorkflowStepBase Properties StepGroupSpec }
func StepGroup ¶
func StepGroup(name string) *StepGroupWorkflowStep
func (*StepGroupWorkflowStep) AddSubStep ¶
func (s *StepGroupWorkflowStep) AddSubStep(subStep apis.WorkflowStep) *StepGroupWorkflowStep
func (*StepGroupWorkflowStep) Alias ¶
func (s *StepGroupWorkflowStep) Alias(alias string) *StepGroupWorkflowStep
func (*StepGroupWorkflowStep) Build ¶
func (s *StepGroupWorkflowStep) Build() v1beta1.WorkflowStep
func (*StepGroupWorkflowStep) DefType ¶
func (s *StepGroupWorkflowStep) DefType() string
func (*StepGroupWorkflowStep) DependsOn ¶
func (s *StepGroupWorkflowStep) DependsOn(dependsOn []string) *StepGroupWorkflowStep
func (*StepGroupWorkflowStep) FromWorkflowStep ¶
func (s *StepGroupWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*StepGroupWorkflowStep, error)
func (*StepGroupWorkflowStep) FromWorkflowSubStep ¶
func (s *StepGroupWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*StepGroupWorkflowStep, error)
func (*StepGroupWorkflowStep) If ¶
func (s *StepGroupWorkflowStep) If(_if string) *StepGroupWorkflowStep
func (*StepGroupWorkflowStep) Inputs ¶
func (s *StepGroupWorkflowStep) Inputs(input common.StepInputs) *StepGroupWorkflowStep
func (*StepGroupWorkflowStep) Outputs ¶
func (s *StepGroupWorkflowStep) Outputs(output common.StepOutputs) *StepGroupWorkflowStep
func (*StepGroupWorkflowStep) Timeout ¶
func (s *StepGroupWorkflowStep) Timeout(timeout string) *StepGroupWorkflowStep
func (*StepGroupWorkflowStep) Validate ¶
func (o *StepGroupWorkflowStep) Validate() error
Validate validates this StepGroupSpec 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 (*StepGroupWorkflowStep) WorkflowStepName ¶
func (s *StepGroupWorkflowStep) WorkflowStepName() string