Documentation
¶
Index ¶
- Constants
- func FromTrait(from common.ApplicationTrait) (apis.Trait, error)
- type HostAliases
- func (o *HostAliases) GetHostnames() []string
- func (o *HostAliases) GetHostnamesOk() ([]string, bool)
- func (o *HostAliases) GetIp() string
- func (o *HostAliases) GetIpOk() (*string, bool)
- func (o HostAliases) MarshalJSON() ([]byte, error)
- func (o *HostAliases) SetHostnames(v []string) *HostAliases
- func (o *HostAliases) SetIp(v string) *HostAliases
- func (o HostAliases) ToMap() (map[string]interface{}, error)
- func (o *HostAliases) Validate() error
- type HostaliasSpec
- type HostaliasTrait
- func (h *HostaliasTrait) Build() common.ApplicationTrait
- func (h *HostaliasTrait) DefType() string
- func (h *HostaliasTrait) FromTrait(from common.ApplicationTrait) (*HostaliasTrait, error)
- func (o *HostaliasTrait) GetHostAliases() []HostAliases
- func (o *HostaliasTrait) GetHostAliasesOk() ([]HostAliases, bool)
- func (o *HostaliasTrait) SetHostAliases(v []HostAliases) *HostaliasTrait
- func (o *HostaliasTrait) Validate() error
- type NullableHostAliases
- func (v *NullableHostAliases) Get() *HostAliases
- func (v *NullableHostAliases) IsSet() bool
- func (v NullableHostAliases) MarshalJSON() ([]byte, error)
- func (v *NullableHostAliases) Set(val *HostAliases)
- func (v *NullableHostAliases) UnmarshalJSON(src []byte) error
- func (v *NullableHostAliases) Unset()
- type NullableHostaliasSpec
- func (v *NullableHostaliasSpec) Get() *HostaliasSpec
- func (v *NullableHostaliasSpec) IsSet() bool
- func (v NullableHostaliasSpec) MarshalJSON() ([]byte, error)
- func (v *NullableHostaliasSpec) Set(val *HostaliasSpec)
- func (v *NullableHostaliasSpec) UnmarshalJSON(src []byte) error
- func (v *NullableHostaliasSpec) Unset()
Constants ¶
const HostaliasType = "hostalias"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HostAliases ¶
HostAliases struct for HostAliases
func NewHostAliases ¶
func NewHostAliases() *HostAliases
NewHostAliases is short for NewHostAliasesWithDefault which instantiates a new HostAliases object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func NewHostAliasesEmpty ¶
func NewHostAliasesEmpty() *HostAliases
NewHostAliasesEmpty instantiates a new HostAliases object with no properties set. This constructor will not assign any default values to properties.
func NewHostAliasesList ¶
func NewHostAliasesList(ps ...*HostAliases) []HostAliases
NewHostAliasess converts a list HostAliases pointers to objects. This is helpful when the SetHostAliases requires a list of objects
func NewHostAliasesWith ¶
func NewHostAliasesWith(hostnames []string, ip string) *HostAliases
NewHostAliasesWith instantiates a new HostAliases object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewHostAliasesWithDefault ¶
func NewHostAliasesWithDefault() *HostAliases
NewHostAliasesWithDefault instantiates a new HostAliases object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HostAliases) GetHostnames ¶
func (o *HostAliases) GetHostnames() []string
GetHostnames returns the Hostnames field value
func (*HostAliases) GetHostnamesOk ¶
func (o *HostAliases) GetHostnamesOk() ([]string, bool)
GetHostnamesOk returns a tuple with the Hostnames field value and a boolean to check if the value has been set.
func (*HostAliases) GetIpOk ¶
func (o *HostAliases) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value and a boolean to check if the value has been set.
func (HostAliases) MarshalJSON ¶
func (o HostAliases) MarshalJSON() ([]byte, error)
func (*HostAliases) SetHostnames ¶
func (o *HostAliases) SetHostnames(v []string) *HostAliases
SetHostnames sets field value
func (*HostAliases) SetIp ¶
func (o *HostAliases) SetIp(v string) *HostAliases
SetIp sets field value
func (HostAliases) ToMap ¶
func (o HostAliases) ToMap() (map[string]interface{}, error)
func (*HostAliases) Validate ¶
func (o *HostAliases) Validate() error
Validate validates this HostAliases 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set
type HostaliasSpec ¶
type HostaliasSpec struct { // Specify the hostAliases to add HostAliases []HostAliases `json:"hostAliases"` }
HostaliasSpec struct for HostaliasSpec
func NewHostaliasSpec ¶
func NewHostaliasSpec() *HostaliasSpec
NewHostaliasSpec is short for NewHostaliasSpecWithDefault which instantiates a new HostaliasSpec 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 NewHostaliasSpecEmpty ¶
func NewHostaliasSpecEmpty() *HostaliasSpec
NewHostaliasSpecEmpty instantiates a new HostaliasSpec object with no properties set. This constructor will not assign any default values to properties.
func NewHostaliasSpecList ¶
func NewHostaliasSpecList(ps ...*HostaliasSpec) []HostaliasSpec
NewHostaliasSpecs converts a list HostaliasSpec pointers to objects. This is helpful when the SetHostaliasSpec requires a list of objects
func NewHostaliasSpecWith ¶
func NewHostaliasSpecWith(hostAliases []HostAliases) *HostaliasSpec
NewHostaliasSpecWith instantiates a new HostaliasSpec 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 NewHostaliasSpecWithDefault ¶
func NewHostaliasSpecWithDefault() *HostaliasSpec
NewHostaliasSpecWithDefault instantiates a new HostaliasSpec 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 (HostaliasSpec) MarshalJSON ¶
func (o HostaliasSpec) MarshalJSON() ([]byte, error)
func (HostaliasSpec) ToMap ¶
func (o HostaliasSpec) ToMap() (map[string]interface{}, error)
type HostaliasTrait ¶
type HostaliasTrait struct { Base apis.TraitBase Properties HostaliasSpec }
func Hostalias ¶
func Hostalias() *HostaliasTrait
func (*HostaliasTrait) Build ¶
func (h *HostaliasTrait) Build() common.ApplicationTrait
func (*HostaliasTrait) DefType ¶
func (h *HostaliasTrait) DefType() string
func (*HostaliasTrait) FromTrait ¶
func (h *HostaliasTrait) FromTrait(from common.ApplicationTrait) (*HostaliasTrait, error)
func (*HostaliasTrait) GetHostAliases ¶
func (o *HostaliasTrait) GetHostAliases() []HostAliases
GetHostAliases returns the HostAliases field value
func (*HostaliasTrait) GetHostAliasesOk ¶
func (o *HostaliasTrait) GetHostAliasesOk() ([]HostAliases, bool)
GetHostAliasesOk returns a tuple with the HostAliases field value and a boolean to check if the value has been set.
func (*HostaliasTrait) SetHostAliases ¶
func (o *HostaliasTrait) SetHostAliases(v []HostAliases) *HostaliasTrait
SetHostAliases sets field value
func (*HostaliasTrait) Validate ¶
func (o *HostaliasTrait) Validate() error
Validate validates this HostaliasSpec 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 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 NullableHostaliasSpec ¶
type NullableHostaliasSpec struct {
// contains filtered or unexported fields
}
func NewNullableHostaliasSpec ¶
func NewNullableHostaliasSpec(val *HostaliasSpec) *NullableHostaliasSpec
func (*NullableHostaliasSpec) Get ¶
func (v *NullableHostaliasSpec) Get() *HostaliasSpec
func (*NullableHostaliasSpec) IsSet ¶
func (v *NullableHostaliasSpec) IsSet() bool
func (NullableHostaliasSpec) MarshalJSON ¶
func (v NullableHostaliasSpec) MarshalJSON() ([]byte, error)
func (*NullableHostaliasSpec) Set ¶
func (v *NullableHostaliasSpec) Set(val *HostaliasSpec)
func (*NullableHostaliasSpec) UnmarshalJSON ¶
func (v *NullableHostaliasSpec) UnmarshalJSON(src []byte) error
func (*NullableHostaliasSpec) Unset ¶
func (v *NullableHostaliasSpec) Unset()