Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type NullableSuspendSpec
- func (v *NullableSuspendSpec) Get() *SuspendSpec
- func (v *NullableSuspendSpec) IsSet() bool
- func (v NullableSuspendSpec) MarshalJSON() ([]byte, error)
- func (v *NullableSuspendSpec) Set(val *SuspendSpec)
- func (v *NullableSuspendSpec) UnmarshalJSON(src []byte) error
- func (v *NullableSuspendSpec) Unset()
- type SuspendSpec
- type SuspendWorkflowStep
- func (s *SuspendWorkflowStep) Alias(alias string) *SuspendWorkflowStep
- func (s *SuspendWorkflowStep) Build() v1beta1.WorkflowStep
- func (s *SuspendWorkflowStep) DefType() string
- func (s *SuspendWorkflowStep) DependsOn(dependsOn []string) *SuspendWorkflowStep
- func (s *SuspendWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*SuspendWorkflowStep, error)
- func (s *SuspendWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*SuspendWorkflowStep, error)
- func (o *SuspendWorkflowStep) GetDuration() string
- func (o *SuspendWorkflowStep) GetDurationOk() (*string, bool)
- func (o *SuspendWorkflowStep) GetMessage() string
- func (o *SuspendWorkflowStep) GetMessageOk() (*string, bool)
- func (o *SuspendWorkflowStep) HasDuration() bool
- func (o *SuspendWorkflowStep) HasMessage() bool
- func (s *SuspendWorkflowStep) If(_if string) *SuspendWorkflowStep
- func (s *SuspendWorkflowStep) Inputs(input common.StepInputs) *SuspendWorkflowStep
- func (s *SuspendWorkflowStep) Outputs(output common.StepOutputs) *SuspendWorkflowStep
- func (o *SuspendWorkflowStep) SetDuration(v string) *SuspendWorkflowStep
- func (o *SuspendWorkflowStep) SetMessage(v string) *SuspendWorkflowStep
- func (s *SuspendWorkflowStep) Timeout(timeout string) *SuspendWorkflowStep
- func (o *SuspendWorkflowStep) Validate() error
- func (s *SuspendWorkflowStep) WorkflowStepName() string
Constants ¶
const SuspendType = "suspend"
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 NullableSuspendSpec ¶
type NullableSuspendSpec struct {
// contains filtered or unexported fields
}
func NewNullableSuspendSpec ¶
func NewNullableSuspendSpec(val *SuspendSpec) *NullableSuspendSpec
func (*NullableSuspendSpec) Get ¶
func (v *NullableSuspendSpec) Get() *SuspendSpec
func (*NullableSuspendSpec) IsSet ¶
func (v *NullableSuspendSpec) IsSet() bool
func (NullableSuspendSpec) MarshalJSON ¶
func (v NullableSuspendSpec) MarshalJSON() ([]byte, error)
func (*NullableSuspendSpec) Set ¶
func (v *NullableSuspendSpec) Set(val *SuspendSpec)
func (*NullableSuspendSpec) UnmarshalJSON ¶
func (v *NullableSuspendSpec) UnmarshalJSON(src []byte) error
func (*NullableSuspendSpec) Unset ¶
func (v *NullableSuspendSpec) Unset()
type SuspendSpec ¶
type SuspendSpec struct { // Specify the wait duration time to resume workflow such as \"30s\", \"1min\" or \"2m15s\" Duration *string `json:"duration,omitempty"` // The suspend message to show Message *string `json:"message,omitempty"` }
SuspendSpec struct for SuspendSpec
func NewSuspendSpec ¶
func NewSuspendSpec() *SuspendSpec
NewSuspendSpec is short for NewSuspendSpecWithDefault which instantiates a new SuspendSpec 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 NewSuspendSpecEmpty ¶
func NewSuspendSpecEmpty() *SuspendSpec
NewSuspendSpecEmpty instantiates a new SuspendSpec object with no properties set. This constructor will not assign any default values to properties.
func NewSuspendSpecList ¶
func NewSuspendSpecList(ps ...*SuspendSpec) []SuspendSpec
NewSuspendSpecs converts a list SuspendSpec pointers to objects. This is helpful when the SetSuspendSpec requires a list of objects
func NewSuspendSpecWith ¶
func NewSuspendSpecWith() *SuspendSpec
NewSuspendSpecWith instantiates a new SuspendSpec 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 NewSuspendSpecWithDefault ¶
func NewSuspendSpecWithDefault() *SuspendSpec
NewSuspendSpecWithDefault instantiates a new SuspendSpec 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 (SuspendSpec) MarshalJSON ¶
func (o SuspendSpec) MarshalJSON() ([]byte, error)
func (SuspendSpec) ToMap ¶
func (o SuspendSpec) ToMap() (map[string]interface{}, error)
type SuspendWorkflowStep ¶
type SuspendWorkflowStep struct { Base apis.WorkflowStepBase Properties SuspendSpec }
func Suspend ¶
func Suspend(name string) *SuspendWorkflowStep
func (*SuspendWorkflowStep) Alias ¶
func (s *SuspendWorkflowStep) Alias(alias string) *SuspendWorkflowStep
func (*SuspendWorkflowStep) Build ¶
func (s *SuspendWorkflowStep) Build() v1beta1.WorkflowStep
func (*SuspendWorkflowStep) DefType ¶
func (s *SuspendWorkflowStep) DefType() string
func (*SuspendWorkflowStep) DependsOn ¶
func (s *SuspendWorkflowStep) DependsOn(dependsOn []string) *SuspendWorkflowStep
func (*SuspendWorkflowStep) FromWorkflowStep ¶
func (s *SuspendWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*SuspendWorkflowStep, error)
func (*SuspendWorkflowStep) FromWorkflowSubStep ¶
func (s *SuspendWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*SuspendWorkflowStep, error)
func (*SuspendWorkflowStep) GetDuration ¶
func (o *SuspendWorkflowStep) GetDuration() string
GetDuration returns the Duration field value if set, zero value otherwise.
func (*SuspendWorkflowStep) GetDurationOk ¶
func (o *SuspendWorkflowStep) GetDurationOk() (*string, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SuspendWorkflowStep) GetMessage ¶
func (o *SuspendWorkflowStep) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*SuspendWorkflowStep) GetMessageOk ¶
func (o *SuspendWorkflowStep) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SuspendWorkflowStep) HasDuration ¶
func (o *SuspendWorkflowStep) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (*SuspendWorkflowStep) HasMessage ¶
func (o *SuspendWorkflowStep) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*SuspendWorkflowStep) If ¶
func (s *SuspendWorkflowStep) If(_if string) *SuspendWorkflowStep
func (*SuspendWorkflowStep) Inputs ¶
func (s *SuspendWorkflowStep) Inputs(input common.StepInputs) *SuspendWorkflowStep
func (*SuspendWorkflowStep) Outputs ¶
func (s *SuspendWorkflowStep) Outputs(output common.StepOutputs) *SuspendWorkflowStep
func (*SuspendWorkflowStep) SetDuration ¶
func (o *SuspendWorkflowStep) SetDuration(v string) *SuspendWorkflowStep
SetDuration gets a reference to the given string and assigns it to the duration field. Duration: Specify the wait duration time to resume workflow such as \"30s\", \"1min\" or \"2m15s\"
func (*SuspendWorkflowStep) SetMessage ¶
func (o *SuspendWorkflowStep) SetMessage(v string) *SuspendWorkflowStep
SetMessage gets a reference to the given string and assigns it to the message field. Message: The suspend message to show
func (*SuspendWorkflowStep) Timeout ¶
func (s *SuspendWorkflowStep) Timeout(timeout string) *SuspendWorkflowStep
func (*SuspendWorkflowStep) Validate ¶
func (o *SuspendWorkflowStep) Validate() error
Validate validates this SuspendSpec 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 (*SuspendWorkflowStep) WorkflowStepName ¶
func (s *SuspendWorkflowStep) WorkflowStepName() string