wholepkg

package
v0.0.0-...-a0386bf Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

This is a test package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManualSlice

type ManualSlice []string

Manual DeepCopy method

func (ManualSlice) DeepCopy

func (m ManualSlice) DeepCopy() ManualSlice

func (ManualSlice) DeepCopyInto

func (in ManualSlice) DeepCopyInto(out *ManualSlice)

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

type ManualStruct

type ManualStruct struct {
	StringField string
}

Manual DeepCopy method

func (ManualStruct) DeepCopy

func (m ManualStruct) DeepCopy() ManualStruct

func (*ManualStruct) DeepCopyInto

func (in *ManualStruct) DeepCopyInto(out *ManualStruct)

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

type ManualStruct_Alias

type ManualStruct_Alias ManualStruct

func (*ManualStruct_Alias) DeepCopy

func (in *ManualStruct_Alias) DeepCopy() *ManualStruct_Alias

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

func (*ManualStruct_Alias) DeepCopyInto

func (in *ManualStruct_Alias) DeepCopyInto(out *ManualStruct_Alias)

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

type Selector

type Selector interface {
	DeepCopySelector() Selector
}

type Struct_B

type Struct_B struct{}

Another type in another file.

func (*Struct_B) DeepCopy

func (in *Struct_B) DeepCopy() *Struct_B

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

func (*Struct_B) DeepCopyInto

func (in *Struct_B) DeepCopyInto(out *Struct_B)

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

type Struct_Embed_Int

type Struct_Embed_Int struct {
	// contains filtered or unexported fields
}

func (*Struct_Embed_Int) DeepCopy

func (in *Struct_Embed_Int) DeepCopy() *Struct_Embed_Int

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

func (*Struct_Embed_Int) DeepCopyInto

func (in *Struct_Embed_Int) DeepCopyInto(out *Struct_Embed_Int)

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

type Struct_Embed_ManualStruct

type Struct_Embed_ManualStruct struct {
	ManualStruct
}

func (*Struct_Embed_ManualStruct) DeepCopy

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

func (*Struct_Embed_ManualStruct) DeepCopyInto

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

type Struct_Embed_Pointer

type Struct_Embed_Pointer struct {
	// contains filtered or unexported fields
}

func (*Struct_Embed_Pointer) DeepCopy

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

func (*Struct_Embed_Pointer) DeepCopyInto

func (in *Struct_Embed_Pointer) DeepCopyInto(out *Struct_Embed_Pointer)

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

type Struct_Embed_Struct_PrimitivePointers

type Struct_Embed_Struct_PrimitivePointers struct {
	Struct_PrimitivePointers
}

func (*Struct_Embed_Struct_PrimitivePointers) DeepCopy

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

func (*Struct_Embed_Struct_PrimitivePointers) DeepCopyInto

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

type Struct_Embed_Struct_Primitives

type Struct_Embed_Struct_Primitives struct {
	Struct_Primitives
}

func (*Struct_Embed_Struct_Primitives) DeepCopy

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

func (*Struct_Embed_Struct_Primitives) DeepCopyInto

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

type Struct_Embed_Struct_Slices

type Struct_Embed_Struct_Slices struct {
	Struct_Slices
}

func (*Struct_Embed_Struct_Slices) DeepCopy

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

func (*Struct_Embed_Struct_Slices) DeepCopyInto

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

type Struct_Empty

type Struct_Empty struct{}

Trivial

func (*Struct_Empty) DeepCopy

func (in *Struct_Empty) DeepCopy() *Struct_Empty

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

func (*Struct_Empty) DeepCopyInto

func (in *Struct_Empty) DeepCopyInto(out *Struct_Empty)

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

type Struct_Everything

type Struct_Everything struct {
	BoolField                 bool
	IntField                  int
	StringField               string
	FloatField                float64
	StructField               Struct_Primitives
	EmptyStructField          Struct_Empty
	ManualStructField         ManualStruct
	ManualStructAliasField    ManualStruct_Alias
	BoolPtrField              *bool
	IntPtrField               *int
	StringPtrField            *string
	FloatPtrField             *float64
	PrimitivePointersField    Struct_PrimitivePointers
	ManualStructPtrField      *ManualStruct
	ManualStructAliasPtrField *ManualStruct_Alias
	SliceBoolField            []bool
	SliceByteField            []byte
	SliceIntField             []int
	SliceStringField          []string
	SliceFloatField           []float64
	SlicesField               Struct_Slices
	SliceManualStructField    []ManualStruct
	ManualSliceField          ManualSlice
}

Everything

func (*Struct_Everything) DeepCopy

func (in *Struct_Everything) DeepCopy() *Struct_Everything

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

func (*Struct_Everything) DeepCopyInto

func (in *Struct_Everything) DeepCopyInto(out *Struct_Everything)

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

type Struct_ExplicitObject

type Struct_ExplicitObject struct {
	// contains filtered or unexported fields
}

An Object +k8s:deepcopy-gen:interfaces=k8s.io/gengo/examples/deepcopy-gen/output_tests/otherpkg.Object

func (*Struct_ExplicitObject) DeepCopy

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

func (*Struct_ExplicitObject) DeepCopyInto

func (in *Struct_ExplicitObject) DeepCopyInto(out *Struct_ExplicitObject)

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

func (*Struct_ExplicitObject) DeepCopyObject

func (in *Struct_ExplicitObject) DeepCopyObject() otherpkg.Object

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

type Struct_ExplicitSelectorExplicitObject

type Struct_ExplicitSelectorExplicitObject struct {
	Struct_TypeMeta
}

+k8s:deepcopy-gen:interfaces=k8s.io/gengo/examples/deepcopy-gen/output_tests/wholepkg.Selector +k8s:deepcopy-gen:interfaces=k8s.io/gengo/examples/deepcopy-gen/output_tests/otherpkg.Object

func (*Struct_ExplicitSelectorExplicitObject) DeepCopy

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

func (*Struct_ExplicitSelectorExplicitObject) DeepCopyInto

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

func (*Struct_ExplicitSelectorExplicitObject) DeepCopyObject

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

func (*Struct_ExplicitSelectorExplicitObject) DeepCopySelector

func (in *Struct_ExplicitSelectorExplicitObject) DeepCopySelector() Selector

DeepCopySelector is an autogenerated deepcopy function, copying the receiver, creating a new Selector.

type Struct_Interfaces

type Struct_Interfaces struct {
	ObjectField    otherpkg.Object
	NilObjectField otherpkg.Object
	SelectorField  Selector
}

func (*Struct_Interfaces) DeepCopy

func (in *Struct_Interfaces) DeepCopy() *Struct_Interfaces

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

func (*Struct_Interfaces) DeepCopyInto

func (in *Struct_Interfaces) DeepCopyInto(out *Struct_Interfaces)

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

type Struct_NonPointerExplicitObject

type Struct_NonPointerExplicitObject struct {
	// contains filtered or unexported fields
}

An Object which is used a non-pointer +k8s:deepcopy-gen:interfaces=k8s.io/gengo/examples/deepcopy-gen/output_tests/otherpkg.Object +k8s:deepcopy-gen:nonpointer-interfaces=true

func (*Struct_NonPointerExplicitObject) DeepCopy

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

func (*Struct_NonPointerExplicitObject) DeepCopyInto

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

func (Struct_NonPointerExplicitObject) DeepCopyObject

func (in Struct_NonPointerExplicitObject) DeepCopyObject() otherpkg.Object

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

type Struct_ObjectAndList

type Struct_ObjectAndList struct {
}

+k8s:deepcopy-gen:interfaces=k8s.io/gengo/examples/deepcopy-gen/output_tests/otherpkg.Object +k8s:deepcopy-gen:interfaces=k8s.io/gengo/examples/deepcopy-gen/output_tests/otherpkg.List

func (*Struct_ObjectAndList) DeepCopy

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

func (*Struct_ObjectAndList) DeepCopyInto

func (in *Struct_ObjectAndList) DeepCopyInto(out *Struct_ObjectAndList)

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

func (*Struct_ObjectAndList) DeepCopyList

func (in *Struct_ObjectAndList) DeepCopyList() otherpkg.List

DeepCopyList is an autogenerated deepcopy function, copying the receiver, creating a new otherpkg.List.

func (*Struct_ObjectAndList) DeepCopyObject

func (in *Struct_ObjectAndList) DeepCopyObject() otherpkg.Object

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

type Struct_ObjectAndObject

type Struct_ObjectAndObject struct {
}

+k8s:deepcopy-gen:interfaces=k8s.io/gengo/examples/deepcopy-gen/output_tests/otherpkg.Object +k8s:deepcopy-gen:interfaces=k8s.io/gengo/examples/deepcopy-gen/output_tests/otherpkg.Object

func (*Struct_ObjectAndObject) DeepCopy

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

func (*Struct_ObjectAndObject) DeepCopyInto

func (in *Struct_ObjectAndObject) DeepCopyInto(out *Struct_ObjectAndObject)

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

func (*Struct_ObjectAndObject) DeepCopyObject

func (in *Struct_ObjectAndObject) DeepCopyObject() otherpkg.Object

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

type Struct_PrimitivePointers

type Struct_PrimitivePointers struct {
	BoolPtrField   *bool
	IntPtrField    *int
	StringPtrField *string
	FloatPtrField  *float64
}

Only pointers to primitives

func (*Struct_PrimitivePointers) DeepCopy

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

func (*Struct_PrimitivePointers) DeepCopyInto

func (in *Struct_PrimitivePointers) DeepCopyInto(out *Struct_PrimitivePointers)

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

type Struct_PrimitivePointers_Alias

type Struct_PrimitivePointers_Alias Struct_PrimitivePointers

func (*Struct_PrimitivePointers_Alias) DeepCopy

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

func (*Struct_PrimitivePointers_Alias) DeepCopyInto

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

type Struct_Primitives

type Struct_Primitives struct {
	BoolField   bool
	IntField    int
	StringField string
	FloatField  float64
}

Only primitives

func (*Struct_Primitives) DeepCopy

func (in *Struct_Primitives) DeepCopy() *Struct_Primitives

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

func (*Struct_Primitives) DeepCopyInto

func (in *Struct_Primitives) DeepCopyInto(out *Struct_Primitives)

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

type Struct_Primitives_Alias

type Struct_Primitives_Alias Struct_Primitives

func (*Struct_Primitives_Alias) DeepCopy

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

func (*Struct_Primitives_Alias) DeepCopyInto

func (in *Struct_Primitives_Alias) DeepCopyInto(out *Struct_Primitives_Alias)

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

type Struct_Slices

type Struct_Slices struct {
	SliceBoolField                         []bool
	SliceByteField                         []byte
	SliceIntField                          []int
	SliceStringField                       []string
	SliceFloatField                        []float64
	SliceStructPrimitivesField             []Struct_Primitives
	SliceStructPrimitivesAliasField        []Struct_Primitives_Alias
	SliceStructPrimitivePointersField      []Struct_PrimitivePointers
	SliceStructPrimitivePointersAliasField []Struct_PrimitivePointers_Alias
	SliceSliceIntField                     [][]int
	SliceManualStructField                 []ManualStruct
	ManualSliceField                       ManualSlice
}

Slices

func (*Struct_Slices) DeepCopy

func (in *Struct_Slices) DeepCopy() *Struct_Slices

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

func (*Struct_Slices) DeepCopyInto

func (in *Struct_Slices) DeepCopyInto(out *Struct_Slices)

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

type Struct_Slices_Alias

type Struct_Slices_Alias Struct_Slices

func (*Struct_Slices_Alias) DeepCopy

func (in *Struct_Slices_Alias) DeepCopy() *Struct_Slices_Alias

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

func (*Struct_Slices_Alias) DeepCopyInto

func (in *Struct_Slices_Alias) DeepCopyInto(out *Struct_Slices_Alias)

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

type Struct_Struct_PrimitivePointers

type Struct_Struct_PrimitivePointers struct {
	StructField Struct_PrimitivePointers
}

func (*Struct_Struct_PrimitivePointers) DeepCopy

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

func (*Struct_Struct_PrimitivePointers) DeepCopyInto

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

type Struct_Struct_Primitives

type Struct_Struct_Primitives struct {
	StructField Struct_Primitives
}

func (*Struct_Struct_Primitives) DeepCopy

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

func (*Struct_Struct_Primitives) DeepCopyInto

func (in *Struct_Struct_Primitives) DeepCopyInto(out *Struct_Struct_Primitives)

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

type Struct_Struct_Slices

type Struct_Struct_Slices struct {
	StructField Struct_Slices
}

func (*Struct_Struct_Slices) DeepCopy

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

func (*Struct_Struct_Slices) DeepCopyInto

func (in *Struct_Struct_Slices) DeepCopyInto(out *Struct_Struct_Slices)

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

type Struct_TypeMeta

type Struct_TypeMeta struct {
}

+k8s:deepcopy-gen=false

Jump to

Keyboard shortcuts

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