export2config

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 Export2configType = "export2config"

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 Export2configSpec

type Export2configSpec struct {
	// Specify the cluster of the config map
	Cluster *string `json:"cluster"`
	// Specify the name of the config map
	ConfigName *string `json:"configName"`
	// Specify the data of config map
	Data map[string]interface{} `json:"data"`
	// Specify the namespace of the config map
	Namespace *string `json:"namespace,omitempty"`
}

Export2configSpec struct for Export2configSpec

func NewExport2configSpec

func NewExport2configSpec() *Export2configSpec

NewExport2configSpec is short for NewExport2configSpecWithDefault which instantiates a new Export2configSpec 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 NewExport2configSpecEmpty

func NewExport2configSpecEmpty() *Export2configSpec

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

func NewExport2configSpecList

func NewExport2configSpecList(ps ...*Export2configSpec) []Export2configSpec

NewExport2configSpecs converts a list Export2configSpec pointers to objects. This is helpful when the SetExport2configSpec requires a list of objects

func NewExport2configSpecWith

func NewExport2configSpecWith(cluster string, configName string, data map[string]interface{}) *Export2configSpec

NewExport2configSpecWith instantiates a new Export2configSpec 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 NewExport2configSpecWithDefault

func NewExport2configSpecWithDefault() *Export2configSpec

NewExport2configSpecWithDefault instantiates a new Export2configSpec 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 (Export2configSpec) MarshalJSON

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

func (Export2configSpec) ToMap

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

type Export2configWorkflowStep

type Export2configWorkflowStep struct {
	Base       apis.WorkflowStepBase
	Properties Export2configSpec
}

func Export2config

func Export2config(name string) *Export2configWorkflowStep

func (*Export2configWorkflowStep) Alias

func (*Export2configWorkflowStep) Build

func (*Export2configWorkflowStep) DefType

func (e *Export2configWorkflowStep) DefType() string

func (*Export2configWorkflowStep) DependsOn

func (e *Export2configWorkflowStep) DependsOn(dependsOn []string) *Export2configWorkflowStep

func (*Export2configWorkflowStep) FromWorkflowStep

func (*Export2configWorkflowStep) FromWorkflowSubStep

func (*Export2configWorkflowStep) GetCluster

func (o *Export2configWorkflowStep) GetCluster() string

GetCluster returns the Cluster field value

func (*Export2configWorkflowStep) GetClusterOk

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

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

func (*Export2configWorkflowStep) GetConfigName

func (o *Export2configWorkflowStep) GetConfigName() string

GetConfigName returns the ConfigName field value

func (*Export2configWorkflowStep) GetConfigNameOk

func (o *Export2configWorkflowStep) GetConfigNameOk() (*string, bool)

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

func (*Export2configWorkflowStep) GetData

func (o *Export2configWorkflowStep) GetData() map[string]interface{}

GetData returns the Data field value

func (*Export2configWorkflowStep) GetDataOk

func (o *Export2configWorkflowStep) GetDataOk() (map[string]interface{}, bool)

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

func (*Export2configWorkflowStep) GetNamespace

func (o *Export2configWorkflowStep) GetNamespace() string

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

func (*Export2configWorkflowStep) GetNamespaceOk

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

func (o *Export2configWorkflowStep) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*Export2configWorkflowStep) If

func (*Export2configWorkflowStep) Inputs

func (*Export2configWorkflowStep) Outputs

func (*Export2configWorkflowStep) SetCluster

SetCluster sets field value

func (*Export2configWorkflowStep) SetConfigName

SetConfigName sets field value

func (*Export2configWorkflowStep) SetData

func (o *Export2configWorkflowStep) SetData(v map[string]interface{}) *Export2configWorkflowStep

SetData sets field value

func (*Export2configWorkflowStep) SetNamespace

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

func (*Export2configWorkflowStep) Timeout

func (*Export2configWorkflowStep) Validate

func (o *Export2configWorkflowStep) Validate() error

Validate validates this Export2configSpec 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 (*Export2configWorkflowStep) WorkflowStepName

func (e *Export2configWorkflowStep) WorkflowStepName() string

type NullableExport2configSpec

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

func NewNullableExport2configSpec

func NewNullableExport2configSpec(val *Export2configSpec) *NullableExport2configSpec

func (*NullableExport2configSpec) Get

func (*NullableExport2configSpec) IsSet

func (v *NullableExport2configSpec) IsSet() bool

func (NullableExport2configSpec) MarshalJSON

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

func (*NullableExport2configSpec) Set

func (*NullableExport2configSpec) UnmarshalJSON

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

func (*NullableExport2configSpec) Unset

func (v *NullableExport2configSpec) Unset()

Jump to

Keyboard shortcuts

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