package testing
import "k8s.io/kubernetes/pkg/kubectl/testing"
Index ¶
Functions ¶
func GetGeneratedDeepCopyFuncs ¶
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 TestStruct ¶
type TestStruct struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` Key string `json:"Key"` Map map[string]int `json:"Map"` StringList []string `json:"StringList"` IntList []int `json:"IntList"` }
func (*TestStruct) DeepCopy ¶
func (in *TestStruct) DeepCopy() *TestStruct
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestStruct.
func (*TestStruct) DeepCopyInto ¶
func (in *TestStruct) DeepCopyInto(out *TestStruct)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestStruct) DeepCopyObject ¶
func (in *TestStruct) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Source Files ¶
doc.go types.go zz_generated.deepcopy.go
- Version
- v1.8.15
- Published
- Jul 11, 2018
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 1 minute ago –
Tools for package owners.