list_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 ListConfigType = "list-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 ListConfigSpec

type ListConfigSpec struct {
	// Specify the namespace of the config.
	Namespace *string `json:"namespace,omitempty"`
	// Specify the template of the config.
	Template *string `json:"template"`
}

ListConfigSpec struct for ListConfigSpec

func NewListConfigSpec

func NewListConfigSpec() *ListConfigSpec

NewListConfigSpec is short for NewListConfigSpecWithDefault which instantiates a new ListConfigSpec 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 NewListConfigSpecEmpty

func NewListConfigSpecEmpty() *ListConfigSpec

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

func NewListConfigSpecList

func NewListConfigSpecList(ps ...*ListConfigSpec) []ListConfigSpec

NewListConfigSpecs converts a list ListConfigSpec pointers to objects. This is helpful when the SetListConfigSpec requires a list of objects

func NewListConfigSpecWith

func NewListConfigSpecWith(template string) *ListConfigSpec

NewListConfigSpecWith instantiates a new ListConfigSpec 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 NewListConfigSpecWithDefault

func NewListConfigSpecWithDefault() *ListConfigSpec

NewListConfigSpecWithDefault instantiates a new ListConfigSpec 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 (ListConfigSpec) MarshalJSON

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

func (ListConfigSpec) ToMap

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

type ListConfigWorkflowStep

type ListConfigWorkflowStep struct {
	Base       apis.WorkflowStepBase
	Properties ListConfigSpec
}

func ListConfig

func ListConfig(name string) *ListConfigWorkflowStep

func (*ListConfigWorkflowStep) Alias

func (*ListConfigWorkflowStep) Build

func (*ListConfigWorkflowStep) DefType

func (l *ListConfigWorkflowStep) DefType() string

func (*ListConfigWorkflowStep) DependsOn

func (l *ListConfigWorkflowStep) DependsOn(dependsOn []string) *ListConfigWorkflowStep

func (*ListConfigWorkflowStep) FromWorkflowStep

func (*ListConfigWorkflowStep) FromWorkflowSubStep

func (*ListConfigWorkflowStep) GetNamespace

func (o *ListConfigWorkflowStep) GetNamespace() string

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

func (*ListConfigWorkflowStep) GetNamespaceOk

func (o *ListConfigWorkflowStep) 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 (*ListConfigWorkflowStep) GetTemplate

func (o *ListConfigWorkflowStep) GetTemplate() string

GetTemplate returns the Template field value

func (*ListConfigWorkflowStep) GetTemplateOk

func (o *ListConfigWorkflowStep) GetTemplateOk() (*string, bool)

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

func (*ListConfigWorkflowStep) HasNamespace

func (o *ListConfigWorkflowStep) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*ListConfigWorkflowStep) If

func (*ListConfigWorkflowStep) Inputs

func (*ListConfigWorkflowStep) Outputs

func (*ListConfigWorkflowStep) SetNamespace

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

func (*ListConfigWorkflowStep) SetTemplate

SetTemplate sets field value

func (*ListConfigWorkflowStep) Timeout

func (*ListConfigWorkflowStep) Validate

func (o *ListConfigWorkflowStep) Validate() error

Validate validates this ListConfigSpec 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 (*ListConfigWorkflowStep) WorkflowStepName

func (l *ListConfigWorkflowStep) WorkflowStepName() string

type NullableListConfigSpec

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

func NewNullableListConfigSpec

func NewNullableListConfigSpec(val *ListConfigSpec) *NullableListConfigSpec

func (*NullableListConfigSpec) Get

func (*NullableListConfigSpec) IsSet

func (v *NullableListConfigSpec) IsSet() bool

func (NullableListConfigSpec) MarshalJSON

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

func (*NullableListConfigSpec) Set

func (*NullableListConfigSpec) UnmarshalJSON

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

func (*NullableListConfigSpec) Unset

func (v *NullableListConfigSpec) Unset()

Jump to

Keyboard shortcuts

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