Documentation ¶
Index ¶
- Variables
- func InitObject(obj Object, id types.NamespacedName)
- func SetMetadata(obj Object, metadata *ObjectMeta)
- type GroupVersion
- func (*GroupVersion) Descriptor() ([]byte, []int)deprecated
- func (x *GroupVersion) GetGroup() string
- func (x *GroupVersion) GetVersion() string
- func (*GroupVersion) ProtoMessage()
- func (x *GroupVersion) ProtoReflect() protoreflect.Message
- func (x *GroupVersion) Reset()
- func (x *GroupVersion) String() string
- type Kind
- type KindInfo
- type Object
- type ObjectMeta
- func (*ObjectMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectMeta) GetName() string
- func (x *ObjectMeta) GetNamespace() string
- func (x *ObjectMeta) GetResourceVersion() string
- func (x *ObjectMeta) GetUid() string
- func (*ObjectMeta) ProtoMessage()
- func (x *ObjectMeta) ProtoReflect() protoreflect.Message
- func (x *ObjectMeta) Reset()
- func (x *ObjectMeta) String() string
- type TypeMeta
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional kube.GroupVersion group_version = 50000;
E_GroupVersion = &file_components_kube_kube_proto_extTypes[0]
)
Extension fields to descriptorpb.FileOptions.
View Source
var (
// optional kube.Kind kind = 50001;
E_Kind = &file_components_kube_kube_proto_extTypes[1]
)
Extension fields to descriptorpb.MessageOptions.
View Source
var File_components_kube_kube_proto protoreflect.FileDescriptor
Functions ¶
func InitObject ¶
func InitObject(obj Object, id types.NamespacedName)
func SetMetadata ¶
func SetMetadata(obj Object, metadata *ObjectMeta)
Types ¶
type GroupVersion ¶
type GroupVersion struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*GroupVersion) Descriptor
deprecated
func (*GroupVersion) Descriptor() ([]byte, []int)
Deprecated: Use GroupVersion.ProtoReflect.Descriptor instead.
func (*GroupVersion) GetGroup ¶
func (x *GroupVersion) GetGroup() string
func (*GroupVersion) GetVersion ¶
func (x *GroupVersion) GetVersion() string
func (*GroupVersion) ProtoMessage ¶
func (*GroupVersion) ProtoMessage()
func (*GroupVersion) ProtoReflect ¶
func (x *GroupVersion) ProtoReflect() protoreflect.Message
func (*GroupVersion) Reset ¶
func (x *GroupVersion) Reset()
func (*GroupVersion) String ¶
func (x *GroupVersion) String() string
type Kind ¶
type Kind struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*Kind) Descriptor
deprecated
func (*Kind) GetResource ¶
func (*Kind) ProtoMessage ¶
func (*Kind) ProtoMessage()
func (*Kind) ProtoReflect ¶
func (x *Kind) ProtoReflect() protoreflect.Message
type KindInfo ¶
func GetKindInfo ¶
func (*KindInfo) APIVersion ¶
func (*KindInfo) GroupResource ¶
func (k *KindInfo) GroupResource() schema.GroupResource
func (*KindInfo) GroupVersionResource ¶
func (k *KindInfo) GroupVersionResource() schema.GroupVersionResource
type Object ¶
type Object interface { proto.Message GetMetadata() *ObjectMeta }
type ObjectMeta ¶
type ObjectMeta struct { // TODO: Sync with actual proto numbers Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` // google.protobuf.Timestamp creation_timestamp = ; // contains filtered or unexported fields }
func (*ObjectMeta) Descriptor
deprecated
func (*ObjectMeta) Descriptor() ([]byte, []int)
Deprecated: Use ObjectMeta.ProtoReflect.Descriptor instead.
func (*ObjectMeta) GetName ¶
func (x *ObjectMeta) GetName() string
func (*ObjectMeta) GetNamespace ¶
func (x *ObjectMeta) GetNamespace() string
func (*ObjectMeta) GetResourceVersion ¶
func (x *ObjectMeta) GetResourceVersion() string
func (*ObjectMeta) GetUid ¶
func (x *ObjectMeta) GetUid() string
func (*ObjectMeta) ProtoMessage ¶
func (*ObjectMeta) ProtoMessage()
func (*ObjectMeta) ProtoReflect ¶
func (x *ObjectMeta) ProtoReflect() protoreflect.Message
func (*ObjectMeta) Reset ¶
func (x *ObjectMeta) Reset()
func (*ObjectMeta) String ¶
func (x *ObjectMeta) String() string
type TypeMeta ¶
type TypeMeta struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*TypeMeta) Descriptor
deprecated
func (*TypeMeta) ProtoMessage ¶
func (*TypeMeta) ProtoMessage()
func (*TypeMeta) ProtoReflect ¶
func (x *TypeMeta) ProtoReflect() protoreflect.Message
Directories ¶
Path | Synopsis |
---|---|
internal/set
Package set provides simple set data structures for uint64s.
|
Package set provides simple set data structures for uint64s. |
Click to show internal directories.
Click to hide internal directories.