Documentation ¶
Index ¶
- Variables
- type BootstrapToken
- func (in *BootstrapToken) DeepCopy() *BootstrapToken
- func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken)
- func (*BootstrapToken) Descriptor() ([]byte, []int)deprecated
- func (t *BootstrapToken) GetCapabilities() []*TokenCapability
- func (t *BootstrapToken) GetLabels() map[string]string
- func (x *BootstrapToken) GetMetadata() *BootstrapTokenMetadata
- func (x *BootstrapToken) GetSecret() string
- func (x *BootstrapToken) GetTokenID() string
- func (*BootstrapToken) ProtoMessage()
- func (x *BootstrapToken) ProtoReflect() protoreflect.Message
- func (r *BootstrapToken) Reference() *Reference
- func (x *BootstrapToken) Reset()
- func (t *BootstrapToken) SetCapabilities(capabilities []*TokenCapability)
- func (t *BootstrapToken) SetLabels(labels map[string]string)
- func (x *BootstrapToken) String() string
- type BootstrapTokenList
- func (*BootstrapTokenList) Descriptor() ([]byte, []int)deprecated
- func (x *BootstrapTokenList) GetItems() []*BootstrapToken
- func (*BootstrapTokenList) ProtoMessage()
- func (x *BootstrapTokenList) ProtoReflect() protoreflect.Message
- func (x *BootstrapTokenList) Reset()
- func (x *BootstrapTokenList) String() string
- type BootstrapTokenMetadata
- func (*BootstrapTokenMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *BootstrapTokenMetadata) GetCapabilities() []*TokenCapability
- func (x *BootstrapTokenMetadata) GetLabels() map[string]string
- func (x *BootstrapTokenMetadata) GetLeaseID() int64
- func (x *BootstrapTokenMetadata) GetTtl() int64
- func (x *BootstrapTokenMetadata) GetUsageCount() int64
- func (*BootstrapTokenMetadata) ProtoMessage()
- func (x *BootstrapTokenMetadata) ProtoReflect() protoreflect.Message
- func (x *BootstrapTokenMetadata) Reset()
- func (x *BootstrapTokenMetadata) String() string
- type Capability
- type CertInfo
- func (*CertInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CertInfo) GetFingerprint() string
- func (x *CertInfo) GetIsCA() bool
- func (x *CertInfo) GetIssuer() string
- func (x *CertInfo) GetNotAfter() string
- func (x *CertInfo) GetNotBefore() string
- func (x *CertInfo) GetSubject() string
- func (*CertInfo) ProtoMessage()
- func (x *CertInfo) ProtoReflect() protoreflect.Message
- func (x *CertInfo) Reset()
- func (x *CertInfo) String() string
- type Cluster
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (c *Cluster) GetCapabilities() []*ClusterCapability
- func (x *Cluster) GetId() string
- func (c *Cluster) GetLabels() map[string]string
- func (x *Cluster) GetMetadata() *ClusterMetadata
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (c *Cluster) Reference() *Reference
- func (x *Cluster) Reset()
- func (c *Cluster) SetCapabilities(capabilities []*ClusterCapability)
- func (c *Cluster) SetLabels(labels map[string]string)
- func (x *Cluster) String() string
- func (c *Cluster) Validate() error
- type ClusterCapability
- func (*ClusterCapability) Descriptor() ([]byte, []int)deprecated
- func (c *ClusterCapability) Equal(other *ClusterCapability) bool
- func (x *ClusterCapability) GetName() string
- func (*ClusterCapability) ProtoMessage()
- func (x *ClusterCapability) ProtoReflect() protoreflect.Message
- func (x *ClusterCapability) Reset()
- func (x *ClusterCapability) String() string
- type ClusterList
- type ClusterMetadata
- func (*ClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterMetadata) GetCapabilities() []*ClusterCapability
- func (x *ClusterMetadata) GetLabels() map[string]string
- func (*ClusterMetadata) ProtoMessage()
- func (x *ClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *ClusterMetadata) Reset()
- func (x *ClusterMetadata) String() string
- type Comparator
- type LabelSelector
- func (*LabelSelector) Descriptor() ([]byte, []int)deprecated
- func (ls *LabelSelector) ExpressionString() string
- func (x *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement
- func (x *LabelSelector) GetMatchLabels() map[string]string
- func (*LabelSelector) ProtoMessage()
- func (x *LabelSelector) ProtoReflect() protoreflect.Message
- func (x *LabelSelector) Reset()
- func (x *LabelSelector) String() string
- func (ls *LabelSelector) ToLabelSelector() *metav1.LabelSelector
- func (ls *LabelSelector) Validate() error
- type LabelSelectorOperator
- type LabelSelectorRequirement
- func (*LabelSelectorRequirement) Descriptor() ([]byte, []int)deprecated
- func (lsr *LabelSelectorRequirement) ExpressionString() string
- func (x *LabelSelectorRequirement) GetKey() string
- func (x *LabelSelectorRequirement) GetOperator() string
- func (x *LabelSelectorRequirement) GetValues() []string
- func (*LabelSelectorRequirement) ProtoMessage()
- func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message
- func (x *LabelSelectorRequirement) Reset()
- func (x *LabelSelectorRequirement) String() string
- func (r *LabelSelectorRequirement) Validate() error
- type MatchOptions
- func (MatchOptions) Descriptor() protoreflect.EnumDescriptor
- func (x MatchOptions) Enum() *MatchOptions
- func (MatchOptions) EnumDescriptor() ([]byte, []int)deprecated
- func (x MatchOptions) Number() protoreflect.EnumNumber
- func (x MatchOptions) String() string
- func (MatchOptions) Type() protoreflect.EnumType
- func (o MatchOptions) Validate() error
- type MetadataAccessor
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)deprecated
- func (r *Reference) Equal(other *Reference) bool
- func (x *Reference) GetId() string
- func (*Reference) ProtoMessage()
- func (x *Reference) ProtoReflect() protoreflect.Message
- func (x *Reference) Reset()
- func (x *Reference) String() string
- func (ref *Reference) Validate() error
- type ReferenceList
- type Referencer
- type Role
- func (in *Role) DeepCopy() *Role
- func (in *Role) DeepCopyInto(out *Role)
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetClusterIDs() []string
- func (x *Role) GetId() string
- func (x *Role) GetMatchLabels() *LabelSelector
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (r *Role) Reference() *Reference
- func (x *Role) Reset()
- func (x *Role) String() string
- func (r *Role) Validate() error
- type RoleBinding
- func (in *RoleBinding) DeepCopy() *RoleBinding
- func (in *RoleBinding) DeepCopyInto(out *RoleBinding)
- func (*RoleBinding) Descriptor() ([]byte, []int)deprecated
- func (x *RoleBinding) GetId() string
- func (x *RoleBinding) GetRoleId() string
- func (x *RoleBinding) GetSubjects() []string
- func (x *RoleBinding) GetTaints() []string
- func (*RoleBinding) ProtoMessage()
- func (x *RoleBinding) ProtoReflect() protoreflect.Message
- func (r *RoleBinding) Reference() *Reference
- func (x *RoleBinding) Reset()
- func (r *RoleBinding) RoleReference() *Reference
- func (x *RoleBinding) String() string
- func (rb *RoleBinding) Validate() error
- type RoleBindingList
- type RoleList
- type SubjectAccessRequest
- func (*SubjectAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubjectAccessRequest) GetSubject() string
- func (*SubjectAccessRequest) ProtoMessage()
- func (x *SubjectAccessRequest) ProtoReflect() protoreflect.Message
- func (x *SubjectAccessRequest) Reset()
- func (x *SubjectAccessRequest) String() string
- func (sar *SubjectAccessRequest) Validate() error
- type TokenCapability
- func (*TokenCapability) Descriptor() ([]byte, []int)deprecated
- func (c *TokenCapability) Equal(other *TokenCapability) bool
- func (x *TokenCapability) GetReference() *Reference
- func (x *TokenCapability) GetType() string
- func (*TokenCapability) ProtoMessage()
- func (x *TokenCapability) ProtoReflect() protoreflect.Message
- func (x *TokenCapability) Reset()
- func (x *TokenCapability) String() string
Constants ¶
This section is empty.
Variables ¶
var ( MatchOptions_name = map[int32]string{ 0: "Default", 1: "EmptySelectorMatchesNone", } MatchOptions_value = map[string]int32{ "Default": 0, "EmptySelectorMatchesNone": 1, } )
Enum value maps for MatchOptions.
var ( ErrReferenceRequiresID = errors.New("reference requires ID to be set; this object is uniquely identified by ID") ErrReferenceRequiresName = errors.New("reference requires Name to be set; this object is uniquely identified by name") )
var File_pkg_core_core_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BootstrapToken ¶
type BootstrapToken struct { TokenID string `protobuf:"bytes,1,opt,name=tokenID,proto3" json:"tokenID,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` Metadata *BootstrapTokenMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*BootstrapToken) DeepCopy ¶
func (in *BootstrapToken) DeepCopy() *BootstrapToken
func (*BootstrapToken) DeepCopyInto ¶
func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken)
func (*BootstrapToken) Descriptor
deprecated
func (*BootstrapToken) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapToken.ProtoReflect.Descriptor instead.
func (*BootstrapToken) GetCapabilities ¶
func (t *BootstrapToken) GetCapabilities() []*TokenCapability
func (*BootstrapToken) GetLabels ¶
func (t *BootstrapToken) GetLabels() map[string]string
func (*BootstrapToken) GetMetadata ¶
func (x *BootstrapToken) GetMetadata() *BootstrapTokenMetadata
func (*BootstrapToken) GetSecret ¶
func (x *BootstrapToken) GetSecret() string
func (*BootstrapToken) GetTokenID ¶
func (x *BootstrapToken) GetTokenID() string
func (*BootstrapToken) ProtoMessage ¶
func (*BootstrapToken) ProtoMessage()
func (*BootstrapToken) ProtoReflect ¶
func (x *BootstrapToken) ProtoReflect() protoreflect.Message
func (*BootstrapToken) Reference ¶
func (r *BootstrapToken) Reference() *Reference
func (*BootstrapToken) Reset ¶
func (x *BootstrapToken) Reset()
func (*BootstrapToken) SetCapabilities ¶
func (t *BootstrapToken) SetCapabilities(capabilities []*TokenCapability)
func (*BootstrapToken) SetLabels ¶
func (t *BootstrapToken) SetLabels(labels map[string]string)
func (*BootstrapToken) String ¶
func (x *BootstrapToken) String() string
type BootstrapTokenList ¶
type BootstrapTokenList struct { Items []*BootstrapToken `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*BootstrapTokenList) Descriptor
deprecated
func (*BootstrapTokenList) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapTokenList.ProtoReflect.Descriptor instead.
func (*BootstrapTokenList) GetItems ¶
func (x *BootstrapTokenList) GetItems() []*BootstrapToken
func (*BootstrapTokenList) ProtoMessage ¶
func (*BootstrapTokenList) ProtoMessage()
func (*BootstrapTokenList) ProtoReflect ¶
func (x *BootstrapTokenList) ProtoReflect() protoreflect.Message
func (*BootstrapTokenList) Reset ¶
func (x *BootstrapTokenList) Reset()
func (*BootstrapTokenList) String ¶
func (x *BootstrapTokenList) String() string
type BootstrapTokenMetadata ¶
type BootstrapTokenMetadata struct { LeaseID int64 `protobuf:"varint,1,opt,name=leaseID,proto3" json:"leaseID,omitempty"` Ttl int64 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"` UsageCount int64 `protobuf:"varint,3,opt,name=usageCount,proto3" json:"usageCount,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ Capabilities []*TokenCapability `protobuf:"bytes,5,rep,name=capabilities,proto3" json:"capabilities,omitempty"` // contains filtered or unexported fields }
func (*BootstrapTokenMetadata) Descriptor
deprecated
func (*BootstrapTokenMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapTokenMetadata.ProtoReflect.Descriptor instead.
func (*BootstrapTokenMetadata) GetCapabilities ¶
func (x *BootstrapTokenMetadata) GetCapabilities() []*TokenCapability
func (*BootstrapTokenMetadata) GetLabels ¶
func (x *BootstrapTokenMetadata) GetLabels() map[string]string
func (*BootstrapTokenMetadata) GetLeaseID ¶
func (x *BootstrapTokenMetadata) GetLeaseID() int64
func (*BootstrapTokenMetadata) GetTtl ¶
func (x *BootstrapTokenMetadata) GetTtl() int64
func (*BootstrapTokenMetadata) GetUsageCount ¶
func (x *BootstrapTokenMetadata) GetUsageCount() int64
func (*BootstrapTokenMetadata) ProtoMessage ¶
func (*BootstrapTokenMetadata) ProtoMessage()
func (*BootstrapTokenMetadata) ProtoReflect ¶
func (x *BootstrapTokenMetadata) ProtoReflect() protoreflect.Message
func (*BootstrapTokenMetadata) Reset ¶
func (x *BootstrapTokenMetadata) Reset()
func (*BootstrapTokenMetadata) String ¶
func (x *BootstrapTokenMetadata) String() string
type Capability ¶
type Capability[T any] interface { Comparator[T] }
type CertInfo ¶
type CertInfo struct { Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` IsCA bool `protobuf:"varint,3,opt,name=isCA,proto3" json:"isCA,omitempty"` NotBefore string `protobuf:"bytes,4,opt,name=notBefore,proto3" json:"notBefore,omitempty"` NotAfter string `protobuf:"bytes,5,opt,name=notAfter,proto3" json:"notAfter,omitempty"` Fingerprint string `protobuf:"bytes,6,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // contains filtered or unexported fields }
func (*CertInfo) Descriptor
deprecated
func (*CertInfo) GetFingerprint ¶
func (*CertInfo) GetNotAfter ¶
func (*CertInfo) GetNotBefore ¶
func (*CertInfo) GetSubject ¶
func (*CertInfo) ProtoMessage ¶
func (*CertInfo) ProtoMessage()
func (*CertInfo) ProtoReflect ¶
func (x *CertInfo) ProtoReflect() protoreflect.Message
type Cluster ¶
type Cluster struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Metadata *ClusterMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Cluster) DeepCopyInto ¶
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetCapabilities ¶
func (c *Cluster) GetCapabilities() []*ClusterCapability
func (*Cluster) GetMetadata ¶
func (x *Cluster) GetMetadata() *ClusterMetadata
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
func (*Cluster) SetCapabilities ¶
func (c *Cluster) SetCapabilities(capabilities []*ClusterCapability)
type ClusterCapability ¶
type ClusterCapability struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ClusterCapability) Descriptor
deprecated
func (*ClusterCapability) Descriptor() ([]byte, []int)
Deprecated: Use ClusterCapability.ProtoReflect.Descriptor instead.
func (*ClusterCapability) Equal ¶
func (c *ClusterCapability) Equal(other *ClusterCapability) bool
func (*ClusterCapability) GetName ¶
func (x *ClusterCapability) GetName() string
func (*ClusterCapability) ProtoMessage ¶
func (*ClusterCapability) ProtoMessage()
func (*ClusterCapability) ProtoReflect ¶
func (x *ClusterCapability) ProtoReflect() protoreflect.Message
func (*ClusterCapability) Reset ¶
func (x *ClusterCapability) Reset()
func (*ClusterCapability) String ¶
func (x *ClusterCapability) String() string
type ClusterList ¶
type ClusterList struct { Items []*Cluster `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ClusterList) Descriptor
deprecated
func (*ClusterList) Descriptor() ([]byte, []int)
Deprecated: Use ClusterList.ProtoReflect.Descriptor instead.
func (*ClusterList) GetItems ¶
func (x *ClusterList) GetItems() []*Cluster
func (*ClusterList) ProtoMessage ¶
func (*ClusterList) ProtoMessage()
func (*ClusterList) ProtoReflect ¶
func (x *ClusterList) ProtoReflect() protoreflect.Message
func (*ClusterList) Reset ¶
func (x *ClusterList) Reset()
func (*ClusterList) String ¶
func (x *ClusterList) String() string
type ClusterMetadata ¶
type ClusterMetadata struct { Labels map[string]string `` /* 153-byte string literal not displayed */ Capabilities []*ClusterCapability `protobuf:"bytes,2,rep,name=capabilities,proto3" json:"capabilities,omitempty"` // contains filtered or unexported fields }
func (*ClusterMetadata) Descriptor
deprecated
func (*ClusterMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ClusterMetadata.ProtoReflect.Descriptor instead.
func (*ClusterMetadata) GetCapabilities ¶
func (x *ClusterMetadata) GetCapabilities() []*ClusterCapability
func (*ClusterMetadata) GetLabels ¶
func (x *ClusterMetadata) GetLabels() map[string]string
func (*ClusterMetadata) ProtoMessage ¶
func (*ClusterMetadata) ProtoMessage()
func (*ClusterMetadata) ProtoReflect ¶
func (x *ClusterMetadata) ProtoReflect() protoreflect.Message
func (*ClusterMetadata) Reset ¶
func (x *ClusterMetadata) Reset()
func (*ClusterMetadata) String ¶
func (x *ClusterMetadata) String() string
type Comparator ¶
type LabelSelector ¶
type LabelSelector struct { MatchLabels map[string]string `` /* 163-byte string literal not displayed */ MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=matchExpressions,proto3" json:"matchExpressions,omitempty"` // contains filtered or unexported fields }
func (*LabelSelector) Descriptor
deprecated
func (*LabelSelector) Descriptor() ([]byte, []int)
Deprecated: Use LabelSelector.ProtoReflect.Descriptor instead.
func (*LabelSelector) ExpressionString ¶
func (ls *LabelSelector) ExpressionString() string
func (*LabelSelector) GetMatchExpressions ¶
func (x *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement
func (*LabelSelector) GetMatchLabels ¶
func (x *LabelSelector) GetMatchLabels() map[string]string
func (*LabelSelector) ProtoMessage ¶
func (*LabelSelector) ProtoMessage()
func (*LabelSelector) ProtoReflect ¶
func (x *LabelSelector) ProtoReflect() protoreflect.Message
func (*LabelSelector) Reset ¶
func (x *LabelSelector) Reset()
func (*LabelSelector) String ¶
func (x *LabelSelector) String() string
func (*LabelSelector) ToLabelSelector ¶
func (ls *LabelSelector) ToLabelSelector() *metav1.LabelSelector
func (*LabelSelector) Validate ¶
func (ls *LabelSelector) Validate() error
type LabelSelectorOperator ¶
type LabelSelectorOperator string
const ( LabelSelectorOpIn LabelSelectorOperator = "In" LabelSelectorOpNotIn LabelSelectorOperator = "NotIn" LabelSelectorOpExists LabelSelectorOperator = "Exists" LabelSelectorOpDoesNotExist LabelSelectorOperator = "DoesNotExist" NameLabel = "opni.io/name" )
type LabelSelectorRequirement ¶
type LabelSelectorRequirement struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*LabelSelectorRequirement) Descriptor
deprecated
func (*LabelSelectorRequirement) Descriptor() ([]byte, []int)
Deprecated: Use LabelSelectorRequirement.ProtoReflect.Descriptor instead.
func (*LabelSelectorRequirement) ExpressionString ¶
func (lsr *LabelSelectorRequirement) ExpressionString() string
func (*LabelSelectorRequirement) GetKey ¶
func (x *LabelSelectorRequirement) GetKey() string
func (*LabelSelectorRequirement) GetOperator ¶
func (x *LabelSelectorRequirement) GetOperator() string
func (*LabelSelectorRequirement) GetValues ¶
func (x *LabelSelectorRequirement) GetValues() []string
func (*LabelSelectorRequirement) ProtoMessage ¶
func (*LabelSelectorRequirement) ProtoMessage()
func (*LabelSelectorRequirement) ProtoReflect ¶
func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message
func (*LabelSelectorRequirement) Reset ¶
func (x *LabelSelectorRequirement) Reset()
func (*LabelSelectorRequirement) String ¶
func (x *LabelSelectorRequirement) String() string
func (*LabelSelectorRequirement) Validate ¶
func (r *LabelSelectorRequirement) Validate() error
type MatchOptions ¶
type MatchOptions int32
const ( MatchOptions_Default MatchOptions = 0 MatchOptions_EmptySelectorMatchesNone MatchOptions = 1 )
func (MatchOptions) Descriptor ¶
func (MatchOptions) Descriptor() protoreflect.EnumDescriptor
func (MatchOptions) Enum ¶
func (x MatchOptions) Enum() *MatchOptions
func (MatchOptions) EnumDescriptor
deprecated
func (MatchOptions) EnumDescriptor() ([]byte, []int)
Deprecated: Use MatchOptions.Descriptor instead.
func (MatchOptions) Number ¶
func (x MatchOptions) Number() protoreflect.EnumNumber
func (MatchOptions) String ¶
func (x MatchOptions) String() string
func (MatchOptions) Type ¶
func (MatchOptions) Type() protoreflect.EnumType
func (MatchOptions) Validate ¶
func (o MatchOptions) Validate() error
type MetadataAccessor ¶
type MetadataAccessor[T Capability[T]] interface { SetCapabilities(capabilities []T) GetCapabilities() []T GetLabels() map[string]string SetLabels(labels map[string]string) }
type Reference ¶
type Reference struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Reference) Descriptor
deprecated
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) ProtoReflect ¶
func (x *Reference) ProtoReflect() protoreflect.Message
type ReferenceList ¶
type ReferenceList struct { Items []*Reference `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ReferenceList) Descriptor
deprecated
func (*ReferenceList) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceList.ProtoReflect.Descriptor instead.
func (*ReferenceList) GetItems ¶
func (x *ReferenceList) GetItems() []*Reference
func (*ReferenceList) ProtoMessage ¶
func (*ReferenceList) ProtoMessage()
func (*ReferenceList) ProtoReflect ¶
func (x *ReferenceList) ProtoReflect() protoreflect.Message
func (*ReferenceList) Reset ¶
func (x *ReferenceList) Reset()
func (*ReferenceList) String ¶
func (x *ReferenceList) String() string
type Referencer ¶
type Referencer interface {
Reference() *Reference
}
type Role ¶
type Role struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ClusterIDs []string `protobuf:"bytes,2,rep,name=clusterIDs,proto3" json:"clusterIDs,omitempty"` MatchLabels *LabelSelector `protobuf:"bytes,3,opt,name=matchLabels,proto3" json:"matchLabels,omitempty"` // contains filtered or unexported fields }
func (*Role) DeepCopyInto ¶
func (*Role) Descriptor
deprecated
func (*Role) GetClusterIDs ¶
func (*Role) GetMatchLabels ¶
func (x *Role) GetMatchLabels() *LabelSelector
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
type RoleBinding ¶
type RoleBinding struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` RoleId string `protobuf:"bytes,2,opt,name=roleId,proto3" json:"roleId,omitempty"` Subjects []string `protobuf:"bytes,3,rep,name=subjects,proto3" json:"subjects,omitempty"` Taints []string `protobuf:"bytes,4,rep,name=taints,proto3" json:"taints,omitempty"` // contains filtered or unexported fields }
func (*RoleBinding) DeepCopy ¶
func (in *RoleBinding) DeepCopy() *RoleBinding
func (*RoleBinding) DeepCopyInto ¶
func (in *RoleBinding) DeepCopyInto(out *RoleBinding)
func (*RoleBinding) Descriptor
deprecated
func (*RoleBinding) Descriptor() ([]byte, []int)
Deprecated: Use RoleBinding.ProtoReflect.Descriptor instead.
func (*RoleBinding) GetId ¶
func (x *RoleBinding) GetId() string
func (*RoleBinding) GetRoleId ¶
func (x *RoleBinding) GetRoleId() string
func (*RoleBinding) GetSubjects ¶
func (x *RoleBinding) GetSubjects() []string
func (*RoleBinding) GetTaints ¶
func (x *RoleBinding) GetTaints() []string
func (*RoleBinding) ProtoMessage ¶
func (*RoleBinding) ProtoMessage()
func (*RoleBinding) ProtoReflect ¶
func (x *RoleBinding) ProtoReflect() protoreflect.Message
func (*RoleBinding) Reference ¶
func (r *RoleBinding) Reference() *Reference
func (*RoleBinding) Reset ¶
func (x *RoleBinding) Reset()
func (*RoleBinding) RoleReference ¶
func (r *RoleBinding) RoleReference() *Reference
func (*RoleBinding) String ¶
func (x *RoleBinding) String() string
func (*RoleBinding) Validate ¶
func (rb *RoleBinding) Validate() error
type RoleBindingList ¶
type RoleBindingList struct { Items []*RoleBinding `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*RoleBindingList) Descriptor
deprecated
func (*RoleBindingList) Descriptor() ([]byte, []int)
Deprecated: Use RoleBindingList.ProtoReflect.Descriptor instead.
func (*RoleBindingList) GetItems ¶
func (x *RoleBindingList) GetItems() []*RoleBinding
func (*RoleBindingList) ProtoMessage ¶
func (*RoleBindingList) ProtoMessage()
func (*RoleBindingList) ProtoReflect ¶
func (x *RoleBindingList) ProtoReflect() protoreflect.Message
func (*RoleBindingList) Reset ¶
func (x *RoleBindingList) Reset()
func (*RoleBindingList) String ¶
func (x *RoleBindingList) String() string
type RoleList ¶
type RoleList struct { Items []*Role `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*RoleList) Descriptor
deprecated
func (*RoleList) ProtoMessage ¶
func (*RoleList) ProtoMessage()
func (*RoleList) ProtoReflect ¶
func (x *RoleList) ProtoReflect() protoreflect.Message
type SubjectAccessRequest ¶
type SubjectAccessRequest struct { Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // contains filtered or unexported fields }
func (*SubjectAccessRequest) Descriptor
deprecated
func (*SubjectAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubjectAccessRequest.ProtoReflect.Descriptor instead.
func (*SubjectAccessRequest) GetSubject ¶
func (x *SubjectAccessRequest) GetSubject() string
func (*SubjectAccessRequest) ProtoMessage ¶
func (*SubjectAccessRequest) ProtoMessage()
func (*SubjectAccessRequest) ProtoReflect ¶
func (x *SubjectAccessRequest) ProtoReflect() protoreflect.Message
func (*SubjectAccessRequest) Reset ¶
func (x *SubjectAccessRequest) Reset()
func (*SubjectAccessRequest) String ¶
func (x *SubjectAccessRequest) String() string
func (*SubjectAccessRequest) Validate ¶
func (sar *SubjectAccessRequest) Validate() error
type TokenCapability ¶
type TokenCapability struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Reference *Reference `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*TokenCapability) Descriptor
deprecated
func (*TokenCapability) Descriptor() ([]byte, []int)
Deprecated: Use TokenCapability.ProtoReflect.Descriptor instead.
func (*TokenCapability) Equal ¶
func (c *TokenCapability) Equal(other *TokenCapability) bool
func (*TokenCapability) GetReference ¶
func (x *TokenCapability) GetReference() *Reference
func (*TokenCapability) GetType ¶
func (x *TokenCapability) GetType() string
func (*TokenCapability) ProtoMessage ¶
func (*TokenCapability) ProtoMessage()
func (*TokenCapability) ProtoReflect ¶
func (x *TokenCapability) ProtoReflect() protoreflect.Message
func (*TokenCapability) Reset ¶
func (x *TokenCapability) Reset()
func (*TokenCapability) String ¶
func (x *TokenCapability) String() string