daemon

package
v0.0.0-...-3d8ba93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const 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

func NewConfigMapList(ps ...*ConfigMap) []ConfigMap

NewConfigMaps converts a list ConfigMap pointers to objects. This is helpful when the SetConfigMap requires a list of objects

func NewConfigMapWith

func NewConfigMapWith(cmName string, defaultMode int32, mountPath string, name string) *ConfigMap

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) GetCmName

func (o *ConfigMap) GetCmName() string

GetCmName returns the CmName field value

func (*ConfigMap) GetCmNameOk

func (o *ConfigMap) GetCmNameOk() (*string, bool)

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

func (*ConfigMap) GetDefaultMode

func (o *ConfigMap) GetDefaultMode() int32

GetDefaultMode returns the DefaultMode field value

func (*ConfigMap) GetDefaultModeOk

func (o *ConfigMap) GetDefaultModeOk() (*int32, bool)

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

func (*ConfigMap) GetItems

func (o *ConfigMap) GetItems() []Items

GetItems returns the Items field value if set, zero value otherwise.

func (*ConfigMap) GetItemsOk

func (o *ConfigMap) GetItemsOk() ([]Items, bool)

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

func (o *ConfigMap) GetMountPath() string

GetMountPath returns the MountPath field value

func (*ConfigMap) GetMountPathOk

func (o *ConfigMap) GetMountPathOk() (*string, bool)

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

func (*ConfigMap) GetName

func (o *ConfigMap) GetName() string

GetName returns the Name field value

func (*ConfigMap) GetNameOk

func (o *ConfigMap) GetNameOk() (*string, bool)

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

func (*ConfigMap) HasItems

func (o *ConfigMap) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ConfigMap) MarshalJSON

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

func (*ConfigMap) SetCmName

func (o *ConfigMap) SetCmName(v string) *ConfigMap

SetCmName sets field value

func (*ConfigMap) SetDefaultMode

func (o *ConfigMap) SetDefaultMode(v int32) *ConfigMap

SetDefaultMode sets field value

func (*ConfigMap) SetItems

func (o *ConfigMap) SetItems(v []Items) *ConfigMap

SetItems gets a reference to the given []Items and assigns it to the items field. Items:

func (*ConfigMap) SetMountPath

func (o *ConfigMap) SetMountPath(v string) *ConfigMap

SetMountPath sets field value

func (*ConfigMap) SetName

func (o *ConfigMap) SetName(v string) *ConfigMap

SetName sets field value

func (ConfigMap) ToMap

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

func (*ConfigMap) Validate

func (o *ConfigMap) Validate() error

Validate validates this ConfigMap 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 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 (*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 (*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) GetTrait

func (d *DaemonComponent) GetTrait(typ string) apis.Trait

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 (*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

func NewEmptyDirList(ps ...*EmptyDir) []EmptyDir

NewEmptyDirs converts a list EmptyDir pointers to objects. This is helpful when the SetEmptyDir requires a list of objects

func NewEmptyDirWith

func NewEmptyDirWith(medium string, mountPath string, name string) *EmptyDir

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) GetMedium

func (o *EmptyDir) GetMedium() string

GetMedium returns the Medium field value

func (*EmptyDir) GetMediumOk

func (o *EmptyDir) GetMediumOk() (*string, bool)

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

func (*EmptyDir) GetMountPath

func (o *EmptyDir) GetMountPath() string

GetMountPath returns the MountPath field value

func (*EmptyDir) GetMountPathOk

func (o *EmptyDir) GetMountPathOk() (*string, bool)

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

func (*EmptyDir) GetName

func (o *EmptyDir) GetName() string

GetName returns the Name field value

func (*EmptyDir) GetNameOk

func (o *EmptyDir) GetNameOk() (*string, bool)

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

func (EmptyDir) MarshalJSON

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

func (*EmptyDir) SetMedium

func (o *EmptyDir) SetMedium(v string) *EmptyDir

SetMedium sets field value

func (*EmptyDir) SetMountPath

func (o *EmptyDir) SetMountPath(v string) *EmptyDir

SetMountPath sets field value

func (*EmptyDir) SetName

func (o *EmptyDir) SetName(v string) *EmptyDir

SetName sets field value

func (EmptyDir) ToMap

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

func (*EmptyDir) Validate

func (o *EmptyDir) Validate() error

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

func NewEnvList(ps ...*Env) []Env

NewEnvs converts a list Env pointers to objects. This is helpful when the SetEnv requires a list of objects

func NewEnvWith

func NewEnvWith(name string) *Env

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) GetName

func (o *Env) GetName() string

GetName returns the Name field value

func (*Env) GetNameOk

func (o *Env) GetNameOk() (*string, bool)

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

func (*Env) GetValue

func (o *Env) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*Env) GetValueFrom

func (o *Env) GetValueFrom() ValueFrom

GetValueFrom returns the ValueFrom field value if set, zero value otherwise.

func (*Env) GetValueFromOk

func (o *Env) GetValueFromOk() (*ValueFrom, bool)

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

func (o *Env) GetValueOk() (*string, bool)

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) HasValue

func (o *Env) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*Env) HasValueFrom

func (o *Env) HasValueFrom() bool

HasValueFrom returns a boolean if a field has been set.

func (Env) MarshalJSON

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

func (*Env) SetName

func (o *Env) SetName(v string) *Env

SetName sets field value

func (*Env) SetValue

func (o *Env) SetValue(v string) *Env

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

func (o *Env) SetValueFrom(v ValueFrom) *Env

SetValueFrom gets a reference to the given ValueFrom and assigns it to the valueFrom field. ValueFrom:

func (Env) ToMap

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

func (*Env) Validate

func (o *Env) Validate() error

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

func NewExecList(ps ...*Exec) []Exec

NewExecs converts a list Exec pointers to objects. This is helpful when the SetExec requires a list of objects

func NewExecWith

func NewExecWith(command []string) *Exec

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

func (o *Exec) GetCommand() []string

GetCommand returns the Command field value

func (*Exec) GetCommandOk

func (o *Exec) GetCommandOk() ([]string, bool)

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

func (Exec) MarshalJSON

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

func (*Exec) SetCommand

func (o *Exec) SetCommand(v []string) *Exec

SetCommand sets field value

func (Exec) ToMap

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

func (*Exec) Validate

func (o *Exec) Validate() error

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

type HostAliases struct {
	Hostnames []string `json:"hostnames"`
	Ip        *string  `json:"ip"`
}

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) GetIp

func (o *HostAliases) GetIp() string

GetIp returns the Ip field value

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

func NewHostPathList(ps ...*HostPath) []HostPath

NewHostPaths converts a list HostPath pointers to objects. This is helpful when the SetHostPath requires a list of objects

func NewHostPathWith

func NewHostPathWith(mountPath string, name string, path string) *HostPath

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

func (o *HostPath) GetMountPath() string

GetMountPath returns the MountPath field value

func (*HostPath) GetMountPathOk

func (o *HostPath) GetMountPathOk() (*string, bool)

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

func (*HostPath) GetMountPropagation

func (o *HostPath) GetMountPropagation() string

GetMountPropagation returns the MountPropagation field value if set, zero value otherwise.

func (*HostPath) GetMountPropagationOk

func (o *HostPath) GetMountPropagationOk() (*string, bool)

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) GetName

func (o *HostPath) GetName() string

GetName returns the Name field value

func (*HostPath) GetNameOk

func (o *HostPath) GetNameOk() (*string, bool)

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

func (*HostPath) GetPath

func (o *HostPath) GetPath() string

GetPath returns the Path field value

func (*HostPath) GetPathOk

func (o *HostPath) GetPathOk() (*string, bool)

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

func (*HostPath) GetReadOnly

func (o *HostPath) GetReadOnly() bool

GetReadOnly returns the ReadOnly field value if set, zero value otherwise.

func (*HostPath) GetReadOnlyOk

func (o *HostPath) GetReadOnlyOk() (*bool, bool)

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

func (o *HostPath) HasMountPropagation() bool

HasMountPropagation returns a boolean if a field has been set.

func (*HostPath) HasReadOnly

func (o *HostPath) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

func (HostPath) MarshalJSON

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

func (*HostPath) SetMountPath

func (o *HostPath) SetMountPath(v string) *HostPath

SetMountPath sets field value

func (*HostPath) SetMountPropagation

func (o *HostPath) SetMountPropagation(v string) *HostPath

SetMountPropagation gets a reference to the given string and assigns it to the mountPropagation field. MountPropagation:

func (*HostPath) SetName

func (o *HostPath) SetName(v string) *HostPath

SetName sets field value

func (*HostPath) SetPath

func (o *HostPath) SetPath(v string) *HostPath

SetPath sets field value

func (*HostPath) SetReadOnly

func (o *HostPath) SetReadOnly(v bool) *HostPath

SetReadOnly gets a reference to the given bool and assigns it to the readOnly field. ReadOnly:

func (HostPath) ToMap

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

func (*HostPath) Validate

func (o *HostPath) Validate() error

Validate validates this HostPath 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 {
	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

func NewHttpGetList(ps ...*HttpGet) []HttpGet

NewHttpGets converts a list HttpGet pointers to objects. This is helpful when the SetHttpGet requires a list of objects

func NewHttpGetWith

func NewHttpGetWith(path string, port int32) *HttpGet

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) GetHost

func (o *HttpGet) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*HttpGet) GetHostOk

func (o *HttpGet) GetHostOk() (*string, bool)

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) GetPath

func (o *HttpGet) GetPath() string

GetPath returns the Path field value

func (*HttpGet) GetPathOk

func (o *HttpGet) GetPathOk() (*string, bool)

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

func (*HttpGet) GetPort

func (o *HttpGet) GetPort() int32

GetPort returns the Port field value

func (*HttpGet) GetPortOk

func (o *HttpGet) GetPortOk() (*int32, bool)

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

func (*HttpGet) GetScheme

func (o *HttpGet) GetScheme() string

GetScheme returns the Scheme field value if set, zero value otherwise.

func (*HttpGet) GetSchemeOk

func (o *HttpGet) GetSchemeOk() (*string, bool)

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) HasHost

func (o *HttpGet) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*HttpGet) HasHttpHeaders

func (o *HttpGet) HasHttpHeaders() bool

HasHttpHeaders returns a boolean if a field has been set.

func (*HttpGet) HasScheme

func (o *HttpGet) HasScheme() bool

HasScheme returns a boolean if a field has been set.

func (HttpGet) MarshalJSON

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

func (*HttpGet) SetHost

func (o *HttpGet) SetHost(v string) *HttpGet

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:

func (*HttpGet) SetPath

func (o *HttpGet) SetPath(v string) *HttpGet

SetPath sets field value

func (*HttpGet) SetPort

func (o *HttpGet) SetPort(v int32) *HttpGet

SetPort sets field value

func (*HttpGet) SetScheme

func (o *HttpGet) SetScheme(v string) *HttpGet

SetScheme gets a reference to the given string and assigns it to the scheme field. Scheme:

func (HttpGet) ToMap

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

func (*HttpGet) Validate

func (o *HttpGet) Validate() error

Validate validates this HttpGet 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 HttpHeaders

type HttpHeaders struct {
	Name  *string `json:"name"`
	Value *string `json:"value"`
}

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

type Items struct {
	Key  *string `json:"key"`
	Mode *int32  `json:"mode"`
	Path *string `json:"path"`
}

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

func NewItemsList(ps ...*Items) []Items

NewItemss converts a list Items pointers to objects. This is helpful when the SetItems requires a list of objects

func NewItemsWith

func NewItemsWith(key string, mode int32, path string) *Items

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) GetKey

func (o *Items) GetKey() string

GetKey returns the Key field value

func (*Items) GetKeyOk

func (o *Items) GetKeyOk() (*string, bool)

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

func (*Items) GetMode

func (o *Items) GetMode() int32

GetMode returns the Mode field value

func (*Items) GetModeOk

func (o *Items) GetModeOk() (*int32, bool)

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

func (*Items) GetPath

func (o *Items) GetPath() string

GetPath returns the Path field value

func (*Items) GetPathOk

func (o *Items) GetPathOk() (*string, bool)

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

func (Items) MarshalJSON

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

func (*Items) SetKey

func (o *Items) SetKey(v string) *Items

SetKey sets field value

func (*Items) SetMode

func (o *Items) SetMode(v int32) *Items

SetMode sets field value

func (*Items) SetPath

func (o *Items) SetPath(v string) *Items

SetPath sets field value

func (Items) ToMap

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

func (*Items) Validate

func (o *Items) Validate() error

Validate validates this Items 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 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 (*NullableConfigMapKeyRef) IsSet

func (v *NullableConfigMapKeyRef) IsSet() bool

func (NullableConfigMapKeyRef) MarshalJSON

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

func (*NullableConfigMapKeyRef) Set

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 (*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 (*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

func NewPortsList(ps ...*Ports) []Ports

NewPortss converts a list Ports pointers to objects. This is helpful when the SetPorts requires a list of objects

func NewPortsWith

func NewPortsWith(expose bool, port int32, protocol string) *Ports

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) GetExpose

func (o *Ports) GetExpose() bool

GetExpose returns the Expose field value

func (*Ports) GetExposeOk

func (o *Ports) GetExposeOk() (*bool, bool)

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

func (*Ports) GetName

func (o *Ports) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Ports) GetNameOk

func (o *Ports) GetNameOk() (*string, bool)

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) GetPort

func (o *Ports) GetPort() int32

GetPort returns the Port field value

func (*Ports) GetPortOk

func (o *Ports) GetPortOk() (*int32, bool)

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

func (*Ports) GetProtocol

func (o *Ports) GetProtocol() string

GetProtocol returns the Protocol field value

func (*Ports) GetProtocolOk

func (o *Ports) GetProtocolOk() (*string, bool)

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

func (*Ports) HasName

func (o *Ports) HasName() bool

HasName returns a boolean if a field has been set.

func (Ports) MarshalJSON

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

func (*Ports) SetExpose

func (o *Ports) SetExpose(v bool) *Ports

SetExpose sets field value

func (*Ports) SetName

func (o *Ports) SetName(v string) *Ports

SetName gets a reference to the given string and assigns it to the name field. Name: Name of the port

func (*Ports) SetPort

func (o *Ports) SetPort(v int32) *Ports

SetPort sets field value

func (*Ports) SetProtocol

func (o *Ports) SetProtocol(v string) *Ports

SetProtocol sets field value

func (Ports) ToMap

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

func (*Ports) Validate

func (o *Ports) Validate() error

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

func NewPvcList(ps ...*Pvc) []Pvc

NewPvcs converts a list Pvc pointers to objects. This is helpful when the SetPvc requires a list of objects

func NewPvcWith

func NewPvcWith(claimName string, mountPath string, name string) *Pvc

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

func (o *Pvc) GetClaimName() string

GetClaimName returns the ClaimName field value

func (*Pvc) GetClaimNameOk

func (o *Pvc) GetClaimNameOk() (*string, bool)

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

func (*Pvc) GetMountPath

func (o *Pvc) GetMountPath() string

GetMountPath returns the MountPath field value

func (*Pvc) GetMountPathOk

func (o *Pvc) GetMountPathOk() (*string, bool)

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

func (*Pvc) GetName

func (o *Pvc) GetName() string

GetName returns the Name field value

func (*Pvc) GetNameOk

func (o *Pvc) GetNameOk() (*string, bool)

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

func (Pvc) MarshalJSON

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

func (*Pvc) SetClaimName

func (o *Pvc) SetClaimName(v string) *Pvc

SetClaimName sets field value

func (*Pvc) SetMountPath

func (o *Pvc) SetMountPath(v string) *Pvc

SetMountPath sets field value

func (*Pvc) SetName

func (o *Pvc) SetName(v string) *Pvc

SetName sets field value

func (Pvc) ToMap

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

func (*Pvc) Validate

func (o *Pvc) Validate() error

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

func NewSecretList(ps ...*Secret) []Secret

NewSecrets converts a list Secret pointers to objects. This is helpful when the SetSecret requires a list of objects

func NewSecretWith

func NewSecretWith(defaultMode int32, mountPath string, name string, secretName string) *Secret

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

func (o *Secret) GetDefaultMode() int32

GetDefaultMode returns the DefaultMode field value

func (*Secret) GetDefaultModeOk

func (o *Secret) GetDefaultModeOk() (*int32, bool)

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

func (*Secret) GetItems

func (o *Secret) GetItems() []Items

GetItems returns the Items field value if set, zero value otherwise.

func (*Secret) GetItemsOk

func (o *Secret) GetItemsOk() ([]Items, bool)

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

func (o *Secret) GetMountPath() string

GetMountPath returns the MountPath field value

func (*Secret) GetMountPathOk

func (o *Secret) GetMountPathOk() (*string, bool)

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

func (*Secret) GetName

func (o *Secret) GetName() string

GetName returns the Name field value

func (*Secret) GetNameOk

func (o *Secret) GetNameOk() (*string, bool)

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

func (*Secret) GetSecretName

func (o *Secret) GetSecretName() string

GetSecretName returns the SecretName field value

func (*Secret) GetSecretNameOk

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

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

func (*Secret) HasItems

func (o *Secret) HasItems() bool

HasItems returns a boolean if a field has been set.

func (Secret) MarshalJSON

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

func (*Secret) SetDefaultMode

func (o *Secret) SetDefaultMode(v int32) *Secret

SetDefaultMode sets field value

func (*Secret) SetItems

func (o *Secret) SetItems(v []Items) *Secret

SetItems gets a reference to the given []Items and assigns it to the items field. Items:

func (*Secret) SetMountPath

func (o *Secret) SetMountPath(v string) *Secret

SetMountPath sets field value

func (*Secret) SetName

func (o *Secret) SetName(v string) *Secret

SetName sets field value

func (*Secret) SetSecretName

func (o *Secret) SetSecretName(v string) *Secret

SetSecretName sets field value

func (Secret) ToMap

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

func (*Secret) Validate

func (o *Secret) Validate() error

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

func NewTcpSocketList(ps ...*TcpSocket) []TcpSocket

NewTcpSockets converts a list TcpSocket pointers to objects. This is helpful when the SetTcpSocket requires a list of objects

func NewTcpSocketWith

func NewTcpSocketWith(port int32) *TcpSocket

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) GetPort

func (o *TcpSocket) GetPort() int32

GetPort returns the Port field value

func (*TcpSocket) GetPortOk

func (o *TcpSocket) GetPortOk() (*int32, bool)

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

func (TcpSocket) MarshalJSON

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

func (*TcpSocket) SetPort

func (o *TcpSocket) SetPort(v int32) *TcpSocket

SetPort sets field value

func (TcpSocket) ToMap

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

func (*TcpSocket) Validate

func (o *TcpSocket) Validate() error

Validate validates this TcpSocket 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type ValueFrom

type ValueFrom struct {
	ConfigMapKeyRef *ConfigMapKeyRef `json:"configMapKeyRef,omitempty"`
	SecretKeyRef    *SecretKeyRef    `json:"secretKeyRef,omitempty"`
}

ValueFrom Specifies a source the value of this var should come from

func NewValueFrom

func NewValueFrom() *ValueFrom

NewValueFrom is short for NewValueFromWithDefault which instantiates a new ValueFrom object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewValueFromEmpty

func NewValueFromEmpty() *ValueFrom

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

func NewValueFromList

func NewValueFromList(ps ...*ValueFrom) []ValueFrom

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

func (o *ValueFrom) HasConfigMapKeyRef() bool

HasConfigMapKeyRef returns a boolean if a field has been set.

func (*ValueFrom) HasSecretKeyRef

func (o *ValueFrom) HasSecretKeyRef() bool

HasSecretKeyRef returns a boolean if a field has been set.

func (ValueFrom) MarshalJSON

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

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:

func (ValueFrom) ToMap

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

func (*ValueFrom) Validate

func (o *ValueFrom) Validate() error

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

func NewVolumesList(ps ...*Volumes) []Volumes

NewVolumess converts a list Volumes pointers to objects. This is helpful when the SetVolumes requires a list of objects

func NewVolumesWith

func NewVolumesWith(medium string, mountPath string, name string, type_ string) *Volumes

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) GetMedium

func (o *Volumes) GetMedium() string

GetMedium returns the Medium field value

func (*Volumes) GetMediumOk

func (o *Volumes) GetMediumOk() (*string, bool)

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

func (*Volumes) GetMountPath

func (o *Volumes) GetMountPath() string

GetMountPath returns the MountPath field value

func (*Volumes) GetMountPathOk

func (o *Volumes) GetMountPathOk() (*string, bool)

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

func (*Volumes) GetName

func (o *Volumes) GetName() string

GetName returns the Name field value

func (*Volumes) GetNameOk

func (o *Volumes) GetNameOk() (*string, bool)

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

func (*Volumes) GetType

func (o *Volumes) GetType() string

GetType returns the Type field value

func (*Volumes) GetTypeOk

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

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

func (Volumes) MarshalJSON

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

func (*Volumes) SetMedium

func (o *Volumes) SetMedium(v string) *Volumes

SetMedium sets field value

func (*Volumes) SetMountPath

func (o *Volumes) SetMountPath(v string) *Volumes

SetMountPath sets field value

func (*Volumes) SetName

func (o *Volumes) SetName(v string) *Volumes

SetName sets field value

func (*Volumes) SetType

func (o *Volumes) SetType(v string) *Volumes

SetType sets field value

func (Volumes) ToMap

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

func (*Volumes) Validate

func (o *Volumes) Validate() error

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

Jump to

Keyboard shortcuts

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