read_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 ReadConfigType = "read-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 NullableReadConfigSpec

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

func NewNullableReadConfigSpec

func NewNullableReadConfigSpec(val *ReadConfigSpec) *NullableReadConfigSpec

func (*NullableReadConfigSpec) Get

func (*NullableReadConfigSpec) IsSet

func (v *NullableReadConfigSpec) IsSet() bool

func (NullableReadConfigSpec) MarshalJSON

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

func (*NullableReadConfigSpec) Set

func (*NullableReadConfigSpec) UnmarshalJSON

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

func (*NullableReadConfigSpec) Unset

func (v *NullableReadConfigSpec) Unset()

type ReadConfigSpec

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

ReadConfigSpec struct for ReadConfigSpec

func NewReadConfigSpec

func NewReadConfigSpec() *ReadConfigSpec

NewReadConfigSpec is short for NewReadConfigSpecWithDefault which instantiates a new ReadConfigSpec 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 NewReadConfigSpecEmpty

func NewReadConfigSpecEmpty() *ReadConfigSpec

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

func NewReadConfigSpecList

func NewReadConfigSpecList(ps ...*ReadConfigSpec) []ReadConfigSpec

NewReadConfigSpecs converts a list ReadConfigSpec pointers to objects. This is helpful when the SetReadConfigSpec requires a list of objects

func NewReadConfigSpecWith

func NewReadConfigSpecWith(name string) *ReadConfigSpec

NewReadConfigSpecWith instantiates a new ReadConfigSpec 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 NewReadConfigSpecWithDefault

func NewReadConfigSpecWithDefault() *ReadConfigSpec

NewReadConfigSpecWithDefault instantiates a new ReadConfigSpec 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 (ReadConfigSpec) MarshalJSON

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

func (ReadConfigSpec) ToMap

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

type ReadConfigWorkflowStep

type ReadConfigWorkflowStep struct {
	Base       apis.WorkflowStepBase
	Properties ReadConfigSpec
}

func ReadConfig

func ReadConfig(name string) *ReadConfigWorkflowStep

func (*ReadConfigWorkflowStep) Alias

func (*ReadConfigWorkflowStep) Build

func (*ReadConfigWorkflowStep) DefType

func (r *ReadConfigWorkflowStep) DefType() string

func (*ReadConfigWorkflowStep) DependsOn

func (r *ReadConfigWorkflowStep) DependsOn(dependsOn []string) *ReadConfigWorkflowStep

func (*ReadConfigWorkflowStep) FromWorkflowStep

func (*ReadConfigWorkflowStep) FromWorkflowSubStep

func (*ReadConfigWorkflowStep) GetName

func (o *ReadConfigWorkflowStep) GetName() string

GetName returns the Name field value

func (*ReadConfigWorkflowStep) GetNameOk

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

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

func (*ReadConfigWorkflowStep) GetNamespace

func (o *ReadConfigWorkflowStep) GetNamespace() string

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

func (*ReadConfigWorkflowStep) GetNamespaceOk

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

func (o *ReadConfigWorkflowStep) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*ReadConfigWorkflowStep) If

func (*ReadConfigWorkflowStep) Inputs

func (*ReadConfigWorkflowStep) Outputs

func (*ReadConfigWorkflowStep) SetName

SetName sets field value

func (*ReadConfigWorkflowStep) SetNamespace

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

func (*ReadConfigWorkflowStep) Timeout

func (*ReadConfigWorkflowStep) Validate

func (o *ReadConfigWorkflowStep) Validate() error

Validate validates this ReadConfigSpec 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 (*ReadConfigWorkflowStep) WorkflowStepName

func (r *ReadConfigWorkflowStep) WorkflowStepName() string

Jump to

Keyboard shortcuts

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