testing

package
v0.0.0-...-b814ad5 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmbeddedTest

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

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

func (*EmbeddedTest) DeepCopy

func (in *EmbeddedTest) DeepCopy() *EmbeddedTest

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

func (*EmbeddedTest) DeepCopyInto

func (in *EmbeddedTest) DeepCopyInto(out *EmbeddedTest)

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

func (*EmbeddedTest) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new 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"`
}

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

func (*EmbeddedTestExternal) DeepCopy

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

func (*EmbeddedTestExternal) DeepCopyInto

func (in *EmbeddedTestExternal) DeepCopyInto(out *EmbeddedTestExternal)

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

func (*EmbeddedTestExternal) DeepCopyObject

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

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

type ExtensionA

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

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

func (*ExtensionA) DeepCopy

func (in *ExtensionA) DeepCopy() *ExtensionA

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

func (*ExtensionA) DeepCopyInto

func (in *ExtensionA) DeepCopyInto(out *ExtensionA)

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

func (*ExtensionA) DeepCopyObject

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

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

type ExtensionB

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

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

func (*ExtensionB) DeepCopy

func (in *ExtensionB) DeepCopy() *ExtensionB

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

func (*ExtensionB) DeepCopyInto

func (in *ExtensionB) DeepCopyInto(out *ExtensionB)

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

func (*ExtensionB) DeepCopyObject

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

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

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

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

func (*ExternalComplex) DeepCopy

func (in *ExternalComplex) DeepCopy() *ExternalComplex

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

func (*ExternalComplex) DeepCopyInto

func (in *ExternalComplex) DeepCopyInto(out *ExternalComplex)

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

func (*ExternalComplex) DeepCopyObject

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

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

type ExternalExtensionType

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

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

func (*ExternalExtensionType) DeepCopy

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

func (*ExternalExtensionType) DeepCopyInto

func (in *ExternalExtensionType) DeepCopyInto(out *ExternalExtensionType)

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

func (*ExternalExtensionType) DeepCopyObject

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

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

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.

type ExternalOptionalExtensionType

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

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

func (*ExternalOptionalExtensionType) DeepCopy

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

func (*ExternalOptionalExtensionType) DeepCopyInto

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

func (*ExternalOptionalExtensionType) DeepCopyObject

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

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

type ExternalSimple

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

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

func (*ExternalSimple) DeepCopy

func (in *ExternalSimple) DeepCopy() *ExternalSimple

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

func (*ExternalSimple) DeepCopyInto

func (in *ExternalSimple) DeepCopyInto(out *ExternalSimple)

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

func (*ExternalSimple) DeepCopyObject

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

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

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.

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 InternalComplex

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

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

func (*InternalComplex) DeepCopy

func (in *InternalComplex) DeepCopy() *InternalComplex

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

func (*InternalComplex) DeepCopyInto

func (in *InternalComplex) DeepCopyInto(out *InternalComplex)

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

func (*InternalComplex) DeepCopyObject

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

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

type InternalExtensionType

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

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

func (*InternalExtensionType) DeepCopy

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

func (*InternalExtensionType) DeepCopyInto

func (in *InternalExtensionType) DeepCopyInto(out *InternalExtensionType)

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

func (*InternalExtensionType) DeepCopyObject

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

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

type InternalOptionalExtensionType

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

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

func (*InternalOptionalExtensionType) DeepCopy

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

func (*InternalOptionalExtensionType) DeepCopyInto

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

func (*InternalOptionalExtensionType) DeepCopyObject

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

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

type InternalSimple

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

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

func (*InternalSimple) DeepCopy

func (in *InternalSimple) DeepCopy() *InternalSimple

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

func (*InternalSimple) DeepCopyInto

func (in *InternalSimple) DeepCopyInto(out *InternalSimple)

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

func (*InternalSimple) DeepCopyObject

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

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

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
}

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

func (*ObjectTest) DeepCopy

func (in *ObjectTest) DeepCopy() *ObjectTest

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

func (*ObjectTest) DeepCopyInto

func (in *ObjectTest) DeepCopyInto(out *ObjectTest)

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

func (*ObjectTest) DeepCopyObject

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

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

type ObjectTestExternal

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

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

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

func (*ObjectTestExternal) DeepCopy

func (in *ObjectTestExternal) DeepCopy() *ObjectTestExternal

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

func (*ObjectTestExternal) DeepCopyInto

func (in *ObjectTestExternal) DeepCopyInto(out *ObjectTestExternal)

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

func (*ObjectTestExternal) DeepCopyObject

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

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

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.

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

type UnknownType

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

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

func (*UnknownType) DeepCopy

func (in *UnknownType) DeepCopy() *UnknownType

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

func (*UnknownType) DeepCopyInto

func (in *UnknownType) DeepCopyInto(out *UnknownType)

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

func (*UnknownType) DeepCopyObject

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

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

type Unstructured

type Unstructured struct {
	// Object is a JSON compatible map with string, float, int, bool, []interface{}, or
	// map[string]interface{}
	// children.
	Object map[string]interface{}
}

+k8s:deepcopy-gen=false

func (*Unstructured) DeepCopy

func (in *Unstructured) DeepCopy() *Unstructured

func (*Unstructured) DeepCopyObject

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

func (*Unstructured) EachListItem

func (obj *Unstructured) EachListItem(fn func(runtime.Object) error) error

func (*Unstructured) GetObjectKind

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

func (*Unstructured) GroupVersionKind

func (u *Unstructured) GroupVersionKind() schema.GroupVersionKind

func (*Unstructured) IsList

func (obj *Unstructured) IsList() bool

func (*Unstructured) MarshalJSON

func (u *Unstructured) MarshalJSON() ([]byte, error)

MarshalJSON ensures that the unstructured object produces proper JSON when passed to Go's standard JSON library.

func (*Unstructured) SetGroupVersionKind

func (u *Unstructured) SetGroupVersionKind(gvk schema.GroupVersionKind)

func (*Unstructured) SetUnstructuredContent

func (obj *Unstructured) SetUnstructuredContent(content map[string]interface{})

func (*Unstructured) UnmarshalJSON

func (u *Unstructured) UnmarshalJSON(b []byte) error

UnmarshalJSON ensures that the unstructured object properly decodes JSON when passed to Go's standard JSON library.

func (*Unstructured) UnstructuredContent

func (obj *Unstructured) UnstructuredContent() map[string]interface{}

type UnversionedType

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

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

func (*UnversionedType) DeepCopy

func (in *UnversionedType) DeepCopy() *UnversionedType

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

func (*UnversionedType) DeepCopyInto

func (in *UnversionedType) DeepCopyInto(out *UnversionedType)

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

func (*UnversionedType) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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