testing

package
v3.8.31-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package testing contains types for tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGeneratedDeepCopyFuncs deprecated

func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc

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

Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.

Types

type OtherTestConfig2

type OtherTestConfig2 struct {
	metav1.TypeMeta
	Thing string `json:"thing"`
}

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

func (*OtherTestConfig2) DeepCopy

func (in *OtherTestConfig2) DeepCopy() *OtherTestConfig2

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

func (*OtherTestConfig2) DeepCopyInto

func (in *OtherTestConfig2) DeepCopyInto(out *OtherTestConfig2)

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

func (*OtherTestConfig2) DeepCopyObject

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

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

func (*OtherTestConfig2) GetObjectKind

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

type OtherTestConfig2V2

type OtherTestConfig2V2 struct {
	metav1.TypeMeta
	Thing string `json:"thing"`
}

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

func (*OtherTestConfig2V2) DeepCopy

func (in *OtherTestConfig2V2) DeepCopy() *OtherTestConfig2V2

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

func (*OtherTestConfig2V2) DeepCopyInto

func (in *OtherTestConfig2V2) DeepCopyInto(out *OtherTestConfig2V2)

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

func (*OtherTestConfig2V2) DeepCopyObject

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

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

func (*OtherTestConfig2V2) GetObjectKind

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

type TestConfig

type TestConfig struct {
	metav1.TypeMeta

	Item1 string   `json:"item1"`
	Item2 []string `json:"item2"`
}

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

func (*TestConfig) DeepCopy

func (in *TestConfig) DeepCopy() *TestConfig

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

func (*TestConfig) DeepCopyInto

func (in *TestConfig) DeepCopyInto(out *TestConfig)

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

func (*TestConfig) DeepCopyObject

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

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

func (*TestConfig) GetObjectKind

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

type TestConfigV1

type TestConfigV1 struct {
	metav1.TypeMeta

	Item1 string   `json:"item1"`
	Item2 []string `json:"item2"`
}

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

func (*TestConfigV1) DeepCopy

func (in *TestConfigV1) DeepCopy() *TestConfigV1

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

func (*TestConfigV1) DeepCopyInto

func (in *TestConfigV1) DeepCopyInto(out *TestConfigV1)

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

func (*TestConfigV1) DeepCopyObject

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

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

func (*TestConfigV1) GetObjectKind

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

Jump to

Keyboard shortcuts

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