Documentation
¶
Index ¶
Constants ¶
const LabelsType = "labels"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LabelsSpec ¶
type LabelsSpec struct { }
LabelsSpec struct for LabelsSpec
func NewLabelsSpec ¶
func NewLabelsSpec() *LabelsSpec
NewLabelsSpec is short for NewLabelsSpecWithDefault which instantiates a new LabelsSpec 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 NewLabelsSpecEmpty ¶
func NewLabelsSpecEmpty() *LabelsSpec
NewLabelsSpecEmpty instantiates a new LabelsSpec object with no properties set. This constructor will not assign any default values to properties.
func NewLabelsSpecList ¶
func NewLabelsSpecList(ps ...*LabelsSpec) []LabelsSpec
NewLabelsSpecs converts a list LabelsSpec pointers to objects. This is helpful when the SetLabelsSpec requires a list of objects
func NewLabelsSpecWith ¶
func NewLabelsSpecWith() *LabelsSpec
NewLabelsSpecWith instantiates a new LabelsSpec 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 NewLabelsSpecWithDefault ¶
func NewLabelsSpecWithDefault() *LabelsSpec
NewLabelsSpecWithDefault instantiates a new LabelsSpec 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 (LabelsSpec) MarshalJSON ¶
func (o LabelsSpec) MarshalJSON() ([]byte, error)
func (LabelsSpec) ToMap ¶
func (o LabelsSpec) ToMap() (map[string]interface{}, error)
type LabelsTrait ¶
type LabelsTrait struct { Base apis.TraitBase Properties LabelsSpec }
func Labels ¶
func Labels() *LabelsTrait
func (*LabelsTrait) Build ¶
func (l *LabelsTrait) Build() common.ApplicationTrait
func (*LabelsTrait) DefType ¶
func (l *LabelsTrait) DefType() string
func (*LabelsTrait) FromTrait ¶
func (l *LabelsTrait) FromTrait(from common.ApplicationTrait) (*LabelsTrait, error)
func (*LabelsTrait) Validate ¶
func (o *LabelsTrait) Validate() error
Validate validates this LabelsSpec 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 NullableLabelsSpec ¶
type NullableLabelsSpec struct {
// contains filtered or unexported fields
}
func NewNullableLabelsSpec ¶
func NewNullableLabelsSpec(val *LabelsSpec) *NullableLabelsSpec
func (*NullableLabelsSpec) Get ¶
func (v *NullableLabelsSpec) Get() *LabelsSpec
func (*NullableLabelsSpec) IsSet ¶
func (v *NullableLabelsSpec) IsSet() bool
func (NullableLabelsSpec) MarshalJSON ¶
func (v NullableLabelsSpec) MarshalJSON() ([]byte, error)
func (*NullableLabelsSpec) Set ¶
func (v *NullableLabelsSpec) Set(val *LabelsSpec)
func (*NullableLabelsSpec) UnmarshalJSON ¶
func (v *NullableLabelsSpec) UnmarshalJSON(src []byte) error
func (*NullableLabelsSpec) Unset ¶
func (v *NullableLabelsSpec) Unset()