Documentation
¶
Overview ¶
This is a test package.
Index ¶
- Variables
- type ManualSlice
- type ManualStruct
- type ManualStructAlias
- type Selector
- type StructB
- type StructEmbedInt
- type StructEmbedManualStruct
- type StructEmbedPointer
- type StructEmbedStructPrimitivePointers
- func (in *StructEmbedStructPrimitivePointers) DeepCopy() *StructEmbedStructPrimitivePointers
- func (in *StructEmbedStructPrimitivePointers) DeepCopyInto(out *StructEmbedStructPrimitivePointers)
- func (in *StructEmbedStructPrimitivePointers) Reset()
- func (in *StructEmbedStructPrimitivePointers) ResetNoSelf()
- func (in *StructEmbedStructPrimitivePointers) ResetOnlySelf()
- type StructEmbedStructPrimitives
- func (in *StructEmbedStructPrimitives) DeepCopy() *StructEmbedStructPrimitives
- func (in *StructEmbedStructPrimitives) DeepCopyInto(out *StructEmbedStructPrimitives)
- func (in *StructEmbedStructPrimitives) Reset()
- func (in *StructEmbedStructPrimitives) ResetNoSelf()
- func (in *StructEmbedStructPrimitives) ResetOnlySelf()
- type StructEmbedStructSlices
- type StructEmpty
- type StructEverything
- type StructExplicitObject
- func (in *StructExplicitObject) DeepCopy() *StructExplicitObject
- func (in *StructExplicitObject) DeepCopyInto(out *StructExplicitObject)
- func (in *StructExplicitObject) DeepCopyObject() otherpkg.Object
- func (in *StructExplicitObject) Reset()
- func (in *StructExplicitObject) ResetNoSelf()
- func (in *StructExplicitObject) ResetObject()
- func (in *StructExplicitObject) ResetOnlySelf()
- type StructExplicitSelectorExplicitObject
- func (in *StructExplicitSelectorExplicitObject) DeepCopy() *StructExplicitSelectorExplicitObject
- func (in *StructExplicitSelectorExplicitObject) DeepCopyInto(out *StructExplicitSelectorExplicitObject)
- func (in *StructExplicitSelectorExplicitObject) DeepCopyObject() otherpkg.Object
- func (in *StructExplicitSelectorExplicitObject) DeepCopySelector() Selector
- func (in *StructExplicitSelectorExplicitObject) Reset()
- func (in *StructExplicitSelectorExplicitObject) ResetNoSelf()
- func (in *StructExplicitSelectorExplicitObject) ResetObject()
- func (in *StructExplicitSelectorExplicitObject) ResetOnlySelf()
- func (in *StructExplicitSelectorExplicitObject) ResetSelector()
- type StructInterfaces
- type StructNonPointerExplicitObject
- func (in *StructNonPointerExplicitObject) DeepCopy() *StructNonPointerExplicitObject
- func (in *StructNonPointerExplicitObject) DeepCopyInto(out *StructNonPointerExplicitObject)
- func (in StructNonPointerExplicitObject) DeepCopyObject() otherpkg.Object
- func (in *StructNonPointerExplicitObject) Reset()
- func (in *StructNonPointerExplicitObject) ResetNoSelf()
- func (in StructNonPointerExplicitObject) ResetObject()
- func (in *StructNonPointerExplicitObject) ResetOnlySelf()
- type StructObjectAndList
- func (in *StructObjectAndList) DeepCopy() *StructObjectAndList
- func (in *StructObjectAndList) DeepCopyInto(out *StructObjectAndList)
- func (in *StructObjectAndList) DeepCopyList() otherpkg.List
- func (in *StructObjectAndList) DeepCopyObject() otherpkg.Object
- func (in *StructObjectAndList) Reset()
- func (in *StructObjectAndList) ResetList()
- func (in *StructObjectAndList) ResetNoSelf()
- func (in *StructObjectAndList) ResetObject()
- func (in *StructObjectAndList) ResetOnlySelf()
- type StructObjectAndObject
- func (in *StructObjectAndObject) DeepCopy() *StructObjectAndObject
- func (in *StructObjectAndObject) DeepCopyInto(out *StructObjectAndObject)
- func (in *StructObjectAndObject) DeepCopyObject() otherpkg.Object
- func (in *StructObjectAndObject) Reset()
- func (in *StructObjectAndObject) ResetNoSelf()
- func (in *StructObjectAndObject) ResetObject()
- func (in *StructObjectAndObject) ResetOnlySelf()
- type StructPrimitivePointers
- type StructPrimitivePointersAlias
- func (in *StructPrimitivePointersAlias) DeepCopy() *StructPrimitivePointersAlias
- func (in *StructPrimitivePointersAlias) DeepCopyInto(out *StructPrimitivePointersAlias)
- func (in *StructPrimitivePointersAlias) Reset()
- func (in *StructPrimitivePointersAlias) ResetNoSelf()
- func (in *StructPrimitivePointersAlias) ResetOnlySelf()
- type StructPrimitives
- type StructPrimitivesAlias
- type StructSlices
- type StructSlicesAlias
- type StructStructPrimitivePointers
- func (in *StructStructPrimitivePointers) DeepCopy() *StructStructPrimitivePointers
- func (in *StructStructPrimitivePointers) DeepCopyInto(out *StructStructPrimitivePointers)
- func (in *StructStructPrimitivePointers) Reset()
- func (in *StructStructPrimitivePointers) ResetNoSelf()
- func (in *StructStructPrimitivePointers) ResetOnlySelf()
- type StructStructPrimitives
- type StructStructSlices
- type StructTypeMeta
Constants ¶
This section is empty.
Variables ¶
var ManualStructAliasPool = sync.Pool{New: func() any { return new(ManualStructAlias) }}
var ManualStructAliasp_Pool = sync.Pool{New: func() any { return new(ManualStructAlias) }}
var StructEmbedIntPool = sync.Pool{New: func() any { return new(StructEmbedInt) }}
var StructEmbedManualStructPool = sync.Pool{New: func() any { return new(StructEmbedManualStruct) }}
var StructEmbedPointerPool = sync.Pool{New: func() any { return new(StructEmbedPointer) }}
var StructEmbedStructPrimitivePointersPool = sync.Pool{New: func() any { return new(StructEmbedStructPrimitivePointers) }}
var StructEmbedStructPrimitivesPool = sync.Pool{New: func() any { return new(StructEmbedStructPrimitives) }}
var StructEmbedStructSlicesPool = sync.Pool{New: func() any { return new(StructEmbedStructSlices) }}
var StructEmptyPool = sync.Pool{New: func() any { return new(StructEmpty) }}
var StructEverythingPool = sync.Pool{New: func() any { return new(StructEverything) }}
var StructExplicitObjectPool = sync.Pool{New: func() any { return new(StructExplicitObject) }}
var StructExplicitSelectorExplicitObjectPool = sync.Pool{New: func() any { return new(StructExplicitSelectorExplicitObject) }}
var StructInterfacesPool = sync.Pool{New: func() any { return new(StructInterfaces) }}
var StructNonPointerExplicitObjectPool = sync.Pool{New: func() any { return new(StructNonPointerExplicitObject) }}
var StructObjectAndListPool = sync.Pool{New: func() any { return new(StructObjectAndList) }}
var StructObjectAndObjectPool = sync.Pool{New: func() any { return new(StructObjectAndObject) }}
var StructPrimitivePointersAliasPool = sync.Pool{New: func() any { return new(StructPrimitivePointersAlias) }}
var StructPrimitivePointersPool = sync.Pool{New: func() any { return new(StructPrimitivePointers) }}
var StructPrimitivesAliasPool = sync.Pool{New: func() any { return new(StructPrimitivesAlias) }}
var StructPrimitivesPool = sync.Pool{New: func() any { return new(StructPrimitives) }}
var StructSlicesAliasPool = sync.Pool{New: func() any { return new(StructSlicesAlias) }}
var StructSlicesPool = sync.Pool{New: func() any { return new(StructSlices) }}
var StructStructPrimitivePointersPool = sync.Pool{New: func() any { return new(StructStructPrimitivePointers) }}
var StructStructPrimitivesPool = sync.Pool{New: func() any { return new(StructStructPrimitives) }}
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 StructB ¶
type StructB struct{}
Another type in another file.
func (*StructB) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StructB.
func (*StructB) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
func (in *StructEmbedManualStruct) DeepCopy() *StructEmbedManualStruct
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 ¶
func (in *StructEmbedStructPrimitivePointers) DeepCopy() *StructEmbedStructPrimitivePointers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StructEmbedStructPrimitivePointers.
func (*StructEmbedStructPrimitivePointers) DeepCopyInto ¶
func (in *StructEmbedStructPrimitivePointers) DeepCopyInto(out *StructEmbedStructPrimitivePointers)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StructEmbedStructPrimitivePointers) Reset ¶
func (in *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 ¶
func (in *StructEmbedStructPrimitives) DeepCopy() *StructEmbedStructPrimitives
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StructEmbedStructPrimitives.
func (*StructEmbedStructPrimitives) DeepCopyInto ¶
func (in *StructEmbedStructPrimitives) DeepCopyInto(out *StructEmbedStructPrimitives)
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 ¶
func (in *StructEmbedStructSlices) DeepCopy() *StructEmbedStructSlices
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 ¶
func (in *StructExplicitObject) DeepCopy() *StructExplicitObject
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 ¶
func (in *StructExplicitSelectorExplicitObject) DeepCopy() *StructExplicitSelectorExplicitObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StructExplicitSelectorExplicitObject.
func (*StructExplicitSelectorExplicitObject) DeepCopyInto ¶
func (in *StructExplicitSelectorExplicitObject) DeepCopyInto(out *StructExplicitSelectorExplicitObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StructExplicitSelectorExplicitObject) DeepCopyObject ¶
func (in *StructExplicitSelectorExplicitObject) DeepCopyObject() otherpkg.Object
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 ¶
func (in *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 ¶
func (in *StructNonPointerExplicitObject) DeepCopy() *StructNonPointerExplicitObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StructNonPointerExplicitObject.
func (*StructNonPointerExplicitObject) DeepCopyInto ¶
func (in *StructNonPointerExplicitObject) DeepCopyInto(out *StructNonPointerExplicitObject)
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 ¶
func (in *StructObjectAndObject) DeepCopy() *StructObjectAndObject
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 ¶
func (in *StructPrimitivePointers) DeepCopy() *StructPrimitivePointers
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 ¶
func (in *StructPrimitivePointersAlias) DeepCopy() *StructPrimitivePointersAlias
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StructPrimitivePointersAlias.
func (*StructPrimitivePointersAlias) DeepCopyInto ¶
func (in *StructPrimitivePointersAlias) DeepCopyInto(out *StructPrimitivePointersAlias)
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 ¶
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 ¶
func (in *StructPrimitivesAlias) DeepCopy() *StructPrimitivesAlias
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 ¶
func (in *StructStructPrimitivePointers) DeepCopy() *StructStructPrimitivePointers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StructStructPrimitivePointers.
func (*StructStructPrimitivePointers) DeepCopyInto ¶
func (in *StructStructPrimitivePointers) DeepCopyInto(out *StructStructPrimitivePointers)
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 ¶
func (in *StructStructPrimitives) DeepCopy() *StructStructPrimitives
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.