Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type NullableReadObjectSpec
- func (v *NullableReadObjectSpec) Get() *ReadObjectSpec
- func (v *NullableReadObjectSpec) IsSet() bool
- func (v NullableReadObjectSpec) MarshalJSON() ([]byte, error)
- func (v *NullableReadObjectSpec) Set(val *ReadObjectSpec)
- func (v *NullableReadObjectSpec) UnmarshalJSON(src []byte) error
- func (v *NullableReadObjectSpec) Unset()
- type ReadObjectSpec
- type ReadObjectWorkflowStep
- func (r *ReadObjectWorkflowStep) Alias(alias string) *ReadObjectWorkflowStep
- func (r *ReadObjectWorkflowStep) Build() v1beta1.WorkflowStep
- func (r *ReadObjectWorkflowStep) DefType() string
- func (r *ReadObjectWorkflowStep) DependsOn(dependsOn []string) *ReadObjectWorkflowStep
- func (r *ReadObjectWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*ReadObjectWorkflowStep, error)
- func (r *ReadObjectWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*ReadObjectWorkflowStep, error)
- func (o *ReadObjectWorkflowStep) GetApiVersion() string
- func (o *ReadObjectWorkflowStep) GetApiVersionOk() (*string, bool)
- func (o *ReadObjectWorkflowStep) GetCluster() string
- func (o *ReadObjectWorkflowStep) GetClusterOk() (*string, bool)
- func (o *ReadObjectWorkflowStep) GetKind() string
- func (o *ReadObjectWorkflowStep) GetKindOk() (*string, bool)
- func (o *ReadObjectWorkflowStep) GetName() string
- func (o *ReadObjectWorkflowStep) GetNameOk() (*string, bool)
- func (o *ReadObjectWorkflowStep) GetNamespace() string
- func (o *ReadObjectWorkflowStep) GetNamespaceOk() (*string, bool)
- func (o *ReadObjectWorkflowStep) HasApiVersion() bool
- func (o *ReadObjectWorkflowStep) HasKind() bool
- func (o *ReadObjectWorkflowStep) HasNamespace() bool
- func (r *ReadObjectWorkflowStep) If(_if string) *ReadObjectWorkflowStep
- func (r *ReadObjectWorkflowStep) Inputs(input common.StepInputs) *ReadObjectWorkflowStep
- func (r *ReadObjectWorkflowStep) Outputs(output common.StepOutputs) *ReadObjectWorkflowStep
- func (o *ReadObjectWorkflowStep) SetApiVersion(v string) *ReadObjectWorkflowStep
- func (o *ReadObjectWorkflowStep) SetCluster(v string) *ReadObjectWorkflowStep
- func (o *ReadObjectWorkflowStep) SetKind(v string) *ReadObjectWorkflowStep
- func (o *ReadObjectWorkflowStep) SetName(v string) *ReadObjectWorkflowStep
- func (o *ReadObjectWorkflowStep) SetNamespace(v string) *ReadObjectWorkflowStep
- func (r *ReadObjectWorkflowStep) Timeout(timeout string) *ReadObjectWorkflowStep
- func (o *ReadObjectWorkflowStep) Validate() error
- func (r *ReadObjectWorkflowStep) WorkflowStepName() string
Constants ¶
const ReadObjectType = "read-object"
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 NullableReadObjectSpec ¶
type NullableReadObjectSpec struct {
// contains filtered or unexported fields
}
func NewNullableReadObjectSpec ¶
func NewNullableReadObjectSpec(val *ReadObjectSpec) *NullableReadObjectSpec
func (*NullableReadObjectSpec) Get ¶
func (v *NullableReadObjectSpec) Get() *ReadObjectSpec
func (*NullableReadObjectSpec) IsSet ¶
func (v *NullableReadObjectSpec) IsSet() bool
func (NullableReadObjectSpec) MarshalJSON ¶
func (v NullableReadObjectSpec) MarshalJSON() ([]byte, error)
func (*NullableReadObjectSpec) Set ¶
func (v *NullableReadObjectSpec) Set(val *ReadObjectSpec)
func (*NullableReadObjectSpec) UnmarshalJSON ¶
func (v *NullableReadObjectSpec) UnmarshalJSON(src []byte) error
func (*NullableReadObjectSpec) Unset ¶
func (v *NullableReadObjectSpec) Unset()
type ReadObjectSpec ¶
type ReadObjectSpec struct { // Specify the apiVersion of the object, defaults to 'core.oam.dev/v1beta1' ApiVersion *string `json:"apiVersion,omitempty"` // The cluster you want to apply the resource to, default is the current control plane cluster Cluster *string `json:"cluster"` // Specify the kind of the object, defaults to Application Kind *string `json:"kind,omitempty"` // Specify the name of the object Name *string `json:"name"` // The namespace of the resource you want to read Namespace *string `json:"namespace,omitempty"` }
ReadObjectSpec struct for ReadObjectSpec
func NewReadObjectSpec ¶
func NewReadObjectSpec() *ReadObjectSpec
NewReadObjectSpec is short for NewReadObjectSpecWithDefault which instantiates a new ReadObjectSpec 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 NewReadObjectSpecEmpty ¶
func NewReadObjectSpecEmpty() *ReadObjectSpec
NewReadObjectSpecEmpty instantiates a new ReadObjectSpec object with no properties set. This constructor will not assign any default values to properties.
func NewReadObjectSpecList ¶
func NewReadObjectSpecList(ps ...*ReadObjectSpec) []ReadObjectSpec
NewReadObjectSpecs converts a list ReadObjectSpec pointers to objects. This is helpful when the SetReadObjectSpec requires a list of objects
func NewReadObjectSpecWith ¶
func NewReadObjectSpecWith(cluster string, name string) *ReadObjectSpec
NewReadObjectSpecWith instantiates a new ReadObjectSpec 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 NewReadObjectSpecWithDefault ¶
func NewReadObjectSpecWithDefault() *ReadObjectSpec
NewReadObjectSpecWithDefault instantiates a new ReadObjectSpec 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 (ReadObjectSpec) MarshalJSON ¶
func (o ReadObjectSpec) MarshalJSON() ([]byte, error)
func (ReadObjectSpec) ToMap ¶
func (o ReadObjectSpec) ToMap() (map[string]interface{}, error)
type ReadObjectWorkflowStep ¶
type ReadObjectWorkflowStep struct { Base apis.WorkflowStepBase Properties ReadObjectSpec }
func ReadObject ¶
func ReadObject(name string) *ReadObjectWorkflowStep
func (*ReadObjectWorkflowStep) Alias ¶
func (r *ReadObjectWorkflowStep) Alias(alias string) *ReadObjectWorkflowStep
func (*ReadObjectWorkflowStep) Build ¶
func (r *ReadObjectWorkflowStep) Build() v1beta1.WorkflowStep
func (*ReadObjectWorkflowStep) DefType ¶
func (r *ReadObjectWorkflowStep) DefType() string
func (*ReadObjectWorkflowStep) DependsOn ¶
func (r *ReadObjectWorkflowStep) DependsOn(dependsOn []string) *ReadObjectWorkflowStep
func (*ReadObjectWorkflowStep) FromWorkflowStep ¶
func (r *ReadObjectWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*ReadObjectWorkflowStep, error)
func (*ReadObjectWorkflowStep) FromWorkflowSubStep ¶
func (r *ReadObjectWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*ReadObjectWorkflowStep, error)
func (*ReadObjectWorkflowStep) GetApiVersion ¶
func (o *ReadObjectWorkflowStep) GetApiVersion() string
GetApiVersion returns the ApiVersion field value if set, zero value otherwise.
func (*ReadObjectWorkflowStep) GetApiVersionOk ¶
func (o *ReadObjectWorkflowStep) GetApiVersionOk() (*string, bool)
GetApiVersionOk returns a tuple with the ApiVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadObjectWorkflowStep) GetCluster ¶
func (o *ReadObjectWorkflowStep) GetCluster() string
GetCluster returns the Cluster field value
func (*ReadObjectWorkflowStep) GetClusterOk ¶
func (o *ReadObjectWorkflowStep) GetClusterOk() (*string, bool)
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*ReadObjectWorkflowStep) GetKind ¶
func (o *ReadObjectWorkflowStep) GetKind() string
GetKind returns the Kind field value if set, zero value otherwise.
func (*ReadObjectWorkflowStep) GetKindOk ¶
func (o *ReadObjectWorkflowStep) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadObjectWorkflowStep) GetName ¶
func (o *ReadObjectWorkflowStep) GetName() string
GetName returns the Name field value
func (*ReadObjectWorkflowStep) GetNameOk ¶
func (o *ReadObjectWorkflowStep) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ReadObjectWorkflowStep) GetNamespace ¶
func (o *ReadObjectWorkflowStep) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*ReadObjectWorkflowStep) GetNamespaceOk ¶
func (o *ReadObjectWorkflowStep) 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 (*ReadObjectWorkflowStep) HasApiVersion ¶
func (o *ReadObjectWorkflowStep) HasApiVersion() bool
HasApiVersion returns a boolean if a field has been set.
func (*ReadObjectWorkflowStep) HasKind ¶
func (o *ReadObjectWorkflowStep) HasKind() bool
HasKind returns a boolean if a field has been set.
func (*ReadObjectWorkflowStep) HasNamespace ¶
func (o *ReadObjectWorkflowStep) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*ReadObjectWorkflowStep) If ¶
func (r *ReadObjectWorkflowStep) If(_if string) *ReadObjectWorkflowStep
func (*ReadObjectWorkflowStep) Inputs ¶
func (r *ReadObjectWorkflowStep) Inputs(input common.StepInputs) *ReadObjectWorkflowStep
func (*ReadObjectWorkflowStep) Outputs ¶
func (r *ReadObjectWorkflowStep) Outputs(output common.StepOutputs) *ReadObjectWorkflowStep
func (*ReadObjectWorkflowStep) SetApiVersion ¶
func (o *ReadObjectWorkflowStep) SetApiVersion(v string) *ReadObjectWorkflowStep
SetApiVersion gets a reference to the given string and assigns it to the apiVersion field. ApiVersion: Specify the apiVersion of the object, defaults to 'core.oam.dev/v1beta1'
func (*ReadObjectWorkflowStep) SetCluster ¶
func (o *ReadObjectWorkflowStep) SetCluster(v string) *ReadObjectWorkflowStep
SetCluster sets field value
func (*ReadObjectWorkflowStep) SetKind ¶
func (o *ReadObjectWorkflowStep) SetKind(v string) *ReadObjectWorkflowStep
SetKind gets a reference to the given string and assigns it to the kind field. Kind: Specify the kind of the object, defaults to Application
func (*ReadObjectWorkflowStep) SetName ¶
func (o *ReadObjectWorkflowStep) SetName(v string) *ReadObjectWorkflowStep
SetName sets field value
func (*ReadObjectWorkflowStep) SetNamespace ¶
func (o *ReadObjectWorkflowStep) SetNamespace(v string) *ReadObjectWorkflowStep
SetNamespace gets a reference to the given string and assigns it to the namespace field. Namespace: The namespace of the resource you want to read
func (*ReadObjectWorkflowStep) Timeout ¶
func (r *ReadObjectWorkflowStep) Timeout(timeout string) *ReadObjectWorkflowStep
func (*ReadObjectWorkflowStep) Validate ¶
func (o *ReadObjectWorkflowStep) Validate() error
Validate validates this ReadObjectSpec 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 (*ReadObjectWorkflowStep) WorkflowStepName ¶
func (r *ReadObjectWorkflowStep) WorkflowStepName() string