Documentation ¶
Index ¶
- Constants
- func FromTrait(from common.ApplicationTrait) (apis.Trait, error)
- type ConfigMapKeyRef
- func (o *ConfigMapKeyRef) GetKey() string
- func (o *ConfigMapKeyRef) GetKeyOk() (*string, bool)
- func (o *ConfigMapKeyRef) GetName() string
- func (o *ConfigMapKeyRef) GetNameOk() (*string, bool)
- func (o ConfigMapKeyRef) MarshalJSON() ([]byte, error)
- func (o *ConfigMapKeyRef) SetKey(v string) *ConfigMapKeyRef
- func (o *ConfigMapKeyRef) SetName(v string) *ConfigMapKeyRef
- func (o ConfigMapKeyRef) ToMap() (map[string]interface{}, error)
- func (o *ConfigMapKeyRef) Validate() error
- type Env
- func (o *Env) GetName() string
- func (o *Env) GetNameOk() (*string, bool)
- func (o *Env) GetValue() string
- func (o *Env) GetValueFrom() ValueFrom
- func (o *Env) GetValueFromOk() (*ValueFrom, bool)
- func (o *Env) GetValueOk() (*string, bool)
- func (o *Env) HasValue() bool
- func (o *Env) HasValueFrom() bool
- func (o Env) MarshalJSON() ([]byte, error)
- func (o *Env) SetName(v string) *Env
- func (o *Env) SetValue(v string) *Env
- func (o *Env) SetValueFrom(v ValueFrom) *Env
- func (o Env) ToMap() (map[string]interface{}, error)
- func (o *Env) Validate() error
- type Exec
- type FieldRef
- 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 HttpGet
- func (o *HttpGet) GetHttpHeaders() []HttpHeaders
- func (o *HttpGet) GetHttpHeadersOk() ([]HttpHeaders, bool)
- func (o *HttpGet) GetPath() string
- func (o *HttpGet) GetPathOk() (*string, bool)
- func (o *HttpGet) GetPort() int32
- func (o *HttpGet) GetPortOk() (*int32, bool)
- func (o *HttpGet) HasHttpHeaders() bool
- func (o HttpGet) MarshalJSON() ([]byte, error)
- func (o *HttpGet) SetHttpHeaders(v []HttpHeaders) *HttpGet
- func (o *HttpGet) SetPath(v string) *HttpGet
- func (o *HttpGet) SetPort(v int32) *HttpGet
- func (o HttpGet) ToMap() (map[string]interface{}, error)
- func (o *HttpGet) Validate() error
- type HttpHeaders
- func (o *HttpHeaders) GetName() string
- func (o *HttpHeaders) GetNameOk() (*string, bool)
- func (o *HttpHeaders) GetValue() string
- func (o *HttpHeaders) GetValueOk() (*string, bool)
- func (o HttpHeaders) MarshalJSON() ([]byte, error)
- func (o *HttpHeaders) SetName(v string) *HttpHeaders
- func (o *HttpHeaders) SetValue(v string) *HttpHeaders
- func (o HttpHeaders) ToMap() (map[string]interface{}, error)
- func (o *HttpHeaders) Validate() error
- type NullableConfigMapKeyRef
- func (v *NullableConfigMapKeyRef) Get() *ConfigMapKeyRef
- func (v *NullableConfigMapKeyRef) IsSet() bool
- func (v NullableConfigMapKeyRef) MarshalJSON() ([]byte, error)
- func (v *NullableConfigMapKeyRef) Set(val *ConfigMapKeyRef)
- func (v *NullableConfigMapKeyRef) UnmarshalJSON(src []byte) error
- func (v *NullableConfigMapKeyRef) Unset()
- type NullableEnv
- type NullableExec
- type NullableFieldRef
- 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 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 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 NullableSidecarSpec
- func (v *NullableSidecarSpec) Get() *SidecarSpec
- func (v *NullableSidecarSpec) IsSet() bool
- func (v NullableSidecarSpec) MarshalJSON() ([]byte, error)
- func (v *NullableSidecarSpec) Set(val *SidecarSpec)
- func (v *NullableSidecarSpec) UnmarshalJSON(src []byte) error
- func (v *NullableSidecarSpec) Unset()
- type NullableTcpSocket
- type NullableValueFrom
- type NullableVolumes
- 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 SidecarSpec
- type SidecarTrait
- func (s *SidecarTrait) Build() common.ApplicationTrait
- func (s *SidecarTrait) DefType() string
- func (s *SidecarTrait) FromTrait(from common.ApplicationTrait) (*SidecarTrait, error)
- func (o *SidecarTrait) GetArgs() []string
- func (o *SidecarTrait) GetArgsOk() ([]string, bool)
- func (o *SidecarTrait) GetCmd() []string
- func (o *SidecarTrait) GetCmdOk() ([]string, bool)
- func (o *SidecarTrait) GetEnv() []Env
- func (o *SidecarTrait) GetEnvOk() ([]Env, bool)
- func (o *SidecarTrait) GetImage() string
- func (o *SidecarTrait) GetImageOk() (*string, bool)
- func (o *SidecarTrait) GetLivenessProbe() HealthProbe
- func (o *SidecarTrait) GetLivenessProbeOk() (*HealthProbe, bool)
- func (o *SidecarTrait) GetName() string
- func (o *SidecarTrait) GetNameOk() (*string, bool)
- func (o *SidecarTrait) GetReadinessProbe() HealthProbe
- func (o *SidecarTrait) GetReadinessProbeOk() (*HealthProbe, bool)
- func (o *SidecarTrait) GetVolumes() []Volumes
- func (o *SidecarTrait) GetVolumesOk() ([]Volumes, bool)
- func (o *SidecarTrait) HasArgs() bool
- func (o *SidecarTrait) HasCmd() bool
- func (o *SidecarTrait) HasEnv() bool
- func (o *SidecarTrait) HasLivenessProbe() bool
- func (o *SidecarTrait) HasReadinessProbe() bool
- func (o *SidecarTrait) HasVolumes() bool
- func (o *SidecarTrait) SetArgs(v []string) *SidecarTrait
- func (o *SidecarTrait) SetCmd(v []string) *SidecarTrait
- func (o *SidecarTrait) SetEnv(v []Env) *SidecarTrait
- func (o *SidecarTrait) SetImage(v string) *SidecarTrait
- func (o *SidecarTrait) SetLivenessProbe(v HealthProbe) *SidecarTrait
- func (o *SidecarTrait) SetName(v string) *SidecarTrait
- func (o *SidecarTrait) SetReadinessProbe(v HealthProbe) *SidecarTrait
- func (o *SidecarTrait) SetVolumes(v []Volumes) *SidecarTrait
- func (o *SidecarTrait) Validate() error
- type TcpSocket
- type ValueFrom
- func (o *ValueFrom) GetConfigMapKeyRef() ConfigMapKeyRef
- func (o *ValueFrom) GetConfigMapKeyRefOk() (*ConfigMapKeyRef, bool)
- func (o *ValueFrom) GetFieldRef() FieldRef
- func (o *ValueFrom) GetFieldRefOk() (*FieldRef, bool)
- func (o *ValueFrom) GetSecretKeyRef() SecretKeyRef
- func (o *ValueFrom) GetSecretKeyRefOk() (*SecretKeyRef, bool)
- func (o *ValueFrom) HasConfigMapKeyRef() bool
- func (o *ValueFrom) HasFieldRef() bool
- func (o *ValueFrom) HasSecretKeyRef() bool
- func (o ValueFrom) MarshalJSON() ([]byte, error)
- func (o *ValueFrom) SetConfigMapKeyRef(v ConfigMapKeyRef) *ValueFrom
- func (o *ValueFrom) SetFieldRef(v FieldRef) *ValueFrom
- func (o *ValueFrom) SetSecretKeyRef(v SecretKeyRef) *ValueFrom
- func (o ValueFrom) ToMap() (map[string]interface{}, error)
- func (o *ValueFrom) Validate() error
- type Volumes
- func (o *Volumes) GetName() string
- func (o *Volumes) GetNameOk() (*string, bool)
- func (o *Volumes) GetPath() string
- func (o *Volumes) GetPathOk() (*string, bool)
- func (o Volumes) MarshalJSON() ([]byte, error)
- func (o *Volumes) SetName(v string) *Volumes
- func (o *Volumes) SetPath(v string) *Volumes
- func (o Volumes) ToMap() (map[string]interface{}, error)
- func (o *Volumes) Validate() error
Constants ¶
const SidecarType = "sidecar"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigMapKeyRef ¶
type ConfigMapKeyRef struct { // The key of the config map to select from. Must be a valid secret key Key *string `json:"key"` // The name of the config map in the pod's namespace to select from Name *string `json:"name"` }
ConfigMapKeyRef Selects a key of a config map in the pod's namespace
func NewConfigMapKeyRef ¶
func NewConfigMapKeyRef() *ConfigMapKeyRef
NewConfigMapKeyRef is short for NewConfigMapKeyRefWithDefault which instantiates a new ConfigMapKeyRef object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func NewConfigMapKeyRefEmpty ¶
func NewConfigMapKeyRefEmpty() *ConfigMapKeyRef
NewConfigMapKeyRefEmpty instantiates a new ConfigMapKeyRef object with no properties set. This constructor will not assign any default values to properties.
func NewConfigMapKeyRefList ¶
func NewConfigMapKeyRefList(ps ...*ConfigMapKeyRef) []ConfigMapKeyRef
NewConfigMapKeyRefs converts a list ConfigMapKeyRef pointers to objects. This is helpful when the SetConfigMapKeyRef requires a list of objects
func NewConfigMapKeyRefWith ¶
func NewConfigMapKeyRefWith(key string, name string) *ConfigMapKeyRef
NewConfigMapKeyRefWith instantiates a new ConfigMapKeyRef object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewConfigMapKeyRefWithDefault ¶
func NewConfigMapKeyRefWithDefault() *ConfigMapKeyRef
NewConfigMapKeyRefWithDefault instantiates a new ConfigMapKeyRef object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConfigMapKeyRef) GetKey ¶
func (o *ConfigMapKeyRef) GetKey() string
GetKey returns the Key field value
func (*ConfigMapKeyRef) GetKeyOk ¶
func (o *ConfigMapKeyRef) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*ConfigMapKeyRef) GetName ¶
func (o *ConfigMapKeyRef) GetName() string
GetName returns the Name field value
func (*ConfigMapKeyRef) GetNameOk ¶
func (o *ConfigMapKeyRef) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (ConfigMapKeyRef) MarshalJSON ¶
func (o ConfigMapKeyRef) MarshalJSON() ([]byte, error)
func (*ConfigMapKeyRef) SetKey ¶
func (o *ConfigMapKeyRef) SetKey(v string) *ConfigMapKeyRef
SetKey sets field value
func (*ConfigMapKeyRef) SetName ¶
func (o *ConfigMapKeyRef) SetName(v string) *ConfigMapKeyRef
SetName sets field value
func (ConfigMapKeyRef) ToMap ¶
func (o ConfigMapKeyRef) ToMap() (map[string]interface{}, error)
func (*ConfigMapKeyRef) Validate ¶
func (o *ConfigMapKeyRef) Validate() error
Validate validates this ConfigMapKeyRef 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set
type Env ¶
type Env struct { // Environment variable name Name *string `json:"name"` // The value of the environment variable Value *string `json:"value,omitempty"` ValueFrom *ValueFrom `json:"valueFrom,omitempty"` }
Env struct for Env
func NewEnv ¶
func NewEnv() *Env
NewEnv is short for NewEnvWithDefault which instantiates a new Env object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func NewEnvEmpty ¶
func NewEnvEmpty() *Env
NewEnvEmpty instantiates a new Env object with no properties set. This constructor will not assign any default values to properties.
func NewEnvList ¶
NewEnvs converts a list Env pointers to objects. This is helpful when the SetEnv requires a list of objects
func NewEnvWith ¶
NewEnvWith instantiates a new Env object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewEnvWithDefault ¶
func NewEnvWithDefault() *Env
NewEnvWithDefault instantiates a new Env object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Env) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Env) GetValueFrom ¶
GetValueFrom returns the ValueFrom field value if set, zero value otherwise.
func (*Env) GetValueFromOk ¶
GetValueFromOk returns a tuple with the ValueFrom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Env) GetValueOk ¶
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Env) HasValueFrom ¶
HasValueFrom returns a boolean if a field has been set.
func (Env) MarshalJSON ¶
func (*Env) SetValue ¶
SetValue gets a reference to the given string and assigns it to the value field. Value: The value of the environment variable
func (*Env) SetValueFrom ¶
SetValueFrom gets a reference to the given ValueFrom and assigns it to the valueFrom field. ValueFrom:
type 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 FieldRef ¶
type FieldRef struct { // Specify the field path for env FieldPath *string `json:"fieldPath"` }
FieldRef Specify the field reference for env
func NewFieldRef ¶
func NewFieldRef() *FieldRef
NewFieldRef is short for NewFieldRefWithDefault which instantiates a new FieldRef 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 NewFieldRefEmpty ¶
func NewFieldRefEmpty() *FieldRef
NewFieldRefEmpty instantiates a new FieldRef object with no properties set. This constructor will not assign any default values to properties.
func NewFieldRefList ¶
NewFieldRefs converts a list FieldRef pointers to objects. This is helpful when the SetFieldRef requires a list of objects
func NewFieldRefWith ¶
NewFieldRefWith instantiates a new FieldRef 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 NewFieldRefWithDefault ¶
func NewFieldRefWithDefault() *FieldRef
NewFieldRefWithDefault instantiates a new FieldRef 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 (*FieldRef) GetFieldPath ¶
GetFieldPath returns the FieldPath field value
func (*FieldRef) GetFieldPathOk ¶
GetFieldPathOk returns a tuple with the FieldPath field value and a boolean to check if the value has been set.
func (FieldRef) MarshalJSON ¶
func (*FieldRef) SetFieldPath ¶
SetFieldPath sets field value
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 HttpGet ¶
type HttpGet struct { HttpHeaders []HttpHeaders `json:"httpHeaders,omitempty"` // The endpoint, relative to the port, to which the HTTP GET request should be directed. Path *string `json:"path"` // The TCP socket within the container to which the HTTP GET request should be directed. Port *int32 `json:"port"` }
HttpGet Instructions for assessing container health by executing an HTTP GET request. Either this attribute or the exec attribute or the tcpSocket attribute MUST be specified. This attribute is mutually exclusive with both the exec attribute and the tcpSocket attribute.
func NewHttpGet ¶
func NewHttpGet() *HttpGet
NewHttpGet is short for NewHttpGetWithDefault which instantiates a new HttpGet object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func NewHttpGetEmpty ¶
func NewHttpGetEmpty() *HttpGet
NewHttpGetEmpty instantiates a new HttpGet object with no properties set. This constructor will not assign any default values to properties.
func NewHttpGetList ¶
NewHttpGets converts a list HttpGet pointers to objects. This is helpful when the SetHttpGet requires a list of objects
func NewHttpGetWith ¶
NewHttpGetWith instantiates a new HttpGet object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewHttpGetWithDefault ¶
func NewHttpGetWithDefault() *HttpGet
NewHttpGetWithDefault instantiates a new HttpGet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HttpGet) GetHttpHeaders ¶
func (o *HttpGet) GetHttpHeaders() []HttpHeaders
GetHttpHeaders returns the HttpHeaders field value if set, zero value otherwise.
func (*HttpGet) GetHttpHeadersOk ¶
func (o *HttpGet) GetHttpHeadersOk() ([]HttpHeaders, bool)
GetHttpHeadersOk returns a tuple with the HttpHeaders field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HttpGet) GetPathOk ¶
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*HttpGet) GetPortOk ¶
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (*HttpGet) HasHttpHeaders ¶
HasHttpHeaders returns a boolean if a field has been set.
func (HttpGet) MarshalJSON ¶
func (*HttpGet) SetHttpHeaders ¶
func (o *HttpGet) SetHttpHeaders(v []HttpHeaders) *HttpGet
SetHttpHeaders gets a reference to the given []HttpHeaders and assigns it to the httpHeaders field. HttpHeaders:
type HttpHeaders ¶
HttpHeaders struct for HttpHeaders
func NewHttpHeaders ¶
func NewHttpHeaders() *HttpHeaders
NewHttpHeaders is short for NewHttpHeadersWithDefault which instantiates a new HttpHeaders object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func NewHttpHeadersEmpty ¶
func NewHttpHeadersEmpty() *HttpHeaders
NewHttpHeadersEmpty instantiates a new HttpHeaders object with no properties set. This constructor will not assign any default values to properties.
func NewHttpHeadersList ¶
func NewHttpHeadersList(ps ...*HttpHeaders) []HttpHeaders
NewHttpHeaderss converts a list HttpHeaders pointers to objects. This is helpful when the SetHttpHeaders requires a list of objects
func NewHttpHeadersWith ¶
func NewHttpHeadersWith(name string, value string) *HttpHeaders
NewHttpHeadersWith instantiates a new HttpHeaders object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewHttpHeadersWithDefault ¶
func NewHttpHeadersWithDefault() *HttpHeaders
NewHttpHeadersWithDefault instantiates a new HttpHeaders object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HttpHeaders) GetName ¶
func (o *HttpHeaders) GetName() string
GetName returns the Name field value
func (*HttpHeaders) GetNameOk ¶
func (o *HttpHeaders) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*HttpHeaders) GetValue ¶
func (o *HttpHeaders) GetValue() string
GetValue returns the Value field value
func (*HttpHeaders) GetValueOk ¶
func (o *HttpHeaders) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (HttpHeaders) MarshalJSON ¶
func (o HttpHeaders) MarshalJSON() ([]byte, error)
func (*HttpHeaders) SetName ¶
func (o *HttpHeaders) SetName(v string) *HttpHeaders
SetName sets field value
func (*HttpHeaders) SetValue ¶
func (o *HttpHeaders) SetValue(v string) *HttpHeaders
SetValue sets field value
func (HttpHeaders) ToMap ¶
func (o HttpHeaders) ToMap() (map[string]interface{}, error)
func (*HttpHeaders) Validate ¶
func (o *HttpHeaders) Validate() error
Validate validates this HttpHeaders 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set
type NullableConfigMapKeyRef ¶
type NullableConfigMapKeyRef struct {
// contains filtered or unexported fields
}
func NewNullableConfigMapKeyRef ¶
func NewNullableConfigMapKeyRef(val *ConfigMapKeyRef) *NullableConfigMapKeyRef
func (*NullableConfigMapKeyRef) Get ¶
func (v *NullableConfigMapKeyRef) Get() *ConfigMapKeyRef
func (*NullableConfigMapKeyRef) IsSet ¶
func (v *NullableConfigMapKeyRef) IsSet() bool
func (NullableConfigMapKeyRef) MarshalJSON ¶
func (v NullableConfigMapKeyRef) MarshalJSON() ([]byte, error)
func (*NullableConfigMapKeyRef) Set ¶
func (v *NullableConfigMapKeyRef) Set(val *ConfigMapKeyRef)
func (*NullableConfigMapKeyRef) UnmarshalJSON ¶
func (v *NullableConfigMapKeyRef) UnmarshalJSON(src []byte) error
func (*NullableConfigMapKeyRef) Unset ¶
func (v *NullableConfigMapKeyRef) Unset()
type NullableEnv ¶
type NullableEnv struct {
// contains filtered or unexported fields
}
func NewNullableEnv ¶
func NewNullableEnv(val *Env) *NullableEnv
func (*NullableEnv) Get ¶
func (v *NullableEnv) Get() *Env
func (*NullableEnv) IsSet ¶
func (v *NullableEnv) IsSet() bool
func (NullableEnv) MarshalJSON ¶
func (v NullableEnv) MarshalJSON() ([]byte, error)
func (*NullableEnv) Set ¶
func (v *NullableEnv) Set(val *Env)
func (*NullableEnv) UnmarshalJSON ¶
func (v *NullableEnv) UnmarshalJSON(src []byte) error
func (*NullableEnv) Unset ¶
func (v *NullableEnv) Unset()
type 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 NullableFieldRef ¶
type NullableFieldRef struct {
// contains filtered or unexported fields
}
func NewNullableFieldRef ¶
func NewNullableFieldRef(val *FieldRef) *NullableFieldRef
func (*NullableFieldRef) Get ¶
func (v *NullableFieldRef) Get() *FieldRef
func (*NullableFieldRef) IsSet ¶
func (v *NullableFieldRef) IsSet() bool
func (NullableFieldRef) MarshalJSON ¶
func (v NullableFieldRef) MarshalJSON() ([]byte, error)
func (*NullableFieldRef) Set ¶
func (v *NullableFieldRef) Set(val *FieldRef)
func (*NullableFieldRef) UnmarshalJSON ¶
func (v *NullableFieldRef) UnmarshalJSON(src []byte) error
func (*NullableFieldRef) Unset ¶
func (v *NullableFieldRef) 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 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 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 NullableSidecarSpec ¶
type NullableSidecarSpec struct {
// contains filtered or unexported fields
}
func NewNullableSidecarSpec ¶
func NewNullableSidecarSpec(val *SidecarSpec) *NullableSidecarSpec
func (*NullableSidecarSpec) Get ¶
func (v *NullableSidecarSpec) Get() *SidecarSpec
func (*NullableSidecarSpec) IsSet ¶
func (v *NullableSidecarSpec) IsSet() bool
func (NullableSidecarSpec) MarshalJSON ¶
func (v NullableSidecarSpec) MarshalJSON() ([]byte, error)
func (*NullableSidecarSpec) Set ¶
func (v *NullableSidecarSpec) Set(val *SidecarSpec)
func (*NullableSidecarSpec) UnmarshalJSON ¶
func (v *NullableSidecarSpec) UnmarshalJSON(src []byte) error
func (*NullableSidecarSpec) Unset ¶
func (v *NullableSidecarSpec) 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 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 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 SidecarSpec ¶
type SidecarSpec struct { // Specify the args in the sidecar Args []string `json:"args,omitempty"` // Specify the commands run in the sidecar Cmd []string `json:"cmd,omitempty"` // Specify the env in the sidecar Env []Env `json:"env,omitempty"` // Specify the image of sidecar container Image *string `json:"image"` LivenessProbe *HealthProbe `json:"livenessProbe,omitempty"` // Specify the name of sidecar container Name *string `json:"name"` ReadinessProbe *HealthProbe `json:"readinessProbe,omitempty"` // Specify the shared volume path Volumes []Volumes `json:"volumes,omitempty"` }
SidecarSpec struct for SidecarSpec
func NewSidecarSpec ¶
func NewSidecarSpec() *SidecarSpec
NewSidecarSpec is short for NewSidecarSpecWithDefault which instantiates a new SidecarSpec 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 NewSidecarSpecEmpty ¶
func NewSidecarSpecEmpty() *SidecarSpec
NewSidecarSpecEmpty instantiates a new SidecarSpec object with no properties set. This constructor will not assign any default values to properties.
func NewSidecarSpecList ¶
func NewSidecarSpecList(ps ...*SidecarSpec) []SidecarSpec
NewSidecarSpecs converts a list SidecarSpec pointers to objects. This is helpful when the SetSidecarSpec requires a list of objects
func NewSidecarSpecWith ¶
func NewSidecarSpecWith(image string, name string) *SidecarSpec
NewSidecarSpecWith instantiates a new SidecarSpec 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 NewSidecarSpecWithDefault ¶
func NewSidecarSpecWithDefault() *SidecarSpec
NewSidecarSpecWithDefault instantiates a new SidecarSpec 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 (SidecarSpec) MarshalJSON ¶
func (o SidecarSpec) MarshalJSON() ([]byte, error)
func (SidecarSpec) ToMap ¶
func (o SidecarSpec) ToMap() (map[string]interface{}, error)
type SidecarTrait ¶
type SidecarTrait struct { Base apis.TraitBase Properties SidecarSpec }
func Sidecar ¶
func Sidecar() *SidecarTrait
func (*SidecarTrait) Build ¶
func (s *SidecarTrait) Build() common.ApplicationTrait
func (*SidecarTrait) DefType ¶
func (s *SidecarTrait) DefType() string
func (*SidecarTrait) FromTrait ¶
func (s *SidecarTrait) FromTrait(from common.ApplicationTrait) (*SidecarTrait, error)
func (*SidecarTrait) GetArgs ¶
func (o *SidecarTrait) GetArgs() []string
GetArgs returns the Args field value if set, zero value otherwise.
func (*SidecarTrait) GetArgsOk ¶
func (o *SidecarTrait) GetArgsOk() ([]string, bool)
GetArgsOk returns a tuple with the Args field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SidecarTrait) GetCmd ¶
func (o *SidecarTrait) GetCmd() []string
GetCmd returns the Cmd field value if set, zero value otherwise.
func (*SidecarTrait) GetCmdOk ¶
func (o *SidecarTrait) 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 (*SidecarTrait) GetEnv ¶
func (o *SidecarTrait) GetEnv() []Env
GetEnv returns the Env field value if set, zero value otherwise.
func (*SidecarTrait) GetEnvOk ¶
func (o *SidecarTrait) 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 (*SidecarTrait) GetImage ¶
func (o *SidecarTrait) GetImage() string
GetImage returns the Image field value
func (*SidecarTrait) GetImageOk ¶
func (o *SidecarTrait) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*SidecarTrait) GetLivenessProbe ¶
func (o *SidecarTrait) GetLivenessProbe() HealthProbe
GetLivenessProbe returns the LivenessProbe field value if set, zero value otherwise.
func (*SidecarTrait) GetLivenessProbeOk ¶
func (o *SidecarTrait) 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 (*SidecarTrait) GetName ¶
func (o *SidecarTrait) GetName() string
GetName returns the Name field value
func (*SidecarTrait) GetNameOk ¶
func (o *SidecarTrait) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*SidecarTrait) GetReadinessProbe ¶
func (o *SidecarTrait) GetReadinessProbe() HealthProbe
GetReadinessProbe returns the ReadinessProbe field value if set, zero value otherwise.
func (*SidecarTrait) GetReadinessProbeOk ¶
func (o *SidecarTrait) 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 (*SidecarTrait) GetVolumes ¶
func (o *SidecarTrait) GetVolumes() []Volumes
GetVolumes returns the Volumes field value if set, zero value otherwise.
func (*SidecarTrait) GetVolumesOk ¶
func (o *SidecarTrait) 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 (*SidecarTrait) HasArgs ¶
func (o *SidecarTrait) HasArgs() bool
HasArgs returns a boolean if a field has been set.
func (*SidecarTrait) HasCmd ¶
func (o *SidecarTrait) HasCmd() bool
HasCmd returns a boolean if a field has been set.
func (*SidecarTrait) HasEnv ¶
func (o *SidecarTrait) HasEnv() bool
HasEnv returns a boolean if a field has been set.
func (*SidecarTrait) HasLivenessProbe ¶
func (o *SidecarTrait) HasLivenessProbe() bool
HasLivenessProbe returns a boolean if a field has been set.
func (*SidecarTrait) HasReadinessProbe ¶
func (o *SidecarTrait) HasReadinessProbe() bool
HasReadinessProbe returns a boolean if a field has been set.
func (*SidecarTrait) HasVolumes ¶
func (o *SidecarTrait) HasVolumes() bool
HasVolumes returns a boolean if a field has been set.
func (*SidecarTrait) SetArgs ¶
func (o *SidecarTrait) SetArgs(v []string) *SidecarTrait
SetArgs gets a reference to the given []string and assigns it to the args field. Args: Specify the args in the sidecar
func (*SidecarTrait) SetCmd ¶
func (o *SidecarTrait) SetCmd(v []string) *SidecarTrait
SetCmd gets a reference to the given []string and assigns it to the cmd field. Cmd: Specify the commands run in the sidecar
func (*SidecarTrait) SetEnv ¶
func (o *SidecarTrait) SetEnv(v []Env) *SidecarTrait
SetEnv gets a reference to the given []Env and assigns it to the env field. Env: Specify the env in the sidecar
func (*SidecarTrait) SetImage ¶
func (o *SidecarTrait) SetImage(v string) *SidecarTrait
SetImage sets field value
func (*SidecarTrait) SetLivenessProbe ¶
func (o *SidecarTrait) SetLivenessProbe(v HealthProbe) *SidecarTrait
SetLivenessProbe gets a reference to the given HealthProbe and assigns it to the livenessProbe field. LivenessProbe:
func (*SidecarTrait) SetName ¶
func (o *SidecarTrait) SetName(v string) *SidecarTrait
SetName sets field value
func (*SidecarTrait) SetReadinessProbe ¶
func (o *SidecarTrait) SetReadinessProbe(v HealthProbe) *SidecarTrait
SetReadinessProbe gets a reference to the given HealthProbe and assigns it to the readinessProbe field. ReadinessProbe:
func (*SidecarTrait) SetVolumes ¶
func (o *SidecarTrait) SetVolumes(v []Volumes) *SidecarTrait
SetVolumes gets a reference to the given []Volumes and assigns it to the volumes field. Volumes: Specify the shared volume path
func (*SidecarTrait) Validate ¶
func (o *SidecarTrait) Validate() error
Validate validates this SidecarSpec 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"` FieldRef *FieldRef `json:"fieldRef,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) GetFieldRef ¶
GetFieldRef returns the FieldRef field value if set, zero value otherwise.
func (*ValueFrom) GetFieldRefOk ¶
GetFieldRefOk returns a tuple with the FieldRef 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) HasFieldRef ¶
HasFieldRef 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) SetFieldRef ¶
SetFieldRef gets a reference to the given FieldRef and assigns it to the fieldRef field. FieldRef:
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 Volumes ¶
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) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Volumes) GetPathOk ¶
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.