deploy_cloud_resource

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 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 (*DeployCloudResourceWorkflowStep) Build

func (*DeployCloudResourceWorkflowStep) DefType

func (*DeployCloudResourceWorkflowStep) DependsOn

func (*DeployCloudResourceWorkflowStep) FromWorkflowStep

func (*DeployCloudResourceWorkflowStep) FromWorkflowSubStep

func (*DeployCloudResourceWorkflowStep) GetEnv

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 (*DeployCloudResourceWorkflowStep) Inputs

func (*DeployCloudResourceWorkflowStep) Outputs

func (*DeployCloudResourceWorkflowStep) SetEnv

SetEnv sets field value

func (*DeployCloudResourceWorkflowStep) SetPolicy

SetPolicy sets field value

func (*DeployCloudResourceWorkflowStep) Timeout

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 (*NullableDeployCloudResourceSpec) Get

func (*NullableDeployCloudResourceSpec) IsSet

func (NullableDeployCloudResourceSpec) MarshalJSON

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

func (*NullableDeployCloudResourceSpec) Set

func (*NullableDeployCloudResourceSpec) UnmarshalJSON

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

func (*NullableDeployCloudResourceSpec) Unset

Jump to

Keyboard shortcuts

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