Documentation
¶
Index ¶
- Constants
- func FromComponent(from common.ApplicationComponent) (apis.Component, error)
- type ConfigMap
- func (o *ConfigMap) GetCmName() string
- func (o *ConfigMap) GetCmNameOk() (*string, bool)
- func (o *ConfigMap) GetDefaultMode() int32
- func (o *ConfigMap) GetDefaultModeOk() (*int32, bool)
- func (o *ConfigMap) GetItems() []Items
- func (o *ConfigMap) GetItemsOk() ([]Items, bool)
- func (o *ConfigMap) GetMountPath() string
- func (o *ConfigMap) GetMountPathOk() (*string, bool)
- func (o *ConfigMap) GetName() string
- func (o *ConfigMap) GetNameOk() (*string, bool)
- func (o *ConfigMap) HasItems() bool
- func (o ConfigMap) MarshalJSON() ([]byte, error)
- func (o *ConfigMap) SetCmName(v string) *ConfigMap
- func (o *ConfigMap) SetDefaultMode(v int32) *ConfigMap
- func (o *ConfigMap) SetItems(v []Items) *ConfigMap
- func (o *ConfigMap) SetMountPath(v string) *ConfigMap
- func (o *ConfigMap) SetName(v string) *ConfigMap
- func (o ConfigMap) ToMap() (map[string]interface{}, error)
- func (o *ConfigMap) Validate() 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 EmptyDir
- func (o *EmptyDir) GetMedium() string
- func (o *EmptyDir) GetMediumOk() (*string, bool)
- func (o *EmptyDir) GetMountPath() string
- func (o *EmptyDir) GetMountPathOk() (*string, bool)
- func (o *EmptyDir) GetName() string
- func (o *EmptyDir) GetNameOk() (*string, bool)
- func (o EmptyDir) MarshalJSON() ([]byte, error)
- func (o *EmptyDir) SetMedium(v string) *EmptyDir
- func (o *EmptyDir) SetMountPath(v string) *EmptyDir
- func (o *EmptyDir) SetName(v string) *EmptyDir
- func (o EmptyDir) ToMap() (map[string]interface{}, error)
- func (o *EmptyDir) 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 Exec
- type HealthProbe
- func (o *HealthProbe) GetExec() Exec
- func (o *HealthProbe) GetExecOk() (*Exec, bool)
- func (o *HealthProbe) GetFailureThreshold() int32
- func (o *HealthProbe) GetFailureThresholdOk() (*int32, bool)
- func (o *HealthProbe) GetHttpGet() HttpGet
- func (o *HealthProbe) GetHttpGetOk() (*HttpGet, bool)
- func (o *HealthProbe) GetInitialDelaySeconds() int32
- func (o *HealthProbe) GetInitialDelaySecondsOk() (*int32, bool)
- func (o *HealthProbe) GetPeriodSeconds() int32
- func (o *HealthProbe) GetPeriodSecondsOk() (*int32, bool)
- func (o *HealthProbe) GetSuccessThreshold() int32
- func (o *HealthProbe) GetSuccessThresholdOk() (*int32, bool)
- func (o *HealthProbe) GetTcpSocket() TcpSocket
- func (o *HealthProbe) GetTcpSocketOk() (*TcpSocket, bool)
- func (o *HealthProbe) GetTimeoutSeconds() int32
- func (o *HealthProbe) GetTimeoutSecondsOk() (*int32, bool)
- func (o *HealthProbe) HasExec() bool
- func (o *HealthProbe) HasHttpGet() bool
- func (o *HealthProbe) HasTcpSocket() bool
- func (o HealthProbe) MarshalJSON() ([]byte, error)
- func (o *HealthProbe) SetExec(v Exec) *HealthProbe
- func (o *HealthProbe) SetFailureThreshold(v int32) *HealthProbe
- func (o *HealthProbe) SetHttpGet(v HttpGet) *HealthProbe
- func (o *HealthProbe) SetInitialDelaySeconds(v int32) *HealthProbe
- func (o *HealthProbe) SetPeriodSeconds(v int32) *HealthProbe
- func (o *HealthProbe) SetSuccessThreshold(v int32) *HealthProbe
- func (o *HealthProbe) SetTcpSocket(v TcpSocket) *HealthProbe
- func (o *HealthProbe) SetTimeoutSeconds(v int32) *HealthProbe
- func (o HealthProbe) ToMap() (map[string]interface{}, error)
- func (o *HealthProbe) Validate() error
- type HostPath
- func (o *HostPath) GetMountPath() string
- func (o *HostPath) GetMountPathOk() (*string, bool)
- func (o *HostPath) GetName() string
- func (o *HostPath) GetNameOk() (*string, bool)
- func (o *HostPath) GetPath() string
- func (o *HostPath) GetPathOk() (*string, bool)
- func (o HostPath) MarshalJSON() ([]byte, error)
- func (o *HostPath) SetMountPath(v string) *HostPath
- func (o *HostPath) SetName(v string) *HostPath
- func (o *HostPath) SetPath(v string) *HostPath
- func (o HostPath) ToMap() (map[string]interface{}, error)
- func (o *HostPath) Validate() error
- type HttpGet
- func (o *HttpGet) GetHttpHeaders() []HttpHeaders
- func (o *HttpGet) GetHttpHeadersOk() ([]HttpHeaders, bool)
- func (o *HttpGet) GetPath() string
- func (o *HttpGet) GetPathOk() (*string, bool)
- func (o *HttpGet) GetPort() int32
- func (o *HttpGet) GetPortOk() (*int32, bool)
- func (o *HttpGet) HasHttpHeaders() bool
- func (o HttpGet) MarshalJSON() ([]byte, error)
- func (o *HttpGet) SetHttpHeaders(v []HttpHeaders) *HttpGet
- func (o *HttpGet) SetPath(v string) *HttpGet
- func (o *HttpGet) SetPort(v int32) *HttpGet
- func (o HttpGet) ToMap() (map[string]interface{}, error)
- func (o *HttpGet) Validate() error
- type HttpHeaders
- func (o *HttpHeaders) GetName() string
- func (o *HttpHeaders) GetNameOk() (*string, bool)
- func (o *HttpHeaders) GetValue() string
- func (o *HttpHeaders) GetValueOk() (*string, bool)
- func (o HttpHeaders) MarshalJSON() ([]byte, error)
- func (o *HttpHeaders) SetName(v string) *HttpHeaders
- func (o *HttpHeaders) SetValue(v string) *HttpHeaders
- func (o HttpHeaders) ToMap() (map[string]interface{}, error)
- func (o *HttpHeaders) Validate() error
- type Items
- func (o *Items) GetKey() string
- func (o *Items) GetKeyOk() (*string, bool)
- func (o *Items) GetMode() int32
- func (o *Items) GetModeOk() (*int32, bool)
- func (o *Items) GetPath() string
- func (o *Items) GetPathOk() (*string, bool)
- func (o Items) MarshalJSON() ([]byte, error)
- func (o *Items) SetKey(v string) *Items
- func (o *Items) SetMode(v int32) *Items
- func (o *Items) SetPath(v string) *Items
- func (o Items) ToMap() (map[string]interface{}, error)
- func (o *Items) Validate() error
- type NullableConfigMap
- 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 NullableEmptyDir
- type NullableEnv
- type NullableExec
- type NullableHealthProbe
- func (v *NullableHealthProbe) Get() *HealthProbe
- func (v *NullableHealthProbe) IsSet() bool
- func (v NullableHealthProbe) MarshalJSON() ([]byte, error)
- func (v *NullableHealthProbe) Set(val *HealthProbe)
- func (v *NullableHealthProbe) UnmarshalJSON(src []byte) error
- func (v *NullableHealthProbe) Unset()
- type NullableHostPath
- type NullableHttpGet
- type NullableHttpHeaders
- func (v *NullableHttpHeaders) Get() *HttpHeaders
- func (v *NullableHttpHeaders) IsSet() bool
- func (v NullableHttpHeaders) MarshalJSON() ([]byte, error)
- func (v *NullableHttpHeaders) Set(val *HttpHeaders)
- func (v *NullableHttpHeaders) UnmarshalJSON(src []byte) error
- func (v *NullableHttpHeaders) Unset()
- type NullableItems
- type NullablePvc
- type NullableSecret
- 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 NullableTcpSocket
- type NullableValueFrom
- type NullableVolumeMounts
- func (v *NullableVolumeMounts) Get() *VolumeMounts
- func (v *NullableVolumeMounts) IsSet() bool
- func (v NullableVolumeMounts) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeMounts) Set(val *VolumeMounts)
- func (v *NullableVolumeMounts) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeMounts) Unset()
- type NullableVolumes
- type NullableWorkerSpec
- type Pvc
- func (o *Pvc) GetClaimName() string
- func (o *Pvc) GetClaimNameOk() (*string, bool)
- func (o *Pvc) GetMountPath() string
- func (o *Pvc) GetMountPathOk() (*string, bool)
- func (o *Pvc) GetName() string
- func (o *Pvc) GetNameOk() (*string, bool)
- func (o Pvc) MarshalJSON() ([]byte, error)
- func (o *Pvc) SetClaimName(v string) *Pvc
- func (o *Pvc) SetMountPath(v string) *Pvc
- func (o *Pvc) SetName(v string) *Pvc
- func (o Pvc) ToMap() (map[string]interface{}, error)
- func (o *Pvc) Validate() error
- type Secret
- func (o *Secret) GetDefaultMode() int32
- func (o *Secret) GetDefaultModeOk() (*int32, bool)
- func (o *Secret) GetItems() []Items
- func (o *Secret) GetItemsOk() ([]Items, bool)
- func (o *Secret) GetMountPath() string
- func (o *Secret) GetMountPathOk() (*string, bool)
- func (o *Secret) GetName() string
- func (o *Secret) GetNameOk() (*string, bool)
- func (o *Secret) GetSecretName() string
- func (o *Secret) GetSecretNameOk() (*string, bool)
- func (o *Secret) HasItems() bool
- func (o Secret) MarshalJSON() ([]byte, error)
- func (o *Secret) SetDefaultMode(v int32) *Secret
- func (o *Secret) SetItems(v []Items) *Secret
- func (o *Secret) SetMountPath(v string) *Secret
- func (o *Secret) SetName(v string) *Secret
- func (o *Secret) SetSecretName(v string) *Secret
- func (o Secret) ToMap() (map[string]interface{}, error)
- func (o *Secret) Validate() error
- 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 TcpSocket
- 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
- type VolumeMounts
- func (o *VolumeMounts) GetConfigMap() []ConfigMap
- func (o *VolumeMounts) GetConfigMapOk() ([]ConfigMap, bool)
- func (o *VolumeMounts) GetEmptyDir() []EmptyDir
- func (o *VolumeMounts) GetEmptyDirOk() ([]EmptyDir, bool)
- func (o *VolumeMounts) GetHostPath() []HostPath
- func (o *VolumeMounts) GetHostPathOk() ([]HostPath, bool)
- func (o *VolumeMounts) GetPvc() []Pvc
- func (o *VolumeMounts) GetPvcOk() ([]Pvc, bool)
- func (o *VolumeMounts) GetSecret() []Secret
- func (o *VolumeMounts) GetSecretOk() ([]Secret, bool)
- func (o *VolumeMounts) HasConfigMap() bool
- func (o *VolumeMounts) HasEmptyDir() bool
- func (o *VolumeMounts) HasHostPath() bool
- func (o *VolumeMounts) HasPvc() bool
- func (o *VolumeMounts) HasSecret() bool
- func (o VolumeMounts) MarshalJSON() ([]byte, error)
- func (o *VolumeMounts) SetConfigMap(v []ConfigMap) *VolumeMounts
- func (o *VolumeMounts) SetEmptyDir(v []EmptyDir) *VolumeMounts
- func (o *VolumeMounts) SetHostPath(v []HostPath) *VolumeMounts
- func (o *VolumeMounts) SetPvc(v []Pvc) *VolumeMounts
- func (o *VolumeMounts) SetSecret(v []Secret) *VolumeMounts
- func (o VolumeMounts) ToMap() (map[string]interface{}, error)
- func (o *VolumeMounts) Validate() error
- type Volumes
- func (o *Volumes) GetMedium() string
- func (o *Volumes) GetMediumOk() (*string, bool)
- func (o *Volumes) GetMountPath() string
- func (o *Volumes) GetMountPathOk() (*string, bool)
- func (o *Volumes) GetName() string
- func (o *Volumes) GetNameOk() (*string, bool)
- func (o *Volumes) GetType() string
- func (o *Volumes) GetTypeOk() (*string, bool)
- func (o Volumes) MarshalJSON() ([]byte, error)
- func (o *Volumes) SetMedium(v string) *Volumes
- func (o *Volumes) SetMountPath(v string) *Volumes
- func (o *Volumes) SetName(v string) *Volumes
- func (o *Volumes) SetType(v string) *Volumes
- func (o Volumes) ToMap() (map[string]interface{}, error)
- func (o *Volumes) Validate() error
- type WorkerComponent
- func (w *WorkerComponent) AddDependsOn(dependsOn string) *WorkerComponent
- func (w *WorkerComponent) Build() common.ApplicationComponent
- func (w *WorkerComponent) ComponentName() string
- func (w *WorkerComponent) DefType() string
- func (w *WorkerComponent) DependsOn(dependsOn []string) *WorkerComponent
- func (w *WorkerComponent) FromComponent(from common.ApplicationComponent) (*WorkerComponent, error)
- func (w *WorkerComponent) GetAllTraits() []apis.Trait
- func (o *WorkerComponent) GetCmd() []string
- func (o *WorkerComponent) GetCmdOk() ([]string, bool)
- func (o *WorkerComponent) GetCpu() string
- func (o *WorkerComponent) GetCpuOk() (*string, bool)
- func (o *WorkerComponent) GetEnv() []Env
- func (o *WorkerComponent) GetEnvOk() ([]Env, bool)
- func (o *WorkerComponent) GetImage() string
- func (o *WorkerComponent) GetImageOk() (*string, bool)
- func (o *WorkerComponent) GetImagePullPolicy() string
- func (o *WorkerComponent) GetImagePullPolicyOk() (*string, bool)
- func (o *WorkerComponent) GetImagePullSecrets() []string
- func (o *WorkerComponent) GetImagePullSecretsOk() ([]string, bool)
- func (o *WorkerComponent) GetLivenessProbe() HealthProbe
- func (o *WorkerComponent) GetLivenessProbeOk() (*HealthProbe, bool)
- func (o *WorkerComponent) GetMemory() string
- func (o *WorkerComponent) GetMemoryOk() (*string, bool)
- func (o *WorkerComponent) GetReadinessProbe() HealthProbe
- func (o *WorkerComponent) GetReadinessProbeOk() (*HealthProbe, bool)
- func (w *WorkerComponent) GetTrait(typ string) apis.Trait
- func (o *WorkerComponent) GetVolumeMounts() VolumeMounts
- func (o *WorkerComponent) GetVolumeMountsOk() (*VolumeMounts, bool)
- func (o *WorkerComponent) GetVolumes() []Volumes
- func (o *WorkerComponent) GetVolumesOk() ([]Volumes, bool)
- func (o *WorkerComponent) HasCmd() bool
- func (o *WorkerComponent) HasCpu() bool
- func (o *WorkerComponent) HasEnv() bool
- func (o *WorkerComponent) HasImagePullPolicy() bool
- func (o *WorkerComponent) HasImagePullSecrets() bool
- func (o *WorkerComponent) HasLivenessProbe() bool
- func (o *WorkerComponent) HasMemory() bool
- func (o *WorkerComponent) HasReadinessProbe() bool
- func (o *WorkerComponent) HasVolumeMounts() bool
- func (o *WorkerComponent) HasVolumes() bool
- func (w *WorkerComponent) Inputs(input common.StepInputs) *WorkerComponent
- func (w *WorkerComponent) Outputs(output common.StepOutputs) *WorkerComponent
- func (o *WorkerComponent) SetCmd(v []string) *WorkerComponent
- func (o *WorkerComponent) SetCpu(v string) *WorkerComponent
- func (o *WorkerComponent) SetEnv(v []Env) *WorkerComponent
- func (o *WorkerComponent) SetImage(v string) *WorkerComponent
- func (o *WorkerComponent) SetImagePullPolicy(v string) *WorkerComponent
- func (o *WorkerComponent) SetImagePullSecrets(v []string) *WorkerComponent
- func (o *WorkerComponent) SetLivenessProbe(v HealthProbe) *WorkerComponent
- func (o *WorkerComponent) SetMemory(v string) *WorkerComponent
- func (o *WorkerComponent) SetReadinessProbe(v HealthProbe) *WorkerComponent
- func (w *WorkerComponent) SetTraits(traits ...apis.Trait) *WorkerComponent
- func (o *WorkerComponent) SetVolumeMounts(v VolumeMounts) *WorkerComponent
- func (o *WorkerComponent) SetVolumes(v []Volumes) *WorkerComponent
- func (o *WorkerComponent) Validate() error
- type WorkerSpec
Constants ¶
const WorkerType = "worker"
Variables ¶
This section is empty.
Functions ¶
func FromComponent ¶
func FromComponent(from common.ApplicationComponent) (apis.Component, error)
Types ¶
type ConfigMap ¶
type ConfigMap struct { CmName *string `json:"cmName"` DefaultMode *int32 `json:"defaultMode"` Items []Items `json:"items,omitempty"` MountPath *string `json:"mountPath"` Name *string `json:"name"` }
ConfigMap struct for ConfigMap
func NewConfigMap ¶
func NewConfigMap() *ConfigMap
NewConfigMap is short for NewConfigMapWithDefault which instantiates a new ConfigMap 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 NewConfigMapEmpty ¶
func NewConfigMapEmpty() *ConfigMap
NewConfigMapEmpty instantiates a new ConfigMap object with no properties set. This constructor will not assign any default values to properties.
func NewConfigMapList ¶
NewConfigMaps converts a list ConfigMap pointers to objects. This is helpful when the SetConfigMap requires a list of objects
func NewConfigMapWith ¶
NewConfigMapWith instantiates a new ConfigMap 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 NewConfigMapWithDefault ¶
func NewConfigMapWithDefault() *ConfigMap
NewConfigMapWithDefault instantiates a new ConfigMap 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 (*ConfigMap) GetCmNameOk ¶
GetCmNameOk returns a tuple with the CmName field value and a boolean to check if the value has been set.
func (*ConfigMap) GetDefaultMode ¶
GetDefaultMode returns the DefaultMode field value
func (*ConfigMap) GetDefaultModeOk ¶
GetDefaultModeOk returns a tuple with the DefaultMode field value and a boolean to check if the value has been set.
func (*ConfigMap) GetItemsOk ¶
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConfigMap) GetMountPath ¶
GetMountPath returns the MountPath field value
func (*ConfigMap) GetMountPathOk ¶
GetMountPathOk returns a tuple with the MountPath field value and a boolean to check if the value has been set.
func (*ConfigMap) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (ConfigMap) MarshalJSON ¶
func (*ConfigMap) SetDefaultMode ¶
SetDefaultMode sets field value
func (*ConfigMap) SetItems ¶
SetItems gets a reference to the given []Items and assigns it to the items field. Items:
func (*ConfigMap) SetMountPath ¶
SetMountPath sets field value
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 EmptyDir ¶
type EmptyDir struct { Medium *string `json:"medium"` MountPath *string `json:"mountPath"` Name *string `json:"name"` }
EmptyDir struct for EmptyDir
func NewEmptyDir ¶
func NewEmptyDir() *EmptyDir
NewEmptyDir is short for NewEmptyDirWithDefault which instantiates a new EmptyDir 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 NewEmptyDirEmpty ¶
func NewEmptyDirEmpty() *EmptyDir
NewEmptyDirEmpty instantiates a new EmptyDir object with no properties set. This constructor will not assign any default values to properties.
func NewEmptyDirList ¶
NewEmptyDirs converts a list EmptyDir pointers to objects. This is helpful when the SetEmptyDir requires a list of objects
func NewEmptyDirWith ¶
NewEmptyDirWith instantiates a new EmptyDir 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 NewEmptyDirWithDefault ¶
func NewEmptyDirWithDefault() *EmptyDir
NewEmptyDirWithDefault instantiates a new EmptyDir 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 (*EmptyDir) GetMediumOk ¶
GetMediumOk returns a tuple with the Medium field value and a boolean to check if the value has been set.
func (*EmptyDir) GetMountPath ¶
GetMountPath returns the MountPath field value
func (*EmptyDir) GetMountPathOk ¶
GetMountPathOk returns a tuple with the MountPath field value and a boolean to check if the value has been set.
func (*EmptyDir) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (EmptyDir) MarshalJSON ¶
func (*EmptyDir) SetMountPath ¶
SetMountPath sets field value
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 Exec ¶
type Exec struct { // A command to be executed inside the container to assess its health. Each space delimited token of the command is a separate array element. Commands exiting 0 are considered to be successful probes, whilst all other exit codes are considered failures. Command []string `json:"command"` }
Exec Instructions for assessing container health by executing a command. Either this attribute or the httpGet attribute or the tcpSocket attribute MUST be specified. This attribute is mutually exclusive with both the httpGet attribute and the tcpSocket attribute.
func NewExec ¶
func NewExec() *Exec
NewExec is short for NewExecWithDefault which instantiates a new Exec 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 NewExecEmpty ¶
func NewExecEmpty() *Exec
NewExecEmpty instantiates a new Exec object with no properties set. This constructor will not assign any default values to properties.
func NewExecList ¶
NewExecs converts a list Exec pointers to objects. This is helpful when the SetExec requires a list of objects
func NewExecWith ¶
NewExecWith instantiates a new Exec 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 NewExecWithDefault ¶
func NewExecWithDefault() *Exec
NewExecWithDefault instantiates a new Exec 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 (*Exec) GetCommand ¶
GetCommand returns the Command field value
func (*Exec) GetCommandOk ¶
GetCommandOk returns a tuple with the Command field value and a boolean to check if the value has been set.
func (Exec) MarshalJSON ¶
type HealthProbe ¶
type HealthProbe struct { Exec *Exec `json:"exec,omitempty"` // Number of consecutive failures required to determine the container is not alive (liveness probe) or not ready (readiness probe). FailureThreshold *int32 `json:"failureThreshold"` HttpGet *HttpGet `json:"httpGet,omitempty"` // Number of seconds after the container is started before the first probe is initiated. InitialDelaySeconds *int32 `json:"initialDelaySeconds"` // How often, in seconds, to execute the probe. PeriodSeconds *int32 `json:"periodSeconds"` // Minimum consecutive successes for the probe to be considered successful after having failed. SuccessThreshold *int32 `json:"successThreshold"` TcpSocket *TcpSocket `json:"tcpSocket,omitempty"` // Number of seconds after which the probe times out. TimeoutSeconds *int32 `json:"timeoutSeconds"` }
HealthProbe struct for HealthProbe
func NewHealthProbe ¶
func NewHealthProbe() *HealthProbe
NewHealthProbe is short for NewHealthProbeWithDefault which instantiates a new HealthProbe 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 NewHealthProbeEmpty ¶
func NewHealthProbeEmpty() *HealthProbe
NewHealthProbeEmpty instantiates a new HealthProbe object with no properties set. This constructor will not assign any default values to properties.
func NewHealthProbeList ¶
func NewHealthProbeList(ps ...*HealthProbe) []HealthProbe
NewHealthProbes converts a list HealthProbe pointers to objects. This is helpful when the SetHealthProbe requires a list of objects
func NewHealthProbeWith ¶
func NewHealthProbeWith(failureThreshold int32, initialDelaySeconds int32, periodSeconds int32, successThreshold int32, timeoutSeconds int32) *HealthProbe
NewHealthProbeWith instantiates a new HealthProbe 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 NewHealthProbeWithDefault ¶
func NewHealthProbeWithDefault() *HealthProbe
NewHealthProbeWithDefault instantiates a new HealthProbe 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 (*HealthProbe) GetExec ¶
func (o *HealthProbe) GetExec() Exec
GetExec returns the Exec field value if set, zero value otherwise.
func (*HealthProbe) GetExecOk ¶
func (o *HealthProbe) GetExecOk() (*Exec, bool)
GetExecOk returns a tuple with the Exec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HealthProbe) GetFailureThreshold ¶
func (o *HealthProbe) GetFailureThreshold() int32
GetFailureThreshold returns the FailureThreshold field value
func (*HealthProbe) GetFailureThresholdOk ¶
func (o *HealthProbe) GetFailureThresholdOk() (*int32, bool)
GetFailureThresholdOk returns a tuple with the FailureThreshold field value and a boolean to check if the value has been set.
func (*HealthProbe) GetHttpGet ¶
func (o *HealthProbe) GetHttpGet() HttpGet
GetHttpGet returns the HttpGet field value if set, zero value otherwise.
func (*HealthProbe) GetHttpGetOk ¶
func (o *HealthProbe) GetHttpGetOk() (*HttpGet, bool)
GetHttpGetOk returns a tuple with the HttpGet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HealthProbe) GetInitialDelaySeconds ¶
func (o *HealthProbe) GetInitialDelaySeconds() int32
GetInitialDelaySeconds returns the InitialDelaySeconds field value
func (*HealthProbe) GetInitialDelaySecondsOk ¶
func (o *HealthProbe) GetInitialDelaySecondsOk() (*int32, bool)
GetInitialDelaySecondsOk returns a tuple with the InitialDelaySeconds field value and a boolean to check if the value has been set.
func (*HealthProbe) GetPeriodSeconds ¶
func (o *HealthProbe) GetPeriodSeconds() int32
GetPeriodSeconds returns the PeriodSeconds field value
func (*HealthProbe) GetPeriodSecondsOk ¶
func (o *HealthProbe) GetPeriodSecondsOk() (*int32, bool)
GetPeriodSecondsOk returns a tuple with the PeriodSeconds field value and a boolean to check if the value has been set.
func (*HealthProbe) GetSuccessThreshold ¶
func (o *HealthProbe) GetSuccessThreshold() int32
GetSuccessThreshold returns the SuccessThreshold field value
func (*HealthProbe) GetSuccessThresholdOk ¶
func (o *HealthProbe) GetSuccessThresholdOk() (*int32, bool)
GetSuccessThresholdOk returns a tuple with the SuccessThreshold field value and a boolean to check if the value has been set.
func (*HealthProbe) GetTcpSocket ¶
func (o *HealthProbe) GetTcpSocket() TcpSocket
GetTcpSocket returns the TcpSocket field value if set, zero value otherwise.
func (*HealthProbe) GetTcpSocketOk ¶
func (o *HealthProbe) GetTcpSocketOk() (*TcpSocket, bool)
GetTcpSocketOk returns a tuple with the TcpSocket field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HealthProbe) GetTimeoutSeconds ¶
func (o *HealthProbe) GetTimeoutSeconds() int32
GetTimeoutSeconds returns the TimeoutSeconds field value
func (*HealthProbe) GetTimeoutSecondsOk ¶
func (o *HealthProbe) GetTimeoutSecondsOk() (*int32, bool)
GetTimeoutSecondsOk returns a tuple with the TimeoutSeconds field value and a boolean to check if the value has been set.
func (*HealthProbe) HasExec ¶
func (o *HealthProbe) HasExec() bool
HasExec returns a boolean if a field has been set.
func (*HealthProbe) HasHttpGet ¶
func (o *HealthProbe) HasHttpGet() bool
HasHttpGet returns a boolean if a field has been set.
func (*HealthProbe) HasTcpSocket ¶
func (o *HealthProbe) HasTcpSocket() bool
HasTcpSocket returns a boolean if a field has been set.
func (HealthProbe) MarshalJSON ¶
func (o HealthProbe) MarshalJSON() ([]byte, error)
func (*HealthProbe) SetExec ¶
func (o *HealthProbe) SetExec(v Exec) *HealthProbe
SetExec gets a reference to the given Exec and assigns it to the exec field. Exec:
func (*HealthProbe) SetFailureThreshold ¶
func (o *HealthProbe) SetFailureThreshold(v int32) *HealthProbe
SetFailureThreshold sets field value
func (*HealthProbe) SetHttpGet ¶
func (o *HealthProbe) SetHttpGet(v HttpGet) *HealthProbe
SetHttpGet gets a reference to the given HttpGet and assigns it to the httpGet field. HttpGet:
func (*HealthProbe) SetInitialDelaySeconds ¶
func (o *HealthProbe) SetInitialDelaySeconds(v int32) *HealthProbe
SetInitialDelaySeconds sets field value
func (*HealthProbe) SetPeriodSeconds ¶
func (o *HealthProbe) SetPeriodSeconds(v int32) *HealthProbe
SetPeriodSeconds sets field value
func (*HealthProbe) SetSuccessThreshold ¶
func (o *HealthProbe) SetSuccessThreshold(v int32) *HealthProbe
SetSuccessThreshold sets field value
func (*HealthProbe) SetTcpSocket ¶
func (o *HealthProbe) SetTcpSocket(v TcpSocket) *HealthProbe
SetTcpSocket gets a reference to the given TcpSocket and assigns it to the tcpSocket field. TcpSocket:
func (*HealthProbe) SetTimeoutSeconds ¶
func (o *HealthProbe) SetTimeoutSeconds(v int32) *HealthProbe
SetTimeoutSeconds sets field value
func (HealthProbe) ToMap ¶
func (o HealthProbe) ToMap() (map[string]interface{}, error)
func (*HealthProbe) Validate ¶
func (o *HealthProbe) Validate() error
Validate validates this HealthProbe 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 HostPath ¶
type HostPath struct { MountPath *string `json:"mountPath"` Name *string `json:"name"` Path *string `json:"path"` }
HostPath struct for HostPath
func NewHostPath ¶
func NewHostPath() *HostPath
NewHostPath is short for NewHostPathWithDefault which instantiates a new HostPath 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 NewHostPathEmpty ¶
func NewHostPathEmpty() *HostPath
NewHostPathEmpty instantiates a new HostPath object with no properties set. This constructor will not assign any default values to properties.
func NewHostPathList ¶
NewHostPaths converts a list HostPath pointers to objects. This is helpful when the SetHostPath requires a list of objects
func NewHostPathWith ¶
NewHostPathWith instantiates a new HostPath 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 NewHostPathWithDefault ¶
func NewHostPathWithDefault() *HostPath
NewHostPathWithDefault instantiates a new HostPath 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 (*HostPath) GetMountPath ¶
GetMountPath returns the MountPath field value
func (*HostPath) GetMountPathOk ¶
GetMountPathOk returns a tuple with the MountPath field value and a boolean to check if the value has been set.
func (*HostPath) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*HostPath) GetPathOk ¶
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (HostPath) MarshalJSON ¶
func (*HostPath) SetMountPath ¶
SetMountPath sets field value
type HttpGet ¶
type HttpGet struct { HttpHeaders []HttpHeaders `json:"httpHeaders,omitempty"` // The endpoint, relative to the port, to which the HTTP GET request should be directed. Path *string `json:"path"` // The TCP socket within the container to which the HTTP GET request should be directed. Port *int32 `json:"port"` }
HttpGet Instructions for assessing container health by executing an HTTP GET request. Either this attribute or the exec attribute or the tcpSocket attribute MUST be specified. This attribute is mutually exclusive with both the exec attribute and the tcpSocket attribute.
func NewHttpGet ¶
func NewHttpGet() *HttpGet
NewHttpGet is short for NewHttpGetWithDefault which instantiates a new HttpGet 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 NewHttpGetEmpty ¶
func NewHttpGetEmpty() *HttpGet
NewHttpGetEmpty instantiates a new HttpGet object with no properties set. This constructor will not assign any default values to properties.
func NewHttpGetList ¶
NewHttpGets converts a list HttpGet pointers to objects. This is helpful when the SetHttpGet requires a list of objects
func NewHttpGetWith ¶
NewHttpGetWith instantiates a new HttpGet 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 NewHttpGetWithDefault ¶
func NewHttpGetWithDefault() *HttpGet
NewHttpGetWithDefault instantiates a new HttpGet 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 (*HttpGet) GetHttpHeaders ¶
func (o *HttpGet) GetHttpHeaders() []HttpHeaders
GetHttpHeaders returns the HttpHeaders field value if set, zero value otherwise.
func (*HttpGet) GetHttpHeadersOk ¶
func (o *HttpGet) GetHttpHeadersOk() ([]HttpHeaders, bool)
GetHttpHeadersOk returns a tuple with the HttpHeaders field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HttpGet) GetPathOk ¶
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*HttpGet) GetPortOk ¶
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (*HttpGet) HasHttpHeaders ¶
HasHttpHeaders returns a boolean if a field has been set.
func (HttpGet) MarshalJSON ¶
func (*HttpGet) SetHttpHeaders ¶
func (o *HttpGet) SetHttpHeaders(v []HttpHeaders) *HttpGet
SetHttpHeaders gets a reference to the given []HttpHeaders and assigns it to the httpHeaders field. HttpHeaders:
type HttpHeaders ¶
HttpHeaders struct for HttpHeaders
func NewHttpHeaders ¶
func NewHttpHeaders() *HttpHeaders
NewHttpHeaders is short for NewHttpHeadersWithDefault which instantiates a new HttpHeaders 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 NewHttpHeadersEmpty ¶
func NewHttpHeadersEmpty() *HttpHeaders
NewHttpHeadersEmpty instantiates a new HttpHeaders object with no properties set. This constructor will not assign any default values to properties.
func NewHttpHeadersList ¶
func NewHttpHeadersList(ps ...*HttpHeaders) []HttpHeaders
NewHttpHeaderss converts a list HttpHeaders pointers to objects. This is helpful when the SetHttpHeaders requires a list of objects
func NewHttpHeadersWith ¶
func NewHttpHeadersWith(name string, value string) *HttpHeaders
NewHttpHeadersWith instantiates a new HttpHeaders 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 NewHttpHeadersWithDefault ¶
func NewHttpHeadersWithDefault() *HttpHeaders
NewHttpHeadersWithDefault instantiates a new HttpHeaders 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 (*HttpHeaders) GetName ¶
func (o *HttpHeaders) GetName() string
GetName returns the Name field value
func (*HttpHeaders) GetNameOk ¶
func (o *HttpHeaders) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*HttpHeaders) GetValue ¶
func (o *HttpHeaders) GetValue() string
GetValue returns the Value field value
func (*HttpHeaders) GetValueOk ¶
func (o *HttpHeaders) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (HttpHeaders) MarshalJSON ¶
func (o HttpHeaders) MarshalJSON() ([]byte, error)
func (*HttpHeaders) SetName ¶
func (o *HttpHeaders) SetName(v string) *HttpHeaders
SetName sets field value
func (*HttpHeaders) SetValue ¶
func (o *HttpHeaders) SetValue(v string) *HttpHeaders
SetValue sets field value
func (HttpHeaders) ToMap ¶
func (o HttpHeaders) ToMap() (map[string]interface{}, error)
func (*HttpHeaders) Validate ¶
func (o *HttpHeaders) Validate() error
Validate validates this HttpHeaders 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 Items ¶
Items struct for Items
func NewItems ¶
func NewItems() *Items
NewItems is short for NewItemsWithDefault which instantiates a new Items 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 NewItemsEmpty ¶
func NewItemsEmpty() *Items
NewItemsEmpty instantiates a new Items object with no properties set. This constructor will not assign any default values to properties.
func NewItemsList ¶
NewItemss converts a list Items pointers to objects. This is helpful when the SetItems requires a list of objects
func NewItemsWith ¶
NewItemsWith instantiates a new Items 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 NewItemsWithDefault ¶
func NewItemsWithDefault() *Items
NewItemsWithDefault instantiates a new Items 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 (*Items) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*Items) GetModeOk ¶
GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.
func (*Items) GetPathOk ¶
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (Items) MarshalJSON ¶
type NullableConfigMap ¶
type NullableConfigMap struct {
// contains filtered or unexported fields
}
func NewNullableConfigMap ¶
func NewNullableConfigMap(val *ConfigMap) *NullableConfigMap
func (*NullableConfigMap) Get ¶
func (v *NullableConfigMap) Get() *ConfigMap
func (*NullableConfigMap) IsSet ¶
func (v *NullableConfigMap) IsSet() bool
func (NullableConfigMap) MarshalJSON ¶
func (v NullableConfigMap) MarshalJSON() ([]byte, error)
func (*NullableConfigMap) Set ¶
func (v *NullableConfigMap) Set(val *ConfigMap)
func (*NullableConfigMap) UnmarshalJSON ¶
func (v *NullableConfigMap) UnmarshalJSON(src []byte) error
func (*NullableConfigMap) Unset ¶
func (v *NullableConfigMap) Unset()
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 NullableEmptyDir ¶
type NullableEmptyDir struct {
// contains filtered or unexported fields
}
func NewNullableEmptyDir ¶
func NewNullableEmptyDir(val *EmptyDir) *NullableEmptyDir
func (*NullableEmptyDir) Get ¶
func (v *NullableEmptyDir) Get() *EmptyDir
func (*NullableEmptyDir) IsSet ¶
func (v *NullableEmptyDir) IsSet() bool
func (NullableEmptyDir) MarshalJSON ¶
func (v NullableEmptyDir) MarshalJSON() ([]byte, error)
func (*NullableEmptyDir) Set ¶
func (v *NullableEmptyDir) Set(val *EmptyDir)
func (*NullableEmptyDir) UnmarshalJSON ¶
func (v *NullableEmptyDir) UnmarshalJSON(src []byte) error
func (*NullableEmptyDir) Unset ¶
func (v *NullableEmptyDir) 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 NullableExec ¶
type NullableExec struct {
// contains filtered or unexported fields
}
func NewNullableExec ¶
func NewNullableExec(val *Exec) *NullableExec
func (*NullableExec) Get ¶
func (v *NullableExec) Get() *Exec
func (*NullableExec) IsSet ¶
func (v *NullableExec) IsSet() bool
func (NullableExec) MarshalJSON ¶
func (v NullableExec) MarshalJSON() ([]byte, error)
func (*NullableExec) Set ¶
func (v *NullableExec) Set(val *Exec)
func (*NullableExec) UnmarshalJSON ¶
func (v *NullableExec) UnmarshalJSON(src []byte) error
func (*NullableExec) Unset ¶
func (v *NullableExec) Unset()
type NullableHealthProbe ¶
type NullableHealthProbe struct {
// contains filtered or unexported fields
}
func NewNullableHealthProbe ¶
func NewNullableHealthProbe(val *HealthProbe) *NullableHealthProbe
func (*NullableHealthProbe) Get ¶
func (v *NullableHealthProbe) Get() *HealthProbe
func (*NullableHealthProbe) IsSet ¶
func (v *NullableHealthProbe) IsSet() bool
func (NullableHealthProbe) MarshalJSON ¶
func (v NullableHealthProbe) MarshalJSON() ([]byte, error)
func (*NullableHealthProbe) Set ¶
func (v *NullableHealthProbe) Set(val *HealthProbe)
func (*NullableHealthProbe) UnmarshalJSON ¶
func (v *NullableHealthProbe) UnmarshalJSON(src []byte) error
func (*NullableHealthProbe) Unset ¶
func (v *NullableHealthProbe) Unset()
type NullableHostPath ¶
type NullableHostPath struct {
// contains filtered or unexported fields
}
func NewNullableHostPath ¶
func NewNullableHostPath(val *HostPath) *NullableHostPath
func (*NullableHostPath) Get ¶
func (v *NullableHostPath) Get() *HostPath
func (*NullableHostPath) IsSet ¶
func (v *NullableHostPath) IsSet() bool
func (NullableHostPath) MarshalJSON ¶
func (v NullableHostPath) MarshalJSON() ([]byte, error)
func (*NullableHostPath) Set ¶
func (v *NullableHostPath) Set(val *HostPath)
func (*NullableHostPath) UnmarshalJSON ¶
func (v *NullableHostPath) UnmarshalJSON(src []byte) error
func (*NullableHostPath) Unset ¶
func (v *NullableHostPath) Unset()
type NullableHttpGet ¶
type NullableHttpGet struct {
// contains filtered or unexported fields
}
func NewNullableHttpGet ¶
func NewNullableHttpGet(val *HttpGet) *NullableHttpGet
func (*NullableHttpGet) Get ¶
func (v *NullableHttpGet) Get() *HttpGet
func (*NullableHttpGet) IsSet ¶
func (v *NullableHttpGet) IsSet() bool
func (NullableHttpGet) MarshalJSON ¶
func (v NullableHttpGet) MarshalJSON() ([]byte, error)
func (*NullableHttpGet) Set ¶
func (v *NullableHttpGet) Set(val *HttpGet)
func (*NullableHttpGet) UnmarshalJSON ¶
func (v *NullableHttpGet) UnmarshalJSON(src []byte) error
func (*NullableHttpGet) Unset ¶
func (v *NullableHttpGet) Unset()
type NullableHttpHeaders ¶
type NullableHttpHeaders struct {
// contains filtered or unexported fields
}
func NewNullableHttpHeaders ¶
func NewNullableHttpHeaders(val *HttpHeaders) *NullableHttpHeaders
func (*NullableHttpHeaders) Get ¶
func (v *NullableHttpHeaders) Get() *HttpHeaders
func (*NullableHttpHeaders) IsSet ¶
func (v *NullableHttpHeaders) IsSet() bool
func (NullableHttpHeaders) MarshalJSON ¶
func (v NullableHttpHeaders) MarshalJSON() ([]byte, error)
func (*NullableHttpHeaders) Set ¶
func (v *NullableHttpHeaders) Set(val *HttpHeaders)
func (*NullableHttpHeaders) UnmarshalJSON ¶
func (v *NullableHttpHeaders) UnmarshalJSON(src []byte) error
func (*NullableHttpHeaders) Unset ¶
func (v *NullableHttpHeaders) Unset()
type NullableItems ¶
type NullableItems struct {
// contains filtered or unexported fields
}
func NewNullableItems ¶
func NewNullableItems(val *Items) *NullableItems
func (*NullableItems) Get ¶
func (v *NullableItems) Get() *Items
func (*NullableItems) IsSet ¶
func (v *NullableItems) IsSet() bool
func (NullableItems) MarshalJSON ¶
func (v NullableItems) MarshalJSON() ([]byte, error)
func (*NullableItems) Set ¶
func (v *NullableItems) Set(val *Items)
func (*NullableItems) UnmarshalJSON ¶
func (v *NullableItems) UnmarshalJSON(src []byte) error
func (*NullableItems) Unset ¶
func (v *NullableItems) Unset()
type NullablePvc ¶
type NullablePvc struct {
// contains filtered or unexported fields
}
func NewNullablePvc ¶
func NewNullablePvc(val *Pvc) *NullablePvc
func (*NullablePvc) Get ¶
func (v *NullablePvc) Get() *Pvc
func (*NullablePvc) IsSet ¶
func (v *NullablePvc) IsSet() bool
func (NullablePvc) MarshalJSON ¶
func (v NullablePvc) MarshalJSON() ([]byte, error)
func (*NullablePvc) Set ¶
func (v *NullablePvc) Set(val *Pvc)
func (*NullablePvc) UnmarshalJSON ¶
func (v *NullablePvc) UnmarshalJSON(src []byte) error
func (*NullablePvc) Unset ¶
func (v *NullablePvc) Unset()
type NullableSecret ¶
type NullableSecret struct {
// contains filtered or unexported fields
}
func NewNullableSecret ¶
func NewNullableSecret(val *Secret) *NullableSecret
func (*NullableSecret) Get ¶
func (v *NullableSecret) Get() *Secret
func (*NullableSecret) IsSet ¶
func (v *NullableSecret) IsSet() bool
func (NullableSecret) MarshalJSON ¶
func (v NullableSecret) MarshalJSON() ([]byte, error)
func (*NullableSecret) Set ¶
func (v *NullableSecret) Set(val *Secret)
func (*NullableSecret) UnmarshalJSON ¶
func (v *NullableSecret) UnmarshalJSON(src []byte) error
func (*NullableSecret) Unset ¶
func (v *NullableSecret) 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 NullableTcpSocket ¶
type NullableTcpSocket struct {
// contains filtered or unexported fields
}
func NewNullableTcpSocket ¶
func NewNullableTcpSocket(val *TcpSocket) *NullableTcpSocket
func (*NullableTcpSocket) Get ¶
func (v *NullableTcpSocket) Get() *TcpSocket
func (*NullableTcpSocket) IsSet ¶
func (v *NullableTcpSocket) IsSet() bool
func (NullableTcpSocket) MarshalJSON ¶
func (v NullableTcpSocket) MarshalJSON() ([]byte, error)
func (*NullableTcpSocket) Set ¶
func (v *NullableTcpSocket) Set(val *TcpSocket)
func (*NullableTcpSocket) UnmarshalJSON ¶
func (v *NullableTcpSocket) UnmarshalJSON(src []byte) error
func (*NullableTcpSocket) Unset ¶
func (v *NullableTcpSocket) 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 NullableVolumeMounts ¶
type NullableVolumeMounts struct {
// contains filtered or unexported fields
}
func NewNullableVolumeMounts ¶
func NewNullableVolumeMounts(val *VolumeMounts) *NullableVolumeMounts
func (*NullableVolumeMounts) Get ¶
func (v *NullableVolumeMounts) Get() *VolumeMounts
func (*NullableVolumeMounts) IsSet ¶
func (v *NullableVolumeMounts) IsSet() bool
func (NullableVolumeMounts) MarshalJSON ¶
func (v NullableVolumeMounts) MarshalJSON() ([]byte, error)
func (*NullableVolumeMounts) Set ¶
func (v *NullableVolumeMounts) Set(val *VolumeMounts)
func (*NullableVolumeMounts) UnmarshalJSON ¶
func (v *NullableVolumeMounts) UnmarshalJSON(src []byte) error
func (*NullableVolumeMounts) Unset ¶
func (v *NullableVolumeMounts) Unset()
type NullableVolumes ¶
type NullableVolumes struct {
// contains filtered or unexported fields
}
func NewNullableVolumes ¶
func NewNullableVolumes(val *Volumes) *NullableVolumes
func (*NullableVolumes) Get ¶
func (v *NullableVolumes) Get() *Volumes
func (*NullableVolumes) IsSet ¶
func (v *NullableVolumes) IsSet() bool
func (NullableVolumes) MarshalJSON ¶
func (v NullableVolumes) MarshalJSON() ([]byte, error)
func (*NullableVolumes) Set ¶
func (v *NullableVolumes) Set(val *Volumes)
func (*NullableVolumes) UnmarshalJSON ¶
func (v *NullableVolumes) UnmarshalJSON(src []byte) error
func (*NullableVolumes) Unset ¶
func (v *NullableVolumes) Unset()
type NullableWorkerSpec ¶
type NullableWorkerSpec struct {
// contains filtered or unexported fields
}
func NewNullableWorkerSpec ¶
func NewNullableWorkerSpec(val *WorkerSpec) *NullableWorkerSpec
func (*NullableWorkerSpec) Get ¶
func (v *NullableWorkerSpec) Get() *WorkerSpec
func (*NullableWorkerSpec) IsSet ¶
func (v *NullableWorkerSpec) IsSet() bool
func (NullableWorkerSpec) MarshalJSON ¶
func (v NullableWorkerSpec) MarshalJSON() ([]byte, error)
func (*NullableWorkerSpec) Set ¶
func (v *NullableWorkerSpec) Set(val *WorkerSpec)
func (*NullableWorkerSpec) UnmarshalJSON ¶
func (v *NullableWorkerSpec) UnmarshalJSON(src []byte) error
func (*NullableWorkerSpec) Unset ¶
func (v *NullableWorkerSpec) Unset()
type Pvc ¶
type Pvc struct { // The name of the PVC ClaimName *string `json:"claimName"` MountPath *string `json:"mountPath"` Name *string `json:"name"` }
Pvc struct for Pvc
func NewPvc ¶
func NewPvc() *Pvc
NewPvc is short for NewPvcWithDefault which instantiates a new Pvc 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 NewPvcEmpty ¶
func NewPvcEmpty() *Pvc
NewPvcEmpty instantiates a new Pvc object with no properties set. This constructor will not assign any default values to properties.
func NewPvcList ¶
NewPvcs converts a list Pvc pointers to objects. This is helpful when the SetPvc requires a list of objects
func NewPvcWith ¶
NewPvcWith instantiates a new Pvc 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 NewPvcWithDefault ¶
func NewPvcWithDefault() *Pvc
NewPvcWithDefault instantiates a new Pvc 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 (*Pvc) GetClaimName ¶
GetClaimName returns the ClaimName field value
func (*Pvc) GetClaimNameOk ¶
GetClaimNameOk returns a tuple with the ClaimName field value and a boolean to check if the value has been set.
func (*Pvc) GetMountPath ¶
GetMountPath returns the MountPath field value
func (*Pvc) GetMountPathOk ¶
GetMountPathOk returns a tuple with the MountPath field value and a boolean to check if the value has been set.
func (*Pvc) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (Pvc) MarshalJSON ¶
type Secret ¶
type Secret struct { DefaultMode *int32 `json:"defaultMode"` Items []Items `json:"items,omitempty"` MountPath *string `json:"mountPath"` Name *string `json:"name"` SecretName *string `json:"secretName"` }
Secret struct for Secret
func NewSecret ¶
func NewSecret() *Secret
NewSecret is short for NewSecretWithDefault which instantiates a new Secret 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 NewSecretEmpty ¶
func NewSecretEmpty() *Secret
NewSecretEmpty instantiates a new Secret object with no properties set. This constructor will not assign any default values to properties.
func NewSecretList ¶
NewSecrets converts a list Secret pointers to objects. This is helpful when the SetSecret requires a list of objects
func NewSecretWith ¶
NewSecretWith instantiates a new Secret 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 NewSecretWithDefault ¶
func NewSecretWithDefault() *Secret
NewSecretWithDefault instantiates a new Secret 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 (*Secret) GetDefaultMode ¶
GetDefaultMode returns the DefaultMode field value
func (*Secret) GetDefaultModeOk ¶
GetDefaultModeOk returns a tuple with the DefaultMode field value and a boolean to check if the value has been set.
func (*Secret) GetItemsOk ¶
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Secret) GetMountPath ¶
GetMountPath returns the MountPath field value
func (*Secret) GetMountPathOk ¶
GetMountPathOk returns a tuple with the MountPath field value and a boolean to check if the value has been set.
func (*Secret) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Secret) GetSecretName ¶
GetSecretName returns the SecretName field value
func (*Secret) GetSecretNameOk ¶
GetSecretNameOk returns a tuple with the SecretName field value and a boolean to check if the value has been set.
func (Secret) MarshalJSON ¶
func (*Secret) SetDefaultMode ¶
SetDefaultMode sets field value
func (*Secret) SetItems ¶
SetItems gets a reference to the given []Items and assigns it to the items field. Items:
func (*Secret) SetMountPath ¶
SetMountPath sets field value
func (*Secret) SetSecretName ¶
SetSecretName sets field value
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 TcpSocket ¶
type TcpSocket struct { // The TCP socket within the container that should be probed to assess container health. Port *int32 `json:"port"` }
TcpSocket Instructions for assessing container health by probing a TCP socket. Either this attribute or the exec attribute or the httpGet attribute MUST be specified. This attribute is mutually exclusive with both the exec attribute and the httpGet attribute.
func NewTcpSocket ¶
func NewTcpSocket() *TcpSocket
NewTcpSocket is short for NewTcpSocketWithDefault which instantiates a new TcpSocket 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 NewTcpSocketEmpty ¶
func NewTcpSocketEmpty() *TcpSocket
NewTcpSocketEmpty instantiates a new TcpSocket object with no properties set. This constructor will not assign any default values to properties.
func NewTcpSocketList ¶
NewTcpSockets converts a list TcpSocket pointers to objects. This is helpful when the SetTcpSocket requires a list of objects
func NewTcpSocketWith ¶
NewTcpSocketWith instantiates a new TcpSocket 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 NewTcpSocketWithDefault ¶
func NewTcpSocketWithDefault() *TcpSocket
NewTcpSocketWithDefault instantiates a new TcpSocket 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 (*TcpSocket) GetPortOk ¶
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (TcpSocket) MarshalJSON ¶
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:
type VolumeMounts ¶
type VolumeMounts struct { // Mount ConfigMap type volume ConfigMap []ConfigMap `json:"configMap,omitempty"` // Mount EmptyDir type volume EmptyDir []EmptyDir `json:"emptyDir,omitempty"` // Mount HostPath type volume HostPath []HostPath `json:"hostPath,omitempty"` // Mount PVC type volume Pvc []Pvc `json:"pvc,omitempty"` // Mount Secret type volume Secret []Secret `json:"secret,omitempty"` }
VolumeMounts struct for VolumeMounts
func NewVolumeMounts ¶
func NewVolumeMounts() *VolumeMounts
NewVolumeMounts is short for NewVolumeMountsWithDefault which instantiates a new VolumeMounts 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 NewVolumeMountsEmpty ¶
func NewVolumeMountsEmpty() *VolumeMounts
NewVolumeMountsEmpty instantiates a new VolumeMounts object with no properties set. This constructor will not assign any default values to properties.
func NewVolumeMountsList ¶
func NewVolumeMountsList(ps ...*VolumeMounts) []VolumeMounts
NewVolumeMountss converts a list VolumeMounts pointers to objects. This is helpful when the SetVolumeMounts requires a list of objects
func NewVolumeMountsWith ¶
func NewVolumeMountsWith() *VolumeMounts
NewVolumeMountsWith instantiates a new VolumeMounts 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 NewVolumeMountsWithDefault ¶
func NewVolumeMountsWithDefault() *VolumeMounts
NewVolumeMountsWithDefault instantiates a new VolumeMounts 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 (*VolumeMounts) GetConfigMap ¶
func (o *VolumeMounts) GetConfigMap() []ConfigMap
GetConfigMap returns the ConfigMap field value if set, zero value otherwise.
func (*VolumeMounts) GetConfigMapOk ¶
func (o *VolumeMounts) GetConfigMapOk() ([]ConfigMap, bool)
GetConfigMapOk returns a tuple with the ConfigMap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeMounts) GetEmptyDir ¶
func (o *VolumeMounts) GetEmptyDir() []EmptyDir
GetEmptyDir returns the EmptyDir field value if set, zero value otherwise.
func (*VolumeMounts) GetEmptyDirOk ¶
func (o *VolumeMounts) GetEmptyDirOk() ([]EmptyDir, bool)
GetEmptyDirOk returns a tuple with the EmptyDir field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeMounts) GetHostPath ¶
func (o *VolumeMounts) GetHostPath() []HostPath
GetHostPath returns the HostPath field value if set, zero value otherwise.
func (*VolumeMounts) GetHostPathOk ¶
func (o *VolumeMounts) GetHostPathOk() ([]HostPath, bool)
GetHostPathOk returns a tuple with the HostPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeMounts) GetPvc ¶
func (o *VolumeMounts) GetPvc() []Pvc
GetPvc returns the Pvc field value if set, zero value otherwise.
func (*VolumeMounts) GetPvcOk ¶
func (o *VolumeMounts) GetPvcOk() ([]Pvc, bool)
GetPvcOk returns a tuple with the Pvc field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeMounts) GetSecret ¶
func (o *VolumeMounts) GetSecret() []Secret
GetSecret returns the Secret field value if set, zero value otherwise.
func (*VolumeMounts) GetSecretOk ¶
func (o *VolumeMounts) GetSecretOk() ([]Secret, bool)
GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeMounts) HasConfigMap ¶
func (o *VolumeMounts) HasConfigMap() bool
HasConfigMap returns a boolean if a field has been set.
func (*VolumeMounts) HasEmptyDir ¶
func (o *VolumeMounts) HasEmptyDir() bool
HasEmptyDir returns a boolean if a field has been set.
func (*VolumeMounts) HasHostPath ¶
func (o *VolumeMounts) HasHostPath() bool
HasHostPath returns a boolean if a field has been set.
func (*VolumeMounts) HasPvc ¶
func (o *VolumeMounts) HasPvc() bool
HasPvc returns a boolean if a field has been set.
func (*VolumeMounts) HasSecret ¶
func (o *VolumeMounts) HasSecret() bool
HasSecret returns a boolean if a field has been set.
func (VolumeMounts) MarshalJSON ¶
func (o VolumeMounts) MarshalJSON() ([]byte, error)
func (*VolumeMounts) SetConfigMap ¶
func (o *VolumeMounts) SetConfigMap(v []ConfigMap) *VolumeMounts
SetConfigMap gets a reference to the given []ConfigMap and assigns it to the configMap field. ConfigMap: Mount ConfigMap type volume
func (*VolumeMounts) SetEmptyDir ¶
func (o *VolumeMounts) SetEmptyDir(v []EmptyDir) *VolumeMounts
SetEmptyDir gets a reference to the given []EmptyDir and assigns it to the emptyDir field. EmptyDir: Mount EmptyDir type volume
func (*VolumeMounts) SetHostPath ¶
func (o *VolumeMounts) SetHostPath(v []HostPath) *VolumeMounts
SetHostPath gets a reference to the given []HostPath and assigns it to the hostPath field. HostPath: Mount HostPath type volume
func (*VolumeMounts) SetPvc ¶
func (o *VolumeMounts) SetPvc(v []Pvc) *VolumeMounts
SetPvc gets a reference to the given []Pvc and assigns it to the pvc field. Pvc: Mount PVC type volume
func (*VolumeMounts) SetSecret ¶
func (o *VolumeMounts) SetSecret(v []Secret) *VolumeMounts
SetSecret gets a reference to the given []Secret and assigns it to the secret field. Secret: Mount Secret type volume
func (VolumeMounts) ToMap ¶
func (o VolumeMounts) ToMap() (map[string]interface{}, error)
func (*VolumeMounts) Validate ¶
func (o *VolumeMounts) Validate() error
Validate validates this VolumeMounts 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 Volumes ¶
type Volumes struct { Medium *string `json:"medium"` MountPath *string `json:"mountPath"` Name *string `json:"name"` // Specify volume type, options: \"pvc\",\"configMap\",\"secret\",\"emptyDir\", default to emptyDir Type *string `json:"type"` }
Volumes struct for Volumes
func NewVolumes ¶
func NewVolumes() *Volumes
NewVolumes is short for NewVolumesWithDefault which instantiates a new Volumes 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 NewVolumesEmpty ¶
func NewVolumesEmpty() *Volumes
NewVolumesEmpty instantiates a new Volumes object with no properties set. This constructor will not assign any default values to properties.
func NewVolumesList ¶
NewVolumess converts a list Volumes pointers to objects. This is helpful when the SetVolumes requires a list of objects
func NewVolumesWith ¶
NewVolumesWith instantiates a new Volumes 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 NewVolumesWithDefault ¶
func NewVolumesWithDefault() *Volumes
NewVolumesWithDefault instantiates a new Volumes 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 (*Volumes) GetMediumOk ¶
GetMediumOk returns a tuple with the Medium field value and a boolean to check if the value has been set.
func (*Volumes) GetMountPath ¶
GetMountPath returns the MountPath field value
func (*Volumes) GetMountPathOk ¶
GetMountPathOk returns a tuple with the MountPath field value and a boolean to check if the value has been set.
func (*Volumes) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Volumes) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Volumes) MarshalJSON ¶
func (*Volumes) SetMountPath ¶
SetMountPath sets field value
type WorkerComponent ¶
type WorkerComponent struct { Base apis.ComponentBase Properties WorkerSpec }
func Worker ¶
func Worker(name string) *WorkerComponent
func (*WorkerComponent) AddDependsOn ¶
func (w *WorkerComponent) AddDependsOn(dependsOn string) *WorkerComponent
func (*WorkerComponent) Build ¶
func (w *WorkerComponent) Build() common.ApplicationComponent
func (*WorkerComponent) ComponentName ¶
func (w *WorkerComponent) ComponentName() string
func (*WorkerComponent) DefType ¶
func (w *WorkerComponent) DefType() string
func (*WorkerComponent) DependsOn ¶
func (w *WorkerComponent) DependsOn(dependsOn []string) *WorkerComponent
func (*WorkerComponent) FromComponent ¶
func (w *WorkerComponent) FromComponent(from common.ApplicationComponent) (*WorkerComponent, error)
func (*WorkerComponent) GetAllTraits ¶
func (w *WorkerComponent) GetAllTraits() []apis.Trait
func (*WorkerComponent) GetCmd ¶
func (o *WorkerComponent) GetCmd() []string
GetCmd returns the Cmd field value if set, zero value otherwise.
func (*WorkerComponent) GetCmdOk ¶
func (o *WorkerComponent) 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 (*WorkerComponent) GetCpu ¶
func (o *WorkerComponent) GetCpu() string
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*WorkerComponent) GetCpuOk ¶
func (o *WorkerComponent) GetCpuOk() (*string, bool)
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkerComponent) GetEnv ¶
func (o *WorkerComponent) GetEnv() []Env
GetEnv returns the Env field value if set, zero value otherwise.
func (*WorkerComponent) GetEnvOk ¶
func (o *WorkerComponent) 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 (*WorkerComponent) GetImage ¶
func (o *WorkerComponent) GetImage() string
GetImage returns the Image field value
func (*WorkerComponent) GetImageOk ¶
func (o *WorkerComponent) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*WorkerComponent) GetImagePullPolicy ¶
func (o *WorkerComponent) GetImagePullPolicy() string
GetImagePullPolicy returns the ImagePullPolicy field value if set, zero value otherwise.
func (*WorkerComponent) GetImagePullPolicyOk ¶
func (o *WorkerComponent) GetImagePullPolicyOk() (*string, bool)
GetImagePullPolicyOk returns a tuple with the ImagePullPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkerComponent) GetImagePullSecrets ¶
func (o *WorkerComponent) GetImagePullSecrets() []string
GetImagePullSecrets returns the ImagePullSecrets field value if set, zero value otherwise.
func (*WorkerComponent) GetImagePullSecretsOk ¶
func (o *WorkerComponent) GetImagePullSecretsOk() ([]string, bool)
GetImagePullSecretsOk returns a tuple with the ImagePullSecrets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkerComponent) GetLivenessProbe ¶
func (o *WorkerComponent) GetLivenessProbe() HealthProbe
GetLivenessProbe returns the LivenessProbe field value if set, zero value otherwise.
func (*WorkerComponent) GetLivenessProbeOk ¶
func (o *WorkerComponent) GetLivenessProbeOk() (*HealthProbe, bool)
GetLivenessProbeOk returns a tuple with the LivenessProbe field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkerComponent) GetMemory ¶
func (o *WorkerComponent) GetMemory() string
GetMemory returns the Memory field value if set, zero value otherwise.
func (*WorkerComponent) GetMemoryOk ¶
func (o *WorkerComponent) GetMemoryOk() (*string, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkerComponent) GetReadinessProbe ¶
func (o *WorkerComponent) GetReadinessProbe() HealthProbe
GetReadinessProbe returns the ReadinessProbe field value if set, zero value otherwise.
func (*WorkerComponent) GetReadinessProbeOk ¶
func (o *WorkerComponent) GetReadinessProbeOk() (*HealthProbe, bool)
GetReadinessProbeOk returns a tuple with the ReadinessProbe field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkerComponent) GetVolumeMounts ¶
func (o *WorkerComponent) GetVolumeMounts() VolumeMounts
GetVolumeMounts returns the VolumeMounts field value if set, zero value otherwise.
func (*WorkerComponent) GetVolumeMountsOk ¶
func (o *WorkerComponent) GetVolumeMountsOk() (*VolumeMounts, bool)
GetVolumeMountsOk returns a tuple with the VolumeMounts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkerComponent) GetVolumes ¶
func (o *WorkerComponent) GetVolumes() []Volumes
GetVolumes returns the Volumes field value if set, zero value otherwise.
func (*WorkerComponent) GetVolumesOk ¶
func (o *WorkerComponent) GetVolumesOk() ([]Volumes, bool)
GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkerComponent) HasCmd ¶
func (o *WorkerComponent) HasCmd() bool
HasCmd returns a boolean if a field has been set.
func (*WorkerComponent) HasCpu ¶
func (o *WorkerComponent) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*WorkerComponent) HasEnv ¶
func (o *WorkerComponent) HasEnv() bool
HasEnv returns a boolean if a field has been set.
func (*WorkerComponent) HasImagePullPolicy ¶
func (o *WorkerComponent) HasImagePullPolicy() bool
HasImagePullPolicy returns a boolean if a field has been set.
func (*WorkerComponent) HasImagePullSecrets ¶
func (o *WorkerComponent) HasImagePullSecrets() bool
HasImagePullSecrets returns a boolean if a field has been set.
func (*WorkerComponent) HasLivenessProbe ¶
func (o *WorkerComponent) HasLivenessProbe() bool
HasLivenessProbe returns a boolean if a field has been set.
func (*WorkerComponent) HasMemory ¶
func (o *WorkerComponent) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (*WorkerComponent) HasReadinessProbe ¶
func (o *WorkerComponent) HasReadinessProbe() bool
HasReadinessProbe returns a boolean if a field has been set.
func (*WorkerComponent) HasVolumeMounts ¶
func (o *WorkerComponent) HasVolumeMounts() bool
HasVolumeMounts returns a boolean if a field has been set.
func (*WorkerComponent) HasVolumes ¶
func (o *WorkerComponent) HasVolumes() bool
HasVolumes returns a boolean if a field has been set.
func (*WorkerComponent) Inputs ¶
func (w *WorkerComponent) Inputs(input common.StepInputs) *WorkerComponent
func (*WorkerComponent) Outputs ¶
func (w *WorkerComponent) Outputs(output common.StepOutputs) *WorkerComponent
func (*WorkerComponent) SetCmd ¶
func (o *WorkerComponent) SetCmd(v []string) *WorkerComponent
SetCmd gets a reference to the given []string and assigns it to the cmd field. Cmd: Commands to run in the container
func (*WorkerComponent) SetCpu ¶
func (o *WorkerComponent) SetCpu(v string) *WorkerComponent
SetCpu gets a reference to the given string and assigns it to the cpu field. Cpu: Number of CPU units for the service, like `0.5` (0.5 CPU core), `1` (1 CPU core)
func (*WorkerComponent) SetEnv ¶
func (o *WorkerComponent) SetEnv(v []Env) *WorkerComponent
SetEnv gets a reference to the given []Env and assigns it to the env field. Env: Define arguments by using environment variables
func (*WorkerComponent) SetImage ¶
func (o *WorkerComponent) SetImage(v string) *WorkerComponent
SetImage sets field value
func (*WorkerComponent) SetImagePullPolicy ¶
func (o *WorkerComponent) SetImagePullPolicy(v string) *WorkerComponent
SetImagePullPolicy gets a reference to the given string and assigns it to the imagePullPolicy field. ImagePullPolicy: Specify image pull policy for your service
func (*WorkerComponent) SetImagePullSecrets ¶
func (o *WorkerComponent) SetImagePullSecrets(v []string) *WorkerComponent
SetImagePullSecrets gets a reference to the given []string and assigns it to the imagePullSecrets field. ImagePullSecrets: Specify image pull secrets for your service
func (*WorkerComponent) SetLivenessProbe ¶
func (o *WorkerComponent) SetLivenessProbe(v HealthProbe) *WorkerComponent
SetLivenessProbe gets a reference to the given HealthProbe and assigns it to the livenessProbe field. LivenessProbe:
func (*WorkerComponent) SetMemory ¶
func (o *WorkerComponent) SetMemory(v string) *WorkerComponent
SetMemory gets a reference to the given string and assigns it to the memory field. Memory: Specifies the attributes of the memory resource required for the container.
func (*WorkerComponent) SetReadinessProbe ¶
func (o *WorkerComponent) SetReadinessProbe(v HealthProbe) *WorkerComponent
SetReadinessProbe gets a reference to the given HealthProbe and assigns it to the readinessProbe field. ReadinessProbe:
func (*WorkerComponent) SetTraits ¶
func (w *WorkerComponent) SetTraits(traits ...apis.Trait) *WorkerComponent
func (*WorkerComponent) SetVolumeMounts ¶
func (o *WorkerComponent) SetVolumeMounts(v VolumeMounts) *WorkerComponent
SetVolumeMounts gets a reference to the given VolumeMounts and assigns it to the volumeMounts field. VolumeMounts:
func (*WorkerComponent) SetVolumes ¶
func (o *WorkerComponent) SetVolumes(v []Volumes) *WorkerComponent
SetVolumes gets a reference to the given []Volumes and assigns it to the volumes field. Volumes: Deprecated field, use volumeMounts instead.
func (*WorkerComponent) Validate ¶
func (o *WorkerComponent) Validate() error
Validate validates this WorkerSpec 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 WorkerSpec ¶
type WorkerSpec struct { // Commands to run in the container Cmd []string `json:"cmd,omitempty"` // Number of CPU units for the service, like `0.5` (0.5 CPU core), `1` (1 CPU core) Cpu *string `json:"cpu,omitempty"` // Define arguments by using environment variables Env []Env `json:"env,omitempty"` // Which image would you like to use for your service +short=i Image *string `json:"image"` // Specify image pull policy for your service ImagePullPolicy *string `json:"imagePullPolicy,omitempty"` // Specify image pull secrets for your service ImagePullSecrets []string `json:"imagePullSecrets,omitempty"` LivenessProbe *HealthProbe `json:"livenessProbe,omitempty"` // Specifies the attributes of the memory resource required for the container. Memory *string `json:"memory,omitempty"` ReadinessProbe *HealthProbe `json:"readinessProbe,omitempty"` VolumeMounts *VolumeMounts `json:"volumeMounts,omitempty"` // Deprecated field, use volumeMounts instead. Volumes []Volumes `json:"volumes,omitempty"` }
WorkerSpec struct for WorkerSpec
func NewWorkerSpec ¶
func NewWorkerSpec() *WorkerSpec
NewWorkerSpec is short for NewWorkerSpecWithDefault which instantiates a new WorkerSpec 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 NewWorkerSpecEmpty ¶
func NewWorkerSpecEmpty() *WorkerSpec
NewWorkerSpecEmpty instantiates a new WorkerSpec object with no properties set. This constructor will not assign any default values to properties.
func NewWorkerSpecList ¶
func NewWorkerSpecList(ps ...*WorkerSpec) []WorkerSpec
NewWorkerSpecs converts a list WorkerSpec pointers to objects. This is helpful when the SetWorkerSpec requires a list of objects
func NewWorkerSpecWith ¶
func NewWorkerSpecWith(image string) *WorkerSpec
NewWorkerSpecWith instantiates a new WorkerSpec 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 NewWorkerSpecWithDefault ¶
func NewWorkerSpecWithDefault() *WorkerSpec
NewWorkerSpecWithDefault instantiates a new WorkerSpec 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 (WorkerSpec) MarshalJSON ¶
func (o WorkerSpec) MarshalJSON() ([]byte, error)
func (WorkerSpec) ToMap ¶
func (o WorkerSpec) ToMap() (map[string]interface{}, error)