Versions in this module Expand all Collapse all v0 v0.4.0 Mar 31, 2022 Changes in this version + var ErrReferenceRequiresID = errors.New("reference requires ID to be set; this object is uniquely identified by ID") + var ErrReferenceRequiresName = errors.New(...) + var File_pkg_core_core_proto protoreflect.FileDescriptor + var MatchOptions_name = map[int32]string + var MatchOptions_value = map[string]int32 + type BootstrapToken struct + Metadata *BootstrapTokenMetadata + Secret string + TokenID string + func (*BootstrapToken) Descriptor() ([]byte, []int) + func (*BootstrapToken) ProtoMessage() + func (in *BootstrapToken) DeepCopy() *BootstrapToken + func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken) + func (r *BootstrapToken) Reference() *Reference + func (t *BootstrapToken) GetCapabilities() []*TokenCapability + func (t *BootstrapToken) GetLabels() map[string]string + func (t *BootstrapToken) SetCapabilities(capabilities []*TokenCapability) + func (t *BootstrapToken) SetLabels(labels map[string]string) + func (x *BootstrapToken) GetMetadata() *BootstrapTokenMetadata + func (x *BootstrapToken) GetSecret() string + func (x *BootstrapToken) GetTokenID() string + func (x *BootstrapToken) ProtoReflect() protoreflect.Message + func (x *BootstrapToken) Reset() + func (x *BootstrapToken) String() string + type BootstrapTokenList struct + Items []*BootstrapToken + func (*BootstrapTokenList) Descriptor() ([]byte, []int) + func (*BootstrapTokenList) ProtoMessage() + func (x *BootstrapTokenList) GetItems() []*BootstrapToken + func (x *BootstrapTokenList) ProtoReflect() protoreflect.Message + func (x *BootstrapTokenList) Reset() + func (x *BootstrapTokenList) String() string + type BootstrapTokenMetadata struct + Capabilities []*TokenCapability + Labels map[string]string + LeaseID int64 + Ttl int64 + UsageCount int64 + func (*BootstrapTokenMetadata) Descriptor() ([]byte, []int) + func (*BootstrapTokenMetadata) ProtoMessage() + 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 (x *BootstrapTokenMetadata) ProtoReflect() protoreflect.Message + func (x *BootstrapTokenMetadata) Reset() + func (x *BootstrapTokenMetadata) String() string + type Capability interface + type CertInfo struct + Fingerprint string + IsCA bool + Issuer string + NotAfter string + NotBefore string + Subject string + func (*CertInfo) Descriptor() ([]byte, []int) + func (*CertInfo) ProtoMessage() + 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 (x *CertInfo) ProtoReflect() protoreflect.Message + func (x *CertInfo) Reset() + func (x *CertInfo) String() string + type Cluster struct + Id string + Metadata *ClusterMetadata + func (*Cluster) Descriptor() ([]byte, []int) + func (*Cluster) ProtoMessage() + func (c *Cluster) GetCapabilities() []*ClusterCapability + func (c *Cluster) GetLabels() map[string]string + func (c *Cluster) Reference() *Reference + func (c *Cluster) SetCapabilities(capabilities []*ClusterCapability) + func (c *Cluster) SetLabels(labels map[string]string) + func (c *Cluster) Validate() error + func (in *Cluster) DeepCopy() *Cluster + func (in *Cluster) DeepCopyInto(out *Cluster) + func (x *Cluster) GetId() string + func (x *Cluster) GetMetadata() *ClusterMetadata + func (x *Cluster) ProtoReflect() protoreflect.Message + func (x *Cluster) Reset() + func (x *Cluster) String() string + type ClusterCapability struct + Name string + func (*ClusterCapability) Descriptor() ([]byte, []int) + func (*ClusterCapability) ProtoMessage() + func (c *ClusterCapability) Equal(other *ClusterCapability) bool + func (x *ClusterCapability) GetName() string + func (x *ClusterCapability) ProtoReflect() protoreflect.Message + func (x *ClusterCapability) Reset() + func (x *ClusterCapability) String() string + type ClusterList struct + Items []*Cluster + func (*ClusterList) Descriptor() ([]byte, []int) + func (*ClusterList) ProtoMessage() + func (x *ClusterList) GetItems() []*Cluster + func (x *ClusterList) ProtoReflect() protoreflect.Message + func (x *ClusterList) Reset() + func (x *ClusterList) String() string + type ClusterMetadata struct + Capabilities []*ClusterCapability + Labels map[string]string + func (*ClusterMetadata) Descriptor() ([]byte, []int) + func (*ClusterMetadata) ProtoMessage() + func (x *ClusterMetadata) GetCapabilities() []*ClusterCapability + func (x *ClusterMetadata) GetLabels() map[string]string + func (x *ClusterMetadata) ProtoReflect() protoreflect.Message + func (x *ClusterMetadata) Reset() + func (x *ClusterMetadata) String() string + type Comparator interface + Equal func(other T) bool + type LabelSelector struct + MatchExpressions []*LabelSelectorRequirement + MatchLabels map[string]string + func (*LabelSelector) Descriptor() ([]byte, []int) + func (*LabelSelector) ProtoMessage() + func (ls *LabelSelector) ExpressionString() string + func (ls *LabelSelector) ToLabelSelector() *metav1.LabelSelector + func (ls *LabelSelector) Validate() error + func (x *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement + func (x *LabelSelector) GetMatchLabels() map[string]string + func (x *LabelSelector) ProtoReflect() protoreflect.Message + func (x *LabelSelector) Reset() + func (x *LabelSelector) String() string + type LabelSelectorOperator string + const LabelSelectorOpDoesNotExist + const LabelSelectorOpExists + const LabelSelectorOpIn + const LabelSelectorOpNotIn + const NameLabel + type LabelSelectorRequirement struct + Key string + Operator string + Values []string + func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) + func (*LabelSelectorRequirement) ProtoMessage() + func (lsr *LabelSelectorRequirement) ExpressionString() string + func (r *LabelSelectorRequirement) Validate() error + func (x *LabelSelectorRequirement) GetKey() string + func (x *LabelSelectorRequirement) GetOperator() string + func (x *LabelSelectorRequirement) GetValues() []string + func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message + func (x *LabelSelectorRequirement) Reset() + func (x *LabelSelectorRequirement) String() string + type MatchOptions int32 + const MatchOptions_Default + const MatchOptions_EmptySelectorMatchesNone + func (MatchOptions) Descriptor() protoreflect.EnumDescriptor + func (MatchOptions) EnumDescriptor() ([]byte, []int) + func (MatchOptions) Type() protoreflect.EnumType + func (o MatchOptions) Validate() error + func (x MatchOptions) Enum() *MatchOptions + func (x MatchOptions) Number() protoreflect.EnumNumber + func (x MatchOptions) String() string + type MetadataAccessor interface + GetCapabilities func() []T + GetLabels func() map[string]string + SetCapabilities func(capabilities []T) + SetLabels func(labels map[string]string) + type Reference struct + Id string + func (*Reference) Descriptor() ([]byte, []int) + func (*Reference) ProtoMessage() + func (r *Reference) Equal(other *Reference) bool + func (ref *Reference) Validate() error + func (x *Reference) GetId() string + func (x *Reference) ProtoReflect() protoreflect.Message + func (x *Reference) Reset() + func (x *Reference) String() string + type ReferenceList struct + Items []*Reference + func (*ReferenceList) Descriptor() ([]byte, []int) + func (*ReferenceList) ProtoMessage() + func (x *ReferenceList) GetItems() []*Reference + func (x *ReferenceList) ProtoReflect() protoreflect.Message + func (x *ReferenceList) Reset() + func (x *ReferenceList) String() string + type Referencer interface + Reference func() *Reference + type Role struct + ClusterIDs []string + Id string + MatchLabels *LabelSelector + func (*Role) Descriptor() ([]byte, []int) + func (*Role) ProtoMessage() + func (in *Role) DeepCopy() *Role + func (in *Role) DeepCopyInto(out *Role) + func (r *Role) Reference() *Reference + func (r *Role) Validate() error + func (x *Role) GetClusterIDs() []string + func (x *Role) GetId() string + func (x *Role) GetMatchLabels() *LabelSelector + func (x *Role) ProtoReflect() protoreflect.Message + func (x *Role) Reset() + func (x *Role) String() string + type RoleBinding struct + Id string + RoleId string + Subjects []string + Taints []string + func (*RoleBinding) Descriptor() ([]byte, []int) + func (*RoleBinding) ProtoMessage() + func (in *RoleBinding) DeepCopy() *RoleBinding + func (in *RoleBinding) DeepCopyInto(out *RoleBinding) + func (r *RoleBinding) Reference() *Reference + func (r *RoleBinding) RoleReference() *Reference + func (rb *RoleBinding) Validate() error + func (x *RoleBinding) GetId() string + func (x *RoleBinding) GetRoleId() string + func (x *RoleBinding) GetSubjects() []string + func (x *RoleBinding) GetTaints() []string + func (x *RoleBinding) ProtoReflect() protoreflect.Message + func (x *RoleBinding) Reset() + func (x *RoleBinding) String() string + type RoleBindingList struct + Items []*RoleBinding + func (*RoleBindingList) Descriptor() ([]byte, []int) + func (*RoleBindingList) ProtoMessage() + func (x *RoleBindingList) GetItems() []*RoleBinding + func (x *RoleBindingList) ProtoReflect() protoreflect.Message + func (x *RoleBindingList) Reset() + func (x *RoleBindingList) String() string + type RoleList struct + Items []*Role + func (*RoleList) Descriptor() ([]byte, []int) + func (*RoleList) ProtoMessage() + func (x *RoleList) GetItems() []*Role + func (x *RoleList) ProtoReflect() protoreflect.Message + func (x *RoleList) Reset() + func (x *RoleList) String() string + type SubjectAccessRequest struct + Subject string + func (*SubjectAccessRequest) Descriptor() ([]byte, []int) + func (*SubjectAccessRequest) ProtoMessage() + func (sar *SubjectAccessRequest) Validate() error + func (x *SubjectAccessRequest) GetSubject() string + func (x *SubjectAccessRequest) ProtoReflect() protoreflect.Message + func (x *SubjectAccessRequest) Reset() + func (x *SubjectAccessRequest) String() string + type TokenCapability struct + Reference *Reference + Type string + func (*TokenCapability) Descriptor() ([]byte, []int) + func (*TokenCapability) ProtoMessage() + func (c *TokenCapability) Equal(other *TokenCapability) bool + func (x *TokenCapability) GetReference() *Reference + func (x *TokenCapability) GetType() string + func (x *TokenCapability) ProtoReflect() protoreflect.Message + func (x *TokenCapability) Reset() + func (x *TokenCapability) String() string