Documentation ¶
Index ¶
- Constants
- func FromTrait(from common.ApplicationTrait) (apis.Trait, error)
- type Command
- func (o *Command) GetDebug() []string
- func (o *Command) GetDebugOk() ([]string, bool)
- func (o *Command) GetRun() []string
- func (o *Command) GetRunOk() ([]string, bool)
- func (o Command) MarshalJSON() ([]byte, error)
- func (o *Command) SetDebug(v []string) *Command
- func (o *Command) SetRun(v []string) *Command
- func (o Command) ToMap() (map[string]interface{}, error)
- func (o *Command) Validate() error
- type Debug
- func (o *Debug) GetRemoteDebugPort() int32
- func (o *Debug) GetRemoteDebugPortOk() (*int32, bool)
- func (o *Debug) HasRemoteDebugPort() bool
- func (o Debug) MarshalJSON() ([]byte, error)
- func (o *Debug) SetRemoteDebugPort(v int32) *Debug
- func (o Debug) ToMap() (map[string]interface{}, error)
- func (o *Debug) Validate() error
- type Env
- func (o *Env) GetName() string
- func (o *Env) GetNameOk() (*string, bool)
- func (o *Env) GetValue() string
- func (o *Env) GetValueOk() (*string, bool)
- func (o Env) MarshalJSON() ([]byte, error)
- func (o *Env) SetName(v string) *Env
- func (o *Env) SetValue(v string) *Env
- func (o Env) ToMap() (map[string]interface{}, error)
- func (o *Env) Validate() error
- type Image
- type Limits
- func (o *Limits) GetCpu() string
- func (o *Limits) GetCpuOk() (*string, bool)
- func (o *Limits) GetMemory() string
- func (o *Limits) GetMemoryOk() (*string, bool)
- func (o Limits) MarshalJSON() ([]byte, error)
- func (o *Limits) SetCpu(v string) *Limits
- func (o *Limits) SetMemory(v string) *Limits
- func (o Limits) ToMap() (map[string]interface{}, error)
- func (o *Limits) Validate() error
- type NocalhostSpec
- func NewNocalhostSpec() *NocalhostSpec
- func NewNocalhostSpecEmpty() *NocalhostSpec
- func NewNocalhostSpecList(ps ...*NocalhostSpec) []NocalhostSpec
- func NewNocalhostSpecWith(command Command, hotReload bool, image Image, port int32, resources Resources, ...) *NocalhostSpec
- func NewNocalhostSpecWithDefault() *NocalhostSpec
- type NocalhostTrait
- func (n *NocalhostTrait) Build() common.ApplicationTrait
- func (n *NocalhostTrait) DefType() string
- func (n *NocalhostTrait) FromTrait(from common.ApplicationTrait) (*NocalhostTrait, error)
- func (o *NocalhostTrait) GetCommand() Command
- func (o *NocalhostTrait) GetCommandOk() (*Command, bool)
- func (o *NocalhostTrait) GetDebug() Debug
- func (o *NocalhostTrait) GetDebugOk() (*Debug, bool)
- func (o *NocalhostTrait) GetEnv() []Env
- func (o *NocalhostTrait) GetEnvOk() ([]Env, bool)
- func (o *NocalhostTrait) GetGitUrl() string
- func (o *NocalhostTrait) GetGitUrlOk() (*string, bool)
- func (o *NocalhostTrait) GetHotReload() bool
- func (o *NocalhostTrait) GetHotReloadOk() (*bool, bool)
- func (o *NocalhostTrait) GetImage() Image
- func (o *NocalhostTrait) GetImageOk() (*Image, bool)
- func (o *NocalhostTrait) GetPersistentVolumeDirs() []PersistentVolumeDirs
- func (o *NocalhostTrait) GetPersistentVolumeDirsOk() ([]PersistentVolumeDirs, bool)
- func (o *NocalhostTrait) GetPort() int32
- func (o *NocalhostTrait) GetPortForward() []string
- func (o *NocalhostTrait) GetPortForwardOk() ([]string, bool)
- func (o *NocalhostTrait) GetPortOk() (*int32, bool)
- func (o *NocalhostTrait) GetResources() Resources
- func (o *NocalhostTrait) GetResourcesOk() (*Resources, bool)
- func (o *NocalhostTrait) GetServiceType() string
- func (o *NocalhostTrait) GetServiceTypeOk() (*string, bool)
- func (o *NocalhostTrait) GetShell() string
- func (o *NocalhostTrait) GetShellOk() (*string, bool)
- func (o *NocalhostTrait) GetStorageClass() string
- func (o *NocalhostTrait) GetStorageClassOk() (*string, bool)
- func (o *NocalhostTrait) GetSync() Sync
- func (o *NocalhostTrait) GetSyncOk() (*Sync, bool)
- func (o *NocalhostTrait) GetWorkDir() string
- func (o *NocalhostTrait) GetWorkDirOk() (*string, bool)
- func (o *NocalhostTrait) HasDebug() bool
- func (o *NocalhostTrait) HasEnv() bool
- func (o *NocalhostTrait) HasGitUrl() bool
- func (o *NocalhostTrait) HasPersistentVolumeDirs() bool
- func (o *NocalhostTrait) HasPortForward() bool
- func (o *NocalhostTrait) HasStorageClass() bool
- func (o *NocalhostTrait) SetCommand(v Command) *NocalhostTrait
- func (o *NocalhostTrait) SetDebug(v Debug) *NocalhostTrait
- func (o *NocalhostTrait) SetEnv(v []Env) *NocalhostTrait
- func (o *NocalhostTrait) SetGitUrl(v string) *NocalhostTrait
- func (o *NocalhostTrait) SetHotReload(v bool) *NocalhostTrait
- func (o *NocalhostTrait) SetImage(v Image) *NocalhostTrait
- func (o *NocalhostTrait) SetPersistentVolumeDirs(v []PersistentVolumeDirs) *NocalhostTrait
- func (o *NocalhostTrait) SetPort(v int32) *NocalhostTrait
- func (o *NocalhostTrait) SetPortForward(v []string) *NocalhostTrait
- func (o *NocalhostTrait) SetResources(v Resources) *NocalhostTrait
- func (o *NocalhostTrait) SetServiceType(v string) *NocalhostTrait
- func (o *NocalhostTrait) SetShell(v string) *NocalhostTrait
- func (o *NocalhostTrait) SetStorageClass(v string) *NocalhostTrait
- func (o *NocalhostTrait) SetSync(v Sync) *NocalhostTrait
- func (o *NocalhostTrait) SetWorkDir(v string) *NocalhostTrait
- func (o *NocalhostTrait) Validate() error
- type NullableCommand
- type NullableDebug
- type NullableEnv
- type NullableImage
- type NullableLimits
- type NullableNocalhostSpec
- func (v *NullableNocalhostSpec) Get() *NocalhostSpec
- func (v *NullableNocalhostSpec) IsSet() bool
- func (v NullableNocalhostSpec) MarshalJSON() ([]byte, error)
- func (v *NullableNocalhostSpec) Set(val *NocalhostSpec)
- func (v *NullableNocalhostSpec) UnmarshalJSON(src []byte) error
- func (v *NullableNocalhostSpec) Unset()
- type NullablePersistentVolumeDirs
- func (v *NullablePersistentVolumeDirs) Get() *PersistentVolumeDirs
- func (v *NullablePersistentVolumeDirs) IsSet() bool
- func (v NullablePersistentVolumeDirs) MarshalJSON() ([]byte, error)
- func (v *NullablePersistentVolumeDirs) Set(val *PersistentVolumeDirs)
- func (v *NullablePersistentVolumeDirs) UnmarshalJSON(src []byte) error
- func (v *NullablePersistentVolumeDirs) Unset()
- type NullableRequests
- type NullableResources
- type NullableSync
- type PersistentVolumeDirs
- func NewPersistentVolumeDirs() *PersistentVolumeDirs
- func NewPersistentVolumeDirsEmpty() *PersistentVolumeDirs
- func NewPersistentVolumeDirsList(ps ...*PersistentVolumeDirs) []PersistentVolumeDirs
- func NewPersistentVolumeDirsWith(capacity string, path string) *PersistentVolumeDirs
- func NewPersistentVolumeDirsWithDefault() *PersistentVolumeDirs
- func (o *PersistentVolumeDirs) GetCapacity() string
- func (o *PersistentVolumeDirs) GetCapacityOk() (*string, bool)
- func (o *PersistentVolumeDirs) GetPath() string
- func (o *PersistentVolumeDirs) GetPathOk() (*string, bool)
- func (o PersistentVolumeDirs) MarshalJSON() ([]byte, error)
- func (o *PersistentVolumeDirs) SetCapacity(v string) *PersistentVolumeDirs
- func (o *PersistentVolumeDirs) SetPath(v string) *PersistentVolumeDirs
- func (o PersistentVolumeDirs) ToMap() (map[string]interface{}, error)
- func (o *PersistentVolumeDirs) Validate() error
- type Requests
- func (o *Requests) GetCpu() string
- func (o *Requests) GetCpuOk() (*string, bool)
- func (o *Requests) GetMemory() string
- func (o *Requests) GetMemoryOk() (*string, bool)
- func (o Requests) MarshalJSON() ([]byte, error)
- func (o *Requests) SetCpu(v string) *Requests
- func (o *Requests) SetMemory(v string) *Requests
- func (o Requests) ToMap() (map[string]interface{}, error)
- func (o *Requests) Validate() error
- type Resources
- func (o *Resources) GetLimits() Limits
- func (o *Resources) GetLimitsOk() (*Limits, bool)
- func (o *Resources) GetRequests() Requests
- func (o *Resources) GetRequestsOk() (*Requests, bool)
- func (o Resources) MarshalJSON() ([]byte, error)
- func (o *Resources) SetLimits(v Limits) *Resources
- func (o *Resources) SetRequests(v Requests) *Resources
- func (o Resources) ToMap() (map[string]interface{}, error)
- func (o *Resources) Validate() error
- type Sync
- func (o *Sync) GetFilePattern() []string
- func (o *Sync) GetFilePatternOk() ([]string, bool)
- func (o *Sync) GetIgnoreFilePattern() []string
- func (o *Sync) GetIgnoreFilePatternOk() ([]string, bool)
- func (o *Sync) GetType() string
- func (o *Sync) GetTypeOk() (*string, bool)
- func (o Sync) MarshalJSON() ([]byte, error)
- func (o *Sync) SetFilePattern(v []string) *Sync
- func (o *Sync) SetIgnoreFilePattern(v []string) *Sync
- func (o *Sync) SetType(v string) *Sync
- func (o Sync) ToMap() (map[string]interface{}, error)
- func (o *Sync) Validate() error
Constants ¶
const NocalhostType = "nocalhost"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
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 ¶
NewCommands converts a list Command pointers to objects. This is helpful when the SetCommand requires a list of objects
func NewCommandWith ¶
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) GetDebugOk ¶
GetDebugOk returns a tuple with the Debug field value and a boolean to check if the value has been set.
func (*Command) GetRunOk ¶
GetRunOk returns a tuple with the Run field value and a boolean to check if the value has been set.
func (Command) MarshalJSON ¶
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 ¶
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 ¶
GetRemoteDebugPort returns the RemoteDebugPort field value if set, zero value otherwise.
func (*Debug) GetRemoteDebugPortOk ¶
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 ¶
HasRemoteDebugPort returns a boolean if a field has been set.
func (Debug) MarshalJSON ¶
func (*Debug) SetRemoteDebugPort ¶
SetRemoteDebugPort gets a reference to the given int32 and assigns it to the remoteDebugPort field. RemoteDebugPort:
type Env ¶
Env struct for Env
func NewEnv ¶
func NewEnv() *Env
NewEnv is short for NewEnvWithDefault which instantiates a new Env object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func NewEnvEmpty ¶
func NewEnvEmpty() *Env
NewEnvEmpty instantiates a new Env object with no properties set. This constructor will not assign any default values to properties.
func NewEnvList ¶
NewEnvs converts a list Env pointers to objects. This is helpful when the SetEnv requires a list of objects
func NewEnvWith ¶
NewEnvWith instantiates a new Env object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewEnvWithDefault ¶
func NewEnvWithDefault() *Env
NewEnvWithDefault instantiates a new Env object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Env) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Env) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (Env) MarshalJSON ¶
type Image ¶
type Image struct {
String *string
}
Image - struct for Image
func StringAsImage ¶
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 ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Image) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Limits ¶
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 ¶
NewLimitss converts a list Limits pointers to objects. This is helpful when the SetLimits requires a list of objects
func NewLimitsWith ¶
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) GetCpuOk ¶
GetCpuOk returns a tuple with the Cpu field value and a boolean to check if the value has been set.
func (*Limits) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.
func (Limits) MarshalJSON ¶
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 (n *NocalhostTrait) Build() common.ApplicationTrait
func (*NocalhostTrait) DefType ¶
func (n *NocalhostTrait) DefType() string
func (*NocalhostTrait) FromTrait ¶
func (n *NocalhostTrait) FromTrait(from common.ApplicationTrait) (*NocalhostTrait, error)
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 (v *NullableNocalhostSpec) Get() *NocalhostSpec
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 (v *NullablePersistentVolumeDirs) Get() *PersistentVolumeDirs
func (*NullablePersistentVolumeDirs) IsSet ¶
func (v *NullablePersistentVolumeDirs) IsSet() bool
func (NullablePersistentVolumeDirs) MarshalJSON ¶
func (v NullablePersistentVolumeDirs) MarshalJSON() ([]byte, error)
func (*NullablePersistentVolumeDirs) Set ¶
func (v *NullablePersistentVolumeDirs) Set(val *PersistentVolumeDirs)
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 ¶
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 ¶
func (o *PersistentVolumeDirs) SetCapacity(v string) *PersistentVolumeDirs
SetCapacity sets field value
func (*PersistentVolumeDirs) SetPath ¶
func (o *PersistentVolumeDirs) SetPath(v string) *PersistentVolumeDirs
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 ¶
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 ¶
NewRequestss converts a list Requests pointers to objects. This is helpful when the SetRequests requires a list of objects
func NewRequestsWith ¶
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) GetCpuOk ¶
GetCpuOk returns a tuple with the Cpu field value and a boolean to check if the value has been set.
func (*Requests) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.
func (Requests) MarshalJSON ¶
type Resources ¶
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 ¶
NewResourcess converts a list Resources pointers to objects. This is helpful when the SetResources requires a list of objects
func NewResourcesWith ¶
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) GetLimitsOk ¶
GetLimitsOk returns a tuple with the Limits field value and a boolean to check if the value has been set.
func (*Resources) GetRequests ¶
GetRequests returns the Requests field value
func (*Resources) GetRequestsOk ¶
GetRequestsOk returns a tuple with the Requests field value and a boolean to check if the value has been set.
func (Resources) MarshalJSON ¶
func (*Resources) SetRequests ¶
SetRequests sets field value
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 ¶
NewSyncs converts a list Sync pointers to objects. This is helpful when the SetSync requires a list of objects
func NewSyncWith ¶
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 ¶
GetFilePattern returns the FilePattern field value
func (*Sync) GetFilePatternOk ¶
GetFilePatternOk returns a tuple with the FilePattern field value and a boolean to check if the value has been set.
func (*Sync) GetIgnoreFilePattern ¶
GetIgnoreFilePattern returns the IgnoreFilePattern field value
func (*Sync) GetIgnoreFilePatternOk ¶
GetIgnoreFilePatternOk returns a tuple with the IgnoreFilePattern field value and a boolean to check if the value has been set.
func (*Sync) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Sync) MarshalJSON ¶
func (*Sync) SetFilePattern ¶
SetFilePattern sets field value
func (*Sync) SetIgnoreFilePattern ¶
SetIgnoreFilePattern sets field value