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 DaemonComponent
- func (d *DaemonComponent) AddDependsOn(dependsOn string) *DaemonComponent
- func (d *DaemonComponent) Build() common.ApplicationComponent
- func (d *DaemonComponent) ComponentName() string
- func (d *DaemonComponent) DefType() string
- func (d *DaemonComponent) DependsOn(dependsOn []string) *DaemonComponent
- func (d *DaemonComponent) FromComponent(from common.ApplicationComponent) (*DaemonComponent, error)
- func (o *DaemonComponent) GetAddRevisionLabel() bool
- func (o *DaemonComponent) GetAddRevisionLabelOk() (*bool, bool)
- func (d *DaemonComponent) GetAllTraits() []apis.Trait
- func (o *DaemonComponent) GetAnnotations() map[string]string
- func (o *DaemonComponent) GetAnnotationsOk() (map[string]string, bool)
- func (o *DaemonComponent) GetCmd() []string
- func (o *DaemonComponent) GetCmdOk() ([]string, bool)
- func (o *DaemonComponent) GetCpu() string
- func (o *DaemonComponent) GetCpuOk() (*string, bool)
- func (o *DaemonComponent) GetEnv() []Env
- func (o *DaemonComponent) GetEnvOk() ([]Env, bool)
- func (o *DaemonComponent) GetExposeType() string
- func (o *DaemonComponent) GetExposeTypeOk() (*string, bool)
- func (o *DaemonComponent) GetHostAliases() []HostAliases
- func (o *DaemonComponent) GetHostAliasesOk() ([]HostAliases, bool)
- func (o *DaemonComponent) GetImage() string
- func (o *DaemonComponent) GetImageOk() (*string, bool)
- func (o *DaemonComponent) GetImagePullPolicy() string
- func (o *DaemonComponent) GetImagePullPolicyOk() (*string, bool)
- func (o *DaemonComponent) GetImagePullSecrets() []string
- func (o *DaemonComponent) GetImagePullSecretsOk() ([]string, bool)
- func (o *DaemonComponent) GetLabels() map[string]string
- func (o *DaemonComponent) GetLabelsOk() (map[string]string, bool)
- func (o *DaemonComponent) GetLivenessProbe() HealthProbe
- func (o *DaemonComponent) GetLivenessProbeOk() (*HealthProbe, bool)
- func (o *DaemonComponent) GetMemory() string
- func (o *DaemonComponent) GetMemoryOk() (*string, bool)
- func (o *DaemonComponent) GetPort() int32
- func (o *DaemonComponent) GetPortOk() (*int32, bool)
- func (o *DaemonComponent) GetPorts() []Ports
- func (o *DaemonComponent) GetPortsOk() ([]Ports, bool)
- func (o *DaemonComponent) GetReadinessProbe() HealthProbe
- func (o *DaemonComponent) GetReadinessProbeOk() (*HealthProbe, bool)
- func (d *DaemonComponent) GetTrait(typ string) apis.Trait
- func (o *DaemonComponent) GetVolumeMounts() VolumeMounts
- func (o *DaemonComponent) GetVolumeMountsOk() (*VolumeMounts, bool)
- func (o *DaemonComponent) GetVolumes() []Volumes
- func (o *DaemonComponent) GetVolumesOk() ([]Volumes, bool)
- func (o *DaemonComponent) HasAnnotations() bool
- func (o *DaemonComponent) HasCmd() bool
- func (o *DaemonComponent) HasCpu() bool
- func (o *DaemonComponent) HasEnv() bool
- func (o *DaemonComponent) HasHostAliases() bool
- func (o *DaemonComponent) HasImagePullPolicy() bool
- func (o *DaemonComponent) HasImagePullSecrets() bool
- func (o *DaemonComponent) HasLabels() bool
- func (o *DaemonComponent) HasLivenessProbe() bool
- func (o *DaemonComponent) HasMemory() bool
- func (o *DaemonComponent) HasPort() bool
- func (o *DaemonComponent) HasPorts() bool
- func (o *DaemonComponent) HasReadinessProbe() bool
- func (o *DaemonComponent) HasVolumeMounts() bool
- func (o *DaemonComponent) HasVolumes() bool
- func (d *DaemonComponent) Inputs(input common.StepInputs) *DaemonComponent
- func (d *DaemonComponent) Outputs(output common.StepOutputs) *DaemonComponent
- func (o *DaemonComponent) SetAddRevisionLabel(v bool) *DaemonComponent
- func (o *DaemonComponent) SetAnnotations(v map[string]string) *DaemonComponent
- func (o *DaemonComponent) SetCmd(v []string) *DaemonComponent
- func (o *DaemonComponent) SetCpu(v string) *DaemonComponent
- func (o *DaemonComponent) SetEnv(v []Env) *DaemonComponent
- func (o *DaemonComponent) SetExposeType(v string) *DaemonComponent
- func (o *DaemonComponent) SetHostAliases(v []HostAliases) *DaemonComponent
- func (o *DaemonComponent) SetImage(v string) *DaemonComponent
- func (o *DaemonComponent) SetImagePullPolicy(v string) *DaemonComponent
- func (o *DaemonComponent) SetImagePullSecrets(v []string) *DaemonComponent
- func (o *DaemonComponent) SetLabels(v map[string]string) *DaemonComponent
- func (o *DaemonComponent) SetLivenessProbe(v HealthProbe) *DaemonComponent
- func (o *DaemonComponent) SetMemory(v string) *DaemonComponent
- func (o *DaemonComponent) SetPort(v int32) *DaemonComponent
- func (o *DaemonComponent) SetPorts(v []Ports) *DaemonComponent
- func (o *DaemonComponent) SetReadinessProbe(v HealthProbe) *DaemonComponent
- func (d *DaemonComponent) SetTraits(traits ...apis.Trait) *DaemonComponent
- func (o *DaemonComponent) SetVolumeMounts(v VolumeMounts) *DaemonComponent
- func (o *DaemonComponent) SetVolumes(v []Volumes) *DaemonComponent
- func (o *DaemonComponent) Validate() error
- type DaemonSpec
- 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 HostAliases
- func (o *HostAliases) GetHostnames() []string
- func (o *HostAliases) GetHostnamesOk() ([]string, bool)
- func (o *HostAliases) GetIp() string
- func (o *HostAliases) GetIpOk() (*string, bool)
- func (o HostAliases) MarshalJSON() ([]byte, error)
- func (o *HostAliases) SetHostnames(v []string) *HostAliases
- func (o *HostAliases) SetIp(v string) *HostAliases
- func (o HostAliases) ToMap() (map[string]interface{}, error)
- func (o *HostAliases) Validate() error
- type HostPath
- func (o *HostPath) GetMountPath() string
- func (o *HostPath) GetMountPathOk() (*string, bool)
- func (o *HostPath) GetMountPropagation() string
- func (o *HostPath) GetMountPropagationOk() (*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) GetReadOnly() bool
- func (o *HostPath) GetReadOnlyOk() (*bool, bool)
- func (o *HostPath) HasMountPropagation() bool
- func (o *HostPath) HasReadOnly() bool
- func (o HostPath) MarshalJSON() ([]byte, error)
- func (o *HostPath) SetMountPath(v string) *HostPath
- func (o *HostPath) SetMountPropagation(v string) *HostPath
- func (o *HostPath) SetName(v string) *HostPath
- func (o *HostPath) SetPath(v string) *HostPath
- func (o *HostPath) SetReadOnly(v bool) *HostPath
- func (o HostPath) ToMap() (map[string]interface{}, error)
- func (o *HostPath) Validate() error
- type HttpGet
- func (o *HttpGet) GetHost() string
- func (o *HttpGet) GetHostOk() (*string, bool)
- 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) GetScheme() string
- func (o *HttpGet) GetSchemeOk() (*string, bool)
- func (o *HttpGet) HasHost() bool
- func (o *HttpGet) HasHttpHeaders() bool
- func (o *HttpGet) HasScheme() bool
- func (o HttpGet) MarshalJSON() ([]byte, error)
- func (o *HttpGet) SetHost(v string) *HttpGet
- func (o *HttpGet) SetHttpHeaders(v []HttpHeaders) *HttpGet
- func (o *HttpGet) SetPath(v string) *HttpGet
- func (o *HttpGet) SetPort(v int32) *HttpGet
- func (o *HttpGet) SetScheme(v string) *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 NullableDaemonSpec
- 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 NullableHostAliases
- func (v *NullableHostAliases) Get() *HostAliases
- func (v *NullableHostAliases) IsSet() bool
- func (v NullableHostAliases) MarshalJSON() ([]byte, error)
- func (v *NullableHostAliases) Set(val *HostAliases)
- func (v *NullableHostAliases) UnmarshalJSON(src []byte) error
- func (v *NullableHostAliases) 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 NullablePorts
- 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 Ports
- func (o *Ports) GetExpose() bool
- func (o *Ports) GetExposeOk() (*bool, bool)
- func (o *Ports) GetName() string
- func (o *Ports) GetNameOk() (*string, bool)
- func (o *Ports) GetPort() int32
- func (o *Ports) GetPortOk() (*int32, bool)
- func (o *Ports) GetProtocol() string
- func (o *Ports) GetProtocolOk() (*string, bool)
- func (o *Ports) HasName() bool
- func (o Ports) MarshalJSON() ([]byte, error)
- func (o *Ports) SetExpose(v bool) *Ports
- func (o *Ports) SetName(v string) *Ports
- func (o *Ports) SetPort(v int32) *Ports
- func (o *Ports) SetProtocol(v string) *Ports
- func (o Ports) ToMap() (map[string]interface{}, error)
- func (o *Ports) Validate() error
- 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
Constants ¶
const DaemonType = "daemon"
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 DaemonComponent ¶
type DaemonComponent struct { Base apis.ComponentBase Properties DaemonSpec }
func Daemon ¶
func Daemon(name string) *DaemonComponent
func (*DaemonComponent) AddDependsOn ¶
func (d *DaemonComponent) AddDependsOn(dependsOn string) *DaemonComponent
func (*DaemonComponent) Build ¶
func (d *DaemonComponent) Build() common.ApplicationComponent
func (*DaemonComponent) ComponentName ¶
func (d *DaemonComponent) ComponentName() string
func (*DaemonComponent) DefType ¶
func (d *DaemonComponent) DefType() string
func (*DaemonComponent) DependsOn ¶
func (d *DaemonComponent) DependsOn(dependsOn []string) *DaemonComponent
func (*DaemonComponent) FromComponent ¶
func (d *DaemonComponent) FromComponent(from common.ApplicationComponent) (*DaemonComponent, error)
func (*DaemonComponent) GetAddRevisionLabel ¶
func (o *DaemonComponent) GetAddRevisionLabel() bool
GetAddRevisionLabel returns the AddRevisionLabel field value
func (*DaemonComponent) GetAddRevisionLabelOk ¶
func (o *DaemonComponent) GetAddRevisionLabelOk() (*bool, bool)
GetAddRevisionLabelOk returns a tuple with the AddRevisionLabel field value and a boolean to check if the value has been set.
func (*DaemonComponent) GetAllTraits ¶
func (d *DaemonComponent) GetAllTraits() []apis.Trait
func (*DaemonComponent) GetAnnotations ¶
func (o *DaemonComponent) GetAnnotations() map[string]string
GetAnnotations returns the Annotations field value if set, zero value otherwise.
func (*DaemonComponent) GetAnnotationsOk ¶
func (o *DaemonComponent) GetAnnotationsOk() (map[string]string, bool)
GetAnnotationsOk returns a tuple with the Annotations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DaemonComponent) GetCmd ¶
func (o *DaemonComponent) GetCmd() []string
GetCmd returns the Cmd field value if set, zero value otherwise.
func (*DaemonComponent) GetCmdOk ¶
func (o *DaemonComponent) 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 (*DaemonComponent) GetCpu ¶
func (o *DaemonComponent) GetCpu() string
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*DaemonComponent) GetCpuOk ¶
func (o *DaemonComponent) 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 (*DaemonComponent) GetEnv ¶
func (o *DaemonComponent) GetEnv() []Env
GetEnv returns the Env field value if set, zero value otherwise.
func (*DaemonComponent) GetEnvOk ¶
func (o *DaemonComponent) 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 (*DaemonComponent) GetExposeType ¶
func (o *DaemonComponent) GetExposeType() string
GetExposeType returns the ExposeType field value
func (*DaemonComponent) GetExposeTypeOk ¶
func (o *DaemonComponent) GetExposeTypeOk() (*string, bool)
GetExposeTypeOk returns a tuple with the ExposeType field value and a boolean to check if the value has been set.
func (*DaemonComponent) GetHostAliases ¶
func (o *DaemonComponent) GetHostAliases() []HostAliases
GetHostAliases returns the HostAliases field value if set, zero value otherwise.
func (*DaemonComponent) GetHostAliasesOk ¶
func (o *DaemonComponent) GetHostAliasesOk() ([]HostAliases, bool)
GetHostAliasesOk returns a tuple with the HostAliases field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DaemonComponent) GetImage ¶
func (o *DaemonComponent) GetImage() string
GetImage returns the Image field value
func (*DaemonComponent) GetImageOk ¶
func (o *DaemonComponent) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*DaemonComponent) GetImagePullPolicy ¶
func (o *DaemonComponent) GetImagePullPolicy() string
GetImagePullPolicy returns the ImagePullPolicy field value if set, zero value otherwise.
func (*DaemonComponent) GetImagePullPolicyOk ¶
func (o *DaemonComponent) 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 (*DaemonComponent) GetImagePullSecrets ¶
func (o *DaemonComponent) GetImagePullSecrets() []string
GetImagePullSecrets returns the ImagePullSecrets field value if set, zero value otherwise.
func (*DaemonComponent) GetImagePullSecretsOk ¶
func (o *DaemonComponent) 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 (*DaemonComponent) GetLabels ¶
func (o *DaemonComponent) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*DaemonComponent) GetLabelsOk ¶
func (o *DaemonComponent) GetLabelsOk() (map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DaemonComponent) GetLivenessProbe ¶
func (o *DaemonComponent) GetLivenessProbe() HealthProbe
GetLivenessProbe returns the LivenessProbe field value if set, zero value otherwise.
func (*DaemonComponent) GetLivenessProbeOk ¶
func (o *DaemonComponent) 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 (*DaemonComponent) GetMemory ¶
func (o *DaemonComponent) GetMemory() string
GetMemory returns the Memory field value if set, zero value otherwise.
func (*DaemonComponent) GetMemoryOk ¶
func (o *DaemonComponent) 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 (*DaemonComponent) GetPort ¶
func (o *DaemonComponent) GetPort() int32
GetPort returns the Port field value if set, zero value otherwise.
func (*DaemonComponent) GetPortOk ¶
func (o *DaemonComponent) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DaemonComponent) GetPorts ¶
func (o *DaemonComponent) GetPorts() []Ports
GetPorts returns the Ports field value if set, zero value otherwise.
func (*DaemonComponent) GetPortsOk ¶
func (o *DaemonComponent) GetPortsOk() ([]Ports, bool)
GetPortsOk returns a tuple with the Ports field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DaemonComponent) GetReadinessProbe ¶
func (o *DaemonComponent) GetReadinessProbe() HealthProbe
GetReadinessProbe returns the ReadinessProbe field value if set, zero value otherwise.
func (*DaemonComponent) GetReadinessProbeOk ¶
func (o *DaemonComponent) 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 (*DaemonComponent) GetVolumeMounts ¶
func (o *DaemonComponent) GetVolumeMounts() VolumeMounts
GetVolumeMounts returns the VolumeMounts field value if set, zero value otherwise.
func (*DaemonComponent) GetVolumeMountsOk ¶
func (o *DaemonComponent) 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 (*DaemonComponent) GetVolumes ¶
func (o *DaemonComponent) GetVolumes() []Volumes
GetVolumes returns the Volumes field value if set, zero value otherwise.
func (*DaemonComponent) GetVolumesOk ¶
func (o *DaemonComponent) 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 (*DaemonComponent) HasAnnotations ¶
func (o *DaemonComponent) HasAnnotations() bool
HasAnnotations returns a boolean if a field has been set.
func (*DaemonComponent) HasCmd ¶
func (o *DaemonComponent) HasCmd() bool
HasCmd returns a boolean if a field has been set.
func (*DaemonComponent) HasCpu ¶
func (o *DaemonComponent) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*DaemonComponent) HasEnv ¶
func (o *DaemonComponent) HasEnv() bool
HasEnv returns a boolean if a field has been set.
func (*DaemonComponent) HasHostAliases ¶
func (o *DaemonComponent) HasHostAliases() bool
HasHostAliases returns a boolean if a field has been set.
func (*DaemonComponent) HasImagePullPolicy ¶
func (o *DaemonComponent) HasImagePullPolicy() bool
HasImagePullPolicy returns a boolean if a field has been set.
func (*DaemonComponent) HasImagePullSecrets ¶
func (o *DaemonComponent) HasImagePullSecrets() bool
HasImagePullSecrets returns a boolean if a field has been set.
func (*DaemonComponent) HasLabels ¶
func (o *DaemonComponent) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*DaemonComponent) HasLivenessProbe ¶
func (o *DaemonComponent) HasLivenessProbe() bool
HasLivenessProbe returns a boolean if a field has been set.
func (*DaemonComponent) HasMemory ¶
func (o *DaemonComponent) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (*DaemonComponent) HasPort ¶
func (o *DaemonComponent) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*DaemonComponent) HasPorts ¶
func (o *DaemonComponent) HasPorts() bool
HasPorts returns a boolean if a field has been set.
func (*DaemonComponent) HasReadinessProbe ¶
func (o *DaemonComponent) HasReadinessProbe() bool
HasReadinessProbe returns a boolean if a field has been set.
func (*DaemonComponent) HasVolumeMounts ¶
func (o *DaemonComponent) HasVolumeMounts() bool
HasVolumeMounts returns a boolean if a field has been set.
func (*DaemonComponent) HasVolumes ¶
func (o *DaemonComponent) HasVolumes() bool
HasVolumes returns a boolean if a field has been set.
func (*DaemonComponent) Inputs ¶
func (d *DaemonComponent) Inputs(input common.StepInputs) *DaemonComponent
func (*DaemonComponent) Outputs ¶
func (d *DaemonComponent) Outputs(output common.StepOutputs) *DaemonComponent
func (*DaemonComponent) SetAddRevisionLabel ¶
func (o *DaemonComponent) SetAddRevisionLabel(v bool) *DaemonComponent
SetAddRevisionLabel sets field value
func (*DaemonComponent) SetAnnotations ¶
func (o *DaemonComponent) SetAnnotations(v map[string]string) *DaemonComponent
SetAnnotations gets a reference to the given map[string]string and assigns it to the annotations field. Annotations: Specify the annotations in the workload
func (*DaemonComponent) SetCmd ¶
func (o *DaemonComponent) SetCmd(v []string) *DaemonComponent
SetCmd gets a reference to the given []string and assigns it to the cmd field. Cmd: Commands to run in the container
func (*DaemonComponent) SetCpu ¶
func (o *DaemonComponent) SetCpu(v string) *DaemonComponent
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 (*DaemonComponent) SetEnv ¶
func (o *DaemonComponent) SetEnv(v []Env) *DaemonComponent
SetEnv gets a reference to the given []Env and assigns it to the env field. Env: Define arguments by using environment variables
func (*DaemonComponent) SetExposeType ¶
func (o *DaemonComponent) SetExposeType(v string) *DaemonComponent
SetExposeType sets field value
func (*DaemonComponent) SetHostAliases ¶
func (o *DaemonComponent) SetHostAliases(v []HostAliases) *DaemonComponent
SetHostAliases gets a reference to the given []HostAliases and assigns it to the hostAliases field. HostAliases: Specify the hostAliases to add
func (*DaemonComponent) SetImage ¶
func (o *DaemonComponent) SetImage(v string) *DaemonComponent
SetImage sets field value
func (*DaemonComponent) SetImagePullPolicy ¶
func (o *DaemonComponent) SetImagePullPolicy(v string) *DaemonComponent
SetImagePullPolicy gets a reference to the given string and assigns it to the imagePullPolicy field. ImagePullPolicy: Specify image pull policy for your service
func (*DaemonComponent) SetImagePullSecrets ¶
func (o *DaemonComponent) SetImagePullSecrets(v []string) *DaemonComponent
SetImagePullSecrets gets a reference to the given []string and assigns it to the imagePullSecrets field. ImagePullSecrets: Specify image pull secrets for your service
func (*DaemonComponent) SetLabels ¶
func (o *DaemonComponent) SetLabels(v map[string]string) *DaemonComponent
SetLabels gets a reference to the given map[string]string and assigns it to the labels field. Labels: Specify the labels in the workload
func (*DaemonComponent) SetLivenessProbe ¶
func (o *DaemonComponent) SetLivenessProbe(v HealthProbe) *DaemonComponent
SetLivenessProbe gets a reference to the given HealthProbe and assigns it to the livenessProbe field. LivenessProbe:
func (*DaemonComponent) SetMemory ¶
func (o *DaemonComponent) SetMemory(v string) *DaemonComponent
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 (*DaemonComponent) SetPort ¶
func (o *DaemonComponent) SetPort(v int32) *DaemonComponent
SetPort gets a reference to the given int32 and assigns it to the port field. Port:
func (*DaemonComponent) SetPorts ¶
func (o *DaemonComponent) SetPorts(v []Ports) *DaemonComponent
SetPorts gets a reference to the given []Ports and assigns it to the ports field. Ports: Which ports do you want customer traffic sent to, defaults to 80
func (*DaemonComponent) SetReadinessProbe ¶
func (o *DaemonComponent) SetReadinessProbe(v HealthProbe) *DaemonComponent
SetReadinessProbe gets a reference to the given HealthProbe and assigns it to the readinessProbe field. ReadinessProbe:
func (*DaemonComponent) SetTraits ¶
func (d *DaemonComponent) SetTraits(traits ...apis.Trait) *DaemonComponent
func (*DaemonComponent) SetVolumeMounts ¶
func (o *DaemonComponent) SetVolumeMounts(v VolumeMounts) *DaemonComponent
SetVolumeMounts gets a reference to the given VolumeMounts and assigns it to the volumeMounts field. VolumeMounts:
func (*DaemonComponent) SetVolumes ¶
func (o *DaemonComponent) SetVolumes(v []Volumes) *DaemonComponent
SetVolumes gets a reference to the given []Volumes and assigns it to the volumes field. Volumes: Deprecated field, use volumeMounts instead.
func (*DaemonComponent) Validate ¶
func (o *DaemonComponent) Validate() error
Validate validates this DaemonSpec 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 DaemonSpec ¶
type DaemonSpec struct { AddRevisionLabel *bool `json:"addRevisionLabel"` // Specify the annotations in the workload Annotations map[string]string `json:"annotations,omitempty"` // 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"` ExposeType *string `json:"exposeType"` // Specify the hostAliases to add HostAliases []HostAliases `json:"hostAliases,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"` // Specify the labels in the workload Labels map[string]string `json:"labels,omitempty"` LivenessProbe *HealthProbe `json:"livenessProbe,omitempty"` // Specifies the attributes of the memory resource required for the container. Memory *string `json:"memory,omitempty"` Port *int32 `json:"port,omitempty"` // Which ports do you want customer traffic sent to, defaults to 80 Ports []Ports `json:"ports,omitempty"` ReadinessProbe *HealthProbe `json:"readinessProbe,omitempty"` VolumeMounts *VolumeMounts `json:"volumeMounts,omitempty"` // Deprecated field, use volumeMounts instead. Volumes []Volumes `json:"volumes,omitempty"` }
DaemonSpec struct for DaemonSpec
func NewDaemonSpec ¶
func NewDaemonSpec() *DaemonSpec
NewDaemonSpec is short for NewDaemonSpecWithDefault which instantiates a new DaemonSpec 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 NewDaemonSpecEmpty ¶
func NewDaemonSpecEmpty() *DaemonSpec
NewDaemonSpecEmpty instantiates a new DaemonSpec object with no properties set. This constructor will not assign any default values to properties.
func NewDaemonSpecList ¶
func NewDaemonSpecList(ps ...*DaemonSpec) []DaemonSpec
NewDaemonSpecs converts a list DaemonSpec pointers to objects. This is helpful when the SetDaemonSpec requires a list of objects
func NewDaemonSpecWith ¶
func NewDaemonSpecWith(addRevisionLabel bool, exposeType string, image string) *DaemonSpec
NewDaemonSpecWith instantiates a new DaemonSpec 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 NewDaemonSpecWithDefault ¶
func NewDaemonSpecWithDefault() *DaemonSpec
NewDaemonSpecWithDefault instantiates a new DaemonSpec 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 (DaemonSpec) MarshalJSON ¶
func (o DaemonSpec) MarshalJSON() ([]byte, error)
func (DaemonSpec) ToMap ¶
func (o DaemonSpec) ToMap() (map[string]interface{}, error)
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 HostAliases ¶
HostAliases struct for HostAliases
func NewHostAliases ¶
func NewHostAliases() *HostAliases
NewHostAliases is short for NewHostAliasesWithDefault which instantiates a new HostAliases 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 NewHostAliasesEmpty ¶
func NewHostAliasesEmpty() *HostAliases
NewHostAliasesEmpty instantiates a new HostAliases object with no properties set. This constructor will not assign any default values to properties.
func NewHostAliasesList ¶
func NewHostAliasesList(ps ...*HostAliases) []HostAliases
NewHostAliasess converts a list HostAliases pointers to objects. This is helpful when the SetHostAliases requires a list of objects
func NewHostAliasesWith ¶
func NewHostAliasesWith(hostnames []string, ip string) *HostAliases
NewHostAliasesWith instantiates a new HostAliases 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 NewHostAliasesWithDefault ¶
func NewHostAliasesWithDefault() *HostAliases
NewHostAliasesWithDefault instantiates a new HostAliases 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 (*HostAliases) GetHostnames ¶
func (o *HostAliases) GetHostnames() []string
GetHostnames returns the Hostnames field value
func (*HostAliases) GetHostnamesOk ¶
func (o *HostAliases) GetHostnamesOk() ([]string, bool)
GetHostnamesOk returns a tuple with the Hostnames field value and a boolean to check if the value has been set.
func (*HostAliases) GetIpOk ¶
func (o *HostAliases) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value and a boolean to check if the value has been set.
func (HostAliases) MarshalJSON ¶
func (o HostAliases) MarshalJSON() ([]byte, error)
func (*HostAliases) SetHostnames ¶
func (o *HostAliases) SetHostnames(v []string) *HostAliases
SetHostnames sets field value
func (*HostAliases) SetIp ¶
func (o *HostAliases) SetIp(v string) *HostAliases
SetIp sets field value
func (HostAliases) ToMap ¶
func (o HostAliases) ToMap() (map[string]interface{}, error)
func (*HostAliases) Validate ¶
func (o *HostAliases) Validate() error
Validate validates this HostAliases 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"` MountPropagation *string `json:"mountPropagation,omitempty"` Name *string `json:"name"` Path *string `json:"path"` ReadOnly *bool `json:"readOnly,omitempty"` }
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) GetMountPropagation ¶
GetMountPropagation returns the MountPropagation field value if set, zero value otherwise.
func (*HostPath) GetMountPropagationOk ¶
GetMountPropagationOk returns a tuple with the MountPropagation field value if set, nil otherwise 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) GetReadOnly ¶
GetReadOnly returns the ReadOnly field value if set, zero value otherwise.
func (*HostPath) GetReadOnlyOk ¶
GetReadOnlyOk returns a tuple with the ReadOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HostPath) HasMountPropagation ¶
HasMountPropagation returns a boolean if a field has been set.
func (*HostPath) HasReadOnly ¶
HasReadOnly returns a boolean if a field has been set.
func (HostPath) MarshalJSON ¶
func (*HostPath) SetMountPath ¶
SetMountPath sets field value
func (*HostPath) SetMountPropagation ¶
SetMountPropagation gets a reference to the given string and assigns it to the mountPropagation field. MountPropagation:
func (*HostPath) SetReadOnly ¶
SetReadOnly gets a reference to the given bool and assigns it to the readOnly field. ReadOnly:
type HttpGet ¶
type HttpGet struct { Host *string `json:"host,omitempty"` 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"` Scheme *string `json:"scheme,omitempty"` }
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) GetHostOk ¶
GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been 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) GetSchemeOk ¶
GetSchemeOk returns a tuple with the Scheme field value if set, nil otherwise 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) SetHost ¶
SetHost gets a reference to the given string and assigns it to the host field. Host:
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 NullableDaemonSpec ¶
type NullableDaemonSpec struct {
// contains filtered or unexported fields
}
func NewNullableDaemonSpec ¶
func NewNullableDaemonSpec(val *DaemonSpec) *NullableDaemonSpec
func (*NullableDaemonSpec) Get ¶
func (v *NullableDaemonSpec) Get() *DaemonSpec
func (*NullableDaemonSpec) IsSet ¶
func (v *NullableDaemonSpec) IsSet() bool
func (NullableDaemonSpec) MarshalJSON ¶
func (v NullableDaemonSpec) MarshalJSON() ([]byte, error)
func (*NullableDaemonSpec) Set ¶
func (v *NullableDaemonSpec) Set(val *DaemonSpec)
func (*NullableDaemonSpec) UnmarshalJSON ¶
func (v *NullableDaemonSpec) UnmarshalJSON(src []byte) error
func (*NullableDaemonSpec) Unset ¶
func (v *NullableDaemonSpec) 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 NullableHostAliases ¶
type NullableHostAliases struct {
// contains filtered or unexported fields
}
func NewNullableHostAliases ¶
func NewNullableHostAliases(val *HostAliases) *NullableHostAliases
func (*NullableHostAliases) Get ¶
func (v *NullableHostAliases) Get() *HostAliases
func (*NullableHostAliases) IsSet ¶
func (v *NullableHostAliases) IsSet() bool
func (NullableHostAliases) MarshalJSON ¶
func (v NullableHostAliases) MarshalJSON() ([]byte, error)
func (*NullableHostAliases) Set ¶
func (v *NullableHostAliases) Set(val *HostAliases)
func (*NullableHostAliases) UnmarshalJSON ¶
func (v *NullableHostAliases) UnmarshalJSON(src []byte) error
func (*NullableHostAliases) Unset ¶
func (v *NullableHostAliases) 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 NullablePorts ¶
type NullablePorts struct {
// contains filtered or unexported fields
}
func NewNullablePorts ¶
func NewNullablePorts(val *Ports) *NullablePorts
func (*NullablePorts) Get ¶
func (v *NullablePorts) Get() *Ports
func (*NullablePorts) IsSet ¶
func (v *NullablePorts) IsSet() bool
func (NullablePorts) MarshalJSON ¶
func (v NullablePorts) MarshalJSON() ([]byte, error)
func (*NullablePorts) Set ¶
func (v *NullablePorts) Set(val *Ports)
func (*NullablePorts) UnmarshalJSON ¶
func (v *NullablePorts) UnmarshalJSON(src []byte) error
func (*NullablePorts) Unset ¶
func (v *NullablePorts) 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 Ports ¶
type Ports struct { // Specify if the port should be exposed Expose *bool `json:"expose"` // Name of the port Name *string `json:"name,omitempty"` // Number of port to expose on the pod's IP address Port *int32 `json:"port"` // Protocol for port. Must be UDP, TCP, or SCTP Protocol *string `json:"protocol"` }
Ports struct for Ports
func NewPorts ¶
func NewPorts() *Ports
NewPorts is short for NewPortsWithDefault which instantiates a new Ports 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 NewPortsEmpty ¶
func NewPortsEmpty() *Ports
NewPortsEmpty instantiates a new Ports object with no properties set. This constructor will not assign any default values to properties.
func NewPortsList ¶
NewPortss converts a list Ports pointers to objects. This is helpful when the SetPorts requires a list of objects
func NewPortsWith ¶
NewPortsWith instantiates a new Ports 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 NewPortsWithDefault ¶
func NewPortsWithDefault() *Ports
NewPortsWithDefault instantiates a new Ports 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 (*Ports) GetExposeOk ¶
GetExposeOk returns a tuple with the Expose field value and a boolean to check if the value has been set.
func (*Ports) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ports) GetPortOk ¶
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (*Ports) GetProtocol ¶
GetProtocol returns the Protocol field value
func (*Ports) GetProtocolOk ¶
GetProtocolOk returns a tuple with the Protocol field value and a boolean to check if the value has been set.
func (Ports) MarshalJSON ¶
func (*Ports) SetName ¶
SetName gets a reference to the given string and assigns it to the name field. Name: Name of the port
func (*Ports) SetProtocol ¶
SetProtocol sets field value
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