export2secret

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 Export2secretType = "export2secret"

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 DockerRegistry

type DockerRegistry struct {
	// Specify the password of the docker registry
	Password *string `json:"password"`
	// Specify the server of the docker registry
	Server *string `json:"server"`
	// Specify the username of the docker registry
	Username *string `json:"username"`
}

DockerRegistry Specify the docker data

func NewDockerRegistry

func NewDockerRegistry() *DockerRegistry

NewDockerRegistry is short for NewDockerRegistryWithDefault which instantiates a new DockerRegistry 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 NewDockerRegistryEmpty

func NewDockerRegistryEmpty() *DockerRegistry

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

func NewDockerRegistryList

func NewDockerRegistryList(ps ...*DockerRegistry) []DockerRegistry

NewDockerRegistrys converts a list DockerRegistry pointers to objects. This is helpful when the SetDockerRegistry requires a list of objects

func NewDockerRegistryWith

func NewDockerRegistryWith(password string, server string, username string) *DockerRegistry

NewDockerRegistryWith instantiates a new DockerRegistry 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 NewDockerRegistryWithDefault

func NewDockerRegistryWithDefault() *DockerRegistry

NewDockerRegistryWithDefault instantiates a new DockerRegistry 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 (*DockerRegistry) GetPassword

func (o *DockerRegistry) GetPassword() string

GetPassword returns the Password field value

func (*DockerRegistry) GetPasswordOk

func (o *DockerRegistry) GetPasswordOk() (*string, bool)

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

func (*DockerRegistry) GetServer

func (o *DockerRegistry) GetServer() string

GetServer returns the Server field value

func (*DockerRegistry) GetServerOk

func (o *DockerRegistry) GetServerOk() (*string, bool)

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

func (*DockerRegistry) GetUsername

func (o *DockerRegistry) GetUsername() string

GetUsername returns the Username field value

func (*DockerRegistry) GetUsernameOk

func (o *DockerRegistry) GetUsernameOk() (*string, bool)

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

func (DockerRegistry) MarshalJSON

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

func (*DockerRegistry) SetPassword

func (o *DockerRegistry) SetPassword(v string) *DockerRegistry

SetPassword sets field value

func (*DockerRegistry) SetServer

func (o *DockerRegistry) SetServer(v string) *DockerRegistry

SetServer sets field value

func (*DockerRegistry) SetUsername

func (o *DockerRegistry) SetUsername(v string) *DockerRegistry

SetUsername sets field value

func (DockerRegistry) ToMap

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

func (*DockerRegistry) Validate

func (o *DockerRegistry) Validate() error

Validate validates this DockerRegistry 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

type Export2secretSpec

type Export2secretSpec struct {
	// Specify the cluster of the secret
	Cluster *string `json:"cluster"`
	// Specify the data of secret
	Data           map[string]interface{} `json:"data"`
	DockerRegistry *DockerRegistry        `json:"dockerRegistry,omitempty"`
	// Specify the kind of the secret
	Kind *string `json:"kind"`
	// Specify the namespace of the secret
	Namespace *string `json:"namespace,omitempty"`
	// Specify the name of the secret
	SecretName *string `json:"secretName"`
	// Specify the type of the secret
	Type *string `json:"type,omitempty"`
}

Export2secretSpec struct for Export2secretSpec

func NewExport2secretSpec

func NewExport2secretSpec() *Export2secretSpec

NewExport2secretSpec is short for NewExport2secretSpecWithDefault which instantiates a new Export2secretSpec 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 NewExport2secretSpecEmpty

func NewExport2secretSpecEmpty() *Export2secretSpec

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

func NewExport2secretSpecList

func NewExport2secretSpecList(ps ...*Export2secretSpec) []Export2secretSpec

NewExport2secretSpecs converts a list Export2secretSpec pointers to objects. This is helpful when the SetExport2secretSpec requires a list of objects

func NewExport2secretSpecWith

func NewExport2secretSpecWith(cluster string, data map[string]interface{}, kind string, secretName string) *Export2secretSpec

NewExport2secretSpecWith instantiates a new Export2secretSpec 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 NewExport2secretSpecWithDefault

func NewExport2secretSpecWithDefault() *Export2secretSpec

NewExport2secretSpecWithDefault instantiates a new Export2secretSpec 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 (Export2secretSpec) MarshalJSON

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

func (Export2secretSpec) ToMap

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

type Export2secretWorkflowStep

type Export2secretWorkflowStep struct {
	Base       apis.WorkflowStepBase
	Properties Export2secretSpec
}

func Export2secret

func Export2secret(name string) *Export2secretWorkflowStep

func (*Export2secretWorkflowStep) Alias

func (*Export2secretWorkflowStep) Build

func (*Export2secretWorkflowStep) DefType

func (e *Export2secretWorkflowStep) DefType() string

func (*Export2secretWorkflowStep) DependsOn

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

func (*Export2secretWorkflowStep) FromWorkflowStep

func (*Export2secretWorkflowStep) FromWorkflowSubStep

func (*Export2secretWorkflowStep) GetCluster

func (o *Export2secretWorkflowStep) GetCluster() string

GetCluster returns the Cluster field value

func (*Export2secretWorkflowStep) GetClusterOk

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

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

func (*Export2secretWorkflowStep) GetData

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

GetData returns the Data field value

func (*Export2secretWorkflowStep) GetDataOk

func (o *Export2secretWorkflowStep) 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 (*Export2secretWorkflowStep) GetDockerRegistry

func (o *Export2secretWorkflowStep) GetDockerRegistry() DockerRegistry

GetDockerRegistry returns the DockerRegistry field value if set, zero value otherwise.

func (*Export2secretWorkflowStep) GetDockerRegistryOk

func (o *Export2secretWorkflowStep) GetDockerRegistryOk() (*DockerRegistry, bool)

GetDockerRegistryOk returns a tuple with the DockerRegistry field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Export2secretWorkflowStep) GetKind

func (o *Export2secretWorkflowStep) GetKind() string

GetKind returns the Kind field value

func (*Export2secretWorkflowStep) GetKindOk

func (o *Export2secretWorkflowStep) GetKindOk() (*string, bool)

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

func (*Export2secretWorkflowStep) GetNamespace

func (o *Export2secretWorkflowStep) GetNamespace() string

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

func (*Export2secretWorkflowStep) GetNamespaceOk

func (o *Export2secretWorkflowStep) 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 (*Export2secretWorkflowStep) GetSecretName

func (o *Export2secretWorkflowStep) GetSecretName() string

GetSecretName returns the SecretName field value

func (*Export2secretWorkflowStep) GetSecretNameOk

func (o *Export2secretWorkflowStep) GetSecretNameOk() (*string, bool)

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

func (*Export2secretWorkflowStep) GetType

func (o *Export2secretWorkflowStep) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Export2secretWorkflowStep) GetTypeOk

func (o *Export2secretWorkflowStep) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Export2secretWorkflowStep) HasDockerRegistry

func (o *Export2secretWorkflowStep) HasDockerRegistry() bool

HasDockerRegistry returns a boolean if a field has been set.

func (*Export2secretWorkflowStep) HasNamespace

func (o *Export2secretWorkflowStep) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*Export2secretWorkflowStep) HasType

func (o *Export2secretWorkflowStep) HasType() bool

HasType returns a boolean if a field has been set.

func (*Export2secretWorkflowStep) If

func (*Export2secretWorkflowStep) Inputs

func (*Export2secretWorkflowStep) Outputs

func (*Export2secretWorkflowStep) SetCluster

SetCluster sets field value

func (*Export2secretWorkflowStep) SetData

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

SetData sets field value

func (*Export2secretWorkflowStep) SetDockerRegistry

SetDockerRegistry gets a reference to the given DockerRegistry and assigns it to the dockerRegistry field. DockerRegistry:

func (*Export2secretWorkflowStep) SetKind

SetKind sets field value

func (*Export2secretWorkflowStep) SetNamespace

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

func (*Export2secretWorkflowStep) SetSecretName

SetSecretName sets field value

func (*Export2secretWorkflowStep) SetType

SetType gets a reference to the given string and assigns it to the type_ field. Type: Specify the type of the secret

func (*Export2secretWorkflowStep) Timeout

func (*Export2secretWorkflowStep) Validate

func (o *Export2secretWorkflowStep) Validate() error

Validate validates this Export2secretSpec 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 (*Export2secretWorkflowStep) WorkflowStepName

func (e *Export2secretWorkflowStep) WorkflowStepName() string

type NullableDockerRegistry

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

func NewNullableDockerRegistry

func NewNullableDockerRegistry(val *DockerRegistry) *NullableDockerRegistry

func (*NullableDockerRegistry) Get

func (*NullableDockerRegistry) IsSet

func (v *NullableDockerRegistry) IsSet() bool

func (NullableDockerRegistry) MarshalJSON

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

func (*NullableDockerRegistry) Set

func (*NullableDockerRegistry) UnmarshalJSON

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

func (*NullableDockerRegistry) Unset

func (v *NullableDockerRegistry) Unset()

type NullableExport2secretSpec

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

func NewNullableExport2secretSpec

func NewNullableExport2secretSpec(val *Export2secretSpec) *NullableExport2secretSpec

func (*NullableExport2secretSpec) Get

func (*NullableExport2secretSpec) IsSet

func (v *NullableExport2secretSpec) IsSet() bool

func (NullableExport2secretSpec) MarshalJSON

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

func (*NullableExport2secretSpec) Set

func (*NullableExport2secretSpec) UnmarshalJSON

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

func (*NullableExport2secretSpec) Unset

func (v *NullableExport2secretSpec) Unset()

Jump to

Keyboard shortcuts

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