wholepkg

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

This is a test package.

Index

Constants

This section is empty.

Variables

View Source
var ManualStructAliasPool = sync.Pool{New: func() any { return new(ManualStructAlias) }}
View Source
var ManualStructAliasp_Pool = sync.Pool{New: func() any { return new(ManualStructAlias) }}
View Source
var StructBPool = sync.Pool{New: func() any { return new(StructB) }}
View Source
var StructEmbedIntPool = sync.Pool{New: func() any { return new(StructEmbedInt) }}
View Source
var StructEmbedManualStructPool = sync.Pool{New: func() any { return new(StructEmbedManualStruct) }}
View Source
var StructEmbedPointerPool = sync.Pool{New: func() any { return new(StructEmbedPointer) }}
View Source
var StructEmbedStructPrimitivePointersPool = sync.Pool{New: func() any { return new(StructEmbedStructPrimitivePointers) }}
View Source
var StructEmbedStructPrimitivesPool = sync.Pool{New: func() any { return new(StructEmbedStructPrimitives) }}
View Source
var StructEmbedStructSlicesPool = sync.Pool{New: func() any { return new(StructEmbedStructSlices) }}
View Source
var StructEmptyPool = sync.Pool{New: func() any { return new(StructEmpty) }}
View Source
var StructEverythingPool = sync.Pool{New: func() any { return new(StructEverything) }}
View Source
var StructExplicitObjectPool = sync.Pool{New: func() any { return new(StructExplicitObject) }}
View Source
var StructExplicitSelectorExplicitObjectPool = sync.Pool{New: func() any { return new(StructExplicitSelectorExplicitObject) }}
View Source
var StructInterfacesPool = sync.Pool{New: func() any { return new(StructInterfaces) }}
View Source
var StructNonPointerExplicitObjectPool = sync.Pool{New: func() any { return new(StructNonPointerExplicitObject) }}
View Source
var StructObjectAndListPool = sync.Pool{New: func() any { return new(StructObjectAndList) }}
View Source
var StructObjectAndObjectPool = sync.Pool{New: func() any { return new(StructObjectAndObject) }}
View Source
var StructPrimitivePointersAliasPool = sync.Pool{New: func() any { return new(StructPrimitivePointersAlias) }}
View Source
var StructPrimitivePointersPool = sync.Pool{New: func() any { return new(StructPrimitivePointers) }}
View Source
var StructPrimitivesAliasPool = sync.Pool{New: func() any { return new(StructPrimitivesAlias) }}
View Source
var StructPrimitivesPool = sync.Pool{New: func() any { return new(StructPrimitives) }}
View Source
var StructSlicesAliasPool = sync.Pool{New: func() any { return new(StructSlicesAlias) }}
View Source
var StructSlicesPool = sync.Pool{New: func() any { return new(StructSlices) }}
View Source
var StructStructPrimitivePointersPool = sync.Pool{New: func() any { return new(StructStructPrimitivePointers) }}
View Source
var StructStructPrimitivesPool = sync.Pool{New: func() any { return new(StructStructPrimitives) }}
View Source
var StructStructSlicesPool = sync.Pool{New: func() any { return new(StructStructSlices) }}

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.

func (ManualSlice) Reset

func (m ManualSlice) Reset()

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.

func (ManualStruct) Reset

func (m ManualStruct) Reset()

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.

func (*ManualStructAlias) Reset

func (in *ManualStructAlias) Reset()

Reset puts the given value back into the pool.

func (*ManualStructAlias) ResetNoSelf

func (in *ManualStructAlias) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*ManualStructAlias) ResetOnlySelf added in v0.0.2

func (in *ManualStructAlias) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

type Selector

type Selector interface {
	DeepCopySelector() Selector
	ResetSelector()
}

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.

func (*StructB) Reset

func (in *StructB) Reset()

Reset puts the given value back into the pool.

func (*StructB) ResetNoSelf

func (in *StructB) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructB) ResetOnlySelf added in v0.0.2

func (in *StructB) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructEmbedInt) Reset

func (in *StructEmbedInt) Reset()

Reset puts the given value back into the pool.

func (*StructEmbedInt) ResetNoSelf

func (in *StructEmbedInt) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructEmbedInt) ResetOnlySelf added in v0.0.2

func (in *StructEmbedInt) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructEmbedManualStruct) Reset

func (in *StructEmbedManualStruct) Reset()

Reset puts the given value back into the pool.

func (*StructEmbedManualStruct) ResetNoSelf

func (in *StructEmbedManualStruct) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructEmbedManualStruct) ResetOnlySelf added in v0.0.2

func (in *StructEmbedManualStruct) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructEmbedPointer) Reset

func (in *StructEmbedPointer) Reset()

Reset puts the given value back into the pool.

func (*StructEmbedPointer) ResetNoSelf

func (in *StructEmbedPointer) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructEmbedPointer) ResetOnlySelf added in v0.0.2

func (in *StructEmbedPointer) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructEmbedStructPrimitivePointers) Reset

Reset puts the given value back into the pool.

func (*StructEmbedStructPrimitivePointers) ResetNoSelf

func (in *StructEmbedStructPrimitivePointers) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructEmbedStructPrimitivePointers) ResetOnlySelf added in v0.0.2

func (in *StructEmbedStructPrimitivePointers) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructEmbedStructPrimitives) Reset

func (in *StructEmbedStructPrimitives) Reset()

Reset puts the given value back into the pool.

func (*StructEmbedStructPrimitives) ResetNoSelf

func (in *StructEmbedStructPrimitives) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructEmbedStructPrimitives) ResetOnlySelf added in v0.0.2

func (in *StructEmbedStructPrimitives) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructEmbedStructSlices) Reset

func (in *StructEmbedStructSlices) Reset()

Reset puts the given value back into the pool.

func (*StructEmbedStructSlices) ResetNoSelf

func (in *StructEmbedStructSlices) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructEmbedStructSlices) ResetOnlySelf added in v0.0.2

func (in *StructEmbedStructSlices) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructEmpty) Reset

func (in *StructEmpty) Reset()

Reset puts the given value back into the pool.

func (*StructEmpty) ResetNoSelf

func (in *StructEmpty) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructEmpty) ResetOnlySelf added in v0.0.2

func (in *StructEmpty) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructEverything) Reset

func (in *StructEverything) Reset()

Reset puts the given value back into the pool.

func (*StructEverything) ResetNoSelf

func (in *StructEverything) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructEverything) ResetOnlySelf added in v0.0.2

func (in *StructEverything) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

type StructExplicitObject

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

An Object +k8s:deepcopy-gen:interfaces=github.com/ravinggo/tools/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.

func (*StructExplicitObject) Reset

func (in *StructExplicitObject) Reset()

Reset puts the given value back into the pool.

func (*StructExplicitObject) ResetNoSelf

func (in *StructExplicitObject) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructExplicitObject) ResetObject

func (in *StructExplicitObject) ResetObject()

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

func (*StructExplicitObject) ResetOnlySelf added in v0.0.2

func (in *StructExplicitObject) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

type StructExplicitSelectorExplicitObject

type StructExplicitSelectorExplicitObject struct {
	StructTypeMeta
}

+k8s:deepcopy-gen:interfaces=github.com/ravinggo/tools/deepcopy-gen/output_tests/wholepkg.Selector +k8s:deepcopy-gen:interfaces=github.com/ravinggo/tools/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.

func (*StructExplicitSelectorExplicitObject) Reset

Reset puts the given value back into the pool.

func (*StructExplicitSelectorExplicitObject) ResetNoSelf

func (in *StructExplicitSelectorExplicitObject) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructExplicitSelectorExplicitObject) ResetObject

func (in *StructExplicitSelectorExplicitObject) ResetObject()

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

func (*StructExplicitSelectorExplicitObject) ResetOnlySelf added in v0.0.2

func (in *StructExplicitSelectorExplicitObject) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

func (*StructExplicitSelectorExplicitObject) ResetSelector

func (in *StructExplicitSelectorExplicitObject) ResetSelector()

ResetSelector 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.

func (*StructInterfaces) Reset

func (in *StructInterfaces) Reset()

Reset puts the given value back into the pool.

func (*StructInterfaces) ResetNoSelf

func (in *StructInterfaces) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructInterfaces) ResetOnlySelf added in v0.0.2

func (in *StructInterfaces) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

type StructNonPointerExplicitObject

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

An Object which is used a non-pointer +k8s:deepcopy-gen:interfaces=github.com/ravinggo/tools/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.

func (*StructNonPointerExplicitObject) Reset

func (in *StructNonPointerExplicitObject) Reset()

Reset puts the given value back into the pool.

func (*StructNonPointerExplicitObject) ResetNoSelf

func (in *StructNonPointerExplicitObject) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (StructNonPointerExplicitObject) ResetObject

func (in StructNonPointerExplicitObject) ResetObject()

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

func (*StructNonPointerExplicitObject) ResetOnlySelf added in v0.0.2

func (in *StructNonPointerExplicitObject) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

type StructObjectAndList

type StructObjectAndList struct {
}

+k8s:deepcopy-gen:interfaces=github.com/ravinggo/tools/deepcopy-gen/output_tests/otherpkg.Object +k8s:deepcopy-gen:interfaces=github.com/ravinggo/tools/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.

func (*StructObjectAndList) Reset

func (in *StructObjectAndList) Reset()

Reset puts the given value back into the pool.

func (*StructObjectAndList) ResetList

func (in *StructObjectAndList) ResetList()

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

func (*StructObjectAndList) ResetNoSelf

func (in *StructObjectAndList) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructObjectAndList) ResetObject

func (in *StructObjectAndList) ResetObject()

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

func (*StructObjectAndList) ResetOnlySelf added in v0.0.2

func (in *StructObjectAndList) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

type StructObjectAndObject

type StructObjectAndObject struct {
}

+k8s:deepcopy-gen:interfaces=github.com/ravinggo/tools/deepcopy-gen/output_tests/otherpkg.Object +k8s:deepcopy-gen:interfaces=github.com/ravinggo/tools/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.

func (*StructObjectAndObject) Reset

func (in *StructObjectAndObject) Reset()

Reset puts the given value back into the pool.

func (*StructObjectAndObject) ResetNoSelf

func (in *StructObjectAndObject) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructObjectAndObject) ResetObject

func (in *StructObjectAndObject) ResetObject()

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

func (*StructObjectAndObject) ResetOnlySelf added in v0.0.2

func (in *StructObjectAndObject) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructPrimitivePointers) Reset

func (in *StructPrimitivePointers) Reset()

Reset puts the given value back into the pool.

func (*StructPrimitivePointers) ResetNoSelf

func (in *StructPrimitivePointers) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructPrimitivePointers) ResetOnlySelf added in v0.0.2

func (in *StructPrimitivePointers) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructPrimitivePointersAlias) Reset

func (in *StructPrimitivePointersAlias) Reset()

Reset puts the given value back into the pool.

func (*StructPrimitivePointersAlias) ResetNoSelf

func (in *StructPrimitivePointersAlias) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructPrimitivePointersAlias) ResetOnlySelf added in v0.0.2

func (in *StructPrimitivePointersAlias) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructPrimitives) Reset

func (in *StructPrimitives) Reset()

Reset puts the given value back into the pool.

func (*StructPrimitives) ResetNoSelf

func (in *StructPrimitives) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructPrimitives) ResetOnlySelf added in v0.0.2

func (in *StructPrimitives) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructPrimitivesAlias) Reset

func (in *StructPrimitivesAlias) Reset()

Reset puts the given value back into the pool.

func (*StructPrimitivesAlias) ResetNoSelf

func (in *StructPrimitivesAlias) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructPrimitivesAlias) ResetOnlySelf added in v0.0.2

func (in *StructPrimitivesAlias) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructSlices) Reset

func (in *StructSlices) Reset()

Reset puts the given value back into the pool.

func (*StructSlices) ResetNoSelf

func (in *StructSlices) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructSlices) ResetOnlySelf added in v0.0.2

func (in *StructSlices) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructSlicesAlias) Reset

func (in *StructSlicesAlias) Reset()

Reset puts the given value back into the pool.

func (*StructSlicesAlias) ResetNoSelf

func (in *StructSlicesAlias) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructSlicesAlias) ResetOnlySelf added in v0.0.2

func (in *StructSlicesAlias) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructStructPrimitivePointers) Reset

func (in *StructStructPrimitivePointers) Reset()

Reset puts the given value back into the pool.

func (*StructStructPrimitivePointers) ResetNoSelf

func (in *StructStructPrimitivePointers) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructStructPrimitivePointers) ResetOnlySelf added in v0.0.2

func (in *StructStructPrimitivePointers) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructStructPrimitives) Reset

func (in *StructStructPrimitives) Reset()

Reset puts the given value back into the pool.

func (*StructStructPrimitives) ResetNoSelf

func (in *StructStructPrimitives) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructStructPrimitives) ResetOnlySelf added in v0.0.2

func (in *StructStructPrimitives) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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.

func (*StructStructSlices) Reset

func (in *StructStructSlices) Reset()

Reset puts the given value back into the pool.

func (*StructStructSlices) ResetNoSelf

func (in *StructStructSlices) ResetNoSelf()

ResetNoSelf puts the given field value back into the pool.

func (*StructStructSlices) ResetOnlySelf added in v0.0.2

func (in *StructStructSlices) ResetOnlySelf()

ResetOnlySelf puts the given value back into the pool.

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