Documentation ¶
Index ¶
- func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFuncdeprecated
- func NewMetadataCodecFactory() serializer.CodecFactory
- type MetadataOnlyObject
- func (x *MetadataOnlyObject) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *MetadataOnlyObject) CodecEncodeSelf(e *codec1978.Encoder)
- func (in *MetadataOnlyObject) DeepCopy() *MetadataOnlyObject
- func (in *MetadataOnlyObject) DeepCopyInto(out *MetadataOnlyObject)
- func (in *MetadataOnlyObject) DeepCopyObject() runtime.Object
- func (metaOnly MetadataOnlyObject) String() string
- type MetadataOnlyObjectList
- func (x *MetadataOnlyObjectList) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *MetadataOnlyObjectList) CodecEncodeSelf(e *codec1978.Encoder)
- func (in *MetadataOnlyObjectList) DeepCopy() *MetadataOnlyObjectList
- func (in *MetadataOnlyObjectList) DeepCopyInto(out *MetadataOnlyObjectList)
- func (in *MetadataOnlyObjectList) DeepCopyObject() runtime.Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGeneratedDeepCopyFuncs
deprecated
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc
GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func NewMetadataCodecFactory ¶
func NewMetadataCodecFactory() serializer.CodecFactory
Types ¶
type MetadataOnlyObject ¶
type MetadataOnlyObject struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` }
MetadataOnlyObject allows decoding only the apiVersion, kind, and metadata fields of JSON data. TODO: enable meta-only decoding for protobuf.
+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*MetadataOnlyObject) CodecDecodeSelf ¶
func (x *MetadataOnlyObject) CodecDecodeSelf(d *codec1978.Decoder)
func (*MetadataOnlyObject) CodecEncodeSelf ¶
func (x *MetadataOnlyObject) CodecEncodeSelf(e *codec1978.Encoder)
func (*MetadataOnlyObject) DeepCopy ¶
func (in *MetadataOnlyObject) DeepCopy() *MetadataOnlyObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObject.
func (*MetadataOnlyObject) DeepCopyInto ¶
func (in *MetadataOnlyObject) DeepCopyInto(out *MetadataOnlyObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetadataOnlyObject) DeepCopyObject ¶
func (in *MetadataOnlyObject) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (MetadataOnlyObject) String ¶
func (metaOnly MetadataOnlyObject) String() string
String converts a MetadataOnlyObject to a human-readable string.
type MetadataOnlyObjectList ¶
type MetadataOnlyObjectList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []MetadataOnlyObject `json:"items"` }
MetadataOnlyObjectList allows decoding from JSON data only the typemeta and metadata of a list, and those of the enclosing objects. TODO: enable meta-only decoding for protobuf.
+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*MetadataOnlyObjectList) CodecDecodeSelf ¶
func (x *MetadataOnlyObjectList) CodecDecodeSelf(d *codec1978.Decoder)
func (*MetadataOnlyObjectList) CodecEncodeSelf ¶
func (x *MetadataOnlyObjectList) CodecEncodeSelf(e *codec1978.Encoder)
func (*MetadataOnlyObjectList) DeepCopy ¶
func (in *MetadataOnlyObjectList) DeepCopy() *MetadataOnlyObjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObjectList.
func (*MetadataOnlyObjectList) DeepCopyInto ¶
func (in *MetadataOnlyObjectList) DeepCopyInto(out *MetadataOnlyObjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetadataOnlyObjectList) DeepCopyObject ¶
func (in *MetadataOnlyObjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.