Documentation ¶
Index ¶
- Constants
- func FromTrait(from common.ApplicationTrait) (apis.Trait, error)
- type AnnotationsSpec
- type AnnotationsTrait
- type NullableAnnotationsSpec
- func (v *NullableAnnotationsSpec) Get() *AnnotationsSpec
- func (v *NullableAnnotationsSpec) IsSet() bool
- func (v NullableAnnotationsSpec) MarshalJSON() ([]byte, error)
- func (v *NullableAnnotationsSpec) Set(val *AnnotationsSpec)
- func (v *NullableAnnotationsSpec) UnmarshalJSON(src []byte) error
- func (v *NullableAnnotationsSpec) Unset()
Constants ¶
const AnnotationsType = "annotations"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AnnotationsSpec ¶
type AnnotationsSpec struct { }
AnnotationsSpec struct for AnnotationsSpec
func NewAnnotationsSpec ¶
func NewAnnotationsSpec() *AnnotationsSpec
NewAnnotationsSpec is short for NewAnnotationsSpecWithDefault which instantiates a new AnnotationsSpec 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 NewAnnotationsSpecEmpty ¶
func NewAnnotationsSpecEmpty() *AnnotationsSpec
NewAnnotationsSpecEmpty instantiates a new AnnotationsSpec object with no properties set. This constructor will not assign any default values to properties.
func NewAnnotationsSpecList ¶
func NewAnnotationsSpecList(ps ...*AnnotationsSpec) []AnnotationsSpec
NewAnnotationsSpecs converts a list AnnotationsSpec pointers to objects. This is helpful when the SetAnnotationsSpec requires a list of objects
func NewAnnotationsSpecWith ¶
func NewAnnotationsSpecWith() *AnnotationsSpec
NewAnnotationsSpecWith instantiates a new AnnotationsSpec 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 NewAnnotationsSpecWithDefault ¶
func NewAnnotationsSpecWithDefault() *AnnotationsSpec
NewAnnotationsSpecWithDefault instantiates a new AnnotationsSpec 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 (AnnotationsSpec) MarshalJSON ¶
func (o AnnotationsSpec) MarshalJSON() ([]byte, error)
func (AnnotationsSpec) ToMap ¶
func (o AnnotationsSpec) ToMap() (map[string]interface{}, error)
type AnnotationsTrait ¶
type AnnotationsTrait struct { Base apis.TraitBase Properties AnnotationsSpec }
func Annotations ¶
func Annotations() *AnnotationsTrait
func (*AnnotationsTrait) Build ¶
func (a *AnnotationsTrait) Build() common.ApplicationTrait
func (*AnnotationsTrait) DefType ¶
func (a *AnnotationsTrait) DefType() string
func (*AnnotationsTrait) FromTrait ¶
func (a *AnnotationsTrait) FromTrait(from common.ApplicationTrait) (*AnnotationsTrait, error)
func (*AnnotationsTrait) Validate ¶
func (o *AnnotationsTrait) Validate() error
Validate validates this AnnotationsSpec 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 NullableAnnotationsSpec ¶
type NullableAnnotationsSpec struct {
// contains filtered or unexported fields
}
func NewNullableAnnotationsSpec ¶
func NewNullableAnnotationsSpec(val *AnnotationsSpec) *NullableAnnotationsSpec
func (*NullableAnnotationsSpec) Get ¶
func (v *NullableAnnotationsSpec) Get() *AnnotationsSpec
func (*NullableAnnotationsSpec) IsSet ¶
func (v *NullableAnnotationsSpec) IsSet() bool
func (NullableAnnotationsSpec) MarshalJSON ¶
func (v NullableAnnotationsSpec) MarshalJSON() ([]byte, error)
func (*NullableAnnotationsSpec) Set ¶
func (v *NullableAnnotationsSpec) Set(val *AnnotationsSpec)
func (*NullableAnnotationsSpec) UnmarshalJSON ¶
func (v *NullableAnnotationsSpec) UnmarshalJSON(src []byte) error
func (*NullableAnnotationsSpec) Unset ¶
func (v *NullableAnnotationsSpec) Unset()