testing

package
v0.0.0-...-112d741 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepCopy_testing_ExternalInternalSame

func DeepCopy_testing_ExternalInternalSame(in interface{}, out interface{}, c *conversion.Cloner) error

DeepCopy_testing_ExternalInternalSame is an autogenerated deepcopy function.

func DeepCopy_testing_ExternalTestType1

func DeepCopy_testing_ExternalTestType1(in interface{}, out interface{}, c *conversion.Cloner) error

DeepCopy_testing_ExternalTestType1 is an autogenerated deepcopy function.

func DeepCopy_testing_ExternalTestType2

func DeepCopy_testing_ExternalTestType2(in interface{}, out interface{}, c *conversion.Cloner) error

DeepCopy_testing_ExternalTestType2 is an autogenerated deepcopy function.

func DeepCopy_testing_TestType1

func DeepCopy_testing_TestType1(in interface{}, out interface{}, c *conversion.Cloner) error

DeepCopy_testing_TestType1 is an autogenerated deepcopy function.

func DeepCopy_testing_TestType2

func DeepCopy_testing_TestType2(in interface{}, out interface{}, c *conversion.Cloner) error

DeepCopy_testing_TestType2 is an autogenerated deepcopy function.

func GetGeneratedDeepCopyFuncs

func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc

GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.

Types

type ExternalInternalSame

type ExternalInternalSame struct {
	MyWeirdCustomEmbeddedVersionKindField `json:",inline"`
	A                                     TestType2 `json:"A,omitempty"`
}

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"`
}

func (*ExternalTestType1) GetObjectKind

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

type ExternalTestType2

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

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"`
}

func (*TestType1) GetObjectKind

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

type TestType2

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

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