wholepkg

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 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 ManualStructAlias

type ManualStructAlias ManualStruct

func (*ManualStructAlias) DeepCopy

func (in *ManualStructAlias) DeepCopy() *ManualStructAlias

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

func (*ManualStructAlias) DeepCopyInto

func (in *ManualStructAlias) DeepCopyInto(out *ManualStructAlias)

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 StructB

type StructB struct{}

Another type in another file.

func (*StructB) DeepCopy

func (in *StructB) DeepCopy() *StructB

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

func (*StructB) DeepCopyInto

func (in *StructB) DeepCopyInto(out *StructB)

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

type StructEmbedInt

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

func (*StructEmbedInt) DeepCopy

func (in *StructEmbedInt) DeepCopy() *StructEmbedInt

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

func (*StructEmbedInt) DeepCopyInto

func (in *StructEmbedInt) DeepCopyInto(out *StructEmbedInt)

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

type StructEmbedManualStruct

type StructEmbedManualStruct struct {
	ManualStruct
}

func (*StructEmbedManualStruct) DeepCopy

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

func (*StructEmbedManualStruct) DeepCopyInto

func (in *StructEmbedManualStruct) DeepCopyInto(out *StructEmbedManualStruct)

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

type StructEmbedPointer

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

func (*StructEmbedPointer) DeepCopy

func (in *StructEmbedPointer) DeepCopy() *StructEmbedPointer

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

func (*StructEmbedPointer) DeepCopyInto

func (in *StructEmbedPointer) DeepCopyInto(out *StructEmbedPointer)

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

type StructEmbedStructPrimitivePointers

type StructEmbedStructPrimitivePointers struct {
	StructPrimitivePointers
}

func (*StructEmbedStructPrimitivePointers) DeepCopy

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

func (*StructEmbedStructPrimitivePointers) DeepCopyInto

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

type StructEmbedStructPrimitives

type StructEmbedStructPrimitives struct {
	StructPrimitives
}

func (*StructEmbedStructPrimitives) DeepCopy

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

func (*StructEmbedStructPrimitives) DeepCopyInto

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

type StructEmbedStructSlices

type StructEmbedStructSlices struct {
	StructSlices
}

func (*StructEmbedStructSlices) DeepCopy

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

func (*StructEmbedStructSlices) DeepCopyInto

func (in *StructEmbedStructSlices) DeepCopyInto(out *StructEmbedStructSlices)

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

type StructEmpty

type StructEmpty struct{}

Trivial

func (*StructEmpty) DeepCopy

func (in *StructEmpty) DeepCopy() *StructEmpty

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

func (*StructEmpty) DeepCopyInto

func (in *StructEmpty) DeepCopyInto(out *StructEmpty)

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

type StructEverything

type StructEverything struct {
	BoolField                 bool
	IntField                  int
	StringField               string
	FloatField                float64
	StructField               StructPrimitives
	EmptyStructField          StructEmpty
	ManualStructField         ManualStruct
	ManualStructAliasField    ManualStructAlias
	BoolPtrField              *bool
	IntPtrField               *int
	StringPtrField            *string
	FloatPtrField             *float64
	PrimitivePointersField    StructPrimitivePointers
	ManualStructPtrField      *ManualStruct
	ManualStructAliasPtrField *ManualStructAlias
	SliceBoolField            []bool
	SliceByteField            []byte
	SliceIntField             []int
	SliceStringField          []string
	SliceFloatField           []float64
	SlicesField               StructSlices
	SliceManualStructField    []ManualStruct
	ManualSliceField          ManualSlice
}

Everything

func (*StructEverything) DeepCopy

func (in *StructEverything) DeepCopy() *StructEverything

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

func (*StructEverything) DeepCopyInto

func (in *StructEverything) DeepCopyInto(out *StructEverything)

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

type StructExplicitObject

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

An Object +k8s:deepcopy-gen:interfaces=k8s.io/code-generator/cmd/deepcopy-gen/output_tests/otherpkg.Object

func (*StructExplicitObject) DeepCopy

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

func (*StructExplicitObject) DeepCopyInto

func (in *StructExplicitObject) DeepCopyInto(out *StructExplicitObject)

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

func (*StructExplicitObject) DeepCopyObject

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

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

type StructExplicitSelectorExplicitObject

type StructExplicitSelectorExplicitObject struct {
	StructTypeMeta
}

+k8s:deepcopy-gen:interfaces=k8s.io/code-generator/cmd/deepcopy-gen/output_tests/wholepkg.Selector +k8s:deepcopy-gen:interfaces=k8s.io/code-generator/cmd/deepcopy-gen/output_tests/otherpkg.Object

func (*StructExplicitSelectorExplicitObject) DeepCopy

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

func (*StructExplicitSelectorExplicitObject) DeepCopyInto

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

func (*StructExplicitSelectorExplicitObject) DeepCopyObject

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

func (*StructExplicitSelectorExplicitObject) DeepCopySelector

func (in *StructExplicitSelectorExplicitObject) DeepCopySelector() Selector

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

type StructInterfaces

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

func (*StructInterfaces) DeepCopy

func (in *StructInterfaces) DeepCopy() *StructInterfaces

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

func (*StructInterfaces) DeepCopyInto

func (in *StructInterfaces) DeepCopyInto(out *StructInterfaces)

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

type StructNonPointerExplicitObject

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

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

func (*StructNonPointerExplicitObject) DeepCopy

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

func (*StructNonPointerExplicitObject) DeepCopyInto

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

func (StructNonPointerExplicitObject) DeepCopyObject

func (in StructNonPointerExplicitObject) DeepCopyObject() otherpkg.Object

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

type StructObjectAndList

type StructObjectAndList struct {
}

+k8s:deepcopy-gen:interfaces=k8s.io/code-generator/cmd/deepcopy-gen/output_tests/otherpkg.Object +k8s:deepcopy-gen:interfaces=k8s.io/code-generator/cmd/deepcopy-gen/output_tests/otherpkg.List

func (*StructObjectAndList) DeepCopy

func (in *StructObjectAndList) DeepCopy() *StructObjectAndList

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

func (*StructObjectAndList) DeepCopyInto

func (in *StructObjectAndList) DeepCopyInto(out *StructObjectAndList)

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

func (*StructObjectAndList) DeepCopyList

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

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

func (*StructObjectAndList) DeepCopyObject

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

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

type StructObjectAndObject

type StructObjectAndObject struct {
}

+k8s:deepcopy-gen:interfaces=k8s.io/code-generator/cmd/deepcopy-gen/output_tests/otherpkg.Object +k8s:deepcopy-gen:interfaces=k8s.io/code-generator/cmd/deepcopy-gen/output_tests/otherpkg.Object

func (*StructObjectAndObject) DeepCopy

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

func (*StructObjectAndObject) DeepCopyInto

func (in *StructObjectAndObject) DeepCopyInto(out *StructObjectAndObject)

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

func (*StructObjectAndObject) DeepCopyObject

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

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

type StructPrimitivePointers

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

Only pointers to primitives

func (*StructPrimitivePointers) DeepCopy

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

func (*StructPrimitivePointers) DeepCopyInto

func (in *StructPrimitivePointers) DeepCopyInto(out *StructPrimitivePointers)

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

type StructPrimitivePointersAlias

type StructPrimitivePointersAlias StructPrimitivePointers

func (*StructPrimitivePointersAlias) DeepCopy

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

func (*StructPrimitivePointersAlias) DeepCopyInto

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

type StructPrimitives

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

Only primitives

func (*StructPrimitives) DeepCopy

func (in *StructPrimitives) DeepCopy() *StructPrimitives

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

func (*StructPrimitives) DeepCopyInto

func (in *StructPrimitives) DeepCopyInto(out *StructPrimitives)

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

type StructPrimitivesAlias

type StructPrimitivesAlias StructPrimitives

func (*StructPrimitivesAlias) DeepCopy

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

func (*StructPrimitivesAlias) DeepCopyInto

func (in *StructPrimitivesAlias) DeepCopyInto(out *StructPrimitivesAlias)

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

type StructSlices

type StructSlices struct {
	SliceBoolField                         []bool
	SliceByteField                         []byte
	SliceIntField                          []int
	SliceStringField                       []string
	SliceFloatField                        []float64
	SliceStructPrimitivesField             []StructPrimitives
	SliceStructPrimitivesAliasField        []StructPrimitivesAlias
	SliceStructPrimitivePointersField      []StructPrimitivePointers
	SliceStructPrimitivePointersAliasField []StructPrimitivePointersAlias
	SliceSliceIntField                     [][]int
	SliceManualStructField                 []ManualStruct
	ManualSliceField                       ManualSlice
}

Slices

func (*StructSlices) DeepCopy

func (in *StructSlices) DeepCopy() *StructSlices

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

func (*StructSlices) DeepCopyInto

func (in *StructSlices) DeepCopyInto(out *StructSlices)

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

type StructSlicesAlias

type StructSlicesAlias StructSlices

func (*StructSlicesAlias) DeepCopy

func (in *StructSlicesAlias) DeepCopy() *StructSlicesAlias

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

func (*StructSlicesAlias) DeepCopyInto

func (in *StructSlicesAlias) DeepCopyInto(out *StructSlicesAlias)

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

type StructStructPrimitivePointers

type StructStructPrimitivePointers struct {
	StructField StructPrimitivePointers
}

func (*StructStructPrimitivePointers) DeepCopy

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

func (*StructStructPrimitivePointers) DeepCopyInto

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

type StructStructPrimitives

type StructStructPrimitives struct {
	StructField StructPrimitives
}

func (*StructStructPrimitives) DeepCopy

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

func (*StructStructPrimitives) DeepCopyInto

func (in *StructStructPrimitives) DeepCopyInto(out *StructStructPrimitives)

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

type StructStructSlices

type StructStructSlices struct {
	StructField StructSlices
}

func (*StructStructSlices) DeepCopy

func (in *StructStructSlices) DeepCopy() *StructStructSlices

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

func (*StructStructSlices) DeepCopyInto

func (in *StructStructSlices) DeepCopyInto(out *StructStructSlices)

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

type StructTypeMeta

type StructTypeMeta struct {
}

+k8s:deepcopy-gen=false

Jump to

Keyboard shortcuts

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