delete_config

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 DeleteConfigType = "delete-config"

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 DeleteConfigSpec

type DeleteConfigSpec struct {
	// Specify the name of the config.
	Name *string `json:"name"`
	// Specify the namespace of the config.
	Namespace *string `json:"namespace,omitempty"`
}

DeleteConfigSpec struct for DeleteConfigSpec

func NewDeleteConfigSpec

func NewDeleteConfigSpec() *DeleteConfigSpec

NewDeleteConfigSpec is short for NewDeleteConfigSpecWithDefault which instantiates a new DeleteConfigSpec 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 NewDeleteConfigSpecEmpty

func NewDeleteConfigSpecEmpty() *DeleteConfigSpec

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

func NewDeleteConfigSpecList

func NewDeleteConfigSpecList(ps ...*DeleteConfigSpec) []DeleteConfigSpec

NewDeleteConfigSpecs converts a list DeleteConfigSpec pointers to objects. This is helpful when the SetDeleteConfigSpec requires a list of objects

func NewDeleteConfigSpecWith

func NewDeleteConfigSpecWith(name string) *DeleteConfigSpec

NewDeleteConfigSpecWith instantiates a new DeleteConfigSpec 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 NewDeleteConfigSpecWithDefault

func NewDeleteConfigSpecWithDefault() *DeleteConfigSpec

NewDeleteConfigSpecWithDefault instantiates a new DeleteConfigSpec 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 (DeleteConfigSpec) MarshalJSON

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

func (DeleteConfigSpec) ToMap

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

type DeleteConfigWorkflowStep

type DeleteConfigWorkflowStep struct {
	Base       apis.WorkflowStepBase
	Properties DeleteConfigSpec
}

func DeleteConfig

func DeleteConfig(name string) *DeleteConfigWorkflowStep

func (*DeleteConfigWorkflowStep) Alias

func (*DeleteConfigWorkflowStep) Build

func (*DeleteConfigWorkflowStep) DefType

func (d *DeleteConfigWorkflowStep) DefType() string

func (*DeleteConfigWorkflowStep) DependsOn

func (d *DeleteConfigWorkflowStep) DependsOn(dependsOn []string) *DeleteConfigWorkflowStep

func (*DeleteConfigWorkflowStep) FromWorkflowStep

func (*DeleteConfigWorkflowStep) FromWorkflowSubStep

func (*DeleteConfigWorkflowStep) GetName

func (o *DeleteConfigWorkflowStep) GetName() string

GetName returns the Name field value

func (*DeleteConfigWorkflowStep) GetNameOk

func (o *DeleteConfigWorkflowStep) GetNameOk() (*string, bool)

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

func (*DeleteConfigWorkflowStep) GetNamespace

func (o *DeleteConfigWorkflowStep) GetNamespace() string

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*DeleteConfigWorkflowStep) GetNamespaceOk

func (o *DeleteConfigWorkflowStep) 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 (*DeleteConfigWorkflowStep) HasNamespace

func (o *DeleteConfigWorkflowStep) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*DeleteConfigWorkflowStep) If

func (*DeleteConfigWorkflowStep) Inputs

func (*DeleteConfigWorkflowStep) Outputs

func (*DeleteConfigWorkflowStep) SetName

SetName sets field value

func (*DeleteConfigWorkflowStep) SetNamespace

SetNamespace gets a reference to the given string and assigns it to the namespace field. Namespace: Specify the namespace of the config.

func (*DeleteConfigWorkflowStep) Timeout

func (*DeleteConfigWorkflowStep) Validate

func (o *DeleteConfigWorkflowStep) Validate() error

Validate validates this DeleteConfigSpec 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 (*DeleteConfigWorkflowStep) WorkflowStepName

func (d *DeleteConfigWorkflowStep) WorkflowStepName() string

type NullableDeleteConfigSpec

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

func NewNullableDeleteConfigSpec

func NewNullableDeleteConfigSpec(val *DeleteConfigSpec) *NullableDeleteConfigSpec

func (*NullableDeleteConfigSpec) Get

func (*NullableDeleteConfigSpec) IsSet

func (v *NullableDeleteConfigSpec) IsSet() bool

func (NullableDeleteConfigSpec) MarshalJSON

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

func (*NullableDeleteConfigSpec) Set

func (*NullableDeleteConfigSpec) UnmarshalJSON

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

func (*NullableDeleteConfigSpec) Unset

func (v *NullableDeleteConfigSpec) Unset()

Jump to

Keyboard shortcuts

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