Documentation ¶
Index ¶
- Constants
- Variables
- func BuildPingerCmd() *cobra.Command
- func BuildPingerPingCmd() *cobra.Command
- func ContextWithPingerClient(ctx context.Context, client PingerClient) context.Context
- func IsLabelInternal(key string) bool
- func IsLabelMutable(key string) bool
- func NewContextWithLastKnownConnectionDetails(ctx context.Context, details *LastKnownConnectionDetails) context.Context
- func RegisterPingerServer(s grpc.ServiceRegistrar, srv PingerServer)
- type AlertLog
- func (*AlertLog) Descriptor() ([]byte, []int)deprecated
- func (x *AlertLog) GetConditionId() *Reference
- func (x *AlertLog) GetMetadata() *structpb.Struct
- func (x *AlertLog) GetTimestamp() *timestamppb.Timestamp
- func (*AlertLog) ProtoMessage()
- func (x *AlertLog) ProtoReflect() protoreflect.Message
- func (x *AlertLog) Reset()
- func (x *AlertLog) String() string
- type AlertLogList
- type AuthInfo
- 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 (t *BootstrapToken) GetResourceVersion() string
- func (x *BootstrapToken) GetSecret() string
- func (x *BootstrapToken) GetTokenID() string
- func (t *BootstrapToken) MaxUsageReached() bool
- 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 (t *BootstrapToken) SetResourceVersion(version 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) GetMaxUsages() int64
- func (x *BootstrapTokenMetadata) GetResourceVersion() string
- 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 BuildInfo
- func (*BuildInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfo) GetDeps() []*Module
- func (x *BuildInfo) GetGoVersion() string
- func (x *BuildInfo) GetMain() *Module
- func (x *BuildInfo) GetPath() string
- func (x *BuildInfo) GetSettings() []*BuildSetting
- func (*BuildInfo) ProtoMessage()
- func (x *BuildInfo) ProtoReflect() protoreflect.Message
- func (x *BuildInfo) Reset()
- func (x *BuildInfo) String() string
- type BuildSetting
- func (*BuildSetting) Descriptor() ([]byte, []int)deprecated
- func (x *BuildSetting) GetKey() string
- func (x *BuildSetting) GetValue() string
- func (*BuildSetting) ProtoMessage()
- func (x *BuildSetting) ProtoReflect() protoreflect.Message
- func (x *BuildSetting) Reset()
- func (x *BuildSetting) 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) GetRaw() []byte
- func (x *CertInfo) GetSubject() string
- func (*CertInfo) ProtoMessage()
- func (x *CertInfo) ProtoReflect() protoreflect.Message
- func (x *CertInfo) Reset()
- func (x *CertInfo) String() string
- type ChallengeRequest
- func (*ChallengeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChallengeRequest) GetChallenge() []byte
- func (*ChallengeRequest) ProtoMessage()
- func (x *ChallengeRequest) ProtoReflect() protoreflect.Message
- func (x *ChallengeRequest) Reset()
- func (x *ChallengeRequest) String() string
- func (cr *ChallengeRequest) Validate() error
- type ChallengeRequestList
- func (*ChallengeRequestList) Descriptor() ([]byte, []int)deprecated
- func (x *ChallengeRequestList) GetItems() []*ChallengeRequest
- func (*ChallengeRequestList) ProtoMessage()
- func (x *ChallengeRequestList) ProtoReflect() protoreflect.Message
- func (x *ChallengeRequestList) Reset()
- func (x *ChallengeRequestList) String() string
- func (l *ChallengeRequestList) Validate() error
- type ChallengeResponse
- func (*ChallengeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChallengeResponse) GetResponse() []byte
- func (*ChallengeResponse) ProtoMessage()
- func (x *ChallengeResponse) ProtoReflect() protoreflect.Message
- func (x *ChallengeResponse) Reset()
- func (x *ChallengeResponse) String() string
- func (cr *ChallengeResponse) Validate() error
- type ChallengeResponseList
- func (*ChallengeResponseList) Descriptor() ([]byte, []int)deprecated
- func (x *ChallengeResponseList) GetItems() []*ChallengeResponse
- func (*ChallengeResponseList) ProtoMessage()
- func (x *ChallengeResponseList) ProtoReflect() protoreflect.Message
- func (x *ChallengeResponseList) Reset()
- func (x *ChallengeResponseList) String() string
- func (l *ChallengeResponseList) Validate() error
- 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 (c *Cluster) GetCreationTimestamp() time.Time
- func (x *Cluster) GetId() string
- func (c *Cluster) GetLabels() map[string]string
- func (x *Cluster) GetMetadata() *ClusterMetadata
- func (c *Cluster) GetResourceVersion() string
- 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) SetCreationTimestamp(ts time.Time)
- func (c *Cluster) SetLabels(labels map[string]string)
- func (c *Cluster) SetResourceVersion(version 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) GetDeletionTimestamp() *timestamppb.Timestamp
- func (x *ClusterCapability) GetName() string
- func (*ClusterCapability) ProtoMessage()
- func (x *ClusterCapability) ProtoReflect() protoreflect.Message
- func (x *ClusterCapability) Reset()
- func (x *ClusterCapability) String() string
- func (cc *ClusterCapability) Validate() error
- type ClusterHealth
- func (*ClusterHealth) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterHealth) GetCluster() *Reference
- func (x *ClusterHealth) GetHealth() *Health
- func (*ClusterHealth) ProtoMessage()
- func (x *ClusterHealth) ProtoReflect() protoreflect.Message
- func (x *ClusterHealth) Reset()
- func (x *ClusterHealth) String() string
- type ClusterHealthStatus
- func (*ClusterHealthStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterHealthStatus) GetCluster() *Reference
- func (x *ClusterHealthStatus) GetHealthStatus() *HealthStatus
- func (*ClusterHealthStatus) ProtoMessage()
- func (x *ClusterHealthStatus) ProtoReflect() protoreflect.Message
- func (x *ClusterHealthStatus) Reset()
- func (x *ClusterHealthStatus) String() string
- type ClusterList
- type ClusterMetadata
- func (*ClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterMetadata) GetCapabilities() []*ClusterCapability
- func (x *ClusterMetadata) GetCreationTimestamp() *timestamppb.Timestamp
- func (x *ClusterMetadata) GetLabels() map[string]string
- func (x *ClusterMetadata) GetLastKnownConnectionDetails() *LastKnownConnectionDetails
- func (x *ClusterMetadata) GetResourceVersion() string
- func (*ClusterMetadata) ProtoMessage()
- func (x *ClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *ClusterMetadata) Reset()
- func (x *ClusterMetadata) String() string
- type ClusterSelector
- func (*ClusterSelector) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterSelector) GetClusterIDs() []string
- func (x *ClusterSelector) GetLabelSelector() *LabelSelector
- func (x *ClusterSelector) GetMatchOptions() MatchOptions
- func (*ClusterSelector) ProtoMessage()
- func (x *ClusterSelector) ProtoReflect() protoreflect.Message
- func (x *ClusterSelector) Reset()
- func (x *ClusterSelector) String() string
- func (s *ClusterSelector) Validate() error
- type ClusterStatus
- func (*ClusterStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterStatus) GetCluster() *Reference
- func (x *ClusterStatus) GetStatus() *Status
- func (*ClusterStatus) ProtoMessage()
- func (x *ClusterStatus) ProtoReflect() protoreflect.Message
- func (x *ClusterStatus) Reset()
- func (x *ClusterStatus) String() string
- type Comparator
- type ConfigStatus
- func (ConfigStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ConfigStatus) Enum() *ConfigStatus
- func (ConfigStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConfigStatus) Number() protoreflect.EnumNumber
- func (x ConfigStatus) String() string
- func (ConfigStatus) Type() protoreflect.EnumType
- type Health
- func (*Health) Descriptor() ([]byte, []int)deprecated
- func (r *Health) Equal(other *Health) bool
- func (x *Health) GetAnnotations() map[string]string
- func (x *Health) GetConditions() []string
- func (x *Health) GetReady() bool
- func (x *Health) GetTimestamp() *timestamppb.Timestamp
- func (r *Health) NewerThan(other *Health) bool
- func (*Health) ProtoMessage()
- func (x *Health) ProtoReflect() protoreflect.Message
- func (x *Health) Reset()
- func (x *Health) String() string
- type HealthStatus
- func (*HealthStatus) Descriptor() ([]byte, []int)deprecated
- func (x *HealthStatus) GetHealth() *Health
- func (x *HealthStatus) GetStatus() *Status
- func (*HealthStatus) ProtoMessage()
- func (x *HealthStatus) ProtoReflect() protoreflect.Message
- func (x *HealthStatus) Reset()
- func (x *HealthStatus) String() string
- func (s *HealthStatus) Summary() string
- type IdLabelReader
- type IdReader
- type LabelReader
- 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 (ls *LabelSelector) IsEmpty() bool
- func (*LabelSelector) ProtoMessage()
- func (x *LabelSelector) ProtoReflect() protoreflect.Message
- func (x *LabelSelector) Reset()
- func (x *LabelSelector) String() string
- func (ls *LabelSelector) Validate() error
- func (ls *LabelSelector) WithRestrictInternalLabels() validation.Validator
- 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 LastKnownConnectionDetails
- func (*LastKnownConnectionDetails) Descriptor() ([]byte, []int)deprecated
- func (x *LastKnownConnectionDetails) GetAddress() string
- func (x *LastKnownConnectionDetails) GetAgentBuildInfo() *BuildInfo
- func (x *LastKnownConnectionDetails) GetPluginVersions() map[string]string
- func (x *LastKnownConnectionDetails) GetTime() *timestamppb.Timestamp
- func (*LastKnownConnectionDetails) ProtoMessage()
- func (x *LastKnownConnectionDetails) ProtoReflect() protoreflect.Message
- func (x *LastKnownConnectionDetails) Reset()
- func (x *LastKnownConnectionDetails) String() string
- type LogEntry
- func (*LogEntry) Descriptor() ([]byte, []int)deprecated
- func (x *LogEntry) GetLevel() int32
- func (s *LogEntry) GetLogLevel() slog.Level
- func (x *LogEntry) GetMsg() string
- func (x *LogEntry) GetTimestamp() *timestamppb.Timestamp
- func (*LogEntry) ProtoMessage()
- func (x *LogEntry) ProtoReflect() protoreflect.Message
- func (x *LogEntry) Reset()
- func (x *LogEntry) String() string
- 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 Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetPath() string
- func (x *Module) GetReplace() *Module
- func (x *Module) GetSum() string
- func (x *Module) GetVersion() string
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- type PingResponse
- type PingerClient
- type PingerServer
- type Progress
- 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 Revision
- func (*Revision) Descriptor() ([]byte, []int)deprecated
- func (in *Revision) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *Revision) GetRevision() int64
- func (x *Revision) GetTimestamp() *timestamppb.Timestamp
- func (*Revision) ProtoMessage()
- func (x *Revision) ProtoReflect() protoreflect.Message
- func (x *Revision) Reset()
- func (r *Revision) Set(revision int64)
- func (x *Revision) String() string
- 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 (x *Role) GetMetadata() *RoleMetadata
- func (r *Role) GetResourceVersion() string
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (r *Role) Reference() *Reference
- func (x *Role) Reset()
- func (r *Role) SetResourceVersion(version string)
- 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) GetMetadata() *RoleBindingMetadata
- func (rb *RoleBinding) GetResourceVersion() 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 (rb *RoleBinding) SetResourceVersion(version string)
- func (x *RoleBinding) String() string
- func (rb *RoleBinding) Validate() error
- type RoleBindingList
- type RoleBindingMetadata
- func (*RoleBindingMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RoleBindingMetadata) GetResourceVersion() string
- func (*RoleBindingMetadata) ProtoMessage()
- func (x *RoleBindingMetadata) ProtoReflect() protoreflect.Message
- func (x *RoleBindingMetadata) Reset()
- func (x *RoleBindingMetadata) String() string
- type RoleList
- type RoleMetadata
- type SessionInfo
- func (*SessionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SessionInfo) GetAttributes() []string
- func (x *SessionInfo) GetMac() []byte
- func (*SessionInfo) ProtoMessage()
- func (x *SessionInfo) ProtoReflect() protoreflect.Message
- func (x *SessionInfo) Reset()
- func (x *SessionInfo) String() string
- type StateTransition
- func (*StateTransition) Descriptor() ([]byte, []int)deprecated
- func (s *StateTransition) GetLogLevel() slog.Level
- func (s *StateTransition) GetMsg() string
- func (x *StateTransition) GetState() TaskState
- func (x *StateTransition) GetTimestamp() *timestamppb.Timestamp
- func (*StateTransition) ProtoMessage()
- func (x *StateTransition) ProtoReflect() protoreflect.Message
- func (x *StateTransition) Reset()
- func (x *StateTransition) String() string
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetConnected() bool
- func (x *Status) GetSessionAttributes() []string
- func (x *Status) GetTimestamp() *timestamppb.Timestamp
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- 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 TaskState
- type TaskStatus
- func (*TaskStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TaskStatus) GetLogs() []*LogEntry
- func (x *TaskStatus) GetMetadata() string
- func (x *TaskStatus) GetProgress() *Progress
- func (x *TaskStatus) GetState() TaskState
- func (x *TaskStatus) GetTransitions() []*StateTransition
- func (*TaskStatus) ProtoMessage()
- func (x *TaskStatus) ProtoReflect() protoreflect.Message
- func (x *TaskStatus) Reset()
- func (x *TaskStatus) String() string
- type TaskTrigger
- func (TaskTrigger) Descriptor() protoreflect.EnumDescriptor
- func (x TaskTrigger) Enum() *TaskTrigger
- func (TaskTrigger) EnumDescriptor() ([]byte, []int)deprecated
- func (x TaskTrigger) Number() protoreflect.EnumNumber
- func (x TaskTrigger) String() string
- func (TaskTrigger) Type() protoreflect.EnumType
- type TimeRange
- type TimestampedLog
- 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
- func (tc *TokenCapability) Validate() error
- type UnimplementedPingerServer
- type UnsafePingerServer
Constants ¶
const ( LabelSelectorOpIn LabelSelectorOperator = "In" LabelSelectorOpNotIn LabelSelectorOperator = "NotIn" LabelSelectorOpExists LabelSelectorOperator = "Exists" LabelSelectorOpDoesNotExist LabelSelectorOperator = "DoesNotExist" NameLabel = "opni.io/name" SupportLabel = "opni.io/support-user" LegacyNameLabel = "kubernetes.io/metadata.name" )
const (
Pinger_Ping_FullMethodName = "/core.Pinger/Ping"
)
Variables ¶
var ( MatchOptions_name = map[int32]string{ 0: "Default", 1: "EmptySelectorMatchesNone", } MatchOptions_value = map[string]int32{ "Default": 0, "EmptySelectorMatchesAll": 0, "EmptySelectorMatchesNone": 1, } )
Enum value maps for MatchOptions.
var ( TaskState_name = map[int32]string{ 0: "Unknown", 1: "Pending", 2: "Running", 3: "Completed", 4: "Failed", 6: "Canceled", } TaskState_value = map[string]int32{ "Unknown": 0, "Pending": 1, "Running": 2, "Completed": 3, "Failed": 4, "Canceled": 6, } )
Enum value maps for TaskState.
var ( TaskTrigger_name = map[int32]string{ 0: "Start", 1: "End", 2: "Error", 3: "Cancel", } TaskTrigger_value = map[string]int32{ "Start": 0, "End": 1, "Error": 2, "Cancel": 3, } )
Enum value maps for TaskTrigger.
var ( ConfigStatus_name = map[int32]string{ 0: "Unkown", 1: "UpToDate", 2: "NeedsUpdate", } ConfigStatus_value = map[string]int32{ "Unkown": 0, "UpToDate": 1, "NeedsUpdate": 2, } )
Enum value maps for ConfigStatus.
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 (
ErrInternalLabelInSelector = validation.Errorf("cannot use internal label in label selector")
)
var File_github_com_rancher_opni_pkg_apis_core_v1_core_proto protoreflect.FileDescriptor
var Pinger_ServiceDesc = grpc.ServiceDesc{ ServiceName: "core.Pinger", HandlerType: (*PingerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _Pinger_Ping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/rancher/opni/pkg/apis/core/v1/core.proto", }
Pinger_ServiceDesc is the grpc.ServiceDesc for Pinger service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func BuildPingerCmd ¶ added in v0.12.0
func BuildPingerPingCmd ¶ added in v0.12.0
func ContextWithPingerClient ¶ added in v0.12.0
func ContextWithPingerClient(ctx context.Context, client PingerClient) context.Context
func IsLabelInternal ¶ added in v0.6.0
func IsLabelMutable ¶ added in v0.6.0
func NewContextWithLastKnownConnectionDetails ¶ added in v0.8.0
func NewContextWithLastKnownConnectionDetails(ctx context.Context, details *LastKnownConnectionDetails) context.Context
func RegisterPingerServer ¶ added in v0.11.0
func RegisterPingerServer(s grpc.ServiceRegistrar, srv PingerServer)
Types ¶
type AlertLog ¶
type AlertLog struct { ConditionId *Reference `protobuf:"bytes,1,opt,name=conditionId,proto3" json:"conditionId,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // unix epoch timestamp Metadata *structpb.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*AlertLog) Descriptor
deprecated
func (*AlertLog) GetConditionId ¶ added in v0.6.0
func (*AlertLog) GetMetadata ¶
func (*AlertLog) GetTimestamp ¶
func (x *AlertLog) GetTimestamp() *timestamppb.Timestamp
func (*AlertLog) ProtoMessage ¶
func (*AlertLog) ProtoMessage()
func (*AlertLog) ProtoReflect ¶
func (x *AlertLog) ProtoReflect() protoreflect.Message
type AlertLogList ¶
type AlertLogList struct { Items []*AlertLog `protobuf:"bytes,1,rep,name=Items,proto3" json:"Items,omitempty"` // contains filtered or unexported fields }
func (*AlertLogList) Descriptor
deprecated
func (*AlertLogList) Descriptor() ([]byte, []int)
Deprecated: Use AlertLogList.ProtoReflect.Descriptor instead.
func (*AlertLogList) GetItems ¶
func (x *AlertLogList) GetItems() []*AlertLog
func (*AlertLogList) ProtoMessage ¶
func (*AlertLogList) ProtoMessage()
func (*AlertLogList) ProtoReflect ¶
func (x *AlertLogList) ProtoReflect() protoreflect.Message
func (*AlertLogList) Reset ¶
func (x *AlertLogList) Reset()
func (*AlertLogList) String ¶
func (x *AlertLogList) String() string
type AuthInfo ¶ added in v0.9.0
type AuthInfo struct { AuthorizedId string `protobuf:"bytes,2057,opt,name=authorizedId,proto3" json:"authorizedId,omitempty"` Mac []byte `protobuf:"bytes,2061,opt,name=mac,proto3" json:"mac,omitempty"` // contains filtered or unexported fields }
func (*AuthInfo) Descriptor
deprecated
added in
v0.9.0
func (*AuthInfo) GetAuthorizedId ¶ added in v0.9.0
func (*AuthInfo) ProtoMessage ¶ added in v0.9.0
func (*AuthInfo) ProtoMessage()
func (*AuthInfo) ProtoReflect ¶ added in v0.9.0
func (x *AuthInfo) ProtoReflect() protoreflect.Message
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) GetResourceVersion ¶ added in v0.6.0
func (t *BootstrapToken) GetResourceVersion() string
func (*BootstrapToken) GetSecret ¶
func (x *BootstrapToken) GetSecret() string
func (*BootstrapToken) GetTokenID ¶
func (x *BootstrapToken) GetTokenID() string
func (*BootstrapToken) MaxUsageReached ¶ added in v0.10.0
func (t *BootstrapToken) MaxUsageReached() bool
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) SetResourceVersion ¶ added in v0.6.0
func (t *BootstrapToken) SetResourceVersion(version 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"` ResourceVersion string `protobuf:"bytes,6,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` MaxUsages int64 `protobuf:"varint,7,opt,name=maxUsages,proto3" json:"maxUsages,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) GetMaxUsages ¶ added in v0.10.0
func (x *BootstrapTokenMetadata) GetMaxUsages() int64
func (*BootstrapTokenMetadata) GetResourceVersion ¶ added in v0.6.0
func (x *BootstrapTokenMetadata) GetResourceVersion() string
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 BuildInfo ¶ added in v0.8.0
type BuildInfo struct { GoVersion string `protobuf:"bytes,1,opt,name=goVersion,proto3" json:"goVersion,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Main *Module `protobuf:"bytes,3,opt,name=main,proto3" json:"main,omitempty"` Deps []*Module `protobuf:"bytes,4,rep,name=deps,proto3" json:"deps,omitempty"` Settings []*BuildSetting `protobuf:"bytes,5,rep,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*BuildInfo) Descriptor
deprecated
added in
v0.8.0
func (*BuildInfo) GetGoVersion ¶ added in v0.8.0
func (*BuildInfo) GetSettings ¶ added in v0.8.0
func (x *BuildInfo) GetSettings() []*BuildSetting
func (*BuildInfo) ProtoMessage ¶ added in v0.8.0
func (*BuildInfo) ProtoMessage()
func (*BuildInfo) ProtoReflect ¶ added in v0.8.0
func (x *BuildInfo) ProtoReflect() protoreflect.Message
type BuildSetting ¶ added in v0.8.0
type BuildSetting struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*BuildSetting) Descriptor
deprecated
added in
v0.8.0
func (*BuildSetting) Descriptor() ([]byte, []int)
Deprecated: Use BuildSetting.ProtoReflect.Descriptor instead.
func (*BuildSetting) GetKey ¶ added in v0.8.0
func (x *BuildSetting) GetKey() string
func (*BuildSetting) GetValue ¶ added in v0.8.0
func (x *BuildSetting) GetValue() string
func (*BuildSetting) ProtoMessage ¶ added in v0.8.0
func (*BuildSetting) ProtoMessage()
func (*BuildSetting) ProtoReflect ¶ added in v0.8.0
func (x *BuildSetting) ProtoReflect() protoreflect.Message
func (*BuildSetting) Reset ¶ added in v0.8.0
func (x *BuildSetting) Reset()
func (*BuildSetting) String ¶ added in v0.8.0
func (x *BuildSetting) String() string
type Capability ¶
type Capability[T any] interface { Comparator[T] fmt.Stringer }
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"` Raw []byte `protobuf:"bytes,7,opt,name=raw,proto3" json:"raw,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 ChallengeRequest ¶ added in v0.9.0
type ChallengeRequest struct { Challenge []byte `protobuf:"bytes,2042,opt,name=challenge,proto3" json:"challenge,omitempty"` // contains filtered or unexported fields }
func (*ChallengeRequest) Descriptor
deprecated
added in
v0.9.0
func (*ChallengeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChallengeRequest.ProtoReflect.Descriptor instead.
func (*ChallengeRequest) GetChallenge ¶ added in v0.9.0
func (x *ChallengeRequest) GetChallenge() []byte
func (*ChallengeRequest) ProtoMessage ¶ added in v0.9.0
func (*ChallengeRequest) ProtoMessage()
func (*ChallengeRequest) ProtoReflect ¶ added in v0.9.0
func (x *ChallengeRequest) ProtoReflect() protoreflect.Message
func (*ChallengeRequest) Reset ¶ added in v0.9.0
func (x *ChallengeRequest) Reset()
func (*ChallengeRequest) String ¶ added in v0.9.0
func (x *ChallengeRequest) String() string
func (*ChallengeRequest) Validate ¶ added in v0.9.0
func (cr *ChallengeRequest) Validate() error
type ChallengeRequestList ¶ added in v0.9.0
type ChallengeRequestList struct { Items []*ChallengeRequest `protobuf:"bytes,2040,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ChallengeRequestList) Descriptor
deprecated
added in
v0.9.0
func (*ChallengeRequestList) Descriptor() ([]byte, []int)
Deprecated: Use ChallengeRequestList.ProtoReflect.Descriptor instead.
func (*ChallengeRequestList) GetItems ¶ added in v0.9.0
func (x *ChallengeRequestList) GetItems() []*ChallengeRequest
func (*ChallengeRequestList) ProtoMessage ¶ added in v0.9.0
func (*ChallengeRequestList) ProtoMessage()
func (*ChallengeRequestList) ProtoReflect ¶ added in v0.9.0
func (x *ChallengeRequestList) ProtoReflect() protoreflect.Message
func (*ChallengeRequestList) Reset ¶ added in v0.9.0
func (x *ChallengeRequestList) Reset()
func (*ChallengeRequestList) String ¶ added in v0.9.0
func (x *ChallengeRequestList) String() string
func (*ChallengeRequestList) Validate ¶ added in v0.9.0
func (l *ChallengeRequestList) Validate() error
type ChallengeResponse ¶ added in v0.6.2
type ChallengeResponse struct { Response []byte `protobuf:"bytes,2047,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*ChallengeResponse) Descriptor
deprecated
added in
v0.6.2
func (*ChallengeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChallengeResponse.ProtoReflect.Descriptor instead.
func (*ChallengeResponse) GetResponse ¶ added in v0.9.0
func (x *ChallengeResponse) GetResponse() []byte
func (*ChallengeResponse) ProtoMessage ¶ added in v0.6.2
func (*ChallengeResponse) ProtoMessage()
func (*ChallengeResponse) ProtoReflect ¶ added in v0.6.2
func (x *ChallengeResponse) ProtoReflect() protoreflect.Message
func (*ChallengeResponse) Reset ¶ added in v0.6.2
func (x *ChallengeResponse) Reset()
func (*ChallengeResponse) String ¶ added in v0.6.2
func (x *ChallengeResponse) String() string
func (*ChallengeResponse) Validate ¶ added in v0.9.0
func (cr *ChallengeResponse) Validate() error
type ChallengeResponseList ¶ added in v0.9.0
type ChallengeResponseList struct { Items []*ChallengeResponse `protobuf:"bytes,2045,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ChallengeResponseList) Descriptor
deprecated
added in
v0.9.0
func (*ChallengeResponseList) Descriptor() ([]byte, []int)
Deprecated: Use ChallengeResponseList.ProtoReflect.Descriptor instead.
func (*ChallengeResponseList) GetItems ¶ added in v0.9.0
func (x *ChallengeResponseList) GetItems() []*ChallengeResponse
func (*ChallengeResponseList) ProtoMessage ¶ added in v0.9.0
func (*ChallengeResponseList) ProtoMessage()
func (*ChallengeResponseList) ProtoReflect ¶ added in v0.9.0
func (x *ChallengeResponseList) ProtoReflect() protoreflect.Message
func (*ChallengeResponseList) Reset ¶ added in v0.9.0
func (x *ChallengeResponseList) Reset()
func (*ChallengeResponseList) String ¶ added in v0.9.0
func (x *ChallengeResponseList) String() string
func (*ChallengeResponseList) Validate ¶ added in v0.9.0
func (l *ChallengeResponseList) Validate() error
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) GetCreationTimestamp ¶ added in v0.8.0
func (*Cluster) GetMetadata ¶
func (x *Cluster) GetMetadata() *ClusterMetadata
func (*Cluster) GetResourceVersion ¶ added in v0.6.0
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
func (*Cluster) SetCapabilities ¶
func (c *Cluster) SetCapabilities(capabilities []*ClusterCapability)
func (*Cluster) SetCreationTimestamp ¶ added in v0.8.0
func (*Cluster) SetResourceVersion ¶ added in v0.6.0
type ClusterCapability ¶
type ClusterCapability struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DeletionTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=deletionTimestamp,proto3" json:"deletionTimestamp,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) GetDeletionTimestamp ¶ added in v0.6.0
func (x *ClusterCapability) GetDeletionTimestamp() *timestamppb.Timestamp
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
func (*ClusterCapability) Validate ¶
func (cc *ClusterCapability) Validate() error
type ClusterHealth ¶ added in v0.6.1
type ClusterHealth struct { Cluster *Reference `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` Health *Health `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"` // contains filtered or unexported fields }
func (*ClusterHealth) Descriptor
deprecated
added in
v0.6.1
func (*ClusterHealth) Descriptor() ([]byte, []int)
Deprecated: Use ClusterHealth.ProtoReflect.Descriptor instead.
func (*ClusterHealth) GetCluster ¶ added in v0.6.1
func (x *ClusterHealth) GetCluster() *Reference
func (*ClusterHealth) GetHealth ¶ added in v0.6.1
func (x *ClusterHealth) GetHealth() *Health
func (*ClusterHealth) ProtoMessage ¶ added in v0.6.1
func (*ClusterHealth) ProtoMessage()
func (*ClusterHealth) ProtoReflect ¶ added in v0.6.1
func (x *ClusterHealth) ProtoReflect() protoreflect.Message
func (*ClusterHealth) Reset ¶ added in v0.6.1
func (x *ClusterHealth) Reset()
func (*ClusterHealth) String ¶ added in v0.6.1
func (x *ClusterHealth) String() string
type ClusterHealthStatus ¶ added in v0.6.1
type ClusterHealthStatus struct { Cluster *Reference `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` HealthStatus *HealthStatus `protobuf:"bytes,2,opt,name=healthStatus,proto3" json:"healthStatus,omitempty"` // contains filtered or unexported fields }
func (*ClusterHealthStatus) Descriptor
deprecated
added in
v0.6.1
func (*ClusterHealthStatus) Descriptor() ([]byte, []int)
Deprecated: Use ClusterHealthStatus.ProtoReflect.Descriptor instead.
func (*ClusterHealthStatus) GetCluster ¶ added in v0.6.1
func (x *ClusterHealthStatus) GetCluster() *Reference
func (*ClusterHealthStatus) GetHealthStatus ¶ added in v0.6.1
func (x *ClusterHealthStatus) GetHealthStatus() *HealthStatus
func (*ClusterHealthStatus) ProtoMessage ¶ added in v0.6.1
func (*ClusterHealthStatus) ProtoMessage()
func (*ClusterHealthStatus) ProtoReflect ¶ added in v0.6.1
func (x *ClusterHealthStatus) ProtoReflect() protoreflect.Message
func (*ClusterHealthStatus) Reset ¶ added in v0.6.1
func (x *ClusterHealthStatus) Reset()
func (*ClusterHealthStatus) String ¶ added in v0.6.1
func (x *ClusterHealthStatus) 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"` // read-only ResourceVersion string `protobuf:"bytes,3,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` LastKnownConnectionDetails *LastKnownConnectionDetails `protobuf:"bytes,4,opt,name=lastKnownConnectionDetails,proto3" json:"lastKnownConnectionDetails,omitempty"` // read-only CreationTimestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=creationTimestamp,proto3" json:"creationTimestamp,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) GetCreationTimestamp ¶ added in v0.8.0
func (x *ClusterMetadata) GetCreationTimestamp() *timestamppb.Timestamp
func (*ClusterMetadata) GetLabels ¶
func (x *ClusterMetadata) GetLabels() map[string]string
func (*ClusterMetadata) GetLastKnownConnectionDetails ¶ added in v0.8.0
func (x *ClusterMetadata) GetLastKnownConnectionDetails() *LastKnownConnectionDetails
func (*ClusterMetadata) GetResourceVersion ¶ added in v0.6.0
func (x *ClusterMetadata) GetResourceVersion() 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 ClusterSelector ¶ added in v0.6.1
type ClusterSelector struct { ClusterIDs []string `protobuf:"bytes,1,rep,name=clusterIDs,proto3" json:"clusterIDs,omitempty"` LabelSelector *LabelSelector `protobuf:"bytes,2,opt,name=labelSelector,proto3" json:"labelSelector,omitempty"` MatchOptions MatchOptions `protobuf:"varint,3,opt,name=matchOptions,proto3,enum=core.MatchOptions" json:"matchOptions,omitempty"` // contains filtered or unexported fields }
func (*ClusterSelector) Descriptor
deprecated
added in
v0.6.1
func (*ClusterSelector) Descriptor() ([]byte, []int)
Deprecated: Use ClusterSelector.ProtoReflect.Descriptor instead.
func (*ClusterSelector) GetClusterIDs ¶ added in v0.6.1
func (x *ClusterSelector) GetClusterIDs() []string
func (*ClusterSelector) GetLabelSelector ¶ added in v0.6.1
func (x *ClusterSelector) GetLabelSelector() *LabelSelector
func (*ClusterSelector) GetMatchOptions ¶ added in v0.6.1
func (x *ClusterSelector) GetMatchOptions() MatchOptions
func (*ClusterSelector) ProtoMessage ¶ added in v0.6.1
func (*ClusterSelector) ProtoMessage()
func (*ClusterSelector) ProtoReflect ¶ added in v0.6.1
func (x *ClusterSelector) ProtoReflect() protoreflect.Message
func (*ClusterSelector) Reset ¶ added in v0.6.1
func (x *ClusterSelector) Reset()
func (*ClusterSelector) String ¶ added in v0.6.1
func (x *ClusterSelector) String() string
func (*ClusterSelector) Validate ¶ added in v0.6.1
func (s *ClusterSelector) Validate() error
type ClusterStatus ¶ added in v0.6.1
type ClusterStatus struct { Cluster *Reference `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` Status *Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ClusterStatus) Descriptor
deprecated
added in
v0.6.1
func (*ClusterStatus) Descriptor() ([]byte, []int)
Deprecated: Use ClusterStatus.ProtoReflect.Descriptor instead.
func (*ClusterStatus) GetCluster ¶ added in v0.6.1
func (x *ClusterStatus) GetCluster() *Reference
func (*ClusterStatus) GetStatus ¶ added in v0.6.1
func (x *ClusterStatus) GetStatus() *Status
func (*ClusterStatus) ProtoMessage ¶ added in v0.6.1
func (*ClusterStatus) ProtoMessage()
func (*ClusterStatus) ProtoReflect ¶ added in v0.6.1
func (x *ClusterStatus) ProtoReflect() protoreflect.Message
func (*ClusterStatus) Reset ¶ added in v0.6.1
func (x *ClusterStatus) Reset()
func (*ClusterStatus) String ¶ added in v0.6.1
func (x *ClusterStatus) String() string
type Comparator ¶
type ConfigStatus ¶ added in v0.11.0
type ConfigStatus int32
const ( ConfigStatus_Unkown ConfigStatus = 0 ConfigStatus_UpToDate ConfigStatus = 1 ConfigStatus_NeedsUpdate ConfigStatus = 2 )
func (ConfigStatus) Descriptor ¶ added in v0.11.0
func (ConfigStatus) Descriptor() protoreflect.EnumDescriptor
func (ConfigStatus) Enum ¶ added in v0.11.0
func (x ConfigStatus) Enum() *ConfigStatus
func (ConfigStatus) EnumDescriptor
deprecated
added in
v0.11.0
func (ConfigStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConfigStatus.Descriptor instead.
func (ConfigStatus) Number ¶ added in v0.11.0
func (x ConfigStatus) Number() protoreflect.EnumNumber
func (ConfigStatus) String ¶ added in v0.11.0
func (x ConfigStatus) String() string
func (ConfigStatus) Type ¶ added in v0.11.0
func (ConfigStatus) Type() protoreflect.EnumType
type Health ¶
type Health struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Ready bool `protobuf:"varint,2,opt,name=ready,proto3" json:"ready,omitempty"` Conditions []string `protobuf:"bytes,3,rep,name=conditions,proto3" json:"conditions,omitempty"` Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Health) Descriptor
deprecated
func (*Health) GetAnnotations ¶ added in v0.6.0
func (*Health) GetConditions ¶
func (*Health) GetTimestamp ¶ added in v0.6.0
func (x *Health) GetTimestamp() *timestamppb.Timestamp
func (*Health) ProtoMessage ¶
func (*Health) ProtoMessage()
func (*Health) ProtoReflect ¶
func (x *Health) ProtoReflect() protoreflect.Message
type HealthStatus ¶
type HealthStatus struct { Health *Health `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"` Status *Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*HealthStatus) Descriptor
deprecated
func (*HealthStatus) Descriptor() ([]byte, []int)
Deprecated: Use HealthStatus.ProtoReflect.Descriptor instead.
func (*HealthStatus) GetHealth ¶
func (x *HealthStatus) GetHealth() *Health
func (*HealthStatus) GetStatus ¶
func (x *HealthStatus) GetStatus() *Status
func (*HealthStatus) ProtoMessage ¶
func (*HealthStatus) ProtoMessage()
func (*HealthStatus) ProtoReflect ¶
func (x *HealthStatus) ProtoReflect() protoreflect.Message
func (*HealthStatus) Reset ¶
func (x *HealthStatus) Reset()
func (*HealthStatus) String ¶
func (x *HealthStatus) String() string
func (*HealthStatus) Summary ¶ added in v0.6.0
func (s *HealthStatus) Summary() string
type IdLabelReader ¶ added in v0.8.2
type IdLabelReader interface { IdReader LabelReader }
type LabelReader ¶ added in v0.8.2
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) IsEmpty ¶
func (ls *LabelSelector) IsEmpty() bool
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) Validate ¶
func (ls *LabelSelector) Validate() error
func (*LabelSelector) WithRestrictInternalLabels ¶ added in v0.8.3
func (ls *LabelSelector) WithRestrictInternalLabels() validation.Validator
type LabelSelectorOperator ¶
type LabelSelectorOperator string
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 LastKnownConnectionDetails ¶ added in v0.8.0
type LastKnownConnectionDetails struct { Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` AgentBuildInfo *BuildInfo `protobuf:"bytes,3,opt,name=agentBuildInfo,proto3" json:"agentBuildInfo,omitempty"` // plugin package id -> hash PluginVersions map[string]string `` /* 169-byte string literal not displayed */ // contains filtered or unexported fields }
func LastKnownConnectionDetailsFromContext ¶ added in v0.8.0
func LastKnownConnectionDetailsFromContext(ctx context.Context) (*LastKnownConnectionDetails, bool)
func (*LastKnownConnectionDetails) Descriptor
deprecated
added in
v0.8.0
func (*LastKnownConnectionDetails) Descriptor() ([]byte, []int)
Deprecated: Use LastKnownConnectionDetails.ProtoReflect.Descriptor instead.
func (*LastKnownConnectionDetails) GetAddress ¶ added in v0.8.0
func (x *LastKnownConnectionDetails) GetAddress() string
func (*LastKnownConnectionDetails) GetAgentBuildInfo ¶ added in v0.8.0
func (x *LastKnownConnectionDetails) GetAgentBuildInfo() *BuildInfo
func (*LastKnownConnectionDetails) GetPluginVersions ¶ added in v0.8.0
func (x *LastKnownConnectionDetails) GetPluginVersions() map[string]string
func (*LastKnownConnectionDetails) GetTime ¶ added in v0.8.0
func (x *LastKnownConnectionDetails) GetTime() *timestamppb.Timestamp
func (*LastKnownConnectionDetails) ProtoMessage ¶ added in v0.8.0
func (*LastKnownConnectionDetails) ProtoMessage()
func (*LastKnownConnectionDetails) ProtoReflect ¶ added in v0.8.0
func (x *LastKnownConnectionDetails) ProtoReflect() protoreflect.Message
func (*LastKnownConnectionDetails) Reset ¶ added in v0.8.0
func (x *LastKnownConnectionDetails) Reset()
func (*LastKnownConnectionDetails) String ¶ added in v0.8.0
func (x *LastKnownConnectionDetails) String() string
type LogEntry ¶ added in v0.6.0
type LogEntry struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*LogEntry) Descriptor
deprecated
added in
v0.6.0
func (*LogEntry) GetLogLevel ¶ added in v0.6.0
func (*LogEntry) GetTimestamp ¶ added in v0.6.0
func (x *LogEntry) GetTimestamp() *timestamppb.Timestamp
func (*LogEntry) ProtoMessage ¶ added in v0.6.0
func (*LogEntry) ProtoMessage()
func (*LogEntry) ProtoReflect ¶ added in v0.6.0
func (x *LogEntry) ProtoReflect() protoreflect.Message
type MatchOptions ¶
type MatchOptions int32
const ( MatchOptions_Default MatchOptions = 0 MatchOptions_EmptySelectorMatchesAll 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 Module ¶ added in v0.8.0
type Module struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Sum string `protobuf:"bytes,3,opt,name=sum,proto3" json:"sum,omitempty"` Replace *Module `protobuf:"bytes,4,opt,name=replace,proto3" json:"replace,omitempty"` // contains filtered or unexported fields }
func (*Module) Descriptor
deprecated
added in
v0.8.0
func (*Module) GetReplace ¶ added in v0.8.0
func (*Module) GetVersion ¶ added in v0.8.0
func (*Module) ProtoMessage ¶ added in v0.8.0
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶ added in v0.8.0
func (x *Module) ProtoReflect() protoreflect.Message
type PingResponse ¶ added in v0.11.0
type PingResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PingResponse) Descriptor
deprecated
added in
v0.11.0
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetMessage ¶ added in v0.11.0
func (x *PingResponse) GetMessage() string
func (*PingResponse) ProtoMessage ¶ added in v0.11.0
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶ added in v0.11.0
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶ added in v0.11.0
func (x *PingResponse) Reset()
func (*PingResponse) String ¶ added in v0.11.0
func (x *PingResponse) String() string
type PingerClient ¶ added in v0.11.0
type PingerClient interface {
Ping(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PingResponse, error)
}
PingerClient is the client API for Pinger service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPingerClient ¶ added in v0.11.0
func NewPingerClient(cc grpc.ClientConnInterface) PingerClient
func PingerClientFromContext ¶ added in v0.12.0
func PingerClientFromContext(ctx context.Context) (PingerClient, bool)
type PingerServer ¶ added in v0.11.0
type PingerServer interface { Ping(context.Context, *emptypb.Empty) (*PingResponse, error) // contains filtered or unexported methods }
PingerServer is the server API for Pinger service. All implementations must embed UnimplementedPingerServer for forward compatibility
type Progress ¶ added in v0.6.0
type Progress struct { Current uint64 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"` Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*Progress) Descriptor
deprecated
added in
v0.6.0
func (*Progress) GetCurrent ¶ added in v0.6.0
func (*Progress) ProtoMessage ¶ added in v0.6.0
func (*Progress) ProtoMessage()
func (*Progress) ProtoReflect ¶ added in v0.6.0
func (x *Progress) ProtoReflect() protoreflect.Message
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 Revision ¶ added in v0.12.0
type Revision struct { // A numerical revision uniquely identifying a specific version of the resource. // Larger values are newer, but this should otherwise be treated as opaque. Revision *int64 `protobuf:"varint,1,opt,name=revision,proto3,oneof" json:"revision,omitempty"` // An optional timestamp corresponding to the time the revision was created. // Do not depend on this field being set; if it is, it is for informational // purposes only. Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func NewRevision ¶ added in v0.12.0
func (*Revision) Descriptor
deprecated
added in
v0.12.0
func (*Revision) GetRevision ¶ added in v0.12.0
func (*Revision) GetTimestamp ¶ added in v0.12.0
func (x *Revision) GetTimestamp() *timestamppb.Timestamp
func (*Revision) ProtoMessage ¶ added in v0.12.0
func (*Revision) ProtoMessage()
func (*Revision) ProtoReflect ¶ added in v0.12.0
func (x *Revision) ProtoReflect() protoreflect.Message
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"` Metadata *RoleMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,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) GetMetadata ¶ added in v0.11.0
func (x *Role) GetMetadata() *RoleMetadata
func (*Role) GetResourceVersion ¶ added in v0.11.0
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
func (*Role) SetResourceVersion ¶ added in v0.11.0
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"` Metadata *RoleBindingMetadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,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) GetMetadata ¶ added in v0.11.0
func (x *RoleBinding) GetMetadata() *RoleBindingMetadata
func (*RoleBinding) GetResourceVersion ¶ added in v0.11.0
func (rb *RoleBinding) GetResourceVersion() 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) SetResourceVersion ¶ added in v0.11.0
func (rb *RoleBinding) SetResourceVersion(version string)
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 RoleBindingMetadata ¶ added in v0.11.0
type RoleBindingMetadata struct { // read-only ResourceVersion string `protobuf:"bytes,1,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` // contains filtered or unexported fields }
func (*RoleBindingMetadata) Descriptor
deprecated
added in
v0.11.0
func (*RoleBindingMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RoleBindingMetadata.ProtoReflect.Descriptor instead.
func (*RoleBindingMetadata) GetResourceVersion ¶ added in v0.11.0
func (x *RoleBindingMetadata) GetResourceVersion() string
func (*RoleBindingMetadata) ProtoMessage ¶ added in v0.11.0
func (*RoleBindingMetadata) ProtoMessage()
func (*RoleBindingMetadata) ProtoReflect ¶ added in v0.11.0
func (x *RoleBindingMetadata) ProtoReflect() protoreflect.Message
func (*RoleBindingMetadata) Reset ¶ added in v0.11.0
func (x *RoleBindingMetadata) Reset()
func (*RoleBindingMetadata) String ¶ added in v0.11.0
func (x *RoleBindingMetadata) 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 RoleMetadata ¶ added in v0.11.0
type RoleMetadata struct { // read-only ResourceVersion string `protobuf:"bytes,1,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` // contains filtered or unexported fields }
func (*RoleMetadata) Descriptor
deprecated
added in
v0.11.0
func (*RoleMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RoleMetadata.ProtoReflect.Descriptor instead.
func (*RoleMetadata) GetResourceVersion ¶ added in v0.11.0
func (x *RoleMetadata) GetResourceVersion() string
func (*RoleMetadata) ProtoMessage ¶ added in v0.11.0
func (*RoleMetadata) ProtoMessage()
func (*RoleMetadata) ProtoReflect ¶ added in v0.11.0
func (x *RoleMetadata) ProtoReflect() protoreflect.Message
func (*RoleMetadata) Reset ¶ added in v0.11.0
func (x *RoleMetadata) Reset()
func (*RoleMetadata) String ¶ added in v0.11.0
func (x *RoleMetadata) String() string
type SessionInfo ¶ added in v0.9.0
type SessionInfo struct { Attributes []string `protobuf:"bytes,2051,rep,name=attributes,proto3" json:"attributes,omitempty"` Mac []byte `protobuf:"bytes,2056,opt,name=mac,proto3" json:"mac,omitempty"` // contains filtered or unexported fields }
func (*SessionInfo) Descriptor
deprecated
added in
v0.9.0
func (*SessionInfo) Descriptor() ([]byte, []int)
Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead.
func (*SessionInfo) GetAttributes ¶ added in v0.9.0
func (x *SessionInfo) GetAttributes() []string
func (*SessionInfo) GetMac ¶ added in v0.9.0
func (x *SessionInfo) GetMac() []byte
func (*SessionInfo) ProtoMessage ¶ added in v0.9.0
func (*SessionInfo) ProtoMessage()
func (*SessionInfo) ProtoReflect ¶ added in v0.9.0
func (x *SessionInfo) ProtoReflect() protoreflect.Message
func (*SessionInfo) Reset ¶ added in v0.9.0
func (x *SessionInfo) Reset()
func (*SessionInfo) String ¶ added in v0.9.0
func (x *SessionInfo) String() string
type StateTransition ¶ added in v0.6.0
type StateTransition struct { State TaskState `protobuf:"varint,1,opt,name=state,proto3,enum=core.TaskState" json:"state,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Represents a transition to a task state at a point in time.
func (*StateTransition) Descriptor
deprecated
added in
v0.6.0
func (*StateTransition) Descriptor() ([]byte, []int)
Deprecated: Use StateTransition.ProtoReflect.Descriptor instead.
func (*StateTransition) GetLogLevel ¶ added in v0.6.0
func (s *StateTransition) GetLogLevel() slog.Level
func (*StateTransition) GetMsg ¶ added in v0.6.0
func (s *StateTransition) GetMsg() string
func (*StateTransition) GetState ¶ added in v0.6.0
func (x *StateTransition) GetState() TaskState
func (*StateTransition) GetTimestamp ¶ added in v0.6.0
func (x *StateTransition) GetTimestamp() *timestamppb.Timestamp
func (*StateTransition) ProtoMessage ¶ added in v0.6.0
func (*StateTransition) ProtoMessage()
func (*StateTransition) ProtoReflect ¶ added in v0.6.0
func (x *StateTransition) ProtoReflect() protoreflect.Message
func (*StateTransition) Reset ¶ added in v0.6.0
func (x *StateTransition) Reset()
func (*StateTransition) String ¶ added in v0.6.0
func (x *StateTransition) String() string
type Status ¶
type Status struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Connected bool `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"` SessionAttributes []string `protobuf:"bytes,3,rep,name=sessionAttributes,proto3" json:"sessionAttributes,omitempty"` // contains filtered or unexported fields }
func (*Status) Descriptor
deprecated
func (*Status) GetConnected ¶
func (*Status) GetSessionAttributes ¶ added in v0.9.0
func (*Status) GetTimestamp ¶ added in v0.6.0
func (x *Status) GetTimestamp() *timestamppb.Timestamp
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) 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 TaskState ¶ added in v0.6.0
type TaskState int32
func (TaskState) Descriptor ¶ added in v0.6.0
func (TaskState) Descriptor() protoreflect.EnumDescriptor
func (TaskState) EnumDescriptor
deprecated
added in
v0.6.0
func (TaskState) Number ¶ added in v0.6.0
func (x TaskState) Number() protoreflect.EnumNumber
func (TaskState) Type ¶ added in v0.6.0
func (TaskState) Type() protoreflect.EnumType
type TaskStatus ¶ added in v0.6.0
type TaskStatus struct { State TaskState `protobuf:"varint,1,opt,name=state,proto3,enum=core.TaskState" json:"state,omitempty"` Progress *Progress `protobuf:"bytes,2,opt,name=progress,proto3" json:"progress,omitempty"` Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` Logs []*LogEntry `protobuf:"bytes,4,rep,name=logs,proto3" json:"logs,omitempty"` Transitions []*StateTransition `protobuf:"bytes,5,rep,name=transitions,proto3" json:"transitions,omitempty"` // contains filtered or unexported fields }
func (*TaskStatus) Descriptor
deprecated
added in
v0.6.0
func (*TaskStatus) Descriptor() ([]byte, []int)
Deprecated: Use TaskStatus.ProtoReflect.Descriptor instead.
func (*TaskStatus) GetLogs ¶ added in v0.6.0
func (x *TaskStatus) GetLogs() []*LogEntry
func (*TaskStatus) GetMetadata ¶ added in v0.6.0
func (x *TaskStatus) GetMetadata() string
func (*TaskStatus) GetProgress ¶ added in v0.6.0
func (x *TaskStatus) GetProgress() *Progress
func (*TaskStatus) GetState ¶ added in v0.6.0
func (x *TaskStatus) GetState() TaskState
func (*TaskStatus) GetTransitions ¶ added in v0.6.0
func (x *TaskStatus) GetTransitions() []*StateTransition
func (*TaskStatus) ProtoMessage ¶ added in v0.6.0
func (*TaskStatus) ProtoMessage()
func (*TaskStatus) ProtoReflect ¶ added in v0.6.0
func (x *TaskStatus) ProtoReflect() protoreflect.Message
func (*TaskStatus) Reset ¶ added in v0.6.0
func (x *TaskStatus) Reset()
func (*TaskStatus) String ¶ added in v0.6.0
func (x *TaskStatus) String() string
type TaskTrigger ¶ added in v0.6.0
type TaskTrigger int32
const ( TaskTrigger_Start TaskTrigger = 0 TaskTrigger_End TaskTrigger = 1 TaskTrigger_Error TaskTrigger = 2 TaskTrigger_Cancel TaskTrigger = 3 )
func (TaskTrigger) Descriptor ¶ added in v0.6.0
func (TaskTrigger) Descriptor() protoreflect.EnumDescriptor
func (TaskTrigger) Enum ¶ added in v0.6.0
func (x TaskTrigger) Enum() *TaskTrigger
func (TaskTrigger) EnumDescriptor
deprecated
added in
v0.6.0
func (TaskTrigger) EnumDescriptor() ([]byte, []int)
Deprecated: Use TaskTrigger.Descriptor instead.
func (TaskTrigger) Number ¶ added in v0.6.0
func (x TaskTrigger) Number() protoreflect.EnumNumber
func (TaskTrigger) String ¶ added in v0.6.0
func (x TaskTrigger) String() string
func (TaskTrigger) Type ¶ added in v0.6.0
func (TaskTrigger) Type() protoreflect.EnumType
type TimeRange ¶
type TimeRange struct { Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*TimeRange) Descriptor
deprecated
func (*TimeRange) ProtoMessage ¶
func (*TimeRange) ProtoMessage()
func (*TimeRange) ProtoReflect ¶
func (x *TimeRange) ProtoReflect() protoreflect.Message
type TimestampedLog ¶ added in v0.6.0
type TimestampedLog interface { GetTimestamp() *timestamppb.Timestamp GetMsg() string GetLogLevel() slog.Level }
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
func (*TokenCapability) Validate ¶
func (tc *TokenCapability) Validate() error
type UnimplementedPingerServer ¶ added in v0.11.0
type UnimplementedPingerServer struct { }
UnimplementedPingerServer must be embedded to have forward compatible implementations.
func (UnimplementedPingerServer) Ping ¶ added in v0.11.0
func (UnimplementedPingerServer) Ping(context.Context, *emptypb.Empty) (*PingResponse, error)
type UnsafePingerServer ¶ added in v0.11.0
type UnsafePingerServer interface {
// contains filtered or unexported methods
}
UnsafePingerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PingerServer will result in compilation errors.