nocalhost

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 NocalhostType = "nocalhost"

Variables

This section is empty.

Functions

func FromTrait

func FromTrait(from common.ApplicationTrait) (apis.Trait, error)

Types

type Command

type Command struct {
	Debug []string `json:"debug"`
	Run   []string `json:"run"`
}

Command struct for Command

func NewCommand

func NewCommand() *Command

NewCommand is short for NewCommandWithDefault which instantiates a new Command 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 NewCommandEmpty

func NewCommandEmpty() *Command

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

func NewCommandList

func NewCommandList(ps ...*Command) []Command

NewCommands converts a list Command pointers to objects. This is helpful when the SetCommand requires a list of objects

func NewCommandWith

func NewCommandWith(debug []string, run []string) *Command

NewCommandWith instantiates a new Command 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 NewCommandWithDefault

func NewCommandWithDefault() *Command

NewCommandWithDefault instantiates a new Command 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 (*Command) GetDebug

func (o *Command) GetDebug() []string

GetDebug returns the Debug field value

func (*Command) GetDebugOk

func (o *Command) GetDebugOk() ([]string, bool)

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

func (*Command) GetRun

func (o *Command) GetRun() []string

GetRun returns the Run field value

func (*Command) GetRunOk

func (o *Command) GetRunOk() ([]string, bool)

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

func (Command) MarshalJSON

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

func (*Command) SetDebug

func (o *Command) SetDebug(v []string) *Command

SetDebug sets field value

func (*Command) SetRun

func (o *Command) SetRun(v []string) *Command

SetRun sets field value

func (Command) ToMap

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

func (*Command) Validate

func (o *Command) Validate() error

Validate validates this Command 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 Debug

type Debug struct {
	RemoteDebugPort *int32 `json:"remoteDebugPort,omitempty"`
}

Debug struct for Debug

func NewDebug

func NewDebug() *Debug

NewDebug is short for NewDebugWithDefault which instantiates a new Debug 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 NewDebugEmpty

func NewDebugEmpty() *Debug

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

func NewDebugList

func NewDebugList(ps ...*Debug) []Debug

NewDebugs converts a list Debug pointers to objects. This is helpful when the SetDebug requires a list of objects

func NewDebugWith

func NewDebugWith() *Debug

NewDebugWith instantiates a new Debug 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 NewDebugWithDefault

func NewDebugWithDefault() *Debug

NewDebugWithDefault instantiates a new Debug 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 (*Debug) GetRemoteDebugPort

func (o *Debug) GetRemoteDebugPort() int32

GetRemoteDebugPort returns the RemoteDebugPort field value if set, zero value otherwise.

func (*Debug) GetRemoteDebugPortOk

func (o *Debug) GetRemoteDebugPortOk() (*int32, bool)

GetRemoteDebugPortOk returns a tuple with the RemoteDebugPort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Debug) HasRemoteDebugPort

func (o *Debug) HasRemoteDebugPort() bool

HasRemoteDebugPort returns a boolean if a field has been set.

func (Debug) MarshalJSON

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

func (*Debug) SetRemoteDebugPort

func (o *Debug) SetRemoteDebugPort(v int32) *Debug

SetRemoteDebugPort gets a reference to the given int32 and assigns it to the remoteDebugPort field. RemoteDebugPort:

func (Debug) ToMap

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

func (*Debug) Validate

func (o *Debug) Validate() error

Validate validates this Debug 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 {
	Name  *string `json:"name"`
	Value *string `json:"value"`
}

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, value 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

func (*Env) GetValueOk

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

GetValueOk returns a tuple with the Value field value and a boolean to check if the value 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 sets field value

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 Image

type Image struct {
	String *string
}

Image - struct for Image

func StringAsImage

func StringAsImage(v *string) Image

StringAsImage is is a convenience function that returns string wrapped in Image

func (*Image) GetActualInstance

func (obj *Image) GetActualInstance() interface{}

Get the actual instance

func (Image) MarshalJSON

func (src Image) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Image) UnmarshalJSON

func (dst *Image) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

func (*Image) Validate

func (o *Image) Validate() error

Validate validates this Image

type Limits

type Limits struct {
	Cpu    *string `json:"cpu"`
	Memory *string `json:"memory"`
}

Limits struct for Limits

func NewLimits

func NewLimits() *Limits

NewLimits is short for NewLimitsWithDefault which instantiates a new Limits 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 NewLimitsEmpty

func NewLimitsEmpty() *Limits

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

func NewLimitsList

func NewLimitsList(ps ...*Limits) []Limits

NewLimitss converts a list Limits pointers to objects. This is helpful when the SetLimits requires a list of objects

func NewLimitsWith

func NewLimitsWith(cpu string, memory string) *Limits

NewLimitsWith instantiates a new Limits 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 NewLimitsWithDefault

func NewLimitsWithDefault() *Limits

NewLimitsWithDefault instantiates a new Limits 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 (*Limits) GetCpu

func (o *Limits) GetCpu() string

GetCpu returns the Cpu field value

func (*Limits) GetCpuOk

func (o *Limits) GetCpuOk() (*string, bool)

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

func (*Limits) GetMemory

func (o *Limits) GetMemory() string

GetMemory returns the Memory field value

func (*Limits) GetMemoryOk

func (o *Limits) GetMemoryOk() (*string, bool)

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

func (Limits) MarshalJSON

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

func (*Limits) SetCpu

func (o *Limits) SetCpu(v string) *Limits

SetCpu sets field value

func (*Limits) SetMemory

func (o *Limits) SetMemory(v string) *Limits

SetMemory sets field value

func (Limits) ToMap

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

func (*Limits) Validate

func (o *Limits) Validate() error

Validate validates this Limits 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 NocalhostSpec

type NocalhostSpec struct {
	Command              *Command               `json:"command"`
	Debug                *Debug                 `json:"debug,omitempty"`
	Env                  []Env                  `json:"env,omitempty"`
	GitUrl               *string                `json:"gitUrl,omitempty"`
	HotReload            *bool                  `json:"hotReload"`
	Image                *Image                 `json:"image"`
	PersistentVolumeDirs []PersistentVolumeDirs `json:"persistentVolumeDirs,omitempty"`
	Port                 *int32                 `json:"port"`
	PortForward          []string               `json:"portForward,omitempty"`
	Resources            *Resources             `json:"resources"`
	ServiceType          *string                `json:"serviceType"`
	Shell                *string                `json:"shell"`
	StorageClass         *string                `json:"storageClass,omitempty"`
	Sync                 *Sync                  `json:"sync"`
	WorkDir              *string                `json:"workDir"`
}

NocalhostSpec struct for NocalhostSpec

func NewNocalhostSpec

func NewNocalhostSpec() *NocalhostSpec

NewNocalhostSpec is short for NewNocalhostSpecWithDefault which instantiates a new NocalhostSpec 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 NewNocalhostSpecEmpty

func NewNocalhostSpecEmpty() *NocalhostSpec

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

func NewNocalhostSpecList

func NewNocalhostSpecList(ps ...*NocalhostSpec) []NocalhostSpec

NewNocalhostSpecs converts a list NocalhostSpec pointers to objects. This is helpful when the SetNocalhostSpec requires a list of objects

func NewNocalhostSpecWith

func NewNocalhostSpecWith(command Command, hotReload bool, image Image, port int32, resources Resources, serviceType string, shell string, sync Sync, workDir string) *NocalhostSpec

NewNocalhostSpecWith instantiates a new NocalhostSpec 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 NewNocalhostSpecWithDefault

func NewNocalhostSpecWithDefault() *NocalhostSpec

NewNocalhostSpecWithDefault instantiates a new NocalhostSpec 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 (NocalhostSpec) MarshalJSON

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

func (NocalhostSpec) ToMap

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

type NocalhostTrait

type NocalhostTrait struct {
	Base       apis.TraitBase
	Properties NocalhostSpec
}

func Nocalhost

func Nocalhost() *NocalhostTrait

func (*NocalhostTrait) Build

func (*NocalhostTrait) DefType

func (n *NocalhostTrait) DefType() string

func (*NocalhostTrait) FromTrait

func (*NocalhostTrait) GetCommand

func (o *NocalhostTrait) GetCommand() Command

GetCommand returns the Command field value

func (*NocalhostTrait) GetCommandOk

func (o *NocalhostTrait) GetCommandOk() (*Command, bool)

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

func (*NocalhostTrait) GetDebug

func (o *NocalhostTrait) GetDebug() Debug

GetDebug returns the Debug field value if set, zero value otherwise.

func (*NocalhostTrait) GetDebugOk

func (o *NocalhostTrait) GetDebugOk() (*Debug, bool)

GetDebugOk returns a tuple with the Debug field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NocalhostTrait) GetEnv

func (o *NocalhostTrait) GetEnv() []Env

GetEnv returns the Env field value if set, zero value otherwise.

func (*NocalhostTrait) GetEnvOk

func (o *NocalhostTrait) 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 (*NocalhostTrait) GetGitUrl

func (o *NocalhostTrait) GetGitUrl() string

GetGitUrl returns the GitUrl field value if set, zero value otherwise.

func (*NocalhostTrait) GetGitUrlOk

func (o *NocalhostTrait) GetGitUrlOk() (*string, bool)

GetGitUrlOk returns a tuple with the GitUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NocalhostTrait) GetHotReload

func (o *NocalhostTrait) GetHotReload() bool

GetHotReload returns the HotReload field value

func (*NocalhostTrait) GetHotReloadOk

func (o *NocalhostTrait) GetHotReloadOk() (*bool, bool)

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

func (*NocalhostTrait) GetImage

func (o *NocalhostTrait) GetImage() Image

GetImage returns the Image field value

func (*NocalhostTrait) GetImageOk

func (o *NocalhostTrait) GetImageOk() (*Image, bool)

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

func (*NocalhostTrait) GetPersistentVolumeDirs

func (o *NocalhostTrait) GetPersistentVolumeDirs() []PersistentVolumeDirs

GetPersistentVolumeDirs returns the PersistentVolumeDirs field value if set, zero value otherwise.

func (*NocalhostTrait) GetPersistentVolumeDirsOk

func (o *NocalhostTrait) GetPersistentVolumeDirsOk() ([]PersistentVolumeDirs, bool)

GetPersistentVolumeDirsOk returns a tuple with the PersistentVolumeDirs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NocalhostTrait) GetPort

func (o *NocalhostTrait) GetPort() int32

GetPort returns the Port field value

func (*NocalhostTrait) GetPortForward

func (o *NocalhostTrait) GetPortForward() []string

GetPortForward returns the PortForward field value if set, zero value otherwise.

func (*NocalhostTrait) GetPortForwardOk

func (o *NocalhostTrait) GetPortForwardOk() ([]string, bool)

GetPortForwardOk returns a tuple with the PortForward field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NocalhostTrait) GetPortOk

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

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

func (*NocalhostTrait) GetResources

func (o *NocalhostTrait) GetResources() Resources

GetResources returns the Resources field value

func (*NocalhostTrait) GetResourcesOk

func (o *NocalhostTrait) GetResourcesOk() (*Resources, bool)

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

func (*NocalhostTrait) GetServiceType

func (o *NocalhostTrait) GetServiceType() string

GetServiceType returns the ServiceType field value

func (*NocalhostTrait) GetServiceTypeOk

func (o *NocalhostTrait) GetServiceTypeOk() (*string, bool)

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

func (*NocalhostTrait) GetShell

func (o *NocalhostTrait) GetShell() string

GetShell returns the Shell field value

func (*NocalhostTrait) GetShellOk

func (o *NocalhostTrait) GetShellOk() (*string, bool)

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

func (*NocalhostTrait) GetStorageClass

func (o *NocalhostTrait) GetStorageClass() string

GetStorageClass returns the StorageClass field value if set, zero value otherwise.

func (*NocalhostTrait) GetStorageClassOk

func (o *NocalhostTrait) GetStorageClassOk() (*string, bool)

GetStorageClassOk returns a tuple with the StorageClass field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NocalhostTrait) GetSync

func (o *NocalhostTrait) GetSync() Sync

GetSync returns the Sync field value

func (*NocalhostTrait) GetSyncOk

func (o *NocalhostTrait) GetSyncOk() (*Sync, bool)

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

func (*NocalhostTrait) GetWorkDir

func (o *NocalhostTrait) GetWorkDir() string

GetWorkDir returns the WorkDir field value

func (*NocalhostTrait) GetWorkDirOk

func (o *NocalhostTrait) GetWorkDirOk() (*string, bool)

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

func (*NocalhostTrait) HasDebug

func (o *NocalhostTrait) HasDebug() bool

HasDebug returns a boolean if a field has been set.

func (*NocalhostTrait) HasEnv

func (o *NocalhostTrait) HasEnv() bool

HasEnv returns a boolean if a field has been set.

func (*NocalhostTrait) HasGitUrl

func (o *NocalhostTrait) HasGitUrl() bool

HasGitUrl returns a boolean if a field has been set.

func (*NocalhostTrait) HasPersistentVolumeDirs

func (o *NocalhostTrait) HasPersistentVolumeDirs() bool

HasPersistentVolumeDirs returns a boolean if a field has been set.

func (*NocalhostTrait) HasPortForward

func (o *NocalhostTrait) HasPortForward() bool

HasPortForward returns a boolean if a field has been set.

func (*NocalhostTrait) HasStorageClass

func (o *NocalhostTrait) HasStorageClass() bool

HasStorageClass returns a boolean if a field has been set.

func (*NocalhostTrait) SetCommand

func (o *NocalhostTrait) SetCommand(v Command) *NocalhostTrait

SetCommand sets field value

func (*NocalhostTrait) SetDebug

func (o *NocalhostTrait) SetDebug(v Debug) *NocalhostTrait

SetDebug gets a reference to the given Debug and assigns it to the debug field. Debug:

func (*NocalhostTrait) SetEnv

func (o *NocalhostTrait) SetEnv(v []Env) *NocalhostTrait

SetEnv gets a reference to the given []Env and assigns it to the env field. Env:

func (*NocalhostTrait) SetGitUrl

func (o *NocalhostTrait) SetGitUrl(v string) *NocalhostTrait

SetGitUrl gets a reference to the given string and assigns it to the gitUrl field. GitUrl:

func (*NocalhostTrait) SetHotReload

func (o *NocalhostTrait) SetHotReload(v bool) *NocalhostTrait

SetHotReload sets field value

func (*NocalhostTrait) SetImage

func (o *NocalhostTrait) SetImage(v Image) *NocalhostTrait

SetImage sets field value

func (*NocalhostTrait) SetPersistentVolumeDirs

func (o *NocalhostTrait) SetPersistentVolumeDirs(v []PersistentVolumeDirs) *NocalhostTrait

SetPersistentVolumeDirs gets a reference to the given []PersistentVolumeDirs and assigns it to the persistentVolumeDirs field. PersistentVolumeDirs:

func (*NocalhostTrait) SetPort

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

SetPort sets field value

func (*NocalhostTrait) SetPortForward

func (o *NocalhostTrait) SetPortForward(v []string) *NocalhostTrait

SetPortForward gets a reference to the given []string and assigns it to the portForward field. PortForward:

func (*NocalhostTrait) SetResources

func (o *NocalhostTrait) SetResources(v Resources) *NocalhostTrait

SetResources sets field value

func (*NocalhostTrait) SetServiceType

func (o *NocalhostTrait) SetServiceType(v string) *NocalhostTrait

SetServiceType sets field value

func (*NocalhostTrait) SetShell

func (o *NocalhostTrait) SetShell(v string) *NocalhostTrait

SetShell sets field value

func (*NocalhostTrait) SetStorageClass

func (o *NocalhostTrait) SetStorageClass(v string) *NocalhostTrait

SetStorageClass gets a reference to the given string and assigns it to the storageClass field. StorageClass:

func (*NocalhostTrait) SetSync

func (o *NocalhostTrait) SetSync(v Sync) *NocalhostTrait

SetSync sets field value

func (*NocalhostTrait) SetWorkDir

func (o *NocalhostTrait) SetWorkDir(v string) *NocalhostTrait

SetWorkDir sets field value

func (*NocalhostTrait) Validate

func (o *NocalhostTrait) Validate() error

Validate validates this NocalhostSpec 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 NullableCommand

type NullableCommand struct {
	// contains filtered or unexported fields
}

func NewNullableCommand

func NewNullableCommand(val *Command) *NullableCommand

func (*NullableCommand) Get

func (v *NullableCommand) Get() *Command

func (*NullableCommand) IsSet

func (v *NullableCommand) IsSet() bool

func (NullableCommand) MarshalJSON

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

func (*NullableCommand) Set

func (v *NullableCommand) Set(val *Command)

func (*NullableCommand) UnmarshalJSON

func (v *NullableCommand) UnmarshalJSON(src []byte) error

func (*NullableCommand) Unset

func (v *NullableCommand) Unset()

type NullableDebug

type NullableDebug struct {
	// contains filtered or unexported fields
}

func NewNullableDebug

func NewNullableDebug(val *Debug) *NullableDebug

func (*NullableDebug) Get

func (v *NullableDebug) Get() *Debug

func (*NullableDebug) IsSet

func (v *NullableDebug) IsSet() bool

func (NullableDebug) MarshalJSON

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

func (*NullableDebug) Set

func (v *NullableDebug) Set(val *Debug)

func (*NullableDebug) UnmarshalJSON

func (v *NullableDebug) UnmarshalJSON(src []byte) error

func (*NullableDebug) Unset

func (v *NullableDebug) 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 NullableImage

type NullableImage struct {
	// contains filtered or unexported fields
}

func NewNullableImage

func NewNullableImage(val *Image) *NullableImage

func (*NullableImage) Get

func (v *NullableImage) Get() *Image

func (*NullableImage) IsSet

func (v *NullableImage) IsSet() bool

func (NullableImage) MarshalJSON

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

func (*NullableImage) Set

func (v *NullableImage) Set(val *Image)

func (*NullableImage) UnmarshalJSON

func (v *NullableImage) UnmarshalJSON(src []byte) error

func (*NullableImage) Unset

func (v *NullableImage) Unset()

type NullableLimits

type NullableLimits struct {
	// contains filtered or unexported fields
}

func NewNullableLimits

func NewNullableLimits(val *Limits) *NullableLimits

func (*NullableLimits) Get

func (v *NullableLimits) Get() *Limits

func (*NullableLimits) IsSet

func (v *NullableLimits) IsSet() bool

func (NullableLimits) MarshalJSON

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

func (*NullableLimits) Set

func (v *NullableLimits) Set(val *Limits)

func (*NullableLimits) UnmarshalJSON

func (v *NullableLimits) UnmarshalJSON(src []byte) error

func (*NullableLimits) Unset

func (v *NullableLimits) Unset()

type NullableNocalhostSpec

type NullableNocalhostSpec struct {
	// contains filtered or unexported fields
}

func NewNullableNocalhostSpec

func NewNullableNocalhostSpec(val *NocalhostSpec) *NullableNocalhostSpec

func (*NullableNocalhostSpec) Get

func (*NullableNocalhostSpec) IsSet

func (v *NullableNocalhostSpec) IsSet() bool

func (NullableNocalhostSpec) MarshalJSON

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

func (*NullableNocalhostSpec) Set

func (v *NullableNocalhostSpec) Set(val *NocalhostSpec)

func (*NullableNocalhostSpec) UnmarshalJSON

func (v *NullableNocalhostSpec) UnmarshalJSON(src []byte) error

func (*NullableNocalhostSpec) Unset

func (v *NullableNocalhostSpec) Unset()

type NullablePersistentVolumeDirs

type NullablePersistentVolumeDirs struct {
	// contains filtered or unexported fields
}

func NewNullablePersistentVolumeDirs

func NewNullablePersistentVolumeDirs(val *PersistentVolumeDirs) *NullablePersistentVolumeDirs

func (*NullablePersistentVolumeDirs) Get

func (*NullablePersistentVolumeDirs) IsSet

func (NullablePersistentVolumeDirs) MarshalJSON

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

func (*NullablePersistentVolumeDirs) Set

func (*NullablePersistentVolumeDirs) UnmarshalJSON

func (v *NullablePersistentVolumeDirs) UnmarshalJSON(src []byte) error

func (*NullablePersistentVolumeDirs) Unset

func (v *NullablePersistentVolumeDirs) Unset()

type NullableRequests

type NullableRequests struct {
	// contains filtered or unexported fields
}

func NewNullableRequests

func NewNullableRequests(val *Requests) *NullableRequests

func (*NullableRequests) Get

func (v *NullableRequests) Get() *Requests

func (*NullableRequests) IsSet

func (v *NullableRequests) IsSet() bool

func (NullableRequests) MarshalJSON

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

func (*NullableRequests) Set

func (v *NullableRequests) Set(val *Requests)

func (*NullableRequests) UnmarshalJSON

func (v *NullableRequests) UnmarshalJSON(src []byte) error

func (*NullableRequests) Unset

func (v *NullableRequests) Unset()

type NullableResources

type NullableResources struct {
	// contains filtered or unexported fields
}

func NewNullableResources

func NewNullableResources(val *Resources) *NullableResources

func (*NullableResources) Get

func (v *NullableResources) Get() *Resources

func (*NullableResources) IsSet

func (v *NullableResources) IsSet() bool

func (NullableResources) MarshalJSON

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

func (*NullableResources) Set

func (v *NullableResources) Set(val *Resources)

func (*NullableResources) UnmarshalJSON

func (v *NullableResources) UnmarshalJSON(src []byte) error

func (*NullableResources) Unset

func (v *NullableResources) Unset()

type NullableSync

type NullableSync struct {
	// contains filtered or unexported fields
}

func NewNullableSync

func NewNullableSync(val *Sync) *NullableSync

func (*NullableSync) Get

func (v *NullableSync) Get() *Sync

func (*NullableSync) IsSet

func (v *NullableSync) IsSet() bool

func (NullableSync) MarshalJSON

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

func (*NullableSync) Set

func (v *NullableSync) Set(val *Sync)

func (*NullableSync) UnmarshalJSON

func (v *NullableSync) UnmarshalJSON(src []byte) error

func (*NullableSync) Unset

func (v *NullableSync) Unset()

type PersistentVolumeDirs

type PersistentVolumeDirs struct {
	Capacity *string `json:"capacity"`
	Path     *string `json:"path"`
}

PersistentVolumeDirs struct for PersistentVolumeDirs

func NewPersistentVolumeDirs

func NewPersistentVolumeDirs() *PersistentVolumeDirs

NewPersistentVolumeDirs is short for NewPersistentVolumeDirsWithDefault which instantiates a new PersistentVolumeDirs 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 NewPersistentVolumeDirsEmpty

func NewPersistentVolumeDirsEmpty() *PersistentVolumeDirs

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

func NewPersistentVolumeDirsList

func NewPersistentVolumeDirsList(ps ...*PersistentVolumeDirs) []PersistentVolumeDirs

NewPersistentVolumeDirss converts a list PersistentVolumeDirs pointers to objects. This is helpful when the SetPersistentVolumeDirs requires a list of objects

func NewPersistentVolumeDirsWith

func NewPersistentVolumeDirsWith(capacity string, path string) *PersistentVolumeDirs

NewPersistentVolumeDirsWith instantiates a new PersistentVolumeDirs 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 NewPersistentVolumeDirsWithDefault

func NewPersistentVolumeDirsWithDefault() *PersistentVolumeDirs

NewPersistentVolumeDirsWithDefault instantiates a new PersistentVolumeDirs 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 (*PersistentVolumeDirs) GetCapacity

func (o *PersistentVolumeDirs) GetCapacity() string

GetCapacity returns the Capacity field value

func (*PersistentVolumeDirs) GetCapacityOk

func (o *PersistentVolumeDirs) GetCapacityOk() (*string, bool)

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

func (*PersistentVolumeDirs) GetPath

func (o *PersistentVolumeDirs) GetPath() string

GetPath returns the Path field value

func (*PersistentVolumeDirs) GetPathOk

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

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

func (PersistentVolumeDirs) MarshalJSON

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

func (*PersistentVolumeDirs) SetCapacity

SetCapacity sets field value

func (*PersistentVolumeDirs) SetPath

SetPath sets field value

func (PersistentVolumeDirs) ToMap

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

func (*PersistentVolumeDirs) Validate

func (o *PersistentVolumeDirs) Validate() error

Validate validates this PersistentVolumeDirs 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 Requests

type Requests struct {
	Cpu    *string `json:"cpu"`
	Memory *string `json:"memory"`
}

Requests struct for Requests

func NewRequests

func NewRequests() *Requests

NewRequests is short for NewRequestsWithDefault which instantiates a new Requests 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 NewRequestsEmpty

func NewRequestsEmpty() *Requests

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

func NewRequestsList

func NewRequestsList(ps ...*Requests) []Requests

NewRequestss converts a list Requests pointers to objects. This is helpful when the SetRequests requires a list of objects

func NewRequestsWith

func NewRequestsWith(cpu string, memory string) *Requests

NewRequestsWith instantiates a new Requests 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 NewRequestsWithDefault

func NewRequestsWithDefault() *Requests

NewRequestsWithDefault instantiates a new Requests 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 (*Requests) GetCpu

func (o *Requests) GetCpu() string

GetCpu returns the Cpu field value

func (*Requests) GetCpuOk

func (o *Requests) GetCpuOk() (*string, bool)

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

func (*Requests) GetMemory

func (o *Requests) GetMemory() string

GetMemory returns the Memory field value

func (*Requests) GetMemoryOk

func (o *Requests) GetMemoryOk() (*string, bool)

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

func (Requests) MarshalJSON

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

func (*Requests) SetCpu

func (o *Requests) SetCpu(v string) *Requests

SetCpu sets field value

func (*Requests) SetMemory

func (o *Requests) SetMemory(v string) *Requests

SetMemory sets field value

func (Requests) ToMap

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

func (*Requests) Validate

func (o *Requests) Validate() error

Validate validates this Requests 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 Resources

type Resources struct {
	Limits   *Limits   `json:"limits"`
	Requests *Requests `json:"requests"`
}

Resources struct for Resources

func NewResources

func NewResources() *Resources

NewResources is short for NewResourcesWithDefault which instantiates a new Resources 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 NewResourcesEmpty

func NewResourcesEmpty() *Resources

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

func NewResourcesList

func NewResourcesList(ps ...*Resources) []Resources

NewResourcess converts a list Resources pointers to objects. This is helpful when the SetResources requires a list of objects

func NewResourcesWith

func NewResourcesWith(limits Limits, requests Requests) *Resources

NewResourcesWith instantiates a new Resources 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 NewResourcesWithDefault

func NewResourcesWithDefault() *Resources

NewResourcesWithDefault instantiates a new Resources 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 (*Resources) GetLimits

func (o *Resources) GetLimits() Limits

GetLimits returns the Limits field value

func (*Resources) GetLimitsOk

func (o *Resources) GetLimitsOk() (*Limits, bool)

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

func (*Resources) GetRequests

func (o *Resources) GetRequests() Requests

GetRequests returns the Requests field value

func (*Resources) GetRequestsOk

func (o *Resources) GetRequestsOk() (*Requests, bool)

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

func (Resources) MarshalJSON

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

func (*Resources) SetLimits

func (o *Resources) SetLimits(v Limits) *Resources

SetLimits sets field value

func (*Resources) SetRequests

func (o *Resources) SetRequests(v Requests) *Resources

SetRequests sets field value

func (Resources) ToMap

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

func (*Resources) Validate

func (o *Resources) Validate() error

Validate validates this Resources 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 Sync

type Sync struct {
	FilePattern       []string `json:"filePattern"`
	IgnoreFilePattern []string `json:"ignoreFilePattern"`
	Type              *string  `json:"type"`
}

Sync struct for Sync

func NewSync

func NewSync() *Sync

NewSync is short for NewSyncWithDefault which instantiates a new Sync 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 NewSyncEmpty

func NewSyncEmpty() *Sync

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

func NewSyncList

func NewSyncList(ps ...*Sync) []Sync

NewSyncs converts a list Sync pointers to objects. This is helpful when the SetSync requires a list of objects

func NewSyncWith

func NewSyncWith(filePattern []string, ignoreFilePattern []string, type_ string) *Sync

NewSyncWith instantiates a new Sync 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 NewSyncWithDefault

func NewSyncWithDefault() *Sync

NewSyncWithDefault instantiates a new Sync 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 (*Sync) GetFilePattern

func (o *Sync) GetFilePattern() []string

GetFilePattern returns the FilePattern field value

func (*Sync) GetFilePatternOk

func (o *Sync) GetFilePatternOk() ([]string, bool)

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

func (*Sync) GetIgnoreFilePattern

func (o *Sync) GetIgnoreFilePattern() []string

GetIgnoreFilePattern returns the IgnoreFilePattern field value

func (*Sync) GetIgnoreFilePatternOk

func (o *Sync) GetIgnoreFilePatternOk() ([]string, bool)

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

func (*Sync) GetType

func (o *Sync) GetType() string

GetType returns the Type field value

func (*Sync) GetTypeOk

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

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

func (Sync) MarshalJSON

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

func (*Sync) SetFilePattern

func (o *Sync) SetFilePattern(v []string) *Sync

SetFilePattern sets field value

func (*Sync) SetIgnoreFilePattern

func (o *Sync) SetIgnoreFilePattern(v []string) *Sync

SetIgnoreFilePattern sets field value

func (*Sync) SetType

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

SetType sets field value

func (Sync) ToMap

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

func (*Sync) Validate

func (o *Sync) Validate() error

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