Documentation ¶
Index ¶
- Variables
- type GetRequest
- type ListOptions
- func (*ListOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ListOptions) GetLabelSelector() string
- func (x *ListOptions) GetLoadFromCache() bool
- func (*ListOptions) ProtoMessage()
- func (x *ListOptions) ProtoReflect() protoreflect.Message
- func (x *ListOptions) Reset()
- func (x *ListOptions) String() string
- type OwnerReference
- func (*OwnerReference) Descriptor() ([]byte, []int)deprecated
- func (x *OwnerReference) GetApiVersion() string
- func (x *OwnerReference) GetBlockOwnerDeletion() *wrapperspb.BoolValue
- func (x *OwnerReference) GetController() *wrapperspb.BoolValue
- func (x *OwnerReference) GetId() string
- func (x *OwnerReference) GetKind() string
- func (x *OwnerReference) GetUid() string
- func (*OwnerReference) ProtoMessage()
- func (x *OwnerReference) ProtoReflect() protoreflect.Message
- func (x *OwnerReference) Reset()
- func (x *OwnerReference) String() string
- type OwnerReferences
- func (*OwnerReferences) Descriptor() ([]byte, []int)deprecated
- func (x *OwnerReferences) GetOwnerReferences() []*OwnerReference
- func (*OwnerReferences) ProtoMessage()
- func (x *OwnerReferences) ProtoReflect() protoreflect.Message
- func (x *OwnerReferences) Reset()
- func (x *OwnerReferences) String() string
- type ResourceId
- type StringArray
- type StringMap
Constants ¶
This section is empty.
Variables ¶
View Source
var File_general_general_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GetRequest ¶
type GetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` LoadFromCache bool `protobuf:"varint,2,opt,name=load_from_cache,json=loadFromCache,proto3" json:"load_from_cache,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetId ¶
func (x *GetRequest) GetId() string
func (*GetRequest) GetLoadFromCache ¶
func (x *GetRequest) GetLoadFromCache() bool
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type ListOptions ¶
type ListOptions struct { LabelSelector string `protobuf:"bytes,1,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"` LoadFromCache bool `protobuf:"varint,2,opt,name=load_from_cache,json=loadFromCache,proto3" json:"load_from_cache,omitempty"` // contains filtered or unexported fields }
func (*ListOptions) Descriptor
deprecated
func (*ListOptions) Descriptor() ([]byte, []int)
Deprecated: Use ListOptions.ProtoReflect.Descriptor instead.
func (*ListOptions) GetLabelSelector ¶
func (x *ListOptions) GetLabelSelector() string
func (*ListOptions) GetLoadFromCache ¶
func (x *ListOptions) GetLoadFromCache() bool
func (*ListOptions) ProtoMessage ¶
func (*ListOptions) ProtoMessage()
func (*ListOptions) ProtoReflect ¶
func (x *ListOptions) ProtoReflect() protoreflect.Message
func (*ListOptions) Reset ¶
func (x *ListOptions) Reset()
func (*ListOptions) String ¶
func (x *ListOptions) String() string
type OwnerReference ¶
type OwnerReference struct { ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` Controller *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=controller,proto3" json:"controller,omitempty"` BlockOwnerDeletion *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=block_owner_deletion,json=blockOwnerDeletion,proto3" json:"block_owner_deletion,omitempty"` // contains filtered or unexported fields }
func (*OwnerReference) Descriptor
deprecated
func (*OwnerReference) Descriptor() ([]byte, []int)
Deprecated: Use OwnerReference.ProtoReflect.Descriptor instead.
func (*OwnerReference) GetApiVersion ¶
func (x *OwnerReference) GetApiVersion() string
func (*OwnerReference) GetBlockOwnerDeletion ¶
func (x *OwnerReference) GetBlockOwnerDeletion() *wrapperspb.BoolValue
func (*OwnerReference) GetController ¶
func (x *OwnerReference) GetController() *wrapperspb.BoolValue
func (*OwnerReference) GetId ¶
func (x *OwnerReference) GetId() string
func (*OwnerReference) GetKind ¶
func (x *OwnerReference) GetKind() string
func (*OwnerReference) GetUid ¶
func (x *OwnerReference) GetUid() string
func (*OwnerReference) ProtoMessage ¶
func (*OwnerReference) ProtoMessage()
func (*OwnerReference) ProtoReflect ¶
func (x *OwnerReference) ProtoReflect() protoreflect.Message
func (*OwnerReference) Reset ¶
func (x *OwnerReference) Reset()
func (*OwnerReference) String ¶
func (x *OwnerReference) String() string
type OwnerReferences ¶
type OwnerReferences struct { OwnerReferences []*OwnerReference `protobuf:"bytes,1,rep,name=owner_references,json=ownerReferences,proto3" json:"owner_references,omitempty"` // contains filtered or unexported fields }
func (*OwnerReferences) Descriptor
deprecated
func (*OwnerReferences) Descriptor() ([]byte, []int)
Deprecated: Use OwnerReferences.ProtoReflect.Descriptor instead.
func (*OwnerReferences) GetOwnerReferences ¶
func (x *OwnerReferences) GetOwnerReferences() []*OwnerReference
func (*OwnerReferences) ProtoMessage ¶
func (*OwnerReferences) ProtoMessage()
func (*OwnerReferences) ProtoReflect ¶
func (x *OwnerReferences) ProtoReflect() protoreflect.Message
func (*OwnerReferences) Reset ¶
func (x *OwnerReferences) Reset()
func (*OwnerReferences) String ¶
func (x *OwnerReferences) String() string
type ResourceId ¶
type ResourceId struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ResourceId) Descriptor
deprecated
func (*ResourceId) Descriptor() ([]byte, []int)
Deprecated: Use ResourceId.ProtoReflect.Descriptor instead.
func (*ResourceId) GetId ¶
func (x *ResourceId) GetId() string
func (*ResourceId) ProtoMessage ¶
func (*ResourceId) ProtoMessage()
func (*ResourceId) ProtoReflect ¶
func (x *ResourceId) ProtoReflect() protoreflect.Message
func (*ResourceId) Reset ¶
func (x *ResourceId) Reset()
func (*ResourceId) String ¶
func (x *ResourceId) String() string
type StringArray ¶
type StringArray struct { Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
A wrapper for string slices in case we need to differ between an empty and unset slice
func (*StringArray) Descriptor
deprecated
func (*StringArray) Descriptor() ([]byte, []int)
Deprecated: Use StringArray.ProtoReflect.Descriptor instead.
func (*StringArray) GetValues ¶
func (x *StringArray) GetValues() []string
func (*StringArray) ProtoMessage ¶
func (*StringArray) ProtoMessage()
func (*StringArray) ProtoReflect ¶
func (x *StringArray) ProtoReflect() protoreflect.Message
func (*StringArray) Reset ¶
func (x *StringArray) Reset()
func (*StringArray) String ¶
func (x *StringArray) String() string
type StringMap ¶
type StringMap struct { Value map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Since it is not possible to define an array of maps or a map of maps in protobuf, let's define a wrapper proto message type for string maps
func (*StringMap) Descriptor
deprecated
func (*StringMap) ProtoMessage ¶
func (*StringMap) ProtoMessage()
func (*StringMap) ProtoReflect ¶
func (x *StringMap) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.