Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterConversions ¶ added in v0.18.0
Types ¶
type ExternalInternalSame ¶
type ExternalInternalSame struct { MyWeirdCustomEmbeddedVersionKindField `json:",inline"` A TestType2 `json:"A,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ExternalInternalSame) DeepCopy ¶
func (in *ExternalInternalSame) DeepCopy() *ExternalInternalSame
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalInternalSame.
func (*ExternalInternalSame) DeepCopyInto ¶
func (in *ExternalInternalSame) DeepCopyInto(out *ExternalInternalSame)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalInternalSame) DeepCopyObject ¶
func (in *ExternalInternalSame) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ExternalInternalSame) GetObjectKind ¶
func (obj *ExternalInternalSame) GetObjectKind() schema.ObjectKind
type ExternalTestType1 ¶
type ExternalTestType1 struct { MyWeirdCustomEmbeddedVersionKindField `json:",inline"` A string `json:"A,omitempty"` B int `json:"B,omitempty"` C int8 `json:"C,omitempty"` D int16 `json:"D,omitempty"` E int32 `json:"E,omitempty"` F int64 `json:"F,omitempty"` G uint `json:"G,omitempty"` H uint8 `json:"H,omitempty"` I uint16 `json:"I,omitempty"` J uint32 `json:"J,omitempty"` K uint64 `json:"K,omitempty"` L bool `json:"L,omitempty"` M map[string]int `json:"M,omitempty"` N map[string]ExternalTestType2 `json:"N,omitempty"` O *ExternalTestType2 `json:"O,omitempty"` P []ExternalTestType2 `json:"Q,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ExternalTestType1) DeepCopy ¶
func (in *ExternalTestType1) DeepCopy() *ExternalTestType1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType1.
func (*ExternalTestType1) DeepCopyInto ¶
func (in *ExternalTestType1) DeepCopyInto(out *ExternalTestType1)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalTestType1) DeepCopyObject ¶
func (in *ExternalTestType1) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ExternalTestType1) GetObjectKind ¶
func (obj *ExternalTestType1) GetObjectKind() schema.ObjectKind
type ExternalTestType2 ¶
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ExternalTestType2) DeepCopy ¶
func (in *ExternalTestType2) DeepCopy() *ExternalTestType2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType2.
func (*ExternalTestType2) DeepCopyInto ¶
func (in *ExternalTestType2) DeepCopyInto(out *ExternalTestType2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalTestType2) DeepCopyObject ¶
func (in *ExternalTestType2) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ExternalTestType2) GetObjectKind ¶
func (obj *ExternalTestType2) GetObjectKind() schema.ObjectKind
type MyWeirdCustomEmbeddedVersionKindField ¶
type MyWeirdCustomEmbeddedVersionKindField struct { ID string `json:"ID,omitempty"` APIVersion string `json:"myVersionKey,omitempty"` ObjectKind string `json:"myKindKey,omitempty"` Z string `json:"Z,omitempty"` Y uint64 `json:"Y,omitempty"` }
Test a weird version/kind embedding format. +k8s:deepcopy-gen=false
func (*MyWeirdCustomEmbeddedVersionKindField) GetObjectKind ¶
func (obj *MyWeirdCustomEmbeddedVersionKindField) GetObjectKind() schema.ObjectKind
func (*MyWeirdCustomEmbeddedVersionKindField) GroupVersionKind ¶
func (obj *MyWeirdCustomEmbeddedVersionKindField) GroupVersionKind() schema.GroupVersionKind
func (*MyWeirdCustomEmbeddedVersionKindField) SetGroupVersionKind ¶
func (obj *MyWeirdCustomEmbeddedVersionKindField) SetGroupVersionKind(gvk schema.GroupVersionKind)
type TestType1 ¶
type TestType1 struct { MyWeirdCustomEmbeddedVersionKindField `json:",inline"` A string `json:"A,omitempty"` B int `json:"B,omitempty"` C int8 `json:"C,omitempty"` D int16 `json:"D,omitempty"` E int32 `json:"E,omitempty"` F int64 `json:"F,omitempty"` G uint `json:"G,omitempty"` H uint8 `json:"H,omitempty"` I uint16 `json:"I,omitempty"` J uint32 `json:"J,omitempty"` K uint64 `json:"K,omitempty"` L bool `json:"L,omitempty"` M map[string]int `json:"M,omitempty"` N map[string]TestType2 `json:"N,omitempty"` O *TestType2 `json:"O,omitempty"` P []TestType2 `json:"Q,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TestType1) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType1.
func (*TestType1) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestType1) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TestType1) GetObjectKind ¶
func (obj *TestType1) GetObjectKind() schema.ObjectKind
type TestType2 ¶
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TestType2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType2.
func (*TestType2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestType2) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TestType2) GetObjectKind ¶
func (obj *TestType2) GetObjectKind() schema.ObjectKind