kubernetes: k8s.io/kubernetes/pkg/controller/garbagecollector/metaonly Index | Files

package metaonly

import "k8s.io/kubernetes/pkg/controller/garbagecollector/metaonly"

Index

Package Files

types.go zz_generated.deepcopy.go

type MetadataOnlyObject Uses

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) DeepCopy Uses

func (in *MetadataOnlyObject) DeepCopy() *MetadataOnlyObject

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObject.

func (*MetadataOnlyObject) DeepCopyInto Uses

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 Uses

func (in *MetadataOnlyObject) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MetadataOnlyObjectList Uses

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) DeepCopy Uses

func (in *MetadataOnlyObjectList) DeepCopy() *MetadataOnlyObjectList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObjectList.

func (*MetadataOnlyObjectList) DeepCopyInto Uses

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 Uses

func (in *MetadataOnlyObjectList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

Package metaonly imports 2 packages (graph) and is imported by 38 packages. Updated 2019-06-13. Refresh now. Tools for package owners.