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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepCopy_testing_EmbeddedTest

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

DeepCopy_testing_EmbeddedTest is an autogenerated deepcopy function.

func DeepCopy_testing_EmbeddedTestExternal

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

DeepCopy_testing_EmbeddedTestExternal is an autogenerated deepcopy function.

func DeepCopy_testing_ExtensionA

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

DeepCopy_testing_ExtensionA is an autogenerated deepcopy function.

func DeepCopy_testing_ExtensionB

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

DeepCopy_testing_ExtensionB is an autogenerated deepcopy function.

func DeepCopy_testing_ExternalComplex

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

DeepCopy_testing_ExternalComplex is an autogenerated deepcopy function.

func DeepCopy_testing_ExternalExtensionType

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

DeepCopy_testing_ExternalExtensionType is an autogenerated deepcopy function.

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_ExternalOptionalExtensionType

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

DeepCopy_testing_ExternalOptionalExtensionType is an autogenerated deepcopy function.

func DeepCopy_testing_ExternalSimple

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

DeepCopy_testing_ExternalSimple 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_InternalComplex

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

DeepCopy_testing_InternalComplex is an autogenerated deepcopy function.

func DeepCopy_testing_InternalExtensionType

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

DeepCopy_testing_InternalExtensionType is an autogenerated deepcopy function.

func DeepCopy_testing_InternalOptionalExtensionType

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

DeepCopy_testing_InternalOptionalExtensionType is an autogenerated deepcopy function.

func DeepCopy_testing_InternalSimple

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

DeepCopy_testing_InternalSimple is an autogenerated deepcopy function.

func DeepCopy_testing_ObjectTest

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

DeepCopy_testing_ObjectTest is an autogenerated deepcopy function.

func DeepCopy_testing_ObjectTestExternal

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

DeepCopy_testing_ObjectTestExternal 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 DeepCopy_testing_UnknownType

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

DeepCopy_testing_UnknownType is an autogenerated deepcopy function.

func DeepCopy_testing_UnversionedType

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

DeepCopy_testing_UnversionedType is an autogenerated deepcopy function.

func GetGeneratedDeepCopyFuncs

func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc

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

Types

type EmbeddedTest

type EmbeddedTest struct {
	runtime.TypeMeta
	ID          string
	Object      runtime.Object
	EmptyObject runtime.Object
}

type EmbeddedTestExternal

type EmbeddedTestExternal struct {
	runtime.TypeMeta `json:",inline"`
	ID               string               `json:"id,omitempty"`
	Object           runtime.RawExtension `json:"object,omitempty"`
	EmptyObject      runtime.RawExtension `json:"emptyObject,omitempty"`
}

type ExtensionA

type ExtensionA struct {
	runtime.TypeMeta `json:",inline"`
	TestString       string `json:"testString"`
}

type ExtensionB

type ExtensionB struct {
	runtime.TypeMeta `json:",inline"`
	TestString       string `json:"testString"`
}

type ExternalComplex

type ExternalComplex struct {
	runtime.TypeMeta `json:",inline"`
	String           string `json:"string" description:"testing"`
	Integer          int    `json:"int"`
	Integer64        int64  `json:",omitempty"`
	Int64            int64
	Bool             bool `json:"bool"`
}

type ExternalExtensionType

type ExternalExtensionType struct {
	runtime.TypeMeta `json:",inline"`
	Extension        runtime.RawExtension `json:"extension"`
}

type ExternalInternalSame

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

type ExternalOptionalExtensionType

type ExternalOptionalExtensionType struct {
	runtime.TypeMeta `json:",inline"`
	Extension        runtime.RawExtension `json:"extension,omitempty"`
}

type ExternalSimple

type ExternalSimple struct {
	runtime.TypeMeta `json:",inline"`
	TestString       string `json:"testString"`
}

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

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 InternalComplex

type InternalComplex struct {
	runtime.TypeMeta
	String    string
	Integer   int
	Integer64 int64
	Int64     int64
	Bool      bool
}

type InternalExtensionType

type InternalExtensionType struct {
	runtime.TypeMeta `json:",inline"`
	Extension        runtime.Object `json:"extension"`
}

type InternalOptionalExtensionType

type InternalOptionalExtensionType struct {
	runtime.TypeMeta `json:",inline"`
	Extension        runtime.Object `json:"extension,omitempty"`
}

type InternalSimple

type InternalSimple struct {
	runtime.TypeMeta `json:",inline"`
	TestString       string `json:"testString"`
}

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 ObjectTest

type ObjectTest struct {
	runtime.TypeMeta

	ID    string
	Items []runtime.Object
}

type ObjectTestExternal

type ObjectTestExternal struct {
	runtime.TypeMeta `yaml:",inline" json:",inline"`

	ID    string                 `json:"id,omitempty"`
	Items []runtime.RawExtension `json:"items,omitempty"`
}

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

type TestType2

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

func (*TestType2) GetObjectKind

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

type UnknownType

type UnknownType struct {
	MyWeirdCustomEmbeddedVersionKindField `json:",inline"`
	A                                     string `json:"A,omitempty"`
}

type UnversionedType

type UnversionedType struct {
	MyWeirdCustomEmbeddedVersionKindField `json:",inline"`
	A                                     string `json:"A,omitempty"`
}

Jump to

Keyboard shortcuts

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