Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type DeployCloudResourceSpec
- func NewDeployCloudResourceSpec() *DeployCloudResourceSpec
- func NewDeployCloudResourceSpecEmpty() *DeployCloudResourceSpec
- func NewDeployCloudResourceSpecList(ps ...*DeployCloudResourceSpec) []DeployCloudResourceSpec
- func NewDeployCloudResourceSpecWith(env string, policy string) *DeployCloudResourceSpec
- func NewDeployCloudResourceSpecWithDefault() *DeployCloudResourceSpec
- type DeployCloudResourceWorkflowStep
- func (d *DeployCloudResourceWorkflowStep) Alias(alias string) *DeployCloudResourceWorkflowStep
- func (d *DeployCloudResourceWorkflowStep) Build() v1beta1.WorkflowStep
- func (d *DeployCloudResourceWorkflowStep) DefType() string
- func (d *DeployCloudResourceWorkflowStep) DependsOn(dependsOn []string) *DeployCloudResourceWorkflowStep
- func (d *DeployCloudResourceWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*DeployCloudResourceWorkflowStep, error)
- func (d *DeployCloudResourceWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*DeployCloudResourceWorkflowStep, error)
- func (o *DeployCloudResourceWorkflowStep) GetEnv() string
- func (o *DeployCloudResourceWorkflowStep) GetEnvOk() (*string, bool)
- func (o *DeployCloudResourceWorkflowStep) GetPolicy() string
- func (o *DeployCloudResourceWorkflowStep) GetPolicyOk() (*string, bool)
- func (d *DeployCloudResourceWorkflowStep) If(_if string) *DeployCloudResourceWorkflowStep
- func (d *DeployCloudResourceWorkflowStep) Inputs(input common.StepInputs) *DeployCloudResourceWorkflowStep
- func (d *DeployCloudResourceWorkflowStep) Outputs(output common.StepOutputs) *DeployCloudResourceWorkflowStep
- func (o *DeployCloudResourceWorkflowStep) SetEnv(v string) *DeployCloudResourceWorkflowStep
- func (o *DeployCloudResourceWorkflowStep) SetPolicy(v string) *DeployCloudResourceWorkflowStep
- func (d *DeployCloudResourceWorkflowStep) Timeout(timeout string) *DeployCloudResourceWorkflowStep
- func (o *DeployCloudResourceWorkflowStep) Validate() error
- func (d *DeployCloudResourceWorkflowStep) WorkflowStepName() string
- type NullableDeployCloudResourceSpec
- func (v *NullableDeployCloudResourceSpec) Get() *DeployCloudResourceSpec
- func (v *NullableDeployCloudResourceSpec) IsSet() bool
- func (v NullableDeployCloudResourceSpec) MarshalJSON() ([]byte, error)
- func (v *NullableDeployCloudResourceSpec) Set(val *DeployCloudResourceSpec)
- func (v *NullableDeployCloudResourceSpec) UnmarshalJSON(src []byte) error
- func (v *NullableDeployCloudResourceSpec) Unset()
Constants ¶
const DeployCloudResourceType = "deploy-cloud-resource"
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 DeployCloudResourceSpec ¶
type DeployCloudResourceSpec struct { // Declare the name of the env in policy Env *string `json:"env"` // Declare the name of the env-binding policy, if empty, the first env-binding policy will be used Policy *string `json:"policy"` }
DeployCloudResourceSpec struct for DeployCloudResourceSpec
func NewDeployCloudResourceSpec ¶
func NewDeployCloudResourceSpec() *DeployCloudResourceSpec
NewDeployCloudResourceSpec is short for NewDeployCloudResourceSpecWithDefault which instantiates a new DeployCloudResourceSpec 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 NewDeployCloudResourceSpecEmpty ¶
func NewDeployCloudResourceSpecEmpty() *DeployCloudResourceSpec
NewDeployCloudResourceSpecEmpty instantiates a new DeployCloudResourceSpec object with no properties set. This constructor will not assign any default values to properties.
func NewDeployCloudResourceSpecList ¶
func NewDeployCloudResourceSpecList(ps ...*DeployCloudResourceSpec) []DeployCloudResourceSpec
NewDeployCloudResourceSpecs converts a list DeployCloudResourceSpec pointers to objects. This is helpful when the SetDeployCloudResourceSpec requires a list of objects
func NewDeployCloudResourceSpecWith ¶
func NewDeployCloudResourceSpecWith(env string, policy string) *DeployCloudResourceSpec
NewDeployCloudResourceSpecWith instantiates a new DeployCloudResourceSpec 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 NewDeployCloudResourceSpecWithDefault ¶
func NewDeployCloudResourceSpecWithDefault() *DeployCloudResourceSpec
NewDeployCloudResourceSpecWithDefault instantiates a new DeployCloudResourceSpec 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 (DeployCloudResourceSpec) MarshalJSON ¶
func (o DeployCloudResourceSpec) MarshalJSON() ([]byte, error)
func (DeployCloudResourceSpec) ToMap ¶
func (o DeployCloudResourceSpec) ToMap() (map[string]interface{}, error)
type DeployCloudResourceWorkflowStep ¶
type DeployCloudResourceWorkflowStep struct { Base apis.WorkflowStepBase Properties DeployCloudResourceSpec }
func DeployCloudResource ¶
func DeployCloudResource(name string) *DeployCloudResourceWorkflowStep
func (*DeployCloudResourceWorkflowStep) Alias ¶
func (d *DeployCloudResourceWorkflowStep) Alias(alias string) *DeployCloudResourceWorkflowStep
func (*DeployCloudResourceWorkflowStep) Build ¶
func (d *DeployCloudResourceWorkflowStep) Build() v1beta1.WorkflowStep
func (*DeployCloudResourceWorkflowStep) DefType ¶
func (d *DeployCloudResourceWorkflowStep) DefType() string
func (*DeployCloudResourceWorkflowStep) DependsOn ¶
func (d *DeployCloudResourceWorkflowStep) DependsOn(dependsOn []string) *DeployCloudResourceWorkflowStep
func (*DeployCloudResourceWorkflowStep) FromWorkflowStep ¶
func (d *DeployCloudResourceWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*DeployCloudResourceWorkflowStep, error)
func (*DeployCloudResourceWorkflowStep) FromWorkflowSubStep ¶
func (d *DeployCloudResourceWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*DeployCloudResourceWorkflowStep, error)
func (*DeployCloudResourceWorkflowStep) GetEnv ¶
func (o *DeployCloudResourceWorkflowStep) GetEnv() string
GetEnv returns the Env field value
func (*DeployCloudResourceWorkflowStep) GetEnvOk ¶
func (o *DeployCloudResourceWorkflowStep) GetEnvOk() (*string, bool)
GetEnvOk returns a tuple with the Env field value and a boolean to check if the value has been set.
func (*DeployCloudResourceWorkflowStep) GetPolicy ¶
func (o *DeployCloudResourceWorkflowStep) GetPolicy() string
GetPolicy returns the Policy field value
func (*DeployCloudResourceWorkflowStep) GetPolicyOk ¶
func (o *DeployCloudResourceWorkflowStep) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field value and a boolean to check if the value has been set.
func (*DeployCloudResourceWorkflowStep) If ¶
func (d *DeployCloudResourceWorkflowStep) If(_if string) *DeployCloudResourceWorkflowStep
func (*DeployCloudResourceWorkflowStep) Inputs ¶
func (d *DeployCloudResourceWorkflowStep) Inputs(input common.StepInputs) *DeployCloudResourceWorkflowStep
func (*DeployCloudResourceWorkflowStep) Outputs ¶
func (d *DeployCloudResourceWorkflowStep) Outputs(output common.StepOutputs) *DeployCloudResourceWorkflowStep
func (*DeployCloudResourceWorkflowStep) SetEnv ¶
func (o *DeployCloudResourceWorkflowStep) SetEnv(v string) *DeployCloudResourceWorkflowStep
SetEnv sets field value
func (*DeployCloudResourceWorkflowStep) SetPolicy ¶
func (o *DeployCloudResourceWorkflowStep) SetPolicy(v string) *DeployCloudResourceWorkflowStep
SetPolicy sets field value
func (*DeployCloudResourceWorkflowStep) Timeout ¶
func (d *DeployCloudResourceWorkflowStep) Timeout(timeout string) *DeployCloudResourceWorkflowStep
func (*DeployCloudResourceWorkflowStep) Validate ¶
func (o *DeployCloudResourceWorkflowStep) Validate() error
Validate validates this DeployCloudResourceSpec 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 (*DeployCloudResourceWorkflowStep) WorkflowStepName ¶
func (d *DeployCloudResourceWorkflowStep) WorkflowStepName() string
type NullableDeployCloudResourceSpec ¶
type NullableDeployCloudResourceSpec struct {
// contains filtered or unexported fields
}
func NewNullableDeployCloudResourceSpec ¶
func NewNullableDeployCloudResourceSpec(val *DeployCloudResourceSpec) *NullableDeployCloudResourceSpec
func (*NullableDeployCloudResourceSpec) Get ¶
func (v *NullableDeployCloudResourceSpec) Get() *DeployCloudResourceSpec
func (*NullableDeployCloudResourceSpec) IsSet ¶
func (v *NullableDeployCloudResourceSpec) IsSet() bool
func (NullableDeployCloudResourceSpec) MarshalJSON ¶
func (v NullableDeployCloudResourceSpec) MarshalJSON() ([]byte, error)
func (*NullableDeployCloudResourceSpec) Set ¶
func (v *NullableDeployCloudResourceSpec) Set(val *DeployCloudResourceSpec)
func (*NullableDeployCloudResourceSpec) UnmarshalJSON ¶
func (v *NullableDeployCloudResourceSpec) UnmarshalJSON(src []byte) error
func (*NullableDeployCloudResourceSpec) Unset ¶
func (v *NullableDeployCloudResourceSpec) Unset()