Documentation
¶
Index ¶
- Constants
- func FromTrait(from common.ApplicationTrait) (apis.Trait, error)
- type ConfigMapKeyRef
- func (o *ConfigMapKeyRef) GetKey() string
- func (o *ConfigMapKeyRef) GetKeyOk() (*string, bool)
- func (o *ConfigMapKeyRef) GetName() string
- func (o *ConfigMapKeyRef) GetNameOk() (*string, bool)
- func (o ConfigMapKeyRef) MarshalJSON() ([]byte, error)
- func (o *ConfigMapKeyRef) SetKey(v string) *ConfigMapKeyRef
- func (o *ConfigMapKeyRef) SetName(v string) *ConfigMapKeyRef
- func (o ConfigMapKeyRef) ToMap() (map[string]interface{}, error)
- func (o *ConfigMapKeyRef) Validate() error
- type Env
- func (o *Env) GetName() string
- func (o *Env) GetNameOk() (*string, bool)
- func (o *Env) GetValue() string
- func (o *Env) GetValueFrom() ValueFrom
- func (o *Env) GetValueFromOk() (*ValueFrom, bool)
- func (o *Env) GetValueOk() (*string, bool)
- func (o *Env) HasValue() bool
- func (o *Env) HasValueFrom() bool
- func (o Env) MarshalJSON() ([]byte, error)
- func (o *Env) SetName(v string) *Env
- func (o *Env) SetValue(v string) *Env
- func (o *Env) SetValueFrom(v ValueFrom) *Env
- func (o Env) ToMap() (map[string]interface{}, error)
- func (o *Env) Validate() error
- type ExtraVolumeMounts
- func NewExtraVolumeMounts() *ExtraVolumeMounts
- func NewExtraVolumeMountsEmpty() *ExtraVolumeMounts
- func NewExtraVolumeMountsList(ps ...*ExtraVolumeMounts) []ExtraVolumeMounts
- func NewExtraVolumeMountsWith(mountPath string, name string) *ExtraVolumeMounts
- func NewExtraVolumeMountsWithDefault() *ExtraVolumeMounts
- func (o *ExtraVolumeMounts) GetMountPath() string
- func (o *ExtraVolumeMounts) GetMountPathOk() (*string, bool)
- func (o *ExtraVolumeMounts) GetName() string
- func (o *ExtraVolumeMounts) GetNameOk() (*string, bool)
- func (o ExtraVolumeMounts) MarshalJSON() ([]byte, error)
- func (o *ExtraVolumeMounts) SetMountPath(v string) *ExtraVolumeMounts
- func (o *ExtraVolumeMounts) SetName(v string) *ExtraVolumeMounts
- func (o ExtraVolumeMounts) ToMap() (map[string]interface{}, error)
- func (o *ExtraVolumeMounts) Validate() error
- type InitContainerSpec
- func NewInitContainerSpec() *InitContainerSpec
- func NewInitContainerSpecEmpty() *InitContainerSpec
- func NewInitContainerSpecList(ps ...*InitContainerSpec) []InitContainerSpec
- func NewInitContainerSpecWith(appMountPath string, extraVolumeMounts []ExtraVolumeMounts, image string, ...) *InitContainerSpec
- func NewInitContainerSpecWithDefault() *InitContainerSpec
- type InitContainerTrait
- func (i *InitContainerTrait) Build() common.ApplicationTrait
- func (i *InitContainerTrait) DefType() string
- func (i *InitContainerTrait) FromTrait(from common.ApplicationTrait) (*InitContainerTrait, error)
- func (o *InitContainerTrait) GetAppMountPath() string
- func (o *InitContainerTrait) GetAppMountPathOk() (*string, bool)
- func (o *InitContainerTrait) GetArgs() []string
- func (o *InitContainerTrait) GetArgsOk() ([]string, bool)
- func (o *InitContainerTrait) GetCmd() []string
- func (o *InitContainerTrait) GetCmdOk() ([]string, bool)
- func (o *InitContainerTrait) GetEnv() []Env
- func (o *InitContainerTrait) GetEnvOk() ([]Env, bool)
- func (o *InitContainerTrait) GetExtraVolumeMounts() []ExtraVolumeMounts
- func (o *InitContainerTrait) GetExtraVolumeMountsOk() ([]ExtraVolumeMounts, bool)
- func (o *InitContainerTrait) GetImage() string
- func (o *InitContainerTrait) GetImageOk() (*string, bool)
- func (o *InitContainerTrait) GetImagePullPolicy() string
- func (o *InitContainerTrait) GetImagePullPolicyOk() (*string, bool)
- func (o *InitContainerTrait) GetInitMountPath() string
- func (o *InitContainerTrait) GetInitMountPathOk() (*string, bool)
- func (o *InitContainerTrait) GetMountName() string
- func (o *InitContainerTrait) GetMountNameOk() (*string, bool)
- func (o *InitContainerTrait) GetName() string
- func (o *InitContainerTrait) GetNameOk() (*string, bool)
- func (o *InitContainerTrait) HasArgs() bool
- func (o *InitContainerTrait) HasCmd() bool
- func (o *InitContainerTrait) HasEnv() bool
- func (o *InitContainerTrait) SetAppMountPath(v string) *InitContainerTrait
- func (o *InitContainerTrait) SetArgs(v []string) *InitContainerTrait
- func (o *InitContainerTrait) SetCmd(v []string) *InitContainerTrait
- func (o *InitContainerTrait) SetEnv(v []Env) *InitContainerTrait
- func (o *InitContainerTrait) SetExtraVolumeMounts(v []ExtraVolumeMounts) *InitContainerTrait
- func (o *InitContainerTrait) SetImage(v string) *InitContainerTrait
- func (o *InitContainerTrait) SetImagePullPolicy(v string) *InitContainerTrait
- func (o *InitContainerTrait) SetInitMountPath(v string) *InitContainerTrait
- func (o *InitContainerTrait) SetMountName(v string) *InitContainerTrait
- func (o *InitContainerTrait) SetName(v string) *InitContainerTrait
- func (o *InitContainerTrait) Validate() error
- type NullableConfigMapKeyRef
- func (v *NullableConfigMapKeyRef) Get() *ConfigMapKeyRef
- func (v *NullableConfigMapKeyRef) IsSet() bool
- func (v NullableConfigMapKeyRef) MarshalJSON() ([]byte, error)
- func (v *NullableConfigMapKeyRef) Set(val *ConfigMapKeyRef)
- func (v *NullableConfigMapKeyRef) UnmarshalJSON(src []byte) error
- func (v *NullableConfigMapKeyRef) Unset()
- type NullableEnv
- type NullableExtraVolumeMounts
- func (v *NullableExtraVolumeMounts) Get() *ExtraVolumeMounts
- func (v *NullableExtraVolumeMounts) IsSet() bool
- func (v NullableExtraVolumeMounts) MarshalJSON() ([]byte, error)
- func (v *NullableExtraVolumeMounts) Set(val *ExtraVolumeMounts)
- func (v *NullableExtraVolumeMounts) UnmarshalJSON(src []byte) error
- func (v *NullableExtraVolumeMounts) Unset()
- type NullableInitContainerSpec
- func (v *NullableInitContainerSpec) Get() *InitContainerSpec
- func (v *NullableInitContainerSpec) IsSet() bool
- func (v NullableInitContainerSpec) MarshalJSON() ([]byte, error)
- func (v *NullableInitContainerSpec) Set(val *InitContainerSpec)
- func (v *NullableInitContainerSpec) UnmarshalJSON(src []byte) error
- func (v *NullableInitContainerSpec) Unset()
- type NullableSecretKeyRef
- func (v *NullableSecretKeyRef) Get() *SecretKeyRef
- func (v *NullableSecretKeyRef) IsSet() bool
- func (v NullableSecretKeyRef) MarshalJSON() ([]byte, error)
- func (v *NullableSecretKeyRef) Set(val *SecretKeyRef)
- func (v *NullableSecretKeyRef) UnmarshalJSON(src []byte) error
- func (v *NullableSecretKeyRef) Unset()
- type NullableValueFrom
- type SecretKeyRef
- func (o *SecretKeyRef) GetKey() string
- func (o *SecretKeyRef) GetKeyOk() (*string, bool)
- func (o *SecretKeyRef) GetName() string
- func (o *SecretKeyRef) GetNameOk() (*string, bool)
- func (o SecretKeyRef) MarshalJSON() ([]byte, error)
- func (o *SecretKeyRef) SetKey(v string) *SecretKeyRef
- func (o *SecretKeyRef) SetName(v string) *SecretKeyRef
- func (o SecretKeyRef) ToMap() (map[string]interface{}, error)
- func (o *SecretKeyRef) Validate() error
- type ValueFrom
- func (o *ValueFrom) GetConfigMapKeyRef() ConfigMapKeyRef
- func (o *ValueFrom) GetConfigMapKeyRefOk() (*ConfigMapKeyRef, bool)
- func (o *ValueFrom) GetSecretKeyRef() SecretKeyRef
- func (o *ValueFrom) GetSecretKeyRefOk() (*SecretKeyRef, bool)
- func (o *ValueFrom) HasConfigMapKeyRef() bool
- func (o *ValueFrom) HasSecretKeyRef() bool
- func (o ValueFrom) MarshalJSON() ([]byte, error)
- func (o *ValueFrom) SetConfigMapKeyRef(v ConfigMapKeyRef) *ValueFrom
- func (o *ValueFrom) SetSecretKeyRef(v SecretKeyRef) *ValueFrom
- func (o ValueFrom) ToMap() (map[string]interface{}, error)
- func (o *ValueFrom) Validate() error
Constants ¶
const InitContainerType = "init-container"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigMapKeyRef ¶
type ConfigMapKeyRef struct { // The key of the config map to select from. Must be a valid secret key Key *string `json:"key"` // The name of the config map in the pod's namespace to select from Name *string `json:"name"` }
ConfigMapKeyRef Selects a key of a config map in the pod's namespace
func NewConfigMapKeyRef ¶
func NewConfigMapKeyRef() *ConfigMapKeyRef
NewConfigMapKeyRef is short for NewConfigMapKeyRefWithDefault which instantiates a new ConfigMapKeyRef 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 NewConfigMapKeyRefEmpty ¶
func NewConfigMapKeyRefEmpty() *ConfigMapKeyRef
NewConfigMapKeyRefEmpty instantiates a new ConfigMapKeyRef object with no properties set. This constructor will not assign any default values to properties.
func NewConfigMapKeyRefList ¶
func NewConfigMapKeyRefList(ps ...*ConfigMapKeyRef) []ConfigMapKeyRef
NewConfigMapKeyRefs converts a list ConfigMapKeyRef pointers to objects. This is helpful when the SetConfigMapKeyRef requires a list of objects
func NewConfigMapKeyRefWith ¶
func NewConfigMapKeyRefWith(key string, name string) *ConfigMapKeyRef
NewConfigMapKeyRefWith instantiates a new ConfigMapKeyRef 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 NewConfigMapKeyRefWithDefault ¶
func NewConfigMapKeyRefWithDefault() *ConfigMapKeyRef
NewConfigMapKeyRefWithDefault instantiates a new ConfigMapKeyRef 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 (*ConfigMapKeyRef) GetKey ¶
func (o *ConfigMapKeyRef) GetKey() string
GetKey returns the Key field value
func (*ConfigMapKeyRef) GetKeyOk ¶
func (o *ConfigMapKeyRef) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*ConfigMapKeyRef) GetName ¶
func (o *ConfigMapKeyRef) GetName() string
GetName returns the Name field value
func (*ConfigMapKeyRef) GetNameOk ¶
func (o *ConfigMapKeyRef) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (ConfigMapKeyRef) MarshalJSON ¶
func (o ConfigMapKeyRef) MarshalJSON() ([]byte, error)
func (*ConfigMapKeyRef) SetKey ¶
func (o *ConfigMapKeyRef) SetKey(v string) *ConfigMapKeyRef
SetKey sets field value
func (*ConfigMapKeyRef) SetName ¶
func (o *ConfigMapKeyRef) SetName(v string) *ConfigMapKeyRef
SetName sets field value
func (ConfigMapKeyRef) ToMap ¶
func (o ConfigMapKeyRef) ToMap() (map[string]interface{}, error)
func (*ConfigMapKeyRef) Validate ¶
func (o *ConfigMapKeyRef) Validate() error
Validate validates this ConfigMapKeyRef 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 Env ¶
type Env struct { // Environment variable name Name *string `json:"name"` // The value of the environment variable Value *string `json:"value,omitempty"` ValueFrom *ValueFrom `json:"valueFrom,omitempty"` }
Env struct for Env
func NewEnv ¶
func NewEnv() *Env
NewEnv is short for NewEnvWithDefault which instantiates a new Env 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 NewEnvEmpty ¶
func NewEnvEmpty() *Env
NewEnvEmpty instantiates a new Env object with no properties set. This constructor will not assign any default values to properties.
func NewEnvList ¶
NewEnvs converts a list Env pointers to objects. This is helpful when the SetEnv requires a list of objects
func NewEnvWith ¶
NewEnvWith instantiates a new Env 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 NewEnvWithDefault ¶
func NewEnvWithDefault() *Env
NewEnvWithDefault instantiates a new Env 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 (*Env) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Env) GetValueFrom ¶
GetValueFrom returns the ValueFrom field value if set, zero value otherwise.
func (*Env) GetValueFromOk ¶
GetValueFromOk returns a tuple with the ValueFrom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Env) GetValueOk ¶
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Env) HasValueFrom ¶
HasValueFrom returns a boolean if a field has been set.
func (Env) MarshalJSON ¶
func (*Env) SetValue ¶
SetValue gets a reference to the given string and assigns it to the value field. Value: The value of the environment variable
func (*Env) SetValueFrom ¶
SetValueFrom gets a reference to the given ValueFrom and assigns it to the valueFrom field. ValueFrom:
type ExtraVolumeMounts ¶
type ExtraVolumeMounts struct { // The mountPath for mount in the init container MountPath *string `json:"mountPath"` // The name of the volume to be mounted Name *string `json:"name"` }
ExtraVolumeMounts struct for ExtraVolumeMounts
func NewExtraVolumeMounts ¶
func NewExtraVolumeMounts() *ExtraVolumeMounts
NewExtraVolumeMounts is short for NewExtraVolumeMountsWithDefault which instantiates a new ExtraVolumeMounts 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 NewExtraVolumeMountsEmpty ¶
func NewExtraVolumeMountsEmpty() *ExtraVolumeMounts
NewExtraVolumeMountsEmpty instantiates a new ExtraVolumeMounts object with no properties set. This constructor will not assign any default values to properties.
func NewExtraVolumeMountsList ¶
func NewExtraVolumeMountsList(ps ...*ExtraVolumeMounts) []ExtraVolumeMounts
NewExtraVolumeMountss converts a list ExtraVolumeMounts pointers to objects. This is helpful when the SetExtraVolumeMounts requires a list of objects
func NewExtraVolumeMountsWith ¶
func NewExtraVolumeMountsWith(mountPath string, name string) *ExtraVolumeMounts
NewExtraVolumeMountsWith instantiates a new ExtraVolumeMounts 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 NewExtraVolumeMountsWithDefault ¶
func NewExtraVolumeMountsWithDefault() *ExtraVolumeMounts
NewExtraVolumeMountsWithDefault instantiates a new ExtraVolumeMounts 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 (*ExtraVolumeMounts) GetMountPath ¶
func (o *ExtraVolumeMounts) GetMountPath() string
GetMountPath returns the MountPath field value
func (*ExtraVolumeMounts) GetMountPathOk ¶
func (o *ExtraVolumeMounts) GetMountPathOk() (*string, bool)
GetMountPathOk returns a tuple with the MountPath field value and a boolean to check if the value has been set.
func (*ExtraVolumeMounts) GetName ¶
func (o *ExtraVolumeMounts) GetName() string
GetName returns the Name field value
func (*ExtraVolumeMounts) GetNameOk ¶
func (o *ExtraVolumeMounts) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (ExtraVolumeMounts) MarshalJSON ¶
func (o ExtraVolumeMounts) MarshalJSON() ([]byte, error)
func (*ExtraVolumeMounts) SetMountPath ¶
func (o *ExtraVolumeMounts) SetMountPath(v string) *ExtraVolumeMounts
SetMountPath sets field value
func (*ExtraVolumeMounts) SetName ¶
func (o *ExtraVolumeMounts) SetName(v string) *ExtraVolumeMounts
SetName sets field value
func (ExtraVolumeMounts) ToMap ¶
func (o ExtraVolumeMounts) ToMap() (map[string]interface{}, error)
func (*ExtraVolumeMounts) Validate ¶
func (o *ExtraVolumeMounts) Validate() error
Validate validates this ExtraVolumeMounts 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 InitContainerSpec ¶
type InitContainerSpec struct { // Specify the mount path of app container AppMountPath *string `json:"appMountPath"` // Specify the args run in the init container Args []string `json:"args,omitempty"` // Specify the commands run in the init container Cmd []string `json:"cmd,omitempty"` // Specify the env run in the init container Env []Env `json:"env,omitempty"` // Specify the extra volume mounts for the init container ExtraVolumeMounts []ExtraVolumeMounts `json:"extraVolumeMounts"` // Specify the image of init container Image *string `json:"image"` // Specify image pull policy for your service ImagePullPolicy *string `json:"imagePullPolicy"` // Specify the mount path of init container InitMountPath *string `json:"initMountPath"` // Specify the mount name of shared volume MountName *string `json:"mountName"` // Specify the name of init container Name *string `json:"name"` }
InitContainerSpec struct for InitContainerSpec
func NewInitContainerSpec ¶
func NewInitContainerSpec() *InitContainerSpec
NewInitContainerSpec is short for NewInitContainerSpecWithDefault which instantiates a new InitContainerSpec 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 NewInitContainerSpecEmpty ¶
func NewInitContainerSpecEmpty() *InitContainerSpec
NewInitContainerSpecEmpty instantiates a new InitContainerSpec object with no properties set. This constructor will not assign any default values to properties.
func NewInitContainerSpecList ¶
func NewInitContainerSpecList(ps ...*InitContainerSpec) []InitContainerSpec
NewInitContainerSpecs converts a list InitContainerSpec pointers to objects. This is helpful when the SetInitContainerSpec requires a list of objects
func NewInitContainerSpecWith ¶
func NewInitContainerSpecWith(appMountPath string, extraVolumeMounts []ExtraVolumeMounts, image string, imagePullPolicy string, initMountPath string, mountName string, name string) *InitContainerSpec
NewInitContainerSpecWith instantiates a new InitContainerSpec 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 NewInitContainerSpecWithDefault ¶
func NewInitContainerSpecWithDefault() *InitContainerSpec
NewInitContainerSpecWithDefault instantiates a new InitContainerSpec 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 (InitContainerSpec) MarshalJSON ¶
func (o InitContainerSpec) MarshalJSON() ([]byte, error)
func (InitContainerSpec) ToMap ¶
func (o InitContainerSpec) ToMap() (map[string]interface{}, error)
type InitContainerTrait ¶
type InitContainerTrait struct { Base apis.TraitBase Properties InitContainerSpec }
func InitContainer ¶
func InitContainer() *InitContainerTrait
func (*InitContainerTrait) Build ¶
func (i *InitContainerTrait) Build() common.ApplicationTrait
func (*InitContainerTrait) DefType ¶
func (i *InitContainerTrait) DefType() string
func (*InitContainerTrait) FromTrait ¶
func (i *InitContainerTrait) FromTrait(from common.ApplicationTrait) (*InitContainerTrait, error)
func (*InitContainerTrait) GetAppMountPath ¶
func (o *InitContainerTrait) GetAppMountPath() string
GetAppMountPath returns the AppMountPath field value
func (*InitContainerTrait) GetAppMountPathOk ¶
func (o *InitContainerTrait) GetAppMountPathOk() (*string, bool)
GetAppMountPathOk returns a tuple with the AppMountPath field value and a boolean to check if the value has been set.
func (*InitContainerTrait) GetArgs ¶
func (o *InitContainerTrait) GetArgs() []string
GetArgs returns the Args field value if set, zero value otherwise.
func (*InitContainerTrait) GetArgsOk ¶
func (o *InitContainerTrait) GetArgsOk() ([]string, bool)
GetArgsOk returns a tuple with the Args field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InitContainerTrait) GetCmd ¶
func (o *InitContainerTrait) GetCmd() []string
GetCmd returns the Cmd field value if set, zero value otherwise.
func (*InitContainerTrait) GetCmdOk ¶
func (o *InitContainerTrait) GetCmdOk() ([]string, bool)
GetCmdOk returns a tuple with the Cmd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InitContainerTrait) GetEnv ¶
func (o *InitContainerTrait) GetEnv() []Env
GetEnv returns the Env field value if set, zero value otherwise.
func (*InitContainerTrait) GetEnvOk ¶
func (o *InitContainerTrait) GetEnvOk() ([]Env, bool)
GetEnvOk returns a tuple with the Env field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InitContainerTrait) GetExtraVolumeMounts ¶
func (o *InitContainerTrait) GetExtraVolumeMounts() []ExtraVolumeMounts
GetExtraVolumeMounts returns the ExtraVolumeMounts field value
func (*InitContainerTrait) GetExtraVolumeMountsOk ¶
func (o *InitContainerTrait) GetExtraVolumeMountsOk() ([]ExtraVolumeMounts, bool)
GetExtraVolumeMountsOk returns a tuple with the ExtraVolumeMounts field value and a boolean to check if the value has been set.
func (*InitContainerTrait) GetImage ¶
func (o *InitContainerTrait) GetImage() string
GetImage returns the Image field value
func (*InitContainerTrait) GetImageOk ¶
func (o *InitContainerTrait) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*InitContainerTrait) GetImagePullPolicy ¶
func (o *InitContainerTrait) GetImagePullPolicy() string
GetImagePullPolicy returns the ImagePullPolicy field value
func (*InitContainerTrait) GetImagePullPolicyOk ¶
func (o *InitContainerTrait) GetImagePullPolicyOk() (*string, bool)
GetImagePullPolicyOk returns a tuple with the ImagePullPolicy field value and a boolean to check if the value has been set.
func (*InitContainerTrait) GetInitMountPath ¶
func (o *InitContainerTrait) GetInitMountPath() string
GetInitMountPath returns the InitMountPath field value
func (*InitContainerTrait) GetInitMountPathOk ¶
func (o *InitContainerTrait) GetInitMountPathOk() (*string, bool)
GetInitMountPathOk returns a tuple with the InitMountPath field value and a boolean to check if the value has been set.
func (*InitContainerTrait) GetMountName ¶
func (o *InitContainerTrait) GetMountName() string
GetMountName returns the MountName field value
func (*InitContainerTrait) GetMountNameOk ¶
func (o *InitContainerTrait) GetMountNameOk() (*string, bool)
GetMountNameOk returns a tuple with the MountName field value and a boolean to check if the value has been set.
func (*InitContainerTrait) GetName ¶
func (o *InitContainerTrait) GetName() string
GetName returns the Name field value
func (*InitContainerTrait) GetNameOk ¶
func (o *InitContainerTrait) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*InitContainerTrait) HasArgs ¶
func (o *InitContainerTrait) HasArgs() bool
HasArgs returns a boolean if a field has been set.
func (*InitContainerTrait) HasCmd ¶
func (o *InitContainerTrait) HasCmd() bool
HasCmd returns a boolean if a field has been set.
func (*InitContainerTrait) HasEnv ¶
func (o *InitContainerTrait) HasEnv() bool
HasEnv returns a boolean if a field has been set.
func (*InitContainerTrait) SetAppMountPath ¶
func (o *InitContainerTrait) SetAppMountPath(v string) *InitContainerTrait
SetAppMountPath sets field value
func (*InitContainerTrait) SetArgs ¶
func (o *InitContainerTrait) SetArgs(v []string) *InitContainerTrait
SetArgs gets a reference to the given []string and assigns it to the args field. Args: Specify the args run in the init container
func (*InitContainerTrait) SetCmd ¶
func (o *InitContainerTrait) SetCmd(v []string) *InitContainerTrait
SetCmd gets a reference to the given []string and assigns it to the cmd field. Cmd: Specify the commands run in the init container
func (*InitContainerTrait) SetEnv ¶
func (o *InitContainerTrait) SetEnv(v []Env) *InitContainerTrait
SetEnv gets a reference to the given []Env and assigns it to the env field. Env: Specify the env run in the init container
func (*InitContainerTrait) SetExtraVolumeMounts ¶
func (o *InitContainerTrait) SetExtraVolumeMounts(v []ExtraVolumeMounts) *InitContainerTrait
SetExtraVolumeMounts sets field value
func (*InitContainerTrait) SetImage ¶
func (o *InitContainerTrait) SetImage(v string) *InitContainerTrait
SetImage sets field value
func (*InitContainerTrait) SetImagePullPolicy ¶
func (o *InitContainerTrait) SetImagePullPolicy(v string) *InitContainerTrait
SetImagePullPolicy sets field value
func (*InitContainerTrait) SetInitMountPath ¶
func (o *InitContainerTrait) SetInitMountPath(v string) *InitContainerTrait
SetInitMountPath sets field value
func (*InitContainerTrait) SetMountName ¶
func (o *InitContainerTrait) SetMountName(v string) *InitContainerTrait
SetMountName sets field value
func (*InitContainerTrait) SetName ¶
func (o *InitContainerTrait) SetName(v string) *InitContainerTrait
SetName sets field value
func (*InitContainerTrait) Validate ¶
func (o *InitContainerTrait) Validate() error
Validate validates this InitContainerSpec 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 NullableConfigMapKeyRef ¶
type NullableConfigMapKeyRef struct {
// contains filtered or unexported fields
}
func NewNullableConfigMapKeyRef ¶
func NewNullableConfigMapKeyRef(val *ConfigMapKeyRef) *NullableConfigMapKeyRef
func (*NullableConfigMapKeyRef) Get ¶
func (v *NullableConfigMapKeyRef) Get() *ConfigMapKeyRef
func (*NullableConfigMapKeyRef) IsSet ¶
func (v *NullableConfigMapKeyRef) IsSet() bool
func (NullableConfigMapKeyRef) MarshalJSON ¶
func (v NullableConfigMapKeyRef) MarshalJSON() ([]byte, error)
func (*NullableConfigMapKeyRef) Set ¶
func (v *NullableConfigMapKeyRef) Set(val *ConfigMapKeyRef)
func (*NullableConfigMapKeyRef) UnmarshalJSON ¶
func (v *NullableConfigMapKeyRef) UnmarshalJSON(src []byte) error
func (*NullableConfigMapKeyRef) Unset ¶
func (v *NullableConfigMapKeyRef) Unset()
type NullableEnv ¶
type NullableEnv struct {
// contains filtered or unexported fields
}
func NewNullableEnv ¶
func NewNullableEnv(val *Env) *NullableEnv
func (*NullableEnv) Get ¶
func (v *NullableEnv) Get() *Env
func (*NullableEnv) IsSet ¶
func (v *NullableEnv) IsSet() bool
func (NullableEnv) MarshalJSON ¶
func (v NullableEnv) MarshalJSON() ([]byte, error)
func (*NullableEnv) Set ¶
func (v *NullableEnv) Set(val *Env)
func (*NullableEnv) UnmarshalJSON ¶
func (v *NullableEnv) UnmarshalJSON(src []byte) error
func (*NullableEnv) Unset ¶
func (v *NullableEnv) Unset()
type NullableExtraVolumeMounts ¶
type NullableExtraVolumeMounts struct {
// contains filtered or unexported fields
}
func NewNullableExtraVolumeMounts ¶
func NewNullableExtraVolumeMounts(val *ExtraVolumeMounts) *NullableExtraVolumeMounts
func (*NullableExtraVolumeMounts) Get ¶
func (v *NullableExtraVolumeMounts) Get() *ExtraVolumeMounts
func (*NullableExtraVolumeMounts) IsSet ¶
func (v *NullableExtraVolumeMounts) IsSet() bool
func (NullableExtraVolumeMounts) MarshalJSON ¶
func (v NullableExtraVolumeMounts) MarshalJSON() ([]byte, error)
func (*NullableExtraVolumeMounts) Set ¶
func (v *NullableExtraVolumeMounts) Set(val *ExtraVolumeMounts)
func (*NullableExtraVolumeMounts) UnmarshalJSON ¶
func (v *NullableExtraVolumeMounts) UnmarshalJSON(src []byte) error
func (*NullableExtraVolumeMounts) Unset ¶
func (v *NullableExtraVolumeMounts) Unset()
type NullableInitContainerSpec ¶
type NullableInitContainerSpec struct {
// contains filtered or unexported fields
}
func NewNullableInitContainerSpec ¶
func NewNullableInitContainerSpec(val *InitContainerSpec) *NullableInitContainerSpec
func (*NullableInitContainerSpec) Get ¶
func (v *NullableInitContainerSpec) Get() *InitContainerSpec
func (*NullableInitContainerSpec) IsSet ¶
func (v *NullableInitContainerSpec) IsSet() bool
func (NullableInitContainerSpec) MarshalJSON ¶
func (v NullableInitContainerSpec) MarshalJSON() ([]byte, error)
func (*NullableInitContainerSpec) Set ¶
func (v *NullableInitContainerSpec) Set(val *InitContainerSpec)
func (*NullableInitContainerSpec) UnmarshalJSON ¶
func (v *NullableInitContainerSpec) UnmarshalJSON(src []byte) error
func (*NullableInitContainerSpec) Unset ¶
func (v *NullableInitContainerSpec) Unset()
type NullableSecretKeyRef ¶
type NullableSecretKeyRef struct {
// contains filtered or unexported fields
}
func NewNullableSecretKeyRef ¶
func NewNullableSecretKeyRef(val *SecretKeyRef) *NullableSecretKeyRef
func (*NullableSecretKeyRef) Get ¶
func (v *NullableSecretKeyRef) Get() *SecretKeyRef
func (*NullableSecretKeyRef) IsSet ¶
func (v *NullableSecretKeyRef) IsSet() bool
func (NullableSecretKeyRef) MarshalJSON ¶
func (v NullableSecretKeyRef) MarshalJSON() ([]byte, error)
func (*NullableSecretKeyRef) Set ¶
func (v *NullableSecretKeyRef) Set(val *SecretKeyRef)
func (*NullableSecretKeyRef) UnmarshalJSON ¶
func (v *NullableSecretKeyRef) UnmarshalJSON(src []byte) error
func (*NullableSecretKeyRef) Unset ¶
func (v *NullableSecretKeyRef) Unset()
type NullableValueFrom ¶
type NullableValueFrom struct {
// contains filtered or unexported fields
}
func NewNullableValueFrom ¶
func NewNullableValueFrom(val *ValueFrom) *NullableValueFrom
func (*NullableValueFrom) Get ¶
func (v *NullableValueFrom) Get() *ValueFrom
func (*NullableValueFrom) IsSet ¶
func (v *NullableValueFrom) IsSet() bool
func (NullableValueFrom) MarshalJSON ¶
func (v NullableValueFrom) MarshalJSON() ([]byte, error)
func (*NullableValueFrom) Set ¶
func (v *NullableValueFrom) Set(val *ValueFrom)
func (*NullableValueFrom) UnmarshalJSON ¶
func (v *NullableValueFrom) UnmarshalJSON(src []byte) error
func (*NullableValueFrom) Unset ¶
func (v *NullableValueFrom) Unset()
type SecretKeyRef ¶
type SecretKeyRef struct { // The key of the secret to select from. Must be a valid secret key Key *string `json:"key"` // The name of the secret in the pod's namespace to select from Name *string `json:"name"` }
SecretKeyRef Selects a key of a secret in the pod's namespace
func NewSecretKeyRef ¶
func NewSecretKeyRef() *SecretKeyRef
NewSecretKeyRef is short for NewSecretKeyRefWithDefault which instantiates a new SecretKeyRef 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 NewSecretKeyRefEmpty ¶
func NewSecretKeyRefEmpty() *SecretKeyRef
NewSecretKeyRefEmpty instantiates a new SecretKeyRef object with no properties set. This constructor will not assign any default values to properties.
func NewSecretKeyRefList ¶
func NewSecretKeyRefList(ps ...*SecretKeyRef) []SecretKeyRef
NewSecretKeyRefs converts a list SecretKeyRef pointers to objects. This is helpful when the SetSecretKeyRef requires a list of objects
func NewSecretKeyRefWith ¶
func NewSecretKeyRefWith(key string, name string) *SecretKeyRef
NewSecretKeyRefWith instantiates a new SecretKeyRef 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 NewSecretKeyRefWithDefault ¶
func NewSecretKeyRefWithDefault() *SecretKeyRef
NewSecretKeyRefWithDefault instantiates a new SecretKeyRef 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 (*SecretKeyRef) GetKey ¶
func (o *SecretKeyRef) GetKey() string
GetKey returns the Key field value
func (*SecretKeyRef) GetKeyOk ¶
func (o *SecretKeyRef) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*SecretKeyRef) GetName ¶
func (o *SecretKeyRef) GetName() string
GetName returns the Name field value
func (*SecretKeyRef) GetNameOk ¶
func (o *SecretKeyRef) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (SecretKeyRef) MarshalJSON ¶
func (o SecretKeyRef) MarshalJSON() ([]byte, error)
func (*SecretKeyRef) SetKey ¶
func (o *SecretKeyRef) SetKey(v string) *SecretKeyRef
SetKey sets field value
func (*SecretKeyRef) SetName ¶
func (o *SecretKeyRef) SetName(v string) *SecretKeyRef
SetName sets field value
func (SecretKeyRef) ToMap ¶
func (o SecretKeyRef) ToMap() (map[string]interface{}, error)
func (*SecretKeyRef) Validate ¶
func (o *SecretKeyRef) Validate() error
Validate validates this SecretKeyRef 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 ValueFrom ¶
type ValueFrom struct { ConfigMapKeyRef *ConfigMapKeyRef `json:"configMapKeyRef,omitempty"` SecretKeyRef *SecretKeyRef `json:"secretKeyRef,omitempty"` }
ValueFrom Specifies a source the value of this var should come from
func NewValueFrom ¶
func NewValueFrom() *ValueFrom
NewValueFrom is short for NewValueFromWithDefault which instantiates a new ValueFrom 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 NewValueFromEmpty ¶
func NewValueFromEmpty() *ValueFrom
NewValueFromEmpty instantiates a new ValueFrom object with no properties set. This constructor will not assign any default values to properties.
func NewValueFromList ¶
NewValueFroms converts a list ValueFrom pointers to objects. This is helpful when the SetValueFrom requires a list of objects
func NewValueFromWith ¶
func NewValueFromWith() *ValueFrom
NewValueFromWith instantiates a new ValueFrom 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 NewValueFromWithDefault ¶
func NewValueFromWithDefault() *ValueFrom
NewValueFromWithDefault instantiates a new ValueFrom 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 (*ValueFrom) GetConfigMapKeyRef ¶
func (o *ValueFrom) GetConfigMapKeyRef() ConfigMapKeyRef
GetConfigMapKeyRef returns the ConfigMapKeyRef field value if set, zero value otherwise.
func (*ValueFrom) GetConfigMapKeyRefOk ¶
func (o *ValueFrom) GetConfigMapKeyRefOk() (*ConfigMapKeyRef, bool)
GetConfigMapKeyRefOk returns a tuple with the ConfigMapKeyRef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValueFrom) GetSecretKeyRef ¶
func (o *ValueFrom) GetSecretKeyRef() SecretKeyRef
GetSecretKeyRef returns the SecretKeyRef field value if set, zero value otherwise.
func (*ValueFrom) GetSecretKeyRefOk ¶
func (o *ValueFrom) GetSecretKeyRefOk() (*SecretKeyRef, bool)
GetSecretKeyRefOk returns a tuple with the SecretKeyRef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValueFrom) HasConfigMapKeyRef ¶
HasConfigMapKeyRef returns a boolean if a field has been set.
func (*ValueFrom) HasSecretKeyRef ¶
HasSecretKeyRef returns a boolean if a field has been set.
func (ValueFrom) MarshalJSON ¶
func (*ValueFrom) SetConfigMapKeyRef ¶
func (o *ValueFrom) SetConfigMapKeyRef(v ConfigMapKeyRef) *ValueFrom
SetConfigMapKeyRef gets a reference to the given ConfigMapKeyRef and assigns it to the configMapKeyRef field. ConfigMapKeyRef:
func (*ValueFrom) SetSecretKeyRef ¶
func (o *ValueFrom) SetSecretKeyRef(v SecretKeyRef) *ValueFrom
SetSecretKeyRef gets a reference to the given SecretKeyRef and assigns it to the secretKeyRef field. SecretKeyRef: