testing

package
v0.17.14-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

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

type ExternalTestType2 struct {
	A string `json:"A,omitempty"`
	B int    `json:"B,omitempty"`
}

+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 (*MyWeirdCustomEmbeddedVersionKindField) 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

func (in *TestType1) DeepCopy() *TestType1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType1.

func (*TestType1) DeepCopyInto

func (in *TestType1) DeepCopyInto(out *TestType1)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TestType1) DeepCopyObject

func (in *TestType1) DeepCopyObject() runtime.Object

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

type TestType2 struct {
	A string `json:"A,omitempty"`
	B int    `json:"B,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TestType2) DeepCopy

func (in *TestType2) DeepCopy() *TestType2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType2.

func (*TestType2) DeepCopyInto

func (in *TestType2) DeepCopyInto(out *TestType2)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TestType2) DeepCopyObject

func (in *TestType2) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*TestType2) GetObjectKind

func (obj *TestType2) GetObjectKind() schema.ObjectKind

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL