apply_component

package
v0.0.0-...-3d8ba93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ApplyComponentType = "apply-component"

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 ApplyComponentSpec

type ApplyComponentSpec struct {
	// Specify the cluster
	Cluster *string `json:"cluster"`
	// Specify the component name to apply
	Component *string `json:"component"`
	// Specify the namespace
	Namespace *string `json:"namespace"`
}

ApplyComponentSpec struct for ApplyComponentSpec

func NewApplyComponentSpec

func NewApplyComponentSpec() *ApplyComponentSpec

NewApplyComponentSpec is short for NewApplyComponentSpecWithDefault which instantiates a new ApplyComponentSpec 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 NewApplyComponentSpecEmpty

func NewApplyComponentSpecEmpty() *ApplyComponentSpec

NewApplyComponentSpecEmpty instantiates a new ApplyComponentSpec object with no properties set. This constructor will not assign any default values to properties.

func NewApplyComponentSpecList

func NewApplyComponentSpecList(ps ...*ApplyComponentSpec) []ApplyComponentSpec

NewApplyComponentSpecs converts a list ApplyComponentSpec pointers to objects. This is helpful when the SetApplyComponentSpec requires a list of objects

func NewApplyComponentSpecWith

func NewApplyComponentSpecWith(cluster string, component string, namespace string) *ApplyComponentSpec

NewApplyComponentSpecWith instantiates a new ApplyComponentSpec 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 NewApplyComponentSpecWithDefault

func NewApplyComponentSpecWithDefault() *ApplyComponentSpec

NewApplyComponentSpecWithDefault instantiates a new ApplyComponentSpec 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 (ApplyComponentSpec) MarshalJSON

func (o ApplyComponentSpec) MarshalJSON() ([]byte, error)

func (ApplyComponentSpec) ToMap

func (o ApplyComponentSpec) ToMap() (map[string]interface{}, error)

type ApplyComponentWorkflowStep

type ApplyComponentWorkflowStep struct {
	Base       apis.WorkflowStepBase
	Properties ApplyComponentSpec
}

func ApplyComponent

func ApplyComponent(name string) *ApplyComponentWorkflowStep

func (*ApplyComponentWorkflowStep) Alias

func (*ApplyComponentWorkflowStep) Build

func (*ApplyComponentWorkflowStep) DefType

func (a *ApplyComponentWorkflowStep) DefType() string

func (*ApplyComponentWorkflowStep) DependsOn

func (*ApplyComponentWorkflowStep) FromWorkflowStep

func (*ApplyComponentWorkflowStep) FromWorkflowSubStep

func (*ApplyComponentWorkflowStep) GetCluster

func (o *ApplyComponentWorkflowStep) GetCluster() string

GetCluster returns the Cluster field value

func (*ApplyComponentWorkflowStep) GetClusterOk

func (o *ApplyComponentWorkflowStep) GetClusterOk() (*string, bool)

GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.

func (*ApplyComponentWorkflowStep) GetComponent

func (o *ApplyComponentWorkflowStep) GetComponent() string

GetComponent returns the Component field value

func (*ApplyComponentWorkflowStep) GetComponentOk

func (o *ApplyComponentWorkflowStep) GetComponentOk() (*string, bool)

GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.

func (*ApplyComponentWorkflowStep) GetNamespace

func (o *ApplyComponentWorkflowStep) GetNamespace() string

GetNamespace returns the Namespace field value

func (*ApplyComponentWorkflowStep) GetNamespaceOk

func (o *ApplyComponentWorkflowStep) GetNamespaceOk() (*string, bool)

GetNamespaceOk returns a tuple with the Namespace field value and a boolean to check if the value has been set.

func (*ApplyComponentWorkflowStep) If

func (*ApplyComponentWorkflowStep) Inputs

func (*ApplyComponentWorkflowStep) Outputs

func (*ApplyComponentWorkflowStep) SetCluster

SetCluster sets field value

func (*ApplyComponentWorkflowStep) SetComponent

SetComponent sets field value

func (*ApplyComponentWorkflowStep) SetNamespace

SetNamespace sets field value

func (*ApplyComponentWorkflowStep) Timeout

func (*ApplyComponentWorkflowStep) Validate

func (o *ApplyComponentWorkflowStep) Validate() error

Validate validates this ApplyComponentSpec 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 (*ApplyComponentWorkflowStep) WorkflowStepName

func (a *ApplyComponentWorkflowStep) WorkflowStepName() string

type NullableApplyComponentSpec

type NullableApplyComponentSpec struct {
	// contains filtered or unexported fields
}

func NewNullableApplyComponentSpec

func NewNullableApplyComponentSpec(val *ApplyComponentSpec) *NullableApplyComponentSpec

func (*NullableApplyComponentSpec) Get

func (*NullableApplyComponentSpec) IsSet

func (v *NullableApplyComponentSpec) IsSet() bool

func (NullableApplyComponentSpec) MarshalJSON

func (v NullableApplyComponentSpec) MarshalJSON() ([]byte, error)

func (*NullableApplyComponentSpec) Set

func (*NullableApplyComponentSpec) UnmarshalJSON

func (v *NullableApplyComponentSpec) UnmarshalJSON(src []byte) error

func (*NullableApplyComponentSpec) Unset

func (v *NullableApplyComponentSpec) Unset()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL