metadata

package
v4.62.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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.

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

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.

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.

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*MetadataOnlyObjectList) DeepCopy

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.

Jump to

Keyboard shortcuts

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