Documentation ¶
Index ¶
- Constants
- func FromTrait(from common.ApplicationTrait) (apis.Trait, error)
- type JSONMergePatchTrait
- type JsonMergePatchSpec
- type NullableJsonMergePatchSpec
- func (v *NullableJsonMergePatchSpec) Get() *JsonMergePatchSpec
- func (v *NullableJsonMergePatchSpec) IsSet() bool
- func (v NullableJsonMergePatchSpec) MarshalJSON() ([]byte, error)
- func (v *NullableJsonMergePatchSpec) Set(val *JsonMergePatchSpec)
- func (v *NullableJsonMergePatchSpec) UnmarshalJSON(src []byte) error
- func (v *NullableJsonMergePatchSpec) Unset()
Constants ¶
const JsonMergePatchType = "json-merge-patch"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JSONMergePatchTrait ¶
type JSONMergePatchTrait struct { Base apis.TraitBase Properties JsonMergePatchSpec }
func JsonMergePatch ¶
func JsonMergePatch() *JSONMergePatchTrait
func (*JSONMergePatchTrait) Build ¶
func (j *JSONMergePatchTrait) Build() common.ApplicationTrait
func (*JSONMergePatchTrait) DefType ¶
func (j *JSONMergePatchTrait) DefType() string
func (*JSONMergePatchTrait) FromTrait ¶
func (j *JSONMergePatchTrait) FromTrait(from common.ApplicationTrait) (*JSONMergePatchTrait, error)
func (*JSONMergePatchTrait) Validate ¶
func (o *JSONMergePatchTrait) Validate() error
Validate validates this JsonMergePatchSpec 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 JsonMergePatchSpec ¶
type JsonMergePatchSpec struct { }
JsonMergePatchSpec struct for JsonMergePatchSpec
func NewJsonMergePatchSpec ¶
func NewJsonMergePatchSpec() *JsonMergePatchSpec
NewJsonMergePatchSpec is short for NewJsonMergePatchSpecWithDefault which instantiates a new JsonMergePatchSpec 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 NewJsonMergePatchSpecEmpty ¶
func NewJsonMergePatchSpecEmpty() *JsonMergePatchSpec
NewJsonMergePatchSpecEmpty instantiates a new JsonMergePatchSpec object with no properties set. This constructor will not assign any default values to properties.
func NewJsonMergePatchSpecList ¶
func NewJsonMergePatchSpecList(ps ...*JsonMergePatchSpec) []JsonMergePatchSpec
NewJsonMergePatchSpecs converts a list JsonMergePatchSpec pointers to objects. This is helpful when the SetJsonMergePatchSpec requires a list of objects
func NewJsonMergePatchSpecWith ¶
func NewJsonMergePatchSpecWith() *JsonMergePatchSpec
NewJsonMergePatchSpecWith instantiates a new JsonMergePatchSpec 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 NewJsonMergePatchSpecWithDefault ¶
func NewJsonMergePatchSpecWithDefault() *JsonMergePatchSpec
NewJsonMergePatchSpecWithDefault instantiates a new JsonMergePatchSpec 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 (JsonMergePatchSpec) MarshalJSON ¶
func (o JsonMergePatchSpec) MarshalJSON() ([]byte, error)
func (JsonMergePatchSpec) ToMap ¶
func (o JsonMergePatchSpec) ToMap() (map[string]interface{}, error)
type NullableJsonMergePatchSpec ¶
type NullableJsonMergePatchSpec struct {
// contains filtered or unexported fields
}
func NewNullableJsonMergePatchSpec ¶
func NewNullableJsonMergePatchSpec(val *JsonMergePatchSpec) *NullableJsonMergePatchSpec
func (*NullableJsonMergePatchSpec) Get ¶
func (v *NullableJsonMergePatchSpec) Get() *JsonMergePatchSpec
func (*NullableJsonMergePatchSpec) IsSet ¶
func (v *NullableJsonMergePatchSpec) IsSet() bool
func (NullableJsonMergePatchSpec) MarshalJSON ¶
func (v NullableJsonMergePatchSpec) MarshalJSON() ([]byte, error)
func (*NullableJsonMergePatchSpec) Set ¶
func (v *NullableJsonMergePatchSpec) Set(val *JsonMergePatchSpec)
func (*NullableJsonMergePatchSpec) UnmarshalJSON ¶
func (v *NullableJsonMergePatchSpec) UnmarshalJSON(src []byte) error
func (*NullableJsonMergePatchSpec) Unset ¶
func (v *NullableJsonMergePatchSpec) Unset()