Documentation ¶
Overview ¶
This is a test package.
Index ¶
- type ManualSlice
- type ManualStruct
- type ManualStructAlias
- type Selector
- type StructB
- type StructEmbedInt
- type StructEmbedManualStruct
- type StructEmbedPointer
- type StructEmbedStructPrimitivePointers
- type StructEmbedStructPrimitives
- type StructEmbedStructSlices
- type StructEmpty
- type StructEverything
- type StructExplicitObject
- type StructExplicitSelectorExplicitObject
- func (in *StructExplicitSelectorExplicitObject) DeepCopy() *StructExplicitSelectorExplicitObject
- func (in *StructExplicitSelectorExplicitObject) DeepCopyInto(out *StructExplicitSelectorExplicitObject)
- func (in *StructExplicitSelectorExplicitObject) DeepCopyObject() otherpkg.Object
- func (in *StructExplicitSelectorExplicitObject) DeepCopySelector() Selector
- type StructInterfaces
- type StructNonPointerExplicitObject
- type StructObjectAndList
- type StructObjectAndObject
- type StructPrimitivePointers
- type StructPrimitivePointersAlias
- type StructPrimitives
- type StructPrimitivesAlias
- type StructSlices
- type StructSlicesAlias
- type StructStructPrimitivePointers
- type StructStructPrimitives
- type StructStructSlices
- type StructTypeMeta
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 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.
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 ¶
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.
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 ¶
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.
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.
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.
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 ¶
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.
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 ¶
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.
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 ¶
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.
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 ¶
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.
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.
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.
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.
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.
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 ¶
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.
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.
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.