Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type NullablePlacements
- type NullableShareCloudResourceSpec
- func (v *NullableShareCloudResourceSpec) Get() *ShareCloudResourceSpec
- func (v *NullableShareCloudResourceSpec) IsSet() bool
- func (v NullableShareCloudResourceSpec) MarshalJSON() ([]byte, error)
- func (v *NullableShareCloudResourceSpec) Set(val *ShareCloudResourceSpec)
- func (v *NullableShareCloudResourceSpec) UnmarshalJSON(src []byte) error
- func (v *NullableShareCloudResourceSpec) Unset()
- type Placements
- func (o *Placements) GetCluster() string
- func (o *Placements) GetClusterOk() (*string, bool)
- func (o *Placements) GetNamespace() string
- func (o *Placements) GetNamespaceOk() (*string, bool)
- func (o *Placements) HasCluster() bool
- func (o *Placements) HasNamespace() bool
- func (o Placements) MarshalJSON() ([]byte, error)
- func (o *Placements) SetCluster(v string) *Placements
- func (o *Placements) SetNamespace(v string) *Placements
- func (o Placements) ToMap() (map[string]interface{}, error)
- func (o *Placements) Validate() error
- type ShareCloudResourceSpec
- func NewShareCloudResourceSpec() *ShareCloudResourceSpec
- func NewShareCloudResourceSpecEmpty() *ShareCloudResourceSpec
- func NewShareCloudResourceSpecList(ps ...*ShareCloudResourceSpec) []ShareCloudResourceSpec
- func NewShareCloudResourceSpecWith(env string, placements []Placements, policy string) *ShareCloudResourceSpec
- func NewShareCloudResourceSpecWithDefault() *ShareCloudResourceSpec
- type ShareCloudResourceWorkflowStep
- func (s *ShareCloudResourceWorkflowStep) Alias(alias string) *ShareCloudResourceWorkflowStep
- func (s *ShareCloudResourceWorkflowStep) Build() v1beta1.WorkflowStep
- func (s *ShareCloudResourceWorkflowStep) DefType() string
- func (s *ShareCloudResourceWorkflowStep) DependsOn(dependsOn []string) *ShareCloudResourceWorkflowStep
- func (s *ShareCloudResourceWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*ShareCloudResourceWorkflowStep, error)
- func (s *ShareCloudResourceWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*ShareCloudResourceWorkflowStep, error)
- func (o *ShareCloudResourceWorkflowStep) GetEnv() string
- func (o *ShareCloudResourceWorkflowStep) GetEnvOk() (*string, bool)
- func (o *ShareCloudResourceWorkflowStep) GetPlacements() []Placements
- func (o *ShareCloudResourceWorkflowStep) GetPlacementsOk() ([]Placements, bool)
- func (o *ShareCloudResourceWorkflowStep) GetPolicy() string
- func (o *ShareCloudResourceWorkflowStep) GetPolicyOk() (*string, bool)
- func (s *ShareCloudResourceWorkflowStep) If(_if string) *ShareCloudResourceWorkflowStep
- func (s *ShareCloudResourceWorkflowStep) Inputs(input common.StepInputs) *ShareCloudResourceWorkflowStep
- func (s *ShareCloudResourceWorkflowStep) Outputs(output common.StepOutputs) *ShareCloudResourceWorkflowStep
- func (o *ShareCloudResourceWorkflowStep) SetEnv(v string) *ShareCloudResourceWorkflowStep
- func (o *ShareCloudResourceWorkflowStep) SetPlacements(v []Placements) *ShareCloudResourceWorkflowStep
- func (o *ShareCloudResourceWorkflowStep) SetPolicy(v string) *ShareCloudResourceWorkflowStep
- func (s *ShareCloudResourceWorkflowStep) Timeout(timeout string) *ShareCloudResourceWorkflowStep
- func (o *ShareCloudResourceWorkflowStep) Validate() error
- func (s *ShareCloudResourceWorkflowStep) WorkflowStepName() string
Constants ¶
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 NullablePlacements ¶
type NullablePlacements struct {
// contains filtered or unexported fields
}
func NewNullablePlacements ¶
func NewNullablePlacements(val *Placements) *NullablePlacements
func (*NullablePlacements) Get ¶
func (v *NullablePlacements) Get() *Placements
func (*NullablePlacements) IsSet ¶
func (v *NullablePlacements) IsSet() bool
func (NullablePlacements) MarshalJSON ¶
func (v NullablePlacements) MarshalJSON() ([]byte, error)
func (*NullablePlacements) Set ¶
func (v *NullablePlacements) Set(val *Placements)
func (*NullablePlacements) UnmarshalJSON ¶
func (v *NullablePlacements) UnmarshalJSON(src []byte) error
func (*NullablePlacements) Unset ¶
func (v *NullablePlacements) Unset()
type NullableShareCloudResourceSpec ¶
type NullableShareCloudResourceSpec struct {
// contains filtered or unexported fields
}
func NewNullableShareCloudResourceSpec ¶
func NewNullableShareCloudResourceSpec(val *ShareCloudResourceSpec) *NullableShareCloudResourceSpec
func (*NullableShareCloudResourceSpec) Get ¶
func (v *NullableShareCloudResourceSpec) Get() *ShareCloudResourceSpec
func (*NullableShareCloudResourceSpec) IsSet ¶
func (v *NullableShareCloudResourceSpec) IsSet() bool
func (NullableShareCloudResourceSpec) MarshalJSON ¶
func (v NullableShareCloudResourceSpec) MarshalJSON() ([]byte, error)
func (*NullableShareCloudResourceSpec) Set ¶
func (v *NullableShareCloudResourceSpec) Set(val *ShareCloudResourceSpec)
func (*NullableShareCloudResourceSpec) UnmarshalJSON ¶
func (v *NullableShareCloudResourceSpec) UnmarshalJSON(src []byte) error
func (*NullableShareCloudResourceSpec) Unset ¶
func (v *NullableShareCloudResourceSpec) Unset()
type Placements ¶
type Placements struct { Cluster *string `json:"cluster,omitempty"` Namespace *string `json:"namespace,omitempty"` }
Placements struct for Placements
func NewPlacements ¶
func NewPlacements() *Placements
NewPlacements is short for NewPlacementsWithDefault which instantiates a new Placements 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 NewPlacementsEmpty ¶
func NewPlacementsEmpty() *Placements
NewPlacementsEmpty instantiates a new Placements object with no properties set. This constructor will not assign any default values to properties.
func NewPlacementsList ¶
func NewPlacementsList(ps ...*Placements) []Placements
NewPlacementss converts a list Placements pointers to objects. This is helpful when the SetPlacements requires a list of objects
func NewPlacementsWith ¶
func NewPlacementsWith() *Placements
NewPlacementsWith instantiates a new Placements 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 NewPlacementsWithDefault ¶
func NewPlacementsWithDefault() *Placements
NewPlacementsWithDefault instantiates a new Placements 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 (*Placements) GetCluster ¶
func (o *Placements) GetCluster() string
GetCluster returns the Cluster field value if set, zero value otherwise.
func (*Placements) GetClusterOk ¶
func (o *Placements) GetClusterOk() (*string, bool)
GetClusterOk returns a tuple with the Cluster field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Placements) GetNamespace ¶
func (o *Placements) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*Placements) GetNamespaceOk ¶
func (o *Placements) 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 (*Placements) HasCluster ¶
func (o *Placements) HasCluster() bool
HasCluster returns a boolean if a field has been set.
func (*Placements) HasNamespace ¶
func (o *Placements) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (Placements) MarshalJSON ¶
func (o Placements) MarshalJSON() ([]byte, error)
func (*Placements) SetCluster ¶
func (o *Placements) SetCluster(v string) *Placements
SetCluster gets a reference to the given string and assigns it to the cluster field. Cluster:
func (*Placements) SetNamespace ¶
func (o *Placements) SetNamespace(v string) *Placements
SetNamespace gets a reference to the given string and assigns it to the namespace field. Namespace:
func (Placements) ToMap ¶
func (o Placements) ToMap() (map[string]interface{}, error)
func (*Placements) Validate ¶
func (o *Placements) Validate() error
Validate validates this Placements 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
type ShareCloudResourceSpec ¶
type ShareCloudResourceSpec struct { string `json:"env"` Placements []Placements `json:"placements"` Policy *string `json:"policy"` }Env *
ShareCloudResourceSpec struct for ShareCloudResourceSpec
func NewShareCloudResourceSpec ¶
func NewShareCloudResourceSpec() *ShareCloudResourceSpec
NewShareCloudResourceSpec is short for NewShareCloudResourceSpecWithDefault which instantiates a new ShareCloudResourceSpec 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 NewShareCloudResourceSpecEmpty ¶
func NewShareCloudResourceSpecEmpty() *ShareCloudResourceSpec
NewShareCloudResourceSpecEmpty instantiates a new ShareCloudResourceSpec object with no properties set. This constructor will not assign any default values to properties.
func NewShareCloudResourceSpecList ¶
func NewShareCloudResourceSpecList(ps ...*ShareCloudResourceSpec) []ShareCloudResourceSpec
NewShareCloudResourceSpecs converts a list ShareCloudResourceSpec pointers to objects. This is helpful when the SetShareCloudResourceSpec requires a list of objects
func NewShareCloudResourceSpecWith ¶
func NewShareCloudResourceSpecWith(env string, placements []Placements, policy string) *ShareCloudResourceSpec
NewShareCloudResourceSpecWith instantiates a new ShareCloudResourceSpec 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 NewShareCloudResourceSpecWithDefault ¶
func NewShareCloudResourceSpecWithDefault() *ShareCloudResourceSpec
NewShareCloudResourceSpecWithDefault instantiates a new ShareCloudResourceSpec 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 (ShareCloudResourceSpec) MarshalJSON ¶
func (o ShareCloudResourceSpec) MarshalJSON() ([]byte, error)
func (ShareCloudResourceSpec) ToMap ¶
func (o ShareCloudResourceSpec) ToMap() (map[string]interface{}, error)
type ShareCloudResourceWorkflowStep ¶
type ShareCloudResourceWorkflowStep struct {}
func ShareCloudResource ¶
func ShareCloudResource(name string) *ShareCloudResourceWorkflowStep
func (*ShareCloudResourceWorkflowStep) Alias ¶
func (s *ShareCloudResourceWorkflowStep) Alias(alias string) *ShareCloudResourceWorkflowStep
func (*ShareCloudResourceWorkflowStep) Build ¶
func (s *ShareCloudResourceWorkflowStep) Build() v1beta1.WorkflowStep
func (*ShareCloudResourceWorkflowStep) DefType ¶
func (s *ShareCloudResourceWorkflowStep) DefType() string
func (*ShareCloudResourceWorkflowStep) DependsOn ¶
func (s *ShareCloudResourceWorkflowStep) DependsOn(dependsOn []string) *ShareCloudResourceWorkflowStep
func (*ShareCloudResourceWorkflowStep) FromWorkflowStep ¶
func (s *ShareCloudResourceWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*ShareCloudResourceWorkflowStep, error)
func (*ShareCloudResourceWorkflowStep) FromWorkflowSubStep ¶
func (s *ShareCloudResourceWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*ShareCloudResourceWorkflowStep, error)
func (*ShareCloudResourceWorkflowStep) GetEnv ¶
func (o *ShareCloudResourceWorkflowStep) GetEnv() string
GetEnv returns the Env field value
func (*ShareCloudResourceWorkflowStep) GetEnvOk ¶
func (o *ShareCloudResourceWorkflowStep) GetEnvOk() (*string, bool)
GetEnvOk returns a tuple with the Env field value and a boolean to check if the value has been set.
func (*ShareCloudResourceWorkflowStep) GetPlacements ¶
func (o *ShareCloudResourceWorkflowStep) GetPlacements() []Placements
GetPlacements returns the Placements field value
func (*ShareCloudResourceWorkflowStep) GetPlacementsOk ¶
func (o *ShareCloudResourceWorkflowStep) GetPlacementsOk() ([]Placements, bool)
GetPlacementsOk returns a tuple with the Placements field value and a boolean to check if the value has been set.
func (*ShareCloudResourceWorkflowStep) GetPolicy ¶
func (o *ShareCloudResourceWorkflowStep) GetPolicy() string
GetPolicy returns the Policy field value
func (*ShareCloudResourceWorkflowStep) GetPolicyOk ¶
func (o *ShareCloudResourceWorkflowStep) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field value and a boolean to check if the value has been set.
func (*ShareCloudResourceWorkflowStep) If ¶
func (s *ShareCloudResourceWorkflowStep) If(_if string) *ShareCloudResourceWorkflowStep
func (*ShareCloudResourceWorkflowStep) Inputs ¶
func (s *ShareCloudResourceWorkflowStep) Inputs(input common.StepInputs) *ShareCloudResourceWorkflowStep
func (*ShareCloudResourceWorkflowStep) Outputs ¶
func (s *ShareCloudResourceWorkflowStep) Outputs(output common.StepOutputs) *ShareCloudResourceWorkflowStep
func (*ShareCloudResourceWorkflowStep) SetEnv ¶
func (o *ShareCloudResourceWorkflowStep) SetEnv(v string) *ShareCloudResourceWorkflowStep
SetEnv sets field value
func (*ShareCloudResourceWorkflowStep) SetPlacements ¶
func (o *ShareCloudResourceWorkflowStep) SetPlacements(v []Placements) *ShareCloudResourceWorkflowStep
SetPlacements sets field value
func (*ShareCloudResourceWorkflowStep) SetPolicy ¶
func (o *ShareCloudResourceWorkflowStep) SetPolicy(v string) *ShareCloudResourceWorkflowStep
SetPolicy sets field value
func (*ShareCloudResourceWorkflowStep) Timeout ¶
func (s *ShareCloudResourceWorkflowStep) Timeout(timeout string) *ShareCloudResourceWorkflowStep
func (*ShareCloudResourceWorkflowStep) Validate ¶
func (o *ShareCloudResourceWorkflowStep) Validate() error
Validate validates this ShareCloudResourceSpec 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 (*ShareCloudResourceWorkflowStep) WorkflowStepName ¶
func (s *ShareCloudResourceWorkflowStep) WorkflowStepName() string