testing

package
v3.8.39-1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 9, 2018 License: Apache-2.0 Imports: 5 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 TestConfig

type TestConfig struct {
	metav1.TypeMeta `json:",inline"`
	Item1           string   `json:"item1"`
	Item2           []string `json:"item2"`
}

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 `json:",inline"`
	Item1           string   `json:"item1"`
	Item2           []string `json:"item2"`
}

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