Documentation ¶
Overview ¶
Package types contains slimmer versions of k8s types. +groupName=meta
Package v1 contains API types that are common to all versions.
The package contains two categories of types:
- external (serialized) types that lack their own version (e.g TypeMeta)
- internal (never-serialized) types that are needed by several different api groups, and so live here, to avoid duplication and/or import loops (e.g. LabelSelector).
In the future, we will probably move these categories of objects into separate packages.
Index ¶
- Constants
- Variables
- func AddMetaToScheme(scheme *runtime.Scheme) error
- func FormatLabelSelector(labelSelector *LabelSelector) string
- func Kind(kind string) schema.GroupKind
- func LabelSelectorAsMap(ps *LabelSelector) (map[string]string, error)
- func LabelSelectorAsSelector(ps *LabelSelector) (labels.Selector, error)
- type LabelSelector
- func (in *LabelSelector) DeepCopy() *LabelSelector
- func (in *LabelSelector) DeepCopyInto(out *LabelSelector)
- func (in *LabelSelector) DeepEqual(other *LabelSelector) bool
- func (*LabelSelector) Descriptor() ([]byte, []int)
- func (m *LabelSelector) Marshal() (dAtA []byte, err error)
- func (m *LabelSelector) MarshalTo(dAtA []byte) (int, error)
- func (m *LabelSelector) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LabelSelector) ProtoMessage()
- func (m *LabelSelector) Reset()
- func (m *LabelSelector) Size() (n int)
- func (this *LabelSelector) String() string
- func (m *LabelSelector) Unmarshal(dAtA []byte) error
- func (m *LabelSelector) XXX_DiscardUnknown()
- func (m *LabelSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LabelSelector) XXX_Merge(src proto.Message)
- func (m *LabelSelector) XXX_Size() int
- func (m *LabelSelector) XXX_Unmarshal(b []byte) error
- type LabelSelectorOperator
- type LabelSelectorRequirement
- func (in *LabelSelectorRequirement) DeepCopy() *LabelSelectorRequirement
- func (in *LabelSelectorRequirement) DeepCopyInto(out *LabelSelectorRequirement)
- func (in *LabelSelectorRequirement) DeepEqual(other *LabelSelectorRequirement) bool
- func (*LabelSelectorRequirement) Descriptor() ([]byte, []int)
- func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error)
- func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error)
- func (m *LabelSelectorRequirement) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LabelSelectorRequirement) ProtoMessage()
- func (m *LabelSelectorRequirement) Reset()
- func (m *LabelSelectorRequirement) Size() (n int)
- func (this *LabelSelectorRequirement) String() string
- func (m *LabelSelectorRequirement) Unmarshal(dAtA []byte) error
- func (m *LabelSelectorRequirement) XXX_DiscardUnknown()
- func (m *LabelSelectorRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LabelSelectorRequirement) XXX_Merge(src proto.Message)
- func (m *LabelSelectorRequirement) XXX_Size() int
- func (m *LabelSelectorRequirement) XXX_Unmarshal(b []byte) error
- type ListMeta
- func (in *ListMeta) DeepCopy() *ListMeta
- func (in *ListMeta) DeepCopyInto(out *ListMeta)
- func (in *ListMeta) DeepEqual(other *ListMeta) bool
- func (*ListMeta) Descriptor() ([]byte, []int)
- func (meta *ListMeta) GetContinue() string
- func (obj *ListMeta) GetListMeta() metav1.ListInterface
- func (meta *ListMeta) GetRemainingItemCount() *int64
- func (meta *ListMeta) GetResourceVersion() string
- func (meta *ListMeta) GetSelfLink() string
- func (m *ListMeta) Marshal() (dAtA []byte, err error)
- func (m *ListMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *ListMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListMeta) ProtoMessage()
- func (m *ListMeta) Reset()
- func (meta *ListMeta) SetContinue(c string)
- func (meta *ListMeta) SetRemainingItemCount(c *int64)
- func (meta *ListMeta) SetResourceVersion(version string)
- func (meta *ListMeta) SetSelfLink(_ string)
- func (m *ListMeta) Size() (n int)
- func (this *ListMeta) String() string
- func (m *ListMeta) Unmarshal(dAtA []byte) error
- func (m *ListMeta) XXX_DiscardUnknown()
- func (m *ListMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMeta) XXX_Merge(src proto.Message)
- func (m *ListMeta) XXX_Size() int
- func (m *ListMeta) XXX_Unmarshal(b []byte) error
- type MatchLabelsValue
- type ObjectMeta
- func (in *ObjectMeta) DeepCopy() *ObjectMeta
- func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta)
- func (in *ObjectMeta) DeepEqual(other *ObjectMeta) bool
- func (*ObjectMeta) Descriptor() ([]byte, []int)
- func (meta *ObjectMeta) GetAnnotations() map[string]string
- func (meta *ObjectMeta) GetClusterName() string
- func (meta *ObjectMeta) GetCreationTimestamp() metav1.Time
- func (meta *ObjectMeta) GetDeletionGracePeriodSeconds() *int64
- func (meta *ObjectMeta) GetDeletionTimestamp() *metav1.Time
- func (meta *ObjectMeta) GetFinalizers() []string
- func (meta *ObjectMeta) GetGenerateName() string
- func (meta *ObjectMeta) GetGeneration() int64
- func (meta *ObjectMeta) GetLabels() map[string]string
- func (meta *ObjectMeta) GetManagedFields() []metav1.ManagedFieldsEntry
- func (meta *ObjectMeta) GetName() string
- func (meta *ObjectMeta) GetNamespace() string
- func (obj *ObjectMeta) GetObjectMeta() metav1.Object
- func (meta *ObjectMeta) GetOwnerReferences() []metav1.OwnerReference
- func (meta *ObjectMeta) GetResourceVersion() string
- func (meta *ObjectMeta) GetSelfLink() string
- func (meta *ObjectMeta) GetUID() types.UID
- func (m *ObjectMeta) Marshal() (dAtA []byte, err error)
- func (m *ObjectMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectMeta) ProtoMessage()
- func (m *ObjectMeta) Reset()
- func (meta *ObjectMeta) SetAnnotations(annotations map[string]string)
- func (meta *ObjectMeta) SetClusterName(_ string)
- func (meta *ObjectMeta) SetCreationTimestamp(_ metav1.Time)
- func (meta *ObjectMeta) SetDeletionGracePeriodSeconds(_ *int64)
- func (meta *ObjectMeta) SetDeletionTimestamp(_ *metav1.Time)
- func (meta *ObjectMeta) SetFinalizers(_ []string)
- func (meta *ObjectMeta) SetGenerateName(string)
- func (meta *ObjectMeta) SetGeneration(_ int64)
- func (meta *ObjectMeta) SetLabels(labels map[string]string)
- func (meta *ObjectMeta) SetManagedFields(_ []metav1.ManagedFieldsEntry)
- func (meta *ObjectMeta) SetName(name string)
- func (meta *ObjectMeta) SetNamespace(namespace string)
- func (meta *ObjectMeta) SetOwnerReferences(_ []metav1.OwnerReference)
- func (meta *ObjectMeta) SetResourceVersion(ver string)
- func (meta *ObjectMeta) SetSelfLink(_ string)
- func (meta *ObjectMeta) SetUID(uid types.UID)
- func (m *ObjectMeta) Size() (n int)
- func (this *ObjectMeta) String() string
- func (m *ObjectMeta) Unmarshal(dAtA []byte) error
- func (m *ObjectMeta) XXX_DiscardUnknown()
- func (m *ObjectMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectMeta) XXX_Merge(src proto.Message)
- func (m *ObjectMeta) XXX_Size() int
- func (m *ObjectMeta) XXX_Unmarshal(b []byte) error
- type PartialObjectMetadata
- func (in *PartialObjectMetadata) DeepCopy() *PartialObjectMetadata
- func (in *PartialObjectMetadata) DeepCopyInto(out *PartialObjectMetadata)
- func (in *PartialObjectMetadata) DeepCopyObject() runtime.Object
- func (in *PartialObjectMetadata) DeepEqual(other *PartialObjectMetadata) bool
- func (*PartialObjectMetadata) Descriptor() ([]byte, []int)
- func (m *PartialObjectMetadata) Marshal() (dAtA []byte, err error)
- func (m *PartialObjectMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *PartialObjectMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PartialObjectMetadata) ProtoMessage()
- func (m *PartialObjectMetadata) Reset()
- func (m *PartialObjectMetadata) Size() (n int)
- func (this *PartialObjectMetadata) String() string
- func (m *PartialObjectMetadata) Unmarshal(dAtA []byte) error
- func (m *PartialObjectMetadata) XXX_DiscardUnknown()
- func (m *PartialObjectMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PartialObjectMetadata) XXX_Merge(src proto.Message)
- func (m *PartialObjectMetadata) XXX_Size() int
- func (m *PartialObjectMetadata) XXX_Unmarshal(b []byte) error
- type PartialObjectMetadataList
- func (in *PartialObjectMetadataList) DeepCopy() *PartialObjectMetadataList
- func (in *PartialObjectMetadataList) DeepCopyInto(out *PartialObjectMetadataList)
- func (in *PartialObjectMetadataList) DeepCopyObject() runtime.Object
- func (in *PartialObjectMetadataList) DeepEqual(other *PartialObjectMetadataList) bool
- func (*PartialObjectMetadataList) Descriptor() ([]byte, []int)
- func (m *PartialObjectMetadataList) Marshal() (dAtA []byte, err error)
- func (m *PartialObjectMetadataList) MarshalTo(dAtA []byte) (int, error)
- func (m *PartialObjectMetadataList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PartialObjectMetadataList) ProtoMessage()
- func (m *PartialObjectMetadataList) Reset()
- func (m *PartialObjectMetadataList) Size() (n int)
- func (this *PartialObjectMetadataList) String() string
- func (m *PartialObjectMetadataList) Unmarshal(dAtA []byte) error
- func (m *PartialObjectMetadataList) XXX_DiscardUnknown()
- func (m *PartialObjectMetadataList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PartialObjectMetadataList) XXX_Merge(src proto.Message)
- func (m *PartialObjectMetadataList) XXX_Size() int
- func (m *PartialObjectMetadataList) XXX_Unmarshal(b []byte) error
- type Time
- func (t *Time) Before(u *Time) bool
- func (in *Time) DeepCopy() *Time
- func (t *Time) DeepCopyInto(out *Time)
- func (in *Time) DeepEqual(other *Time) bool
- func (*Time) Descriptor() ([]byte, []int)
- func (t *Time) Equal(u *Time) bool
- func (t *Time) Fuzz(c fuzz.Continue)
- func (t *Time) IsZero() bool
- func (m *Time) Marshal() (data []byte, err error)
- func (t Time) MarshalJSON() ([]byte, error)
- func (t Time) MarshalQueryParameter() (string, error)
- func (m *Time) MarshalTo(data []byte) (int, error)
- func (m *Time) MarshalToSizedBuffer(data []byte) (int, error)
- func (_ Time) OpenAPISchemaFormat() string
- func (_ Time) OpenAPISchemaType() []string
- func (*Time) ProtoMessage()
- func (m *Time) ProtoTime() *Timestamp
- func (m *Time) Reset()
- func (t Time) Rfc3339Copy() Time
- func (m *Time) Size() (n int)
- func (t Time) ToUnstructured() interface{}
- func (m *Time) Unmarshal(data []byte) error
- func (t *Time) UnmarshalJSON(b []byte) error
- func (t *Time) UnmarshalQueryParameter(str string) error
- func (m *Time) XXX_DiscardUnknown()
- func (m *Time) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Time) XXX_Merge(src proto.Message)
- func (m *Time) XXX_Size() int
- func (m *Time) XXX_Unmarshal(b []byte) error
- type Timestamp
- func (in *Timestamp) DeepCopy() *Timestamp
- func (in *Timestamp) DeepCopyInto(out *Timestamp)
- func (in *Timestamp) DeepEqual(other *Timestamp) bool
- func (*Timestamp) Descriptor() ([]byte, []int)
- func (m *Timestamp) Marshal() (dAtA []byte, err error)
- func (m *Timestamp) MarshalTo(dAtA []byte) (int, error)
- func (m *Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Timestamp) ProtoMessage()
- func (m *Timestamp) Reset()
- func (m *Timestamp) Size() (n int)
- func (this *Timestamp) String() string
- func (m *Timestamp) Unmarshal(dAtA []byte) error
- func (m *Timestamp) XXX_DiscardUnknown()
- func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Timestamp) XXX_Merge(src proto.Message)
- func (m *Timestamp) XXX_Size() int
- func (m *Timestamp) XXX_Unmarshal(b []byte) error
- type TypeMeta
- func (in *TypeMeta) DeepEqual(other *TypeMeta) bool
- func (*TypeMeta) Descriptor() ([]byte, []int)
- func (obj *TypeMeta) GetObjectKind() schema.ObjectKind
- func (obj *TypeMeta) GroupVersionKind() schema.GroupVersionKind
- func (m *TypeMeta) Marshal() (dAtA []byte, err error)
- func (m *TypeMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *TypeMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TypeMeta) ProtoMessage()
- func (m *TypeMeta) Reset()
- func (obj *TypeMeta) SetGroupVersionKind(gvk schema.GroupVersionKind)
- func (m *TypeMeta) Size() (n int)
- func (this *TypeMeta) String() string
- func (m *TypeMeta) Unmarshal(dAtA []byte) error
- func (m *TypeMeta) XXX_DiscardUnknown()
- func (m *TypeMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TypeMeta) XXX_Merge(src proto.Message)
- func (m *TypeMeta) XXX_Size() int
- func (m *TypeMeta) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // NamespaceDefault means the object is in the default namespace which is applied when not specified by clients NamespaceDefault string = "default" // NamespaceAll is the default argument to specify on a context when you want to list or filter resources across all namespaces NamespaceAll string = "" // NamespaceNone is the argument for a context when there is no namespace. NamespaceNone string = "" // NamespaceSystem is the system namespace where we place system components. NamespaceSystem string = "kube-system" // NamespacePublic is the namespace where we place public info (ConfigMaps) NamespacePublic string = "kube-public" )
const GroupName = "meta.k8s.io"
GroupName is the group name for this API.
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ParameterCodec = runtime.NewParameterCodec(scheme)
ParameterCodec knows about query parameters used with the meta v1 API spec.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
var Unversioned = schema.GroupVersion{Group: "", Version: "v1"}
Unversioned is group version for unversioned API objects TODO: this should be v1 probably
Functions ¶
func AddMetaToScheme ¶
AddMetaToScheme registers base meta types into schemas.
func FormatLabelSelector ¶
func FormatLabelSelector(labelSelector *LabelSelector) string
FormatLabelSelector convert labelSelector into plain string
func LabelSelectorAsMap ¶ added in v1.8.0
func LabelSelectorAsMap(ps *LabelSelector) (map[string]string, error)
LabelSelectorAsMap converts the LabelSelector api type into a map of strings, ie. the original structure of a label selector. Operators that cannot be converted into plain labels (Exists, DoesNotExist, NotIn, and In with more than one value) will result in an error.
func LabelSelectorAsSelector ¶
func LabelSelectorAsSelector(ps *LabelSelector) (labels.Selector, error)
LabelSelectorAsSelector converts the LabelSelector api type into a struct that implements labels.Selector Note: This function should be kept in sync with the selector methods in pkg/labels/selector.go
Types ¶
type LabelSelector ¶
type LabelSelector struct { // MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels // map is equivalent to an element of matchExpressions, whose key field is "key", the // operator is "In", and the values array contains only "value". The requirements are ANDed. // // +kubebuilder:validation:Optional MatchLabels map[string]MatchLabelsValue `json:"matchLabels,omitempty" protobuf:"bytes,1,rep,name=matchLabels"` // MatchExpressions is a list of label selector requirements. The requirements are ANDed. // // +kubebuilder:validation:Optional MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,2,rep,name=matchExpressions"` }
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
func ParseToLabelSelector ¶ added in v1.8.0
func ParseToLabelSelector(selector string) (*LabelSelector, error)
ParseToLabelSelector parses a string representing a selector into a LabelSelector object. Note: This function should be kept in sync with the parser in pkg/labels/selector.go
func SetAsLabelSelector ¶ added in v1.8.0
func SetAsLabelSelector(ls labels.Set) *LabelSelector
SetAsLabelSelector converts the labels.Set object into a LabelSelector api object.
func (*LabelSelector) DeepCopy ¶
func (in *LabelSelector) DeepCopy() *LabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelector.
func (*LabelSelector) DeepCopyInto ¶
func (in *LabelSelector) DeepCopyInto(out *LabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LabelSelector) DeepEqual ¶
func (in *LabelSelector) DeepEqual(other *LabelSelector) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
func (*LabelSelector) Descriptor ¶
func (*LabelSelector) Descriptor() ([]byte, []int)
func (*LabelSelector) Marshal ¶
func (m *LabelSelector) Marshal() (dAtA []byte, err error)
func (*LabelSelector) MarshalToSizedBuffer ¶
func (m *LabelSelector) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LabelSelector) ProtoMessage ¶
func (*LabelSelector) ProtoMessage()
func (*LabelSelector) Reset ¶
func (m *LabelSelector) Reset()
func (*LabelSelector) Size ¶
func (m *LabelSelector) Size() (n int)
func (*LabelSelector) String ¶
func (this *LabelSelector) String() string
func (*LabelSelector) Unmarshal ¶
func (m *LabelSelector) Unmarshal(dAtA []byte) error
func (*LabelSelector) XXX_DiscardUnknown ¶
func (m *LabelSelector) XXX_DiscardUnknown()
func (*LabelSelector) XXX_Marshal ¶
func (m *LabelSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LabelSelector) XXX_Merge ¶
func (m *LabelSelector) XXX_Merge(src proto.Message)
func (*LabelSelector) XXX_Size ¶
func (m *LabelSelector) XXX_Size() int
func (*LabelSelector) XXX_Unmarshal ¶
func (m *LabelSelector) XXX_Unmarshal(b []byte) error
type LabelSelectorOperator ¶
type LabelSelectorOperator string
A label selector operator is the set of operators that can be used in a selector requirement.
const ( LabelSelectorOpIn LabelSelectorOperator = "In" LabelSelectorOpNotIn LabelSelectorOperator = "NotIn" LabelSelectorOpExists LabelSelectorOperator = "Exists" LabelSelectorOpDoesNotExist LabelSelectorOperator = "DoesNotExist" )
type LabelSelectorRequirement ¶
type LabelSelectorRequirement struct { // key is the label key that the selector applies to. // +patchMergeKey=key // +patchStrategy=merge Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,1,opt,name=key"` // operator represents a key's relationship to a set of values. // Valid operators are In, NotIn, Exists and DoesNotExist. // // +kubebuilder:validation:Enum=In;NotIn;Exists;DoesNotExist Operator LabelSelectorOperator `json:"operator" protobuf:"bytes,2,opt,name=operator,casttype=LabelSelectorOperator"` // values is an array of string values. If the operator is In or NotIn, // the values array must be non-empty. If the operator is Exists or DoesNotExist, // the values array must be empty. This array is replaced during a strategic // merge patch. // // +kubebuilder:validation:Optional Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"` }
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
func (*LabelSelectorRequirement) DeepCopy ¶
func (in *LabelSelectorRequirement) DeepCopy() *LabelSelectorRequirement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelectorRequirement.
func (*LabelSelectorRequirement) DeepCopyInto ¶
func (in *LabelSelectorRequirement) DeepCopyInto(out *LabelSelectorRequirement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LabelSelectorRequirement) DeepEqual ¶
func (in *LabelSelectorRequirement) DeepEqual(other *LabelSelectorRequirement) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
func (*LabelSelectorRequirement) Descriptor ¶
func (*LabelSelectorRequirement) Descriptor() ([]byte, []int)
func (*LabelSelectorRequirement) Marshal ¶
func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error)
func (*LabelSelectorRequirement) MarshalTo ¶
func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error)
func (*LabelSelectorRequirement) MarshalToSizedBuffer ¶
func (m *LabelSelectorRequirement) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LabelSelectorRequirement) ProtoMessage ¶
func (*LabelSelectorRequirement) ProtoMessage()
func (*LabelSelectorRequirement) Reset ¶
func (m *LabelSelectorRequirement) Reset()
func (*LabelSelectorRequirement) Size ¶
func (m *LabelSelectorRequirement) Size() (n int)
func (*LabelSelectorRequirement) String ¶
func (this *LabelSelectorRequirement) String() string
func (*LabelSelectorRequirement) Unmarshal ¶
func (m *LabelSelectorRequirement) Unmarshal(dAtA []byte) error
func (*LabelSelectorRequirement) XXX_DiscardUnknown ¶
func (m *LabelSelectorRequirement) XXX_DiscardUnknown()
func (*LabelSelectorRequirement) XXX_Marshal ¶
func (m *LabelSelectorRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LabelSelectorRequirement) XXX_Merge ¶
func (m *LabelSelectorRequirement) XXX_Merge(src proto.Message)
func (*LabelSelectorRequirement) XXX_Size ¶
func (m *LabelSelectorRequirement) XXX_Size() int
func (*LabelSelectorRequirement) XXX_Unmarshal ¶
func (m *LabelSelectorRequirement) XXX_Unmarshal(b []byte) error
type ListMeta ¶
type ListMeta struct { // String that identifies the server's internal version of this object that // can be used by clients to determine when objects have changed. // Value must be treated as opaque by clients and passed unmodified back to the server. // Populated by the system. // Read-only. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency // +optional ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,2,opt,name=resourceVersion"` // continue may be set if the user set a limit on the number of items returned, and indicates that // the server has more data available. The value is opaque and may be used to issue another request // to the endpoint that served this list to retrieve the next set of available objects. Continuing a // consistent list may not be possible if the server configuration has changed or more than a few // minutes have passed. The resourceVersion field returned when using this continue value will be // identical to the value in the first response, unless you have received this token from an error // message. Continue string `json:"continue,omitempty" protobuf:"bytes,3,opt,name=continue"` // remainingItemCount is the number of subsequent items in the list which are not included in this // list response. If the list request contained label or field selectors, then the number of // remaining items is unknown and the field will be left unset and omitted during serialization. // If the list is complete (either because it is not chunking or because this is the last chunk), // then there are no more remaining items and this field will be left unset and omitted during // serialization. // Servers older than v1.15 do not set this field. // The intended use of the remainingItemCount is *estimating* the size of a collection. Clients // should not rely on the remainingItemCount to be set or to be exact. // +optional RemainingItemCount *int64 `json:"remainingItemCount,omitempty" protobuf:"bytes,4,opt,name=remainingItemCount"` }
ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
func (*ListMeta) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListMeta.
func (*ListMeta) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ListMeta) DeepEqual ¶
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
func (*ListMeta) Descriptor ¶
func (*ListMeta) GetContinue ¶
func (*ListMeta) GetListMeta ¶
func (obj *ListMeta) GetListMeta() metav1.ListInterface
func (*ListMeta) GetRemainingItemCount ¶
func (*ListMeta) GetResourceVersion ¶
func (*ListMeta) GetSelfLink ¶
func (*ListMeta) MarshalToSizedBuffer ¶
func (*ListMeta) ProtoMessage ¶
func (*ListMeta) ProtoMessage()
func (*ListMeta) SetContinue ¶
func (*ListMeta) SetRemainingItemCount ¶
func (*ListMeta) SetResourceVersion ¶
func (*ListMeta) SetSelfLink ¶
func (*ListMeta) XXX_DiscardUnknown ¶
func (m *ListMeta) XXX_DiscardUnknown()
func (*ListMeta) XXX_Marshal ¶
func (*ListMeta) XXX_Unmarshal ¶
type MatchLabelsValue ¶
type MatchLabelsValue = string
MatchLabelsValue represents the value from the MatchLabels {key,value} pair.
+kubebuilder:validation:MaxLength=63 +kubebuilder:validation:Pattern=`^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$`
type ObjectMeta ¶
type ObjectMeta struct { // Name must be unique within a namespace. Is required when creating resources, although // some resources may allow a client to request the generation of an appropriate name // automatically. Name is primarily intended for creation idempotence and configuration // definition. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/identifiers#names // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // Namespace defines the space within which each name must be unique. An empty namespace is // equivalent to the "default" namespace, but "default" is the canonical representation. // Not all objects are required to be scoped to a namespace - the value of this field for // those objects will be empty. // // Must be a DNS_LABEL. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/namespaces // +optional Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"` // UID is the unique in time and space value for this object. It is typically generated by // the server on successful creation of a resource and is not allowed to change on PUT // operations. // // Populated by the system. // Read-only. // More info: http://kubernetes.io/docs/user-guide/identifiers#uids // +optional UID types.UID `json:"uid,omitempty" protobuf:"bytes,5,opt,name=uid,casttype=k8s.io/kubernetes/pkg/types.UID"` // An opaque value that represents the internal version of this object that can // be used by clients to determine when objects have changed. May be used for optimistic // concurrency, change detection, and the watch operation on a resource or set of resources. // Clients must treat these values as opaque and passed unmodified back to the server. // They may only be valid for a particular resource or set of resources. // // Populated by the system. // Read-only. // Value must be treated as opaque by clients and . // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency // +optional // +deepequal-gen=false ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,6,opt,name=resourceVersion"` // Map of string keys and values that can be used to organize and categorize // (scope and select) objects. May match selectors of replication controllers // and services. // More info: http://kubernetes.io/docs/user-guide/labels // +optional Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,11,rep,name=labels"` // Annotations is an unstructured key value map stored with a resource that may be // set by external tools to store and retrieve arbitrary metadata. They are not // queryable and should be preserved when modifying objects. // More info: http://kubernetes.io/docs/user-guide/annotations // +optional Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,12,rep,name=annotations"` }
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
func (*ObjectMeta) DeepCopy ¶
func (in *ObjectMeta) DeepCopy() *ObjectMeta
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta.
func (*ObjectMeta) DeepCopyInto ¶
func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectMeta) DeepEqual ¶
func (in *ObjectMeta) DeepEqual(other *ObjectMeta) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
func (*ObjectMeta) Descriptor ¶
func (*ObjectMeta) Descriptor() ([]byte, []int)
func (*ObjectMeta) GetAnnotations ¶
func (meta *ObjectMeta) GetAnnotations() map[string]string
func (*ObjectMeta) GetClusterName ¶ added in v1.8.0
func (meta *ObjectMeta) GetClusterName() string
func (*ObjectMeta) GetCreationTimestamp ¶
func (meta *ObjectMeta) GetCreationTimestamp() metav1.Time
func (*ObjectMeta) GetDeletionGracePeriodSeconds ¶
func (meta *ObjectMeta) GetDeletionGracePeriodSeconds() *int64
func (*ObjectMeta) GetDeletionTimestamp ¶
func (meta *ObjectMeta) GetDeletionTimestamp() *metav1.Time
func (*ObjectMeta) GetFinalizers ¶
func (meta *ObjectMeta) GetFinalizers() []string
func (*ObjectMeta) GetGenerateName ¶
func (meta *ObjectMeta) GetGenerateName() string
func (*ObjectMeta) GetGeneration ¶
func (meta *ObjectMeta) GetGeneration() int64
func (*ObjectMeta) GetLabels ¶
func (meta *ObjectMeta) GetLabels() map[string]string
func (*ObjectMeta) GetManagedFields ¶
func (meta *ObjectMeta) GetManagedFields() []metav1.ManagedFieldsEntry
func (*ObjectMeta) GetName ¶
func (meta *ObjectMeta) GetName() string
func (*ObjectMeta) GetNamespace ¶
func (meta *ObjectMeta) GetNamespace() string
Namespace implements metav1.Object for any object with an ObjectMeta typed field. Allows fast, direct access to metadata fields for API objects.
func (*ObjectMeta) GetObjectMeta ¶
func (obj *ObjectMeta) GetObjectMeta() metav1.Object
func (*ObjectMeta) GetOwnerReferences ¶
func (meta *ObjectMeta) GetOwnerReferences() []metav1.OwnerReference
func (*ObjectMeta) GetResourceVersion ¶
func (meta *ObjectMeta) GetResourceVersion() string
func (*ObjectMeta) GetSelfLink ¶
func (meta *ObjectMeta) GetSelfLink() string
func (*ObjectMeta) GetUID ¶
func (meta *ObjectMeta) GetUID() types.UID
func (*ObjectMeta) Marshal ¶
func (m *ObjectMeta) Marshal() (dAtA []byte, err error)
func (*ObjectMeta) MarshalToSizedBuffer ¶
func (m *ObjectMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectMeta) ProtoMessage ¶
func (*ObjectMeta) ProtoMessage()
func (*ObjectMeta) Reset ¶
func (m *ObjectMeta) Reset()
func (*ObjectMeta) SetAnnotations ¶
func (meta *ObjectMeta) SetAnnotations(annotations map[string]string)
func (*ObjectMeta) SetClusterName ¶ added in v1.8.0
func (meta *ObjectMeta) SetClusterName(_ string)
func (*ObjectMeta) SetCreationTimestamp ¶
func (meta *ObjectMeta) SetCreationTimestamp(_ metav1.Time)
func (*ObjectMeta) SetDeletionGracePeriodSeconds ¶
func (meta *ObjectMeta) SetDeletionGracePeriodSeconds(_ *int64)
func (*ObjectMeta) SetDeletionTimestamp ¶
func (meta *ObjectMeta) SetDeletionTimestamp(_ *metav1.Time)
func (*ObjectMeta) SetFinalizers ¶
func (meta *ObjectMeta) SetFinalizers(_ []string)
func (*ObjectMeta) SetGenerateName ¶
func (meta *ObjectMeta) SetGenerateName(string)
func (*ObjectMeta) SetGeneration ¶
func (meta *ObjectMeta) SetGeneration(_ int64)
func (*ObjectMeta) SetLabels ¶
func (meta *ObjectMeta) SetLabels(labels map[string]string)
func (*ObjectMeta) SetManagedFields ¶
func (meta *ObjectMeta) SetManagedFields(_ []metav1.ManagedFieldsEntry)
func (*ObjectMeta) SetName ¶
func (meta *ObjectMeta) SetName(name string)
func (*ObjectMeta) SetNamespace ¶
func (meta *ObjectMeta) SetNamespace(namespace string)
func (*ObjectMeta) SetOwnerReferences ¶
func (meta *ObjectMeta) SetOwnerReferences(_ []metav1.OwnerReference)
func (*ObjectMeta) SetResourceVersion ¶
func (meta *ObjectMeta) SetResourceVersion(ver string)
func (*ObjectMeta) SetSelfLink ¶
func (meta *ObjectMeta) SetSelfLink(_ string)
func (*ObjectMeta) SetUID ¶
func (meta *ObjectMeta) SetUID(uid types.UID)
func (*ObjectMeta) Size ¶
func (m *ObjectMeta) Size() (n int)
func (*ObjectMeta) String ¶
func (this *ObjectMeta) String() string
func (*ObjectMeta) Unmarshal ¶
func (m *ObjectMeta) Unmarshal(dAtA []byte) error
func (*ObjectMeta) XXX_DiscardUnknown ¶
func (m *ObjectMeta) XXX_DiscardUnknown()
func (*ObjectMeta) XXX_Marshal ¶
func (m *ObjectMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectMeta) XXX_Merge ¶
func (m *ObjectMeta) XXX_Merge(src proto.Message)
func (*ObjectMeta) XXX_Size ¶
func (m *ObjectMeta) XXX_Size() int
func (*ObjectMeta) XXX_Unmarshal ¶
func (m *ObjectMeta) XXX_Unmarshal(b []byte) error
type PartialObjectMetadata ¶
type PartialObjectMetadata struct { TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` }
PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients to get access to a particular ObjectMeta schema without knowing the details of the version. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*PartialObjectMetadata) DeepCopy ¶
func (in *PartialObjectMetadata) DeepCopy() *PartialObjectMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMetadata.
func (*PartialObjectMetadata) DeepCopyInto ¶
func (in *PartialObjectMetadata) DeepCopyInto(out *PartialObjectMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PartialObjectMetadata) DeepCopyObject ¶
func (in *PartialObjectMetadata) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PartialObjectMetadata) DeepEqual ¶
func (in *PartialObjectMetadata) DeepEqual(other *PartialObjectMetadata) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
func (*PartialObjectMetadata) Descriptor ¶
func (*PartialObjectMetadata) Descriptor() ([]byte, []int)
func (*PartialObjectMetadata) Marshal ¶
func (m *PartialObjectMetadata) Marshal() (dAtA []byte, err error)
func (*PartialObjectMetadata) MarshalTo ¶
func (m *PartialObjectMetadata) MarshalTo(dAtA []byte) (int, error)
func (*PartialObjectMetadata) MarshalToSizedBuffer ¶
func (m *PartialObjectMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PartialObjectMetadata) ProtoMessage ¶
func (*PartialObjectMetadata) ProtoMessage()
func (*PartialObjectMetadata) Reset ¶
func (m *PartialObjectMetadata) Reset()
func (*PartialObjectMetadata) Size ¶
func (m *PartialObjectMetadata) Size() (n int)
func (*PartialObjectMetadata) String ¶
func (this *PartialObjectMetadata) String() string
func (*PartialObjectMetadata) Unmarshal ¶
func (m *PartialObjectMetadata) Unmarshal(dAtA []byte) error
func (*PartialObjectMetadata) XXX_DiscardUnknown ¶
func (m *PartialObjectMetadata) XXX_DiscardUnknown()
func (*PartialObjectMetadata) XXX_Marshal ¶
func (m *PartialObjectMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PartialObjectMetadata) XXX_Merge ¶
func (m *PartialObjectMetadata) XXX_Merge(src proto.Message)
func (*PartialObjectMetadata) XXX_Size ¶
func (m *PartialObjectMetadata) XXX_Size() int
func (*PartialObjectMetadata) XXX_Unmarshal ¶
func (m *PartialObjectMetadata) XXX_Unmarshal(b []byte) error
type PartialObjectMetadataList ¶
type PartialObjectMetadataList struct { TypeMeta `json:",inline"` // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds // +optional ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // items contains each of the included items. Items []PartialObjectMetadata `json:"items" protobuf:"bytes,2,rep,name=items"` }
PartialObjectMetadataList contains a list of objects containing only their metadata +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*PartialObjectMetadataList) DeepCopy ¶
func (in *PartialObjectMetadataList) DeepCopy() *PartialObjectMetadataList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMetadataList.
func (*PartialObjectMetadataList) DeepCopyInto ¶
func (in *PartialObjectMetadataList) DeepCopyInto(out *PartialObjectMetadataList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PartialObjectMetadataList) DeepCopyObject ¶
func (in *PartialObjectMetadataList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PartialObjectMetadataList) DeepEqual ¶
func (in *PartialObjectMetadataList) DeepEqual(other *PartialObjectMetadataList) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
func (*PartialObjectMetadataList) Descriptor ¶
func (*PartialObjectMetadataList) Descriptor() ([]byte, []int)
func (*PartialObjectMetadataList) Marshal ¶
func (m *PartialObjectMetadataList) Marshal() (dAtA []byte, err error)
func (*PartialObjectMetadataList) MarshalTo ¶
func (m *PartialObjectMetadataList) MarshalTo(dAtA []byte) (int, error)
func (*PartialObjectMetadataList) MarshalToSizedBuffer ¶
func (m *PartialObjectMetadataList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PartialObjectMetadataList) ProtoMessage ¶
func (*PartialObjectMetadataList) ProtoMessage()
func (*PartialObjectMetadataList) Reset ¶
func (m *PartialObjectMetadataList) Reset()
func (*PartialObjectMetadataList) Size ¶
func (m *PartialObjectMetadataList) Size() (n int)
func (*PartialObjectMetadataList) String ¶
func (this *PartialObjectMetadataList) String() string
func (*PartialObjectMetadataList) Unmarshal ¶
func (m *PartialObjectMetadataList) Unmarshal(dAtA []byte) error
func (*PartialObjectMetadataList) XXX_DiscardUnknown ¶
func (m *PartialObjectMetadataList) XXX_DiscardUnknown()
func (*PartialObjectMetadataList) XXX_Marshal ¶
func (m *PartialObjectMetadataList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PartialObjectMetadataList) XXX_Merge ¶
func (m *PartialObjectMetadataList) XXX_Merge(src proto.Message)
func (*PartialObjectMetadataList) XXX_Size ¶
func (m *PartialObjectMetadataList) XXX_Size() int
func (*PartialObjectMetadataList) XXX_Unmarshal ¶
func (m *PartialObjectMetadataList) XXX_Unmarshal(b []byte) error
type Time ¶
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
+protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false
+kubebuilder:validation:Format=date-time +kubebuilder:validation:Type=string
func (*Time) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Time.
func (*Time) DeepCopyInto ¶
DeepCopyInto creates a deep-copy of the Time value. The underlying time.Time type is effectively immutable in the time API, so it is safe to copy-by-assign, despite the presence of (unexported) Pointer fields.
func (*Time) Descriptor ¶
func (Time) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Time) MarshalQueryParameter ¶
MarshalQueryParameter converts to a URL query parameter value
func (*Time) MarshalToSizedBuffer ¶
MarshalToSizedBuffer implements the protobuf reverse marshaling interface.
func (Time) OpenAPISchemaFormat ¶
OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
func (Time) OpenAPISchemaType ¶
OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
func (Time) Rfc3339Copy ¶
Rfc3339Copy returns a copy of the Time at second-level precision.
func (Time) ToUnstructured ¶
func (t Time) ToUnstructured() interface{}
ToUnstructured implements the value.UnstructuredConverter interface.
func (*Time) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface.
func (*Time) UnmarshalQueryParameter ¶
UnmarshalQueryParameter converts from a URL query parameter value to an object
func (*Time) XXX_DiscardUnknown ¶
func (m *Time) XXX_DiscardUnknown()
func (*Time) XXX_Unmarshal ¶
type Timestamp ¶
type Timestamp struct { // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. Seconds int64 `json:"seconds" protobuf:"varint,1,opt,name=seconds"` // Non-negative fractions of a second at nanosecond resolution. Negative // second values with fractions must still have non-negative nanos values // that count forward in time. Must be from 0 to 999,999,999 // inclusive. This field may be limited in precision depending on context. Nanos int32 `json:"nanos" protobuf:"varint,2,opt,name=nanos"` }
Timestamp is a struct that is equivalent to Time, but intended for protobuf marshalling/unmarshalling. It is generated into a serialization that matches Time. Do not use in Go structs.
func (*Timestamp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Timestamp.
func (*Timestamp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Timestamp) DeepEqual ¶
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
func (*Timestamp) Descriptor ¶
func (*Timestamp) MarshalToSizedBuffer ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) XXX_DiscardUnknown ¶
func (m *Timestamp) XXX_DiscardUnknown()
func (*Timestamp) XXX_Marshal ¶
func (*Timestamp) XXX_Unmarshal ¶
type TypeMeta ¶
type TypeMeta struct { // Kind is a string value representing the REST resource this object represents. // Servers may infer this from the endpoint the client submits requests to. // Cannot be updated. // In CamelCase. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds // +optional Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"` // APIVersion defines the versioned schema of this representation of an object. // Servers should convert recognized schemas to the latest internal value, and // may reject unrecognized values. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources // +optional APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,2,opt,name=apiVersion"` }
TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version. Structures that are versioned or persisted should inline TypeMeta.
+k8s:deepcopy-gen=false
func (*TypeMeta) DeepEqual ¶
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
func (*TypeMeta) Descriptor ¶
func (*TypeMeta) GetObjectKind ¶
func (obj *TypeMeta) GetObjectKind() schema.ObjectKind
func (*TypeMeta) GroupVersionKind ¶
func (obj *TypeMeta) GroupVersionKind() schema.GroupVersionKind
GroupVersionKind satisfies the ObjectKind interface for all objects that embed TypeMeta
func (*TypeMeta) MarshalToSizedBuffer ¶
func (*TypeMeta) ProtoMessage ¶
func (*TypeMeta) ProtoMessage()
func (*TypeMeta) SetGroupVersionKind ¶
func (obj *TypeMeta) SetGroupVersionKind(gvk schema.GroupVersionKind)
SetGroupVersionKind satisfies the ObjectKind interface for all objects that embed TypeMeta
func (*TypeMeta) XXX_DiscardUnknown ¶
func (m *TypeMeta) XXX_DiscardUnknown()