Documentation
¶
Index ¶
- Variables
- func Duration(d time.Duration) *pbd.Duration
- func Marshal[M any, P Pointer[M], T Marshaler[P]](v T) ([]byte, error)
- func Time(t time.Time) *pbt.Timestamp
- func Unmarshal[M any, P Pointer[M], T Unmarshaler[P]](b []byte, v T) error
- type AddClusterNodeRequest
- func (*AddClusterNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddClusterNodeRequest) GetHost() string
- func (*AddClusterNodeRequest) ProtoMessage()
- func (x *AddClusterNodeRequest) ProtoReflect() protoreflect.Message
- func (x *AddClusterNodeRequest) Reset()
- func (x *AddClusterNodeRequest) String() string
- type AssignPolicyRequest
- func (*AssignPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignPolicyRequest) GetIdentity() string
- func (x *AssignPolicyRequest) GetPolicy() string
- func (*AssignPolicyRequest) ProtoMessage()
- func (x *AssignPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *AssignPolicyRequest) Reset()
- func (x *AssignPolicyRequest) String() string
- type ClusterStatusRequest
- type ClusterStatusResponse
- func (*ClusterStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterStatusResponse) GetNodesDown() map[uint32]string
- func (x *ClusterStatusResponse) GetNodesUp() map[uint32]*ServerStatusResponse
- func (*ClusterStatusResponse) ProtoMessage()
- func (x *ClusterStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ClusterStatusResponse) Reset()
- func (x *ClusterStatusResponse) String() string
- type CreateEnclaveRequest
- func (*CreateEnclaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEnclaveRequest) GetName() string
- func (*CreateEnclaveRequest) ProtoMessage()
- func (x *CreateEnclaveRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEnclaveRequest) Reset()
- func (x *CreateEnclaveRequest) String() string
- type CreateIdentityRequest
- func (*CreateIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIdentityRequest) GetIdentity() string
- func (x *CreateIdentityRequest) GetIsServiceAccount() bool
- func (x *CreateIdentityRequest) GetPrivilege() string
- func (*CreateIdentityRequest) ProtoMessage()
- func (x *CreateIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIdentityRequest) Reset()
- func (x *CreateIdentityRequest) String() string
- type CreateKeyRequest
- func (*CreateKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKeyRequest) GetAddVersion() bool
- func (x *CreateKeyRequest) GetName() string
- func (x *CreateKeyRequest) GetType() string
- func (*CreateKeyRequest) ProtoMessage()
- func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateKeyRequest) Reset()
- func (x *CreateKeyRequest) String() string
- type CreatePolicyRequest
- func (*CreatePolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePolicyRequest) GetAllow() map[string]*RuleSet
- func (x *CreatePolicyRequest) GetDeny() map[string]*RuleSet
- func (x *CreatePolicyRequest) GetName() string
- func (*CreatePolicyRequest) ProtoMessage()
- func (x *CreatePolicyRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePolicyRequest) Reset()
- func (x *CreatePolicyRequest) String() string
- type DecryptRequest
- func (*DecryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptRequest) GetAssociatedData() []byte
- func (x *DecryptRequest) GetCiphertext() []byte
- func (x *DecryptRequest) GetName() string
- func (x *DecryptRequest) GetVersion() uint32
- func (*DecryptRequest) ProtoMessage()
- func (x *DecryptRequest) ProtoReflect() protoreflect.Message
- func (x *DecryptRequest) Reset()
- func (x *DecryptRequest) String() string
- type DecryptResponse
- type DeleteEnclaveRequest
- func (*DeleteEnclaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEnclaveRequest) GetName() string
- func (*DeleteEnclaveRequest) ProtoMessage()
- func (x *DeleteEnclaveRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEnclaveRequest) Reset()
- func (x *DeleteEnclaveRequest) String() string
- type DeleteIdentityRequest
- func (*DeleteIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIdentityRequest) GetIdentity() string
- func (*DeleteIdentityRequest) ProtoMessage()
- func (x *DeleteIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIdentityRequest) Reset()
- func (x *DeleteIdentityRequest) String() string
- type DeleteKeyRequest
- func (*DeleteKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteKeyRequest) GetAllVersions() bool
- func (x *DeleteKeyRequest) GetName() string
- func (x *DeleteKeyRequest) GetVersion() uint32
- func (*DeleteKeyRequest) ProtoMessage()
- func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteKeyRequest) Reset()
- func (x *DeleteKeyRequest) String() string
- type DeletePolicyRequest
- func (*DeletePolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicyRequest) GetName() string
- func (*DeletePolicyRequest) ProtoMessage()
- func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePolicyRequest) Reset()
- func (x *DeletePolicyRequest) String() string
- type EditClusterRequest
- func (*EditClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditClusterRequest) GetHost() string
- func (x *EditClusterRequest) GetRemoveIDs() []uint32
- func (*EditClusterRequest) ProtoMessage()
- func (x *EditClusterRequest) ProtoReflect() protoreflect.Message
- func (x *EditClusterRequest) Reset()
- func (x *EditClusterRequest) String() string
- type EnclaveStatusRequest
- func (*EnclaveStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnclaveStatusRequest) GetName() string
- func (*EnclaveStatusRequest) ProtoMessage()
- func (x *EnclaveStatusRequest) ProtoReflect() protoreflect.Message
- func (x *EnclaveStatusRequest) Reset()
- func (x *EnclaveStatusRequest) String() string
- type EnclaveStatusResponse
- func (*EnclaveStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EnclaveStatusResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *EnclaveStatusResponse) GetCreatedBy() string
- func (x *EnclaveStatusResponse) GetName() string
- func (*EnclaveStatusResponse) ProtoMessage()
- func (x *EnclaveStatusResponse) ProtoReflect() protoreflect.Message
- func (x *EnclaveStatusResponse) Reset()
- func (x *EnclaveStatusResponse) String() string
- type EncryptRequest
- func (*EncryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptRequest) GetAssociatedData() []byte
- func (x *EncryptRequest) GetName() string
- func (x *EncryptRequest) GetPlaintext() []byte
- func (x *EncryptRequest) GetVersion() uint32
- func (*EncryptRequest) ProtoMessage()
- func (x *EncryptRequest) ProtoReflect() protoreflect.Message
- func (x *EncryptRequest) Reset()
- func (x *EncryptRequest) String() string
- type EncryptResponse
- func (*EncryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptResponse) GetCiphertext() []byte
- func (x *EncryptResponse) GetVersion() uint32
- func (*EncryptResponse) ProtoMessage()
- func (x *EncryptResponse) ProtoReflect() protoreflect.Message
- func (x *EncryptResponse) Reset()
- func (x *EncryptResponse) String() string
- type ErrResponse
- type GenerateKeyRequest
- func (*GenerateKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateKeyRequest) GetAssociatedData() []byte
- func (x *GenerateKeyRequest) GetLength() uint32
- func (x *GenerateKeyRequest) GetName() string
- func (x *GenerateKeyRequest) GetVersion() uint32
- func (*GenerateKeyRequest) ProtoMessage()
- func (x *GenerateKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateKeyRequest) Reset()
- func (x *GenerateKeyRequest) String() string
- type GenerateKeyResponse
- func (*GenerateKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateKeyResponse) GetCiphertext() []byte
- func (x *GenerateKeyResponse) GetPlaintext() []byte
- func (x *GenerateKeyResponse) GetVersion() uint32
- func (*GenerateKeyResponse) ProtoMessage()
- func (x *GenerateKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateKeyResponse) Reset()
- func (x *GenerateKeyResponse) String() string
- type IdentityRequest
- type IdentityResponse
- func (*IdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *IdentityResponse) GetCreatedBy() string
- func (x *IdentityResponse) GetIdentity() string
- func (x *IdentityResponse) GetIsServiceAccount() bool
- func (x *IdentityResponse) GetPolicy() string
- func (x *IdentityResponse) GetPrivilege() uint32
- func (x *IdentityResponse) GetServiceAccounts() []string
- func (*IdentityResponse) ProtoMessage()
- func (x *IdentityResponse) ProtoReflect() protoreflect.Message
- func (x *IdentityResponse) Reset()
- func (x *IdentityResponse) String() string
- type ImportKeyRequest
- func (*ImportKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportKeyRequest) GetKey() []byte
- func (x *ImportKeyRequest) GetName() string
- func (x *ImportKeyRequest) GetType() string
- func (*ImportKeyRequest) ProtoMessage()
- func (x *ImportKeyRequest) ProtoReflect() protoreflect.Message
- func (x *ImportKeyRequest) Reset()
- func (x *ImportKeyRequest) String() string
- type KeyStatusRequest
- func (*KeyStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyStatusRequest) GetName() string
- func (x *KeyStatusRequest) GetVersion() uint32
- func (*KeyStatusRequest) ProtoMessage()
- func (x *KeyStatusRequest) ProtoReflect() protoreflect.Message
- func (x *KeyStatusRequest) Reset()
- func (x *KeyStatusRequest) String() string
- type KeyStatusResponse
- func (*KeyStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyStatusResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *KeyStatusResponse) GetCreatedBy() string
- func (x *KeyStatusResponse) GetName() string
- func (x *KeyStatusResponse) GetType() string
- func (x *KeyStatusResponse) GetVersion() uint32
- func (*KeyStatusResponse) ProtoMessage()
- func (x *KeyStatusResponse) ProtoReflect() protoreflect.Message
- func (x *KeyStatusResponse) Reset()
- func (x *KeyStatusResponse) String() string
- type ListEnclavesResponse
- func (*ListEnclavesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEnclavesResponse) GetContinueAt() string
- func (x *ListEnclavesResponse) GetEnclaves() []*EnclaveStatusResponse
- func (*ListEnclavesResponse) ProtoMessage()
- func (x *ListEnclavesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEnclavesResponse) Reset()
- func (x *ListEnclavesResponse) String() string
- type ListIdentitiesResponse
- func (*ListIdentitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIdentitiesResponse) GetContinueAt() string
- func (x *ListIdentitiesResponse) GetIdentities() []*IdentityResponse
- func (*ListIdentitiesResponse) ProtoMessage()
- func (x *ListIdentitiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListIdentitiesResponse) Reset()
- func (x *ListIdentitiesResponse) String() string
- type ListKeysResponse
- func (*ListKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListKeysResponse) GetContinueAt() string
- func (x *ListKeysResponse) GetKeys() []*KeyStatusResponse
- func (*ListKeysResponse) ProtoMessage()
- func (x *ListKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListKeysResponse) Reset()
- func (x *ListKeysResponse) String() string
- type ListPoliciesResponse
- func (*ListPoliciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPoliciesResponse) GetContinueAt() string
- func (x *ListPoliciesResponse) GetPolicies() []*PolicyStatusResponse
- func (*ListPoliciesResponse) ProtoMessage()
- func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPoliciesResponse) Reset()
- func (x *ListPoliciesResponse) String() string
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequest) GetContinueAt() string
- func (x *ListRequest) GetLimit() uint32
- func (x *ListRequest) GetPrefix() string
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (x *ListRequest) String() string
- type LogRecord
- func (*LogRecord) Descriptor() ([]byte, []int)deprecated
- func (x *LogRecord) GetLevel() int32
- func (x *LogRecord) GetMessage() string
- func (x *LogRecord) GetReq() *LogRecord_Request
- func (x *LogRecord) GetTime() *timestamppb.Timestamp
- func (x *LogRecord) GetTrace() []*LogRecord_StackFrame
- func (*LogRecord) ProtoMessage()
- func (x *LogRecord) ProtoReflect() protoreflect.Message
- func (x *LogRecord) Reset()
- func (x *LogRecord) String() string
- type LogRecord_Request
- func (*LogRecord_Request) Descriptor() ([]byte, []int)deprecated
- func (x *LogRecord_Request) GetIP() string
- func (x *LogRecord_Request) GetIdentity() string
- func (x *LogRecord_Request) GetMethod() string
- func (x *LogRecord_Request) GetPath() string
- func (*LogRecord_Request) ProtoMessage()
- func (x *LogRecord_Request) ProtoReflect() protoreflect.Message
- func (x *LogRecord_Request) Reset()
- func (x *LogRecord_Request) String() string
- type LogRecord_StackFrame
- func (*LogRecord_StackFrame) Descriptor() ([]byte, []int)deprecated
- func (x *LogRecord_StackFrame) GetFile() string
- func (x *LogRecord_StackFrame) GetFunction() string
- func (x *LogRecord_StackFrame) GetLine() uint32
- func (*LogRecord_StackFrame) ProtoMessage()
- func (x *LogRecord_StackFrame) ProtoReflect() protoreflect.Message
- func (x *LogRecord_StackFrame) Reset()
- func (x *LogRecord_StackFrame) String() string
- type LogRequest
- func (*LogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogRequest) GetIP() string
- func (x *LogRequest) GetIdentity() string
- func (x *LogRequest) GetLevel() int32
- func (x *LogRequest) GetMessage() string
- func (x *LogRequest) GetMethod() string
- func (x *LogRequest) GetPath() string
- func (x *LogRequest) GetSince() *timestamppb.Timestamp
- func (x *LogRequest) GetTraceLevel() int32
- func (*LogRequest) ProtoMessage()
- func (x *LogRequest) ProtoReflect() protoreflect.Message
- func (x *LogRequest) Reset()
- func (x *LogRequest) String() string
- type Marshaler
- type Pointer
- type PolicyRequest
- type PolicyResponse
- func (*PolicyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyResponse) GetAllow() map[string]*RuleSet
- func (x *PolicyResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *PolicyResponse) GetCreatedBy() string
- func (x *PolicyResponse) GetDeny() map[string]*RuleSet
- func (x *PolicyResponse) GetName() string
- func (*PolicyResponse) ProtoMessage()
- func (x *PolicyResponse) ProtoReflect() protoreflect.Message
- func (x *PolicyResponse) Reset()
- func (x *PolicyResponse) String() string
- type PolicyStatusResponse
- func (*PolicyStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyStatusResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *PolicyStatusResponse) GetCreatedBy() string
- func (x *PolicyStatusResponse) GetName() string
- func (*PolicyStatusResponse) ProtoMessage()
- func (x *PolicyStatusResponse) ProtoReflect() protoreflect.Message
- func (x *PolicyStatusResponse) Reset()
- func (x *PolicyStatusResponse) String() string
- type ProfileStatusResponse
- func (*ProfileStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileStatusResponse) GetBlockRate() uint32
- func (x *ProfileStatusResponse) GetCPU() bool
- func (x *ProfileStatusResponse) GetGoroutine() bool
- func (x *ProfileStatusResponse) GetHeap() bool
- func (x *ProfileStatusResponse) GetMutexFraction() uint32
- func (x *ProfileStatusResponse) GetStarted() *timestamppb.Timestamp
- func (x *ProfileStatusResponse) GetThread() bool
- func (*ProfileStatusResponse) ProtoMessage()
- func (x *ProfileStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ProfileStatusResponse) Reset()
- func (x *ProfileStatusResponse) String() string
- type RemoveClusterNodeRequest
- func (*RemoveClusterNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveClusterNodeRequest) GetHost() string
- func (*RemoveClusterNodeRequest) ProtoMessage()
- func (x *RemoveClusterNodeRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveClusterNodeRequest) Reset()
- func (x *RemoveClusterNodeRequest) String() string
- type Rule
- type RuleSet
- type ServerStatusResponse
- func (*ServerStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerStatusResponse) GetAPIVersion() string
- func (x *ServerStatusResponse) GetArch() string
- func (x *ServerStatusResponse) GetCPUs() uint32
- func (x *ServerStatusResponse) GetCommit() uint64
- func (x *ServerStatusResponse) GetElectionTimeout() *durationpb.Duration
- func (x *ServerStatusResponse) GetHeapMemInUse() uint64
- func (x *ServerStatusResponse) GetHeartbeatInterval() *durationpb.Duration
- func (x *ServerStatusResponse) GetHost() string
- func (x *ServerStatusResponse) GetID() uint32
- func (x *ServerStatusResponse) GetLastHeartbeat() *durationpb.Duration
- func (x *ServerStatusResponse) GetLeaderID() int64
- func (x *ServerStatusResponse) GetNodes() map[uint32]string
- func (x *ServerStatusResponse) GetOS() string
- func (x *ServerStatusResponse) GetRole() string
- func (x *ServerStatusResponse) GetStackMemInUse() uint64
- func (x *ServerStatusResponse) GetUpTime() *durationpb.Duration
- func (x *ServerStatusResponse) GetUsableCPUs() uint32
- func (x *ServerStatusResponse) GetVersion() string
- func (*ServerStatusResponse) ProtoMessage()
- func (x *ServerStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ServerStatusResponse) Reset()
- func (x *ServerStatusResponse) String() string
- type Unmarshaler
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VersionResponse) GetAPIVersion() string
- func (x *VersionResponse) GetCommit() string
- func (x *VersionResponse) GetHost() string
- func (x *VersionResponse) GetVersion() string
- func (*VersionResponse) ProtoMessage()
- func (x *VersionResponse) ProtoReflect() protoreflect.Message
- func (x *VersionResponse) Reset()
- func (x *VersionResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_log_proto protoreflect.FileDescriptor
var File_request_proto protoreflect.FileDescriptor
var File_response_proto protoreflect.FileDescriptor
var File_rule_proto protoreflect.FileDescriptor
Functions ¶
func Marshal ¶
Marshal returns v's protobuf binary data by first converting v into its protobuf representation type M and then marshaling M into the protobuf wire format.
Types ¶
type AddClusterNodeRequest ¶ added in v0.4.0
type AddClusterNodeRequest struct { Host string `protobuf:"bytes,1,opt,name=Host,json=host,proto3" json:"Host,omitempty"` // contains filtered or unexported fields }
func (*AddClusterNodeRequest) Descriptor
deprecated
added in
v0.4.0
func (*AddClusterNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddClusterNodeRequest.ProtoReflect.Descriptor instead.
func (*AddClusterNodeRequest) GetHost ¶ added in v0.4.0
func (x *AddClusterNodeRequest) GetHost() string
func (*AddClusterNodeRequest) ProtoMessage ¶ added in v0.4.0
func (*AddClusterNodeRequest) ProtoMessage()
func (*AddClusterNodeRequest) ProtoReflect ¶ added in v0.4.0
func (x *AddClusterNodeRequest) ProtoReflect() protoreflect.Message
func (*AddClusterNodeRequest) Reset ¶ added in v0.4.0
func (x *AddClusterNodeRequest) Reset()
func (*AddClusterNodeRequest) String ¶ added in v0.4.0
func (x *AddClusterNodeRequest) String() string
type AssignPolicyRequest ¶ added in v0.3.0
type AssignPolicyRequest struct { // Identity is the identity to which the policy should apply. Identity string `protobuf:"bytes,1,opt,name=Identity,json=identity,proto3" json:"Identity,omitempty"` Policy string `protobuf:"bytes,2,opt,name=Policy,json=policy,proto3" json:"Policy,omitempty"` // contains filtered or unexported fields }
func (*AssignPolicyRequest) Descriptor
deprecated
added in
v0.3.0
func (*AssignPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignPolicyRequest.ProtoReflect.Descriptor instead.
func (*AssignPolicyRequest) GetIdentity ¶ added in v0.3.0
func (x *AssignPolicyRequest) GetIdentity() string
func (*AssignPolicyRequest) GetPolicy ¶ added in v0.4.0
func (x *AssignPolicyRequest) GetPolicy() string
func (*AssignPolicyRequest) ProtoMessage ¶ added in v0.3.0
func (*AssignPolicyRequest) ProtoMessage()
func (*AssignPolicyRequest) ProtoReflect ¶ added in v0.3.0
func (x *AssignPolicyRequest) ProtoReflect() protoreflect.Message
func (*AssignPolicyRequest) Reset ¶ added in v0.3.0
func (x *AssignPolicyRequest) Reset()
func (*AssignPolicyRequest) String ¶ added in v0.3.0
func (x *AssignPolicyRequest) String() string
type ClusterStatusRequest ¶ added in v0.4.0
type ClusterStatusRequest struct {
// contains filtered or unexported fields
}
func (*ClusterStatusRequest) Descriptor
deprecated
added in
v0.4.0
func (*ClusterStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClusterStatusRequest.ProtoReflect.Descriptor instead.
func (*ClusterStatusRequest) ProtoMessage ¶ added in v0.4.0
func (*ClusterStatusRequest) ProtoMessage()
func (*ClusterStatusRequest) ProtoReflect ¶ added in v0.4.0
func (x *ClusterStatusRequest) ProtoReflect() protoreflect.Message
func (*ClusterStatusRequest) Reset ¶ added in v0.4.0
func (x *ClusterStatusRequest) Reset()
func (*ClusterStatusRequest) String ¶ added in v0.4.0
func (x *ClusterStatusRequest) String() string
type ClusterStatusResponse ¶ added in v0.2.0
type ClusterStatusResponse struct { NodesUp map[uint32]*ServerStatusResponse `` /* 170-byte string literal not displayed */ NodesDown map[uint32]string `` /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ClusterStatusResponse) Descriptor
deprecated
added in
v0.2.0
func (*ClusterStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClusterStatusResponse.ProtoReflect.Descriptor instead.
func (*ClusterStatusResponse) GetNodesDown ¶ added in v0.2.0
func (x *ClusterStatusResponse) GetNodesDown() map[uint32]string
func (*ClusterStatusResponse) GetNodesUp ¶ added in v0.2.0
func (x *ClusterStatusResponse) GetNodesUp() map[uint32]*ServerStatusResponse
func (*ClusterStatusResponse) ProtoMessage ¶ added in v0.2.0
func (*ClusterStatusResponse) ProtoMessage()
func (*ClusterStatusResponse) ProtoReflect ¶ added in v0.2.0
func (x *ClusterStatusResponse) ProtoReflect() protoreflect.Message
func (*ClusterStatusResponse) Reset ¶ added in v0.2.0
func (x *ClusterStatusResponse) Reset()
func (*ClusterStatusResponse) String ¶ added in v0.2.0
func (x *ClusterStatusResponse) String() string
type CreateEnclaveRequest ¶ added in v0.4.0
type CreateEnclaveRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*CreateEnclaveRequest) Descriptor
deprecated
added in
v0.4.0
func (*CreateEnclaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEnclaveRequest.ProtoReflect.Descriptor instead.
func (*CreateEnclaveRequest) GetName ¶ added in v0.4.0
func (x *CreateEnclaveRequest) GetName() string
func (*CreateEnclaveRequest) ProtoMessage ¶ added in v0.4.0
func (*CreateEnclaveRequest) ProtoMessage()
func (*CreateEnclaveRequest) ProtoReflect ¶ added in v0.4.0
func (x *CreateEnclaveRequest) ProtoReflect() protoreflect.Message
func (*CreateEnclaveRequest) Reset ¶ added in v0.4.0
func (x *CreateEnclaveRequest) Reset()
func (*CreateEnclaveRequest) String ¶ added in v0.4.0
func (x *CreateEnclaveRequest) String() string
type CreateIdentityRequest ¶ added in v0.3.0
type CreateIdentityRequest struct { Identity string `protobuf:"bytes,1,opt,name=Identity,json=identity,proto3" json:"Identity,omitempty"` // Privilege is the privilege the identity has. Either, "SysAdmin", "Admin" or // "User". Privilege string `protobuf:"bytes,2,opt,name=Privilege,json=privilege,proto3" json:"Privilege,omitempty"` // IsServiceAccount indicates whether the identity is a service account. IsServiceAccount bool `protobuf:"varint,3,opt,name=IsServiceAccount,json=service_account,proto3" json:"IsServiceAccount,omitempty"` // contains filtered or unexported fields }
func (*CreateIdentityRequest) Descriptor
deprecated
added in
v0.3.0
func (*CreateIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIdentityRequest.ProtoReflect.Descriptor instead.
func (*CreateIdentityRequest) GetIdentity ¶ added in v0.4.0
func (x *CreateIdentityRequest) GetIdentity() string
func (*CreateIdentityRequest) GetIsServiceAccount ¶ added in v0.3.0
func (x *CreateIdentityRequest) GetIsServiceAccount() bool
func (*CreateIdentityRequest) GetPrivilege ¶ added in v0.3.0
func (x *CreateIdentityRequest) GetPrivilege() string
func (*CreateIdentityRequest) ProtoMessage ¶ added in v0.3.0
func (*CreateIdentityRequest) ProtoMessage()
func (*CreateIdentityRequest) ProtoReflect ¶ added in v0.3.0
func (x *CreateIdentityRequest) ProtoReflect() protoreflect.Message
func (*CreateIdentityRequest) Reset ¶ added in v0.3.0
func (x *CreateIdentityRequest) Reset()
func (*CreateIdentityRequest) String ¶ added in v0.3.0
func (x *CreateIdentityRequest) String() string
type CreateKeyRequest ¶ added in v0.2.0
type CreateKeyRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // Type is the type of the created key. If not set, the KMS server picks // a key type. Type string `protobuf:"bytes,2,opt,name=Type,json=type,proto3" json:"Type,omitempty"` // AddVersion indicates whether a new key version is created. AddVersion bool `protobuf:"varint,3,opt,name=AddVersion,json=add_version,proto3" json:"AddVersion,omitempty"` // contains filtered or unexported fields }
func (*CreateKeyRequest) Descriptor
deprecated
added in
v0.2.0
func (*CreateKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateKeyRequest) GetAddVersion ¶ added in v0.3.0
func (x *CreateKeyRequest) GetAddVersion() bool
func (*CreateKeyRequest) GetName ¶ added in v0.4.0
func (x *CreateKeyRequest) GetName() string
func (*CreateKeyRequest) GetType ¶ added in v0.2.0
func (x *CreateKeyRequest) GetType() string
func (*CreateKeyRequest) ProtoMessage ¶ added in v0.2.0
func (*CreateKeyRequest) ProtoMessage()
func (*CreateKeyRequest) ProtoReflect ¶ added in v0.2.0
func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateKeyRequest) Reset ¶ added in v0.2.0
func (x *CreateKeyRequest) Reset()
func (*CreateKeyRequest) String ¶ added in v0.2.0
func (x *CreateKeyRequest) String() string
type CreatePolicyRequest ¶ added in v0.3.0
type CreatePolicyRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` Allow map[string]*RuleSet `` /* 162-byte string literal not displayed */ Deny map[string]*RuleSet `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreatePolicyRequest) Descriptor
deprecated
added in
v0.3.0
func (*CreatePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicyRequest.ProtoReflect.Descriptor instead.
func (*CreatePolicyRequest) GetAllow ¶ added in v0.3.0
func (x *CreatePolicyRequest) GetAllow() map[string]*RuleSet
func (*CreatePolicyRequest) GetDeny ¶ added in v0.3.0
func (x *CreatePolicyRequest) GetDeny() map[string]*RuleSet
func (*CreatePolicyRequest) GetName ¶ added in v0.4.0
func (x *CreatePolicyRequest) GetName() string
func (*CreatePolicyRequest) ProtoMessage ¶ added in v0.3.0
func (*CreatePolicyRequest) ProtoMessage()
func (*CreatePolicyRequest) ProtoReflect ¶ added in v0.3.0
func (x *CreatePolicyRequest) ProtoReflect() protoreflect.Message
func (*CreatePolicyRequest) Reset ¶ added in v0.3.0
func (x *CreatePolicyRequest) Reset()
func (*CreatePolicyRequest) String ¶ added in v0.3.0
func (x *CreatePolicyRequest) String() string
type DecryptRequest ¶
type DecryptRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // Version identifies the key version within the key ring that should be // used to decrypt the ciphertext. Must not be zero. Version uint32 `protobuf:"varint,2,opt,name=Version,json=version,proto3" json:"Version,omitempty"` // Ciphertext is the encrypted message that gets decrypted. Ciphertext []byte `protobuf:"bytes,3,opt,name=Ciphertext,json=ciphertext,proto3" json:"Ciphertext,omitempty"` // AssociatedData is additional data that has been crypto. bound to the // ciphertext. AssociatedData []byte `protobuf:"bytes,4,opt,name=AssociatedData,json=associated_data,proto3" json:"AssociatedData,omitempty"` // contains filtered or unexported fields }
func (*DecryptRequest) Descriptor
deprecated
func (*DecryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use DecryptRequest.ProtoReflect.Descriptor instead.
func (*DecryptRequest) GetAssociatedData ¶
func (x *DecryptRequest) GetAssociatedData() []byte
func (*DecryptRequest) GetCiphertext ¶
func (x *DecryptRequest) GetCiphertext() []byte
func (*DecryptRequest) GetName ¶ added in v0.4.0
func (x *DecryptRequest) GetName() string
func (*DecryptRequest) GetVersion ¶
func (x *DecryptRequest) GetVersion() uint32
func (*DecryptRequest) ProtoMessage ¶
func (*DecryptRequest) ProtoMessage()
func (*DecryptRequest) ProtoReflect ¶
func (x *DecryptRequest) ProtoReflect() protoreflect.Message
func (*DecryptRequest) Reset ¶
func (x *DecryptRequest) Reset()
func (*DecryptRequest) String ¶
func (x *DecryptRequest) String() string
type DecryptResponse ¶
type DecryptResponse struct { // Plaintext is the decrypted message. Plaintext []byte `protobuf:"bytes,1,opt,name=Plaintext,json=plaintext,proto3" json:"Plaintext,omitempty"` // contains filtered or unexported fields }
func (*DecryptResponse) Descriptor
deprecated
func (*DecryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use DecryptResponse.ProtoReflect.Descriptor instead.
func (*DecryptResponse) GetPlaintext ¶
func (x *DecryptResponse) GetPlaintext() []byte
func (*DecryptResponse) ProtoMessage ¶
func (*DecryptResponse) ProtoMessage()
func (*DecryptResponse) ProtoReflect ¶
func (x *DecryptResponse) ProtoReflect() protoreflect.Message
func (*DecryptResponse) Reset ¶
func (x *DecryptResponse) Reset()
func (*DecryptResponse) String ¶
func (x *DecryptResponse) String() string
type DeleteEnclaveRequest ¶ added in v0.4.0
type DeleteEnclaveRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*DeleteEnclaveRequest) Descriptor
deprecated
added in
v0.4.0
func (*DeleteEnclaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEnclaveRequest.ProtoReflect.Descriptor instead.
func (*DeleteEnclaveRequest) GetName ¶ added in v0.4.0
func (x *DeleteEnclaveRequest) GetName() string
func (*DeleteEnclaveRequest) ProtoMessage ¶ added in v0.4.0
func (*DeleteEnclaveRequest) ProtoMessage()
func (*DeleteEnclaveRequest) ProtoReflect ¶ added in v0.4.0
func (x *DeleteEnclaveRequest) ProtoReflect() protoreflect.Message
func (*DeleteEnclaveRequest) Reset ¶ added in v0.4.0
func (x *DeleteEnclaveRequest) Reset()
func (*DeleteEnclaveRequest) String ¶ added in v0.4.0
func (x *DeleteEnclaveRequest) String() string
type DeleteIdentityRequest ¶ added in v0.4.0
type DeleteIdentityRequest struct { Identity string `protobuf:"bytes,1,opt,name=Identity,json=identity,proto3" json:"Identity,omitempty"` // contains filtered or unexported fields }
func (*DeleteIdentityRequest) Descriptor
deprecated
added in
v0.4.0
func (*DeleteIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIdentityRequest.ProtoReflect.Descriptor instead.
func (*DeleteIdentityRequest) GetIdentity ¶ added in v0.4.0
func (x *DeleteIdentityRequest) GetIdentity() string
func (*DeleteIdentityRequest) ProtoMessage ¶ added in v0.4.0
func (*DeleteIdentityRequest) ProtoMessage()
func (*DeleteIdentityRequest) ProtoReflect ¶ added in v0.4.0
func (x *DeleteIdentityRequest) ProtoReflect() protoreflect.Message
func (*DeleteIdentityRequest) Reset ¶ added in v0.4.0
func (x *DeleteIdentityRequest) Reset()
func (*DeleteIdentityRequest) String ¶ added in v0.4.0
func (x *DeleteIdentityRequest) String() string
type DeleteKeyRequest ¶ added in v0.3.0
type DeleteKeyRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // Version identifies the key version within the key ring to remove. // If zero, the latest key version is removed. Version uint32 `protobuf:"varint,2,opt,name=Version,json=version,proto3" json:"Version,omitempty"` // AllVersions indicates whether all key versions should be removed. AllVersions bool `protobuf:"varint,3,opt,name=AllVersions,json=all_versions,proto3" json:"AllVersions,omitempty"` // contains filtered or unexported fields }
func (*DeleteKeyRequest) Descriptor
deprecated
added in
v0.3.0
func (*DeleteKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteKeyRequest) GetAllVersions ¶ added in v0.3.0
func (x *DeleteKeyRequest) GetAllVersions() bool
func (*DeleteKeyRequest) GetName ¶ added in v0.4.0
func (x *DeleteKeyRequest) GetName() string
func (*DeleteKeyRequest) GetVersion ¶ added in v0.3.0
func (x *DeleteKeyRequest) GetVersion() uint32
func (*DeleteKeyRequest) ProtoMessage ¶ added in v0.3.0
func (*DeleteKeyRequest) ProtoMessage()
func (*DeleteKeyRequest) ProtoReflect ¶ added in v0.3.0
func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteKeyRequest) Reset ¶ added in v0.3.0
func (x *DeleteKeyRequest) Reset()
func (*DeleteKeyRequest) String ¶ added in v0.3.0
func (x *DeleteKeyRequest) String() string
type DeletePolicyRequest ¶ added in v0.4.0
type DeletePolicyRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*DeletePolicyRequest) Descriptor
deprecated
added in
v0.4.0
func (*DeletePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyRequest.ProtoReflect.Descriptor instead.
func (*DeletePolicyRequest) GetName ¶ added in v0.4.0
func (x *DeletePolicyRequest) GetName() string
func (*DeletePolicyRequest) ProtoMessage ¶ added in v0.4.0
func (*DeletePolicyRequest) ProtoMessage()
func (*DeletePolicyRequest) ProtoReflect ¶ added in v0.4.0
func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message
func (*DeletePolicyRequest) Reset ¶ added in v0.4.0
func (x *DeletePolicyRequest) Reset()
func (*DeletePolicyRequest) String ¶ added in v0.4.0
func (x *DeletePolicyRequest) String() string
type EditClusterRequest ¶ added in v0.3.0
type EditClusterRequest struct { Host string `protobuf:"bytes,1,opt,name=Host,json=host,proto3" json:"Host,omitempty"` // RemoveIDs is a list of KMS server IDs that are removed from // the cluster definition of the KMS server that receives the // request. RemoveIDs []uint32 `protobuf:"varint,2,rep,packed,name=RemoveIDs,json=remove,proto3" json:"RemoveIDs,omitempty"` // contains filtered or unexported fields }
func (*EditClusterRequest) Descriptor
deprecated
added in
v0.3.0
func (*EditClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditClusterRequest.ProtoReflect.Descriptor instead.
func (*EditClusterRequest) GetHost ¶ added in v0.4.0
func (x *EditClusterRequest) GetHost() string
func (*EditClusterRequest) GetRemoveIDs ¶ added in v0.3.0
func (x *EditClusterRequest) GetRemoveIDs() []uint32
func (*EditClusterRequest) ProtoMessage ¶ added in v0.3.0
func (*EditClusterRequest) ProtoMessage()
func (*EditClusterRequest) ProtoReflect ¶ added in v0.3.0
func (x *EditClusterRequest) ProtoReflect() protoreflect.Message
func (*EditClusterRequest) Reset ¶ added in v0.3.0
func (x *EditClusterRequest) Reset()
func (*EditClusterRequest) String ¶ added in v0.3.0
func (x *EditClusterRequest) String() string
type EnclaveStatusRequest ¶ added in v0.4.0
type EnclaveStatusRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*EnclaveStatusRequest) Descriptor
deprecated
added in
v0.4.0
func (*EnclaveStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnclaveStatusRequest.ProtoReflect.Descriptor instead.
func (*EnclaveStatusRequest) GetName ¶ added in v0.4.0
func (x *EnclaveStatusRequest) GetName() string
func (*EnclaveStatusRequest) ProtoMessage ¶ added in v0.4.0
func (*EnclaveStatusRequest) ProtoMessage()
func (*EnclaveStatusRequest) ProtoReflect ¶ added in v0.4.0
func (x *EnclaveStatusRequest) ProtoReflect() protoreflect.Message
func (*EnclaveStatusRequest) Reset ¶ added in v0.4.0
func (x *EnclaveStatusRequest) Reset()
func (*EnclaveStatusRequest) String ¶ added in v0.4.0
func (x *EnclaveStatusRequest) String() string
type EnclaveStatusResponse ¶ added in v0.4.0
type EnclaveStatusResponse struct { // Name is the name of the enclave. Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // CreatedAt is the point in time when this enclave got created. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=CreatedAt,json=created_at,proto3" json:"CreatedAt,omitempty"` // CreatedBy is the identity that created this enclave. CreatedBy string `protobuf:"bytes,3,opt,name=CreatedBy,json=created_by,proto3" json:"CreatedBy,omitempty"` // contains filtered or unexported fields }
func (*EnclaveStatusResponse) Descriptor
deprecated
added in
v0.4.0
func (*EnclaveStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnclaveStatusResponse.ProtoReflect.Descriptor instead.
func (*EnclaveStatusResponse) GetCreatedAt ¶ added in v0.4.0
func (x *EnclaveStatusResponse) GetCreatedAt() *timestamppb.Timestamp
func (*EnclaveStatusResponse) GetCreatedBy ¶ added in v0.4.0
func (x *EnclaveStatusResponse) GetCreatedBy() string
func (*EnclaveStatusResponse) GetName ¶ added in v0.4.0
func (x *EnclaveStatusResponse) GetName() string
func (*EnclaveStatusResponse) ProtoMessage ¶ added in v0.4.0
func (*EnclaveStatusResponse) ProtoMessage()
func (*EnclaveStatusResponse) ProtoReflect ¶ added in v0.4.0
func (x *EnclaveStatusResponse) ProtoReflect() protoreflect.Message
func (*EnclaveStatusResponse) Reset ¶ added in v0.4.0
func (x *EnclaveStatusResponse) Reset()
func (*EnclaveStatusResponse) String ¶ added in v0.4.0
func (x *EnclaveStatusResponse) String() string
type EncryptRequest ¶
type EncryptRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // Version identifies the key version within the key ring used to encrypt // the plaintext. If zero, the latest key version is used. Version uint32 `protobuf:"varint,2,opt,name=Version,json=version,proto3" json:"Version,omitempty"` // Plaintext is the plain message that is encrypted. Plaintext []byte `protobuf:"bytes,3,opt,name=Plaintext,json=plaintext,proto3" json:"Plaintext,omitempty"` // AssociatedData is additional data that is not encrypted but crypto. bound // to the ciphertext. The same associated data must be provided when decrypting // the ciphertext. // // Associated data should describe the context of the plaintext data. For example, // the name of the file that gets encrypted. AssociatedData []byte `protobuf:"bytes,4,opt,name=AssociatedData,json=associated_data,proto3" json:"AssociatedData,omitempty"` // contains filtered or unexported fields }
func (*EncryptRequest) Descriptor
deprecated
func (*EncryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use EncryptRequest.ProtoReflect.Descriptor instead.
func (*EncryptRequest) GetAssociatedData ¶
func (x *EncryptRequest) GetAssociatedData() []byte
func (*EncryptRequest) GetName ¶ added in v0.4.0
func (x *EncryptRequest) GetName() string
func (*EncryptRequest) GetPlaintext ¶
func (x *EncryptRequest) GetPlaintext() []byte
func (*EncryptRequest) GetVersion ¶
func (x *EncryptRequest) GetVersion() uint32
func (*EncryptRequest) ProtoMessage ¶
func (*EncryptRequest) ProtoMessage()
func (*EncryptRequest) ProtoReflect ¶
func (x *EncryptRequest) ProtoReflect() protoreflect.Message
func (*EncryptRequest) Reset ¶
func (x *EncryptRequest) Reset()
func (*EncryptRequest) String ¶
func (x *EncryptRequest) String() string
type EncryptResponse ¶
type EncryptResponse struct { // Version identifies the particular key within a key ring used to encrypt // the message. Version uint32 `protobuf:"varint,1,opt,name=Version,json=version,proto3" json:"Version,omitempty"` // Ciphertext is the encrypted message. Ciphertext []byte `protobuf:"bytes,2,opt,name=Ciphertext,json=ciphertext,proto3" json:"Ciphertext,omitempty"` // contains filtered or unexported fields }
func (*EncryptResponse) Descriptor
deprecated
func (*EncryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use EncryptResponse.ProtoReflect.Descriptor instead.
func (*EncryptResponse) GetCiphertext ¶
func (x *EncryptResponse) GetCiphertext() []byte
func (*EncryptResponse) GetVersion ¶
func (x *EncryptResponse) GetVersion() uint32
func (*EncryptResponse) ProtoMessage ¶
func (*EncryptResponse) ProtoMessage()
func (*EncryptResponse) ProtoReflect ¶
func (x *EncryptResponse) ProtoReflect() protoreflect.Message
func (*EncryptResponse) Reset ¶
func (x *EncryptResponse) Reset()
func (*EncryptResponse) String ¶
func (x *EncryptResponse) String() string
type ErrResponse ¶
type ErrResponse struct { Message string `protobuf:"bytes,1,opt,name=Message,json=message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*ErrResponse) Descriptor
deprecated
func (*ErrResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrResponse.ProtoReflect.Descriptor instead.
func (*ErrResponse) GetMessage ¶
func (x *ErrResponse) GetMessage() string
func (*ErrResponse) ProtoMessage ¶
func (*ErrResponse) ProtoMessage()
func (*ErrResponse) ProtoReflect ¶
func (x *ErrResponse) ProtoReflect() protoreflect.Message
func (*ErrResponse) Reset ¶
func (x *ErrResponse) Reset()
func (*ErrResponse) String ¶
func (x *ErrResponse) String() string
type GenerateKeyRequest ¶
type GenerateKeyRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // Version identifies the key version within the key ring used to generate // the data encryption key. If zero, the latest key version is used. Version uint32 `protobuf:"varint,2,opt,name=Version,json=version,proto3" json:"Version,omitempty"` // AssociatedData is additional data that is not encrypted but crypto. bound // to the ciphertext of the data encryption key. The same associated data must // be provided when decrypting the ciphertext. // // Associated data should describe the context within the data encryption key // is used. For example, the name of the file that gets encrypted with the // data encryption key. AssociatedData []byte `protobuf:"bytes,3,opt,name=AssociatedData,json=associated_data,proto3" json:"AssociatedData,omitempty"` // Length is the length of the generated plaintext data encryption key in bytes. // At most 1024 (8192 bits). If zero, defaults to 32 (256 bits). Length uint32 `protobuf:"varint,4,opt,name=Length,json=length,proto3" json:"Length,omitempty"` // contains filtered or unexported fields }
func (*GenerateKeyRequest) Descriptor
deprecated
func (*GenerateKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateKeyRequest.ProtoReflect.Descriptor instead.
func (*GenerateKeyRequest) GetAssociatedData ¶
func (x *GenerateKeyRequest) GetAssociatedData() []byte
func (*GenerateKeyRequest) GetLength ¶
func (x *GenerateKeyRequest) GetLength() uint32
func (*GenerateKeyRequest) GetName ¶ added in v0.4.0
func (x *GenerateKeyRequest) GetName() string
func (*GenerateKeyRequest) GetVersion ¶
func (x *GenerateKeyRequest) GetVersion() uint32
func (*GenerateKeyRequest) ProtoMessage ¶
func (*GenerateKeyRequest) ProtoMessage()
func (*GenerateKeyRequest) ProtoReflect ¶
func (x *GenerateKeyRequest) ProtoReflect() protoreflect.Message
func (*GenerateKeyRequest) Reset ¶
func (x *GenerateKeyRequest) Reset()
func (*GenerateKeyRequest) String ¶
func (x *GenerateKeyRequest) String() string
type GenerateKeyResponse ¶
type GenerateKeyResponse struct { // Version identifies the particular key within a key ring used to generate // and encrypt this data encryption key. Version uint32 `protobuf:"varint,1,opt,name=Version,json=version,proto3" json:"Version,omitempty"` // Plaintext is the plain data encryption key. It may be used by clients to // perform crypto. operations. Plaintext []byte `protobuf:"bytes,2,opt,name=Plaintext,json=plaintext,proto3" json:"Plaintext,omitempty"` // Ciphertext is the encrypted data encryption key. Clients should store it // to obtain the plain data encryption key in the future again. Ciphertext []byte `protobuf:"bytes,3,opt,name=Ciphertext,json=ciphertext,proto3" json:"Ciphertext,omitempty"` // contains filtered or unexported fields }
func (*GenerateKeyResponse) Descriptor
deprecated
func (*GenerateKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateKeyResponse.ProtoReflect.Descriptor instead.
func (*GenerateKeyResponse) GetCiphertext ¶
func (x *GenerateKeyResponse) GetCiphertext() []byte
func (*GenerateKeyResponse) GetPlaintext ¶
func (x *GenerateKeyResponse) GetPlaintext() []byte
func (*GenerateKeyResponse) GetVersion ¶
func (x *GenerateKeyResponse) GetVersion() uint32
func (*GenerateKeyResponse) ProtoMessage ¶
func (*GenerateKeyResponse) ProtoMessage()
func (*GenerateKeyResponse) ProtoReflect ¶
func (x *GenerateKeyResponse) ProtoReflect() protoreflect.Message
func (*GenerateKeyResponse) Reset ¶
func (x *GenerateKeyResponse) Reset()
func (*GenerateKeyResponse) String ¶
func (x *GenerateKeyResponse) String() string
type IdentityRequest ¶ added in v0.4.0
type IdentityRequest struct { Identity string `protobuf:"bytes,1,opt,name=Identity,json=identity,proto3" json:"Identity,omitempty"` // contains filtered or unexported fields }
func (*IdentityRequest) Descriptor
deprecated
added in
v0.4.0
func (*IdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use IdentityRequest.ProtoReflect.Descriptor instead.
func (*IdentityRequest) GetIdentity ¶ added in v0.4.0
func (x *IdentityRequest) GetIdentity() string
func (*IdentityRequest) ProtoMessage ¶ added in v0.4.0
func (*IdentityRequest) ProtoMessage()
func (*IdentityRequest) ProtoReflect ¶ added in v0.4.0
func (x *IdentityRequest) ProtoReflect() protoreflect.Message
func (*IdentityRequest) Reset ¶ added in v0.4.0
func (x *IdentityRequest) Reset()
func (*IdentityRequest) String ¶ added in v0.4.0
func (x *IdentityRequest) String() string
type IdentityResponse ¶ added in v0.4.0
type IdentityResponse struct { Identity string `protobuf:"bytes,1,opt,name=Identity,json=identity,proto3" json:"Identity,omitempty"` Privilege uint32 `protobuf:"varint,2,opt,name=Privilege,json=privilege,proto3" json:"Privilege,omitempty"` Policy string `protobuf:"bytes,3,opt,name=Policy,json=policy,proto3" json:"Policy,omitempty"` // CreatedAt is the point in time when this identity got created. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=CreatedAt,json=created_at,proto3" json:"CreatedAt,omitempty"` // CreatedBy is the identity that created this identity. CreatedBy string `protobuf:"bytes,5,opt,name=CreatedBy,json=created_by,proto3" json:"CreatedBy,omitempty"` IsServiceAccount bool `protobuf:"varint,6,opt,name=IsServiceAccount,json=is_service_account,proto3" json:"IsServiceAccount,omitempty"` ServiceAccounts []string `protobuf:"bytes,7,rep,name=ServiceAccounts,json=service_accounts,proto3" json:"ServiceAccounts,omitempty"` // contains filtered or unexported fields }
func (*IdentityResponse) Descriptor
deprecated
added in
v0.4.0
func (*IdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use IdentityResponse.ProtoReflect.Descriptor instead.
func (*IdentityResponse) GetCreatedAt ¶ added in v0.4.0
func (x *IdentityResponse) GetCreatedAt() *timestamppb.Timestamp
func (*IdentityResponse) GetCreatedBy ¶ added in v0.4.0
func (x *IdentityResponse) GetCreatedBy() string
func (*IdentityResponse) GetIdentity ¶ added in v0.4.0
func (x *IdentityResponse) GetIdentity() string
func (*IdentityResponse) GetIsServiceAccount ¶ added in v0.4.0
func (x *IdentityResponse) GetIsServiceAccount() bool
func (*IdentityResponse) GetPolicy ¶ added in v0.4.0
func (x *IdentityResponse) GetPolicy() string
func (*IdentityResponse) GetPrivilege ¶ added in v0.4.0
func (x *IdentityResponse) GetPrivilege() uint32
func (*IdentityResponse) GetServiceAccounts ¶ added in v0.4.0
func (x *IdentityResponse) GetServiceAccounts() []string
func (*IdentityResponse) ProtoMessage ¶ added in v0.4.0
func (*IdentityResponse) ProtoMessage()
func (*IdentityResponse) ProtoReflect ¶ added in v0.4.0
func (x *IdentityResponse) ProtoReflect() protoreflect.Message
func (*IdentityResponse) Reset ¶ added in v0.4.0
func (x *IdentityResponse) Reset()
func (*IdentityResponse) String ¶ added in v0.4.0
func (x *IdentityResponse) String() string
type ImportKeyRequest ¶ added in v0.4.0
type ImportKeyRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // Type is the type of the created key. If not set, the KMS server picks // a key type. Type string `protobuf:"bytes,2,opt,name=Type,json=type,proto3" json:"Type,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=Key,json=key,proto3" json:"Key,omitempty"` // contains filtered or unexported fields }
func (*ImportKeyRequest) Descriptor
deprecated
added in
v0.4.0
func (*ImportKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportKeyRequest.ProtoReflect.Descriptor instead.
func (*ImportKeyRequest) GetKey ¶ added in v0.4.0
func (x *ImportKeyRequest) GetKey() []byte
func (*ImportKeyRequest) GetName ¶ added in v0.4.0
func (x *ImportKeyRequest) GetName() string
func (*ImportKeyRequest) GetType ¶ added in v0.4.0
func (x *ImportKeyRequest) GetType() string
func (*ImportKeyRequest) ProtoMessage ¶ added in v0.4.0
func (*ImportKeyRequest) ProtoMessage()
func (*ImportKeyRequest) ProtoReflect ¶ added in v0.4.0
func (x *ImportKeyRequest) ProtoReflect() protoreflect.Message
func (*ImportKeyRequest) Reset ¶ added in v0.4.0
func (x *ImportKeyRequest) Reset()
func (*ImportKeyRequest) String ¶ added in v0.4.0
func (x *ImportKeyRequest) String() string
type KeyStatusRequest ¶ added in v0.4.0
type KeyStatusRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // Version identifies the key version within the key ring. // If zero, refers to the latest, most recent, key version. Version uint32 `protobuf:"varint,2,opt,name=Version,json=version,proto3" json:"Version,omitempty"` // contains filtered or unexported fields }
func (*KeyStatusRequest) Descriptor
deprecated
added in
v0.4.0
func (*KeyStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyStatusRequest.ProtoReflect.Descriptor instead.
func (*KeyStatusRequest) GetName ¶ added in v0.4.0
func (x *KeyStatusRequest) GetName() string
func (*KeyStatusRequest) GetVersion ¶ added in v0.4.0
func (x *KeyStatusRequest) GetVersion() uint32
func (*KeyStatusRequest) ProtoMessage ¶ added in v0.4.0
func (*KeyStatusRequest) ProtoMessage()
func (*KeyStatusRequest) ProtoReflect ¶ added in v0.4.0
func (x *KeyStatusRequest) ProtoReflect() protoreflect.Message
func (*KeyStatusRequest) Reset ¶ added in v0.4.0
func (x *KeyStatusRequest) Reset()
func (*KeyStatusRequest) String ¶ added in v0.4.0
func (x *KeyStatusRequest) String() string
type KeyStatusResponse ¶ added in v0.4.0
type KeyStatusResponse struct { // Name is the name of the key. Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // Version is the this key's version within the key ring. Version uint32 `protobuf:"varint,2,opt,name=Version,json=version,proto3" json:"Version,omitempty"` // The is the key type. For example, "AES256". Type string `protobuf:"bytes,3,opt,name=Type,json=type,proto3" json:"Type,omitempty"` // CreatedAt is the point in time when this key version got created. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=CreatedAt,json=created_at,proto3" json:"CreatedAt,omitempty"` // CreatedBy is the identity that created the key version. CreatedBy string `protobuf:"bytes,5,opt,name=CreatedBy,json=created_by,proto3" json:"CreatedBy,omitempty"` // contains filtered or unexported fields }
func (*KeyStatusResponse) Descriptor
deprecated
added in
v0.4.0
func (*KeyStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyStatusResponse.ProtoReflect.Descriptor instead.
func (*KeyStatusResponse) GetCreatedAt ¶ added in v0.4.0
func (x *KeyStatusResponse) GetCreatedAt() *timestamppb.Timestamp
func (*KeyStatusResponse) GetCreatedBy ¶ added in v0.4.0
func (x *KeyStatusResponse) GetCreatedBy() string
func (*KeyStatusResponse) GetName ¶ added in v0.4.0
func (x *KeyStatusResponse) GetName() string
func (*KeyStatusResponse) GetType ¶ added in v0.4.0
func (x *KeyStatusResponse) GetType() string
func (*KeyStatusResponse) GetVersion ¶ added in v0.4.0
func (x *KeyStatusResponse) GetVersion() uint32
func (*KeyStatusResponse) ProtoMessage ¶ added in v0.4.0
func (*KeyStatusResponse) ProtoMessage()
func (*KeyStatusResponse) ProtoReflect ¶ added in v0.4.0
func (x *KeyStatusResponse) ProtoReflect() protoreflect.Message
func (*KeyStatusResponse) Reset ¶ added in v0.4.0
func (x *KeyStatusResponse) Reset()
func (*KeyStatusResponse) String ¶ added in v0.4.0
func (x *KeyStatusResponse) String() string
type ListEnclavesResponse ¶ added in v0.3.0
type ListEnclavesResponse struct { Enclaves []*EnclaveStatusResponse `protobuf:"bytes,1,rep,name=Enclaves,json=enclaves,proto3" json:"Enclaves,omitempty"` ContinueAt string `protobuf:"bytes,2,opt,name=ContinueAt,json=continue_at,proto3" json:"ContinueAt,omitempty"` // contains filtered or unexported fields }
func (*ListEnclavesResponse) Descriptor
deprecated
added in
v0.3.0
func (*ListEnclavesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEnclavesResponse.ProtoReflect.Descriptor instead.
func (*ListEnclavesResponse) GetContinueAt ¶ added in v0.3.0
func (x *ListEnclavesResponse) GetContinueAt() string
func (*ListEnclavesResponse) GetEnclaves ¶ added in v0.3.0
func (x *ListEnclavesResponse) GetEnclaves() []*EnclaveStatusResponse
func (*ListEnclavesResponse) ProtoMessage ¶ added in v0.3.0
func (*ListEnclavesResponse) ProtoMessage()
func (*ListEnclavesResponse) ProtoReflect ¶ added in v0.3.0
func (x *ListEnclavesResponse) ProtoReflect() protoreflect.Message
func (*ListEnclavesResponse) Reset ¶ added in v0.3.0
func (x *ListEnclavesResponse) Reset()
func (*ListEnclavesResponse) String ¶ added in v0.3.0
func (x *ListEnclavesResponse) String() string
type ListIdentitiesResponse ¶ added in v0.3.0
type ListIdentitiesResponse struct { Identities []*IdentityResponse `protobuf:"bytes,1,rep,name=Identities,json=identities,proto3" json:"Identities,omitempty"` ContinueAt string `protobuf:"bytes,2,opt,name=ContinueAt,json=continue_at,proto3" json:"ContinueAt,omitempty"` // contains filtered or unexported fields }
func (*ListIdentitiesResponse) Descriptor
deprecated
added in
v0.3.0
func (*ListIdentitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIdentitiesResponse.ProtoReflect.Descriptor instead.
func (*ListIdentitiesResponse) GetContinueAt ¶ added in v0.3.0
func (x *ListIdentitiesResponse) GetContinueAt() string
func (*ListIdentitiesResponse) GetIdentities ¶ added in v0.3.0
func (x *ListIdentitiesResponse) GetIdentities() []*IdentityResponse
func (*ListIdentitiesResponse) ProtoMessage ¶ added in v0.3.0
func (*ListIdentitiesResponse) ProtoMessage()
func (*ListIdentitiesResponse) ProtoReflect ¶ added in v0.3.0
func (x *ListIdentitiesResponse) ProtoReflect() protoreflect.Message
func (*ListIdentitiesResponse) Reset ¶ added in v0.3.0
func (x *ListIdentitiesResponse) Reset()
func (*ListIdentitiesResponse) String ¶ added in v0.3.0
func (x *ListIdentitiesResponse) String() string
type ListKeysResponse ¶ added in v0.3.0
type ListKeysResponse struct { Keys []*KeyStatusResponse `protobuf:"bytes,1,rep,name=Keys,json=keys,proto3" json:"Keys,omitempty"` ContinueAt string `protobuf:"bytes,2,opt,name=ContinueAt,json=continue_at,proto3" json:"ContinueAt,omitempty"` // contains filtered or unexported fields }
func (*ListKeysResponse) Descriptor
deprecated
added in
v0.3.0
func (*ListKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead.
func (*ListKeysResponse) GetContinueAt ¶ added in v0.3.0
func (x *ListKeysResponse) GetContinueAt() string
func (*ListKeysResponse) GetKeys ¶ added in v0.3.0
func (x *ListKeysResponse) GetKeys() []*KeyStatusResponse
func (*ListKeysResponse) ProtoMessage ¶ added in v0.3.0
func (*ListKeysResponse) ProtoMessage()
func (*ListKeysResponse) ProtoReflect ¶ added in v0.3.0
func (x *ListKeysResponse) ProtoReflect() protoreflect.Message
func (*ListKeysResponse) Reset ¶ added in v0.3.0
func (x *ListKeysResponse) Reset()
func (*ListKeysResponse) String ¶ added in v0.3.0
func (x *ListKeysResponse) String() string
type ListPoliciesResponse ¶ added in v0.3.0
type ListPoliciesResponse struct { Policies []*PolicyStatusResponse `protobuf:"bytes,1,rep,name=Policies,json=policies,proto3" json:"Policies,omitempty"` ContinueAt string `protobuf:"bytes,2,opt,name=ContinueAt,json=continue_at,proto3" json:"ContinueAt,omitempty"` // contains filtered or unexported fields }
func (*ListPoliciesResponse) Descriptor
deprecated
added in
v0.3.0
func (*ListPoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListPoliciesResponse) GetContinueAt ¶ added in v0.3.0
func (x *ListPoliciesResponse) GetContinueAt() string
func (*ListPoliciesResponse) GetPolicies ¶ added in v0.3.0
func (x *ListPoliciesResponse) GetPolicies() []*PolicyStatusResponse
func (*ListPoliciesResponse) ProtoMessage ¶ added in v0.3.0
func (*ListPoliciesResponse) ProtoMessage()
func (*ListPoliciesResponse) ProtoReflect ¶ added in v0.3.0
func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message
func (*ListPoliciesResponse) Reset ¶ added in v0.3.0
func (x *ListPoliciesResponse) Reset()
func (*ListPoliciesResponse) String ¶ added in v0.3.0
func (x *ListPoliciesResponse) String() string
type ListRequest ¶ added in v0.4.0
type ListRequest struct { // Prefix is an optional prefix to start the listing from. // For example, an application may want to list all keys // starting with "foo", like "foo-1" and "foobar". // // Only elements with a name that match this prefix are // returned by list operations. An empty prefix matches // any name. Prefix string `protobuf:"bytes,1,opt,name=Prefix,json=prefix,proto3" json:"Prefix,omitempty"` // ContinueAt specifies an element name from where to // continue a list operation. When listing a lot of // elements, not all may fit into a single ListResponse. // Applications can paginate through a long list of // elements by setting a ContinueAt value. // // ContinueAt must match an element's name exactly. // Using a ContinueAt value that does not start with // the Prefix will lead to an empty listing result. ContinueAt string `protobuf:"bytes,2,opt,name=ContinueAt,json=continue_at,proto3" json:"ContinueAt,omitempty"` // Limit limits the number of elements returned by // a list operation. If <= 0, no limit is specified // and the server limits listing results to a // reasonable max. size. Limit uint32 `protobuf:"varint,3,opt,name=Limit,json=limit,proto3" json:"Limit,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
added in
v0.4.0
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetContinueAt ¶ added in v0.4.0
func (x *ListRequest) GetContinueAt() string
func (*ListRequest) GetLimit ¶ added in v0.4.0
func (x *ListRequest) GetLimit() uint32
func (*ListRequest) GetPrefix ¶ added in v0.4.0
func (x *ListRequest) GetPrefix() string
func (*ListRequest) ProtoMessage ¶ added in v0.4.0
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶ added in v0.4.0
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶ added in v0.4.0
func (x *ListRequest) Reset()
func (*ListRequest) String ¶ added in v0.4.0
func (x *ListRequest) String() string
type LogRecord ¶ added in v0.5.0
type LogRecord struct { // The log level of the event. Level int32 `protobuf:"zigzag32,1,opt,name=Level,json=level,proto3" json:"Level,omitempty"` // The time at which the event was produced. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=Time,json=time,proto3" json:"Time,omitempty"` // The log message. Message string `protobuf:"bytes,3,opt,name=Message,json=message,proto3" json:"Message,omitempty"` // The stack trace at the time the event was recorded. // Its first frame is the location at which this event // was produced and subsequent frames represent function // calls higher up the call stack. // // If empty, no stack trace has been captured. Trace []*LogRecord_StackFrame `protobuf:"bytes,4,rep,name=Trace,json=trace,proto3" json:"Trace,omitempty"` // HTTP request information Req *LogRecord_Request `protobuf:"bytes,5,opt,name=Req,json=request,proto3" json:"Req,omitempty"` // contains filtered or unexported fields }
func (*LogRecord) Descriptor
deprecated
added in
v0.5.0
func (*LogRecord) GetMessage ¶ added in v0.5.0
func (*LogRecord) GetReq ¶ added in v0.5.0
func (x *LogRecord) GetReq() *LogRecord_Request
func (*LogRecord) GetTime ¶ added in v0.5.0
func (x *LogRecord) GetTime() *timestamppb.Timestamp
func (*LogRecord) GetTrace ¶ added in v0.5.0
func (x *LogRecord) GetTrace() []*LogRecord_StackFrame
func (*LogRecord) ProtoMessage ¶ added in v0.5.0
func (*LogRecord) ProtoMessage()
func (*LogRecord) ProtoReflect ¶ added in v0.5.0
func (x *LogRecord) ProtoReflect() protoreflect.Message
type LogRecord_Request ¶ added in v0.5.0
type LogRecord_Request struct { // HTTP method of the request that caused this event. Method string `protobuf:"bytes,1,opt,name=Method,json=method,proto3" json:"Method,omitempty"` // URL path of the request that caused this event. Path string `protobuf:"bytes,2,opt,name=Path,json=path,proto3" json:"Path,omitempty"` // Identity of the request that caused this event. Identity string `protobuf:"bytes,3,opt,name=Identity,json=identity,proto3" json:"Identity,omitempty"` // IP address of the client sending the request that // caused this event. IP string `protobuf:"bytes,4,opt,name=IP,json=ip,proto3" json:"IP,omitempty"` // contains filtered or unexported fields }
func (*LogRecord_Request) Descriptor
deprecated
added in
v0.5.0
func (*LogRecord_Request) Descriptor() ([]byte, []int)
Deprecated: Use LogRecord_Request.ProtoReflect.Descriptor instead.
func (*LogRecord_Request) GetIP ¶ added in v0.5.0
func (x *LogRecord_Request) GetIP() string
func (*LogRecord_Request) GetIdentity ¶ added in v0.5.0
func (x *LogRecord_Request) GetIdentity() string
func (*LogRecord_Request) GetMethod ¶ added in v0.5.0
func (x *LogRecord_Request) GetMethod() string
func (*LogRecord_Request) GetPath ¶ added in v0.5.0
func (x *LogRecord_Request) GetPath() string
func (*LogRecord_Request) ProtoMessage ¶ added in v0.5.0
func (*LogRecord_Request) ProtoMessage()
func (*LogRecord_Request) ProtoReflect ¶ added in v0.5.0
func (x *LogRecord_Request) ProtoReflect() protoreflect.Message
func (*LogRecord_Request) Reset ¶ added in v0.5.0
func (x *LogRecord_Request) Reset()
func (*LogRecord_Request) String ¶ added in v0.5.0
func (x *LogRecord_Request) String() string
type LogRecord_StackFrame ¶ added in v0.5.0
type LogRecord_StackFrame struct { // Function is the package path-qualified function name containing the // source line. If non-empty, this string uniquely identifies a single // function in the program. This may be the empty string if not known. Function string `protobuf:"bytes,1,opt,name=Function,json=function,proto3" json:"Function,omitempty"` File string `protobuf:"bytes,2,opt,name=File,json=file,proto3" json:"File,omitempty"` Line uint32 `protobuf:"varint,3,opt,name=Line,json=line,proto3" json:"Line,omitempty"` // contains filtered or unexported fields }
func (*LogRecord_StackFrame) Descriptor
deprecated
added in
v0.5.0
func (*LogRecord_StackFrame) Descriptor() ([]byte, []int)
Deprecated: Use LogRecord_StackFrame.ProtoReflect.Descriptor instead.
func (*LogRecord_StackFrame) GetFile ¶ added in v0.5.0
func (x *LogRecord_StackFrame) GetFile() string
func (*LogRecord_StackFrame) GetFunction ¶ added in v0.5.0
func (x *LogRecord_StackFrame) GetFunction() string
func (*LogRecord_StackFrame) GetLine ¶ added in v0.5.0
func (x *LogRecord_StackFrame) GetLine() uint32
func (*LogRecord_StackFrame) ProtoMessage ¶ added in v0.5.0
func (*LogRecord_StackFrame) ProtoMessage()
func (*LogRecord_StackFrame) ProtoReflect ¶ added in v0.5.0
func (x *LogRecord_StackFrame) ProtoReflect() protoreflect.Message
func (*LogRecord_StackFrame) Reset ¶ added in v0.5.0
func (x *LogRecord_StackFrame) Reset()
func (*LogRecord_StackFrame) String ¶ added in v0.5.0
func (x *LogRecord_StackFrame) String() string
type LogRequest ¶ added in v0.5.0
type LogRequest struct { // The server only sends log records with an equal or greater // log level. The default level is slog.LevelInfo. Level int32 `protobuf:"zigzag32,1,opt,name=Level,json=level,proto3" json:"Level,omitempty"` // The server only sends log records with a log message that // contain this message. Message string `protobuf:"bytes,2,opt,name=Message,json=message,proto3" json:"Message,omitempty"` // Optionally, fetch log records since the given point in time. // If empty, the server sends only new log records. The server // ignores any timestamps newer then its current time. Since *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=Since,json=since,proto3" json:"Since,omitempty"` // The server only sends only log records with this request method. Method string `protobuf:"bytes,4,opt,name=Method,json=method,proto3" json:"Method,omitempty"` // The server sends only log records with this request path. Path string `protobuf:"bytes,5,opt,name=Path,json=path,proto3" json:"Path,omitempty"` // The servers sends only log records with this identity. Identity string `protobuf:"bytes,6,opt,name=Identity,json=identity,proto3" json:"Identity,omitempty"` // The server sends only log records with this IP address. IP string `protobuf:"bytes,7,opt,name=IP,json=ip,proto3" json:"IP,omitempty"` // The server sends only stack traces for records with an // equal or greater log level. TraceLevel int32 `protobuf:"zigzag32,8,opt,name=TraceLevel,json=trace_level,proto3" json:"TraceLevel,omitempty"` // contains filtered or unexported fields }
func (*LogRequest) Descriptor
deprecated
added in
v0.5.0
func (*LogRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogRequest.ProtoReflect.Descriptor instead.
func (*LogRequest) GetIP ¶ added in v0.5.0
func (x *LogRequest) GetIP() string
func (*LogRequest) GetIdentity ¶ added in v0.5.0
func (x *LogRequest) GetIdentity() string
func (*LogRequest) GetLevel ¶ added in v0.5.0
func (x *LogRequest) GetLevel() int32
func (*LogRequest) GetMessage ¶ added in v0.5.0
func (x *LogRequest) GetMessage() string
func (*LogRequest) GetMethod ¶ added in v0.5.0
func (x *LogRequest) GetMethod() string
func (*LogRequest) GetPath ¶ added in v0.5.0
func (x *LogRequest) GetPath() string
func (*LogRequest) GetSince ¶ added in v0.5.0
func (x *LogRequest) GetSince() *timestamppb.Timestamp
func (*LogRequest) GetTraceLevel ¶ added in v0.5.0
func (x *LogRequest) GetTraceLevel() int32
func (*LogRequest) ProtoMessage ¶ added in v0.5.0
func (*LogRequest) ProtoMessage()
func (*LogRequest) ProtoReflect ¶ added in v0.5.0
func (x *LogRequest) ProtoReflect() protoreflect.Message
func (*LogRequest) Reset ¶ added in v0.5.0
func (x *LogRequest) Reset()
func (*LogRequest) String ¶ added in v0.5.0
func (x *LogRequest) String() string
type Marshaler ¶
Marshaler is an interface implemented by types that know how to marshal themselves into their protobuf representation T.
type Pointer ¶
type Pointer[M any] interface { proto.Message *M // Anything implementing Pointer must also be a pointer type of M }
Pointer is a type constraint used to express that some type P is a pointer of some other type T such that:
var t T var p P = &t
This proposition is useful when unmarshaling data into types without additional dynamic dispatch or heap allocations.
A generic function that wants to use the default value of some type T but also wants to call pointer receiver methods on instances of T has to have two type parameters:
func foo[T any, P pointer[T]]() { var t T var p P = &t }
This functionality cannot be achieved with a single type parameter because:
func foo[T proto.Message]() { var t T // compiles but t is nil if T is a pointer type var t2 T = *new(T) // compiles but t2 is nil if T is a pointer type var t3 = T{} // compiler error - e.g. T may be a pointer type }
type PolicyRequest ¶ added in v0.4.0
type PolicyRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*PolicyRequest) Descriptor
deprecated
added in
v0.4.0
func (*PolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use PolicyRequest.ProtoReflect.Descriptor instead.
func (*PolicyRequest) GetName ¶ added in v0.4.0
func (x *PolicyRequest) GetName() string
func (*PolicyRequest) ProtoMessage ¶ added in v0.4.0
func (*PolicyRequest) ProtoMessage()
func (*PolicyRequest) ProtoReflect ¶ added in v0.4.0
func (x *PolicyRequest) ProtoReflect() protoreflect.Message
func (*PolicyRequest) Reset ¶ added in v0.4.0
func (x *PolicyRequest) Reset()
func (*PolicyRequest) String ¶ added in v0.4.0
func (x *PolicyRequest) String() string
type PolicyResponse ¶ added in v0.3.0
type PolicyResponse struct { // Name is the name of the policy. Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // Allow contains a set of API path patterns and corresponding policy rules. // Requests that match at least one path, but not any deny pattern, and // pass the corresponding policy rule are accepted by the server. Allow map[string]*RuleSet `` /* 162-byte string literal not displayed */ // Deny contains a set of API path patterns and corresponding policy rules. // Requests that match at least one path and pass the corresponding policy // rule are rejected by the server. Deny map[string]*RuleSet `` /* 159-byte string literal not displayed */ // CreatedAt is the point in time when this policy got created. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=CreatedAt,json=created_at,proto3" json:"CreatedAt,omitempty"` // CreatedBy is the identity that created the policy. CreatedBy string `protobuf:"bytes,5,opt,name=CreatedBy,json=created_by,proto3" json:"CreatedBy,omitempty"` // contains filtered or unexported fields }
func (*PolicyResponse) Descriptor
deprecated
added in
v0.3.0
func (*PolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use PolicyResponse.ProtoReflect.Descriptor instead.
func (*PolicyResponse) GetAllow ¶ added in v0.3.0
func (x *PolicyResponse) GetAllow() map[string]*RuleSet
func (*PolicyResponse) GetCreatedAt ¶ added in v0.3.0
func (x *PolicyResponse) GetCreatedAt() *timestamppb.Timestamp
func (*PolicyResponse) GetCreatedBy ¶ added in v0.3.0
func (x *PolicyResponse) GetCreatedBy() string
func (*PolicyResponse) GetDeny ¶ added in v0.3.0
func (x *PolicyResponse) GetDeny() map[string]*RuleSet
func (*PolicyResponse) GetName ¶ added in v0.3.0
func (x *PolicyResponse) GetName() string
func (*PolicyResponse) ProtoMessage ¶ added in v0.3.0
func (*PolicyResponse) ProtoMessage()
func (*PolicyResponse) ProtoReflect ¶ added in v0.3.0
func (x *PolicyResponse) ProtoReflect() protoreflect.Message
func (*PolicyResponse) Reset ¶ added in v0.3.0
func (x *PolicyResponse) Reset()
func (*PolicyResponse) String ¶ added in v0.3.0
func (x *PolicyResponse) String() string
type PolicyStatusResponse ¶ added in v0.4.0
type PolicyStatusResponse struct { // Name is the name of the policy. Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` // CreatedAt is the point in time when this policy got created. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=CreatedAt,json=created_at,proto3" json:"CreatedAt,omitempty"` // CreatedBy is the identity that created the policy. CreatedBy string `protobuf:"bytes,5,opt,name=CreatedBy,json=created_by,proto3" json:"CreatedBy,omitempty"` // contains filtered or unexported fields }
func (*PolicyStatusResponse) Descriptor
deprecated
added in
v0.4.0
func (*PolicyStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use PolicyStatusResponse.ProtoReflect.Descriptor instead.
func (*PolicyStatusResponse) GetCreatedAt ¶ added in v0.4.0
func (x *PolicyStatusResponse) GetCreatedAt() *timestamppb.Timestamp
func (*PolicyStatusResponse) GetCreatedBy ¶ added in v0.4.0
func (x *PolicyStatusResponse) GetCreatedBy() string
func (*PolicyStatusResponse) GetName ¶ added in v0.4.0
func (x *PolicyStatusResponse) GetName() string
func (*PolicyStatusResponse) ProtoMessage ¶ added in v0.4.0
func (*PolicyStatusResponse) ProtoMessage()
func (*PolicyStatusResponse) ProtoReflect ¶ added in v0.4.0
func (x *PolicyStatusResponse) ProtoReflect() protoreflect.Message
func (*PolicyStatusResponse) Reset ¶ added in v0.4.0
func (x *PolicyStatusResponse) Reset()
func (*PolicyStatusResponse) String ¶ added in v0.4.0
func (x *PolicyStatusResponse) String() string
type ProfileStatusResponse ¶ added in v0.5.0
type ProfileStatusResponse struct { // Started is the point in time when profiling was enabled. Started *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=Started,json=started,proto3" json:"Started,omitempty"` // CPU indicates whether the server is capturing a CPU profile. CPU bool `protobuf:"varint,2,opt,name=CPU,json=cpu,proto3" json:"CPU,omitempty"` // Heap indicates whether the server is capturing a heap memory profile. Heap bool `protobuf:"varint,3,opt,name=Heap,json=heap,proto3" json:"Heap,omitempty"` // Goroutine indicates whether the server is capturing a runtime go // routine profile. Goroutine bool `protobuf:"varint,4,opt,name=Goroutine,json=goroutine,proto3" json:"Goroutine,omitempty"` // Goroutine indicates whether the server is capturing a OS thread // profile. Thread bool `protobuf:"varint,5,opt,name=Thread,json=thread,proto3" json:"Thread,omitempty"` // BlockRate is the fraction of runtime blocking events, like a // go routine getting blocked, collected by the server's block // profile. On average, the server samples one blocking event per // BlockRate nanoseconds spent blocked. // // If 0, block profiling is disabled. BlockRate uint32 `protobuf:"varint,6,opt,name=BlockRate,json=block_rate,proto3" json:"BlockRate,omitempty"` // MutexFraction is the fraction of mutex contention events, // like waiting to accquire a lock, collected by the server's // mutex profile. On average, the server collects 1/MutexFraction // events in its mutex profile. // // If 0, mutex profiling is disabled. MutexFraction uint32 `protobuf:"varint,7,opt,name=MutexFraction,json=mutex_frac,proto3" json:"MutexFraction,omitempty"` // contains filtered or unexported fields }
func (*ProfileStatusResponse) Descriptor
deprecated
added in
v0.5.0
func (*ProfileStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProfileStatusResponse.ProtoReflect.Descriptor instead.
func (*ProfileStatusResponse) GetBlockRate ¶ added in v0.5.0
func (x *ProfileStatusResponse) GetBlockRate() uint32
func (*ProfileStatusResponse) GetCPU ¶ added in v0.5.0
func (x *ProfileStatusResponse) GetCPU() bool
func (*ProfileStatusResponse) GetGoroutine ¶ added in v0.5.0
func (x *ProfileStatusResponse) GetGoroutine() bool
func (*ProfileStatusResponse) GetHeap ¶ added in v0.5.0
func (x *ProfileStatusResponse) GetHeap() bool
func (*ProfileStatusResponse) GetMutexFraction ¶ added in v0.5.0
func (x *ProfileStatusResponse) GetMutexFraction() uint32
func (*ProfileStatusResponse) GetStarted ¶ added in v0.5.0
func (x *ProfileStatusResponse) GetStarted() *timestamppb.Timestamp
func (*ProfileStatusResponse) GetThread ¶ added in v0.5.0
func (x *ProfileStatusResponse) GetThread() bool
func (*ProfileStatusResponse) ProtoMessage ¶ added in v0.5.0
func (*ProfileStatusResponse) ProtoMessage()
func (*ProfileStatusResponse) ProtoReflect ¶ added in v0.5.0
func (x *ProfileStatusResponse) ProtoReflect() protoreflect.Message
func (*ProfileStatusResponse) Reset ¶ added in v0.5.0
func (x *ProfileStatusResponse) Reset()
func (*ProfileStatusResponse) String ¶ added in v0.5.0
func (x *ProfileStatusResponse) String() string
type RemoveClusterNodeRequest ¶ added in v0.4.0
type RemoveClusterNodeRequest struct { Host string `protobuf:"bytes,1,opt,name=Host,json=host,proto3" json:"Host,omitempty"` // contains filtered or unexported fields }
func (*RemoveClusterNodeRequest) Descriptor
deprecated
added in
v0.4.0
func (*RemoveClusterNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveClusterNodeRequest.ProtoReflect.Descriptor instead.
func (*RemoveClusterNodeRequest) GetHost ¶ added in v0.4.0
func (x *RemoveClusterNodeRequest) GetHost() string
func (*RemoveClusterNodeRequest) ProtoMessage ¶ added in v0.4.0
func (*RemoveClusterNodeRequest) ProtoMessage()
func (*RemoveClusterNodeRequest) ProtoReflect ¶ added in v0.4.0
func (x *RemoveClusterNodeRequest) ProtoReflect() protoreflect.Message
func (*RemoveClusterNodeRequest) Reset ¶ added in v0.4.0
func (x *RemoveClusterNodeRequest) Reset()
func (*RemoveClusterNodeRequest) String ¶ added in v0.4.0
func (x *RemoveClusterNodeRequest) String() string
type Rule ¶ added in v0.4.0
type Rule struct {
// contains filtered or unexported fields
}
func (*Rule) Descriptor
deprecated
added in
v0.4.0
func (*Rule) ProtoMessage ¶ added in v0.4.0
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶ added in v0.4.0
func (x *Rule) ProtoReflect() protoreflect.Message
type RuleSet ¶ added in v0.4.0
type RuleSet struct { Rules map[string]*Rule `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RuleSet) Descriptor
deprecated
added in
v0.4.0
func (*RuleSet) ProtoMessage ¶ added in v0.4.0
func (*RuleSet) ProtoMessage()
func (*RuleSet) ProtoReflect ¶ added in v0.4.0
func (x *RuleSet) ProtoReflect() protoreflect.Message
type ServerStatusResponse ¶ added in v0.2.0
type ServerStatusResponse struct { // Version is the version of the KMS server. It's the timestamp of // the latest commit formatted as 'yyyy-mm-ddThh-mm-ssZ'. For example, // "2023-12-01T16-06-52Z" Version string `protobuf:"bytes,1,opt,name=Version,json=version,proto3" json:"Version,omitempty"` // APIVersion is the API version supported by the KMS server. // For example, "v1". APIVersion string `protobuf:"bytes,2,opt,name=APIVersion,json=api_version,proto3" json:"APIVersion,omitempty"` // Host is the KMS server host or host:port. Host string `protobuf:"bytes,3,opt,name=Host,json=host,proto3" json:"Host,omitempty"` // UpTime is the amount of time the KMS server is up and running. UpTime *durationpb.Duration `protobuf:"bytes,4,opt,name=UpTime,json=uptime,proto3" json:"UpTime,omitempty"` // Role is the current role the KMS server node has within the cluster. // Either, "Leader", "Follower" or "Candidate". Role string `protobuf:"bytes,5,opt,name=Role,json=role,proto3" json:"Role,omitempty"` // Commit is the number of state changes applied to this KMS server. Commit uint64 `protobuf:"varint,6,opt,name=Commit,json=commit,proto3" json:"Commit,omitempty"` // Nodes is a list of KMS server nodes within the KMS cluster as a map // of node IDs to KMS server addresses of the form 'host' or 'host:port'. Nodes map[uint32]string `` /* 163-byte string literal not displayed */ // ID is the node ID of this KMS server. It only changes if the node // joins a cluster. ID uint32 `protobuf:"varint,8,opt,name=ID,json=node_id,proto3" json:"ID,omitempty"` // LeaderID is the ID of the current cluster leader or negative if // the cluster has no leader. LeaderID int64 `protobuf:"zigzag64,9,opt,name=LeaderID,json=leader_id,proto3" json:"LeaderID,omitempty"` // LastHeartbeat is the duration since the KMS server has sent or received // a heartbeat. As long as there is a cluster leader, it should be lower // than the ElectionTimeout. LastHeartbeat *durationpb.Duration `protobuf:"bytes,10,opt,name=LastHeartbeat,json=last_heartbeat,proto3" json:"LastHeartbeat,omitempty"` // HeartbeatInterval defines the frequency in which this KMS server, as cluster // leader, sends heartbeats to its follower nodes. All nodes within a cluster // should use the same heartbeat interval. HeartbeatInterval *durationpb.Duration `protobuf:"bytes,11,opt,name=HeartbeatInterval,json=heartbeat_interval,proto3" json:"HeartbeatInterval,omitempty"` // ElectionTimeout defines how long a KMS server node waits for heartbeats before // it considers the cluster leaders as down and starts a leader election to become // the cluster leader itself. // Each cluster node should have a slightly different election timeout to avoid // spliting votes. Typically, base election timeout + random jitter. The average // or base election timeout of all cluster nodes should be balanced with the // HeartbeatInterval to prevent nodes from starting elections even though a leader // is present. A reasonable default may be ElectionTimeout = 3 * HeartbeatInterval. ElectionTimeout *durationpb.Duration `protobuf:"bytes,12,opt,name=ElectionTimeout,json=election_timeout,proto3" json:"ElectionTimeout,omitempty"` // OS identifies the operating system the KMS server is running on. // For example, "linux" or "darwin". OS string `protobuf:"bytes,13,opt,name=OS,json=sys_os,proto3" json:"OS,omitempty"` // Arch is the CPU architecture of the KMS server. For example, "amd64". Arch string `protobuf:"bytes,14,opt,name=Arch,json=sys_cpu_arch,proto3" json:"Arch,omitempty"` // CPUs is the number of logical CPUs that can execite the KMS server process. // However, the KMS server may not use all of these CPUs. It might be limited // to fewer CPUs. CPUs uint32 `protobuf:"varint,15,opt,name=CPUs,json=sys_cpu_num,proto3" json:"CPUs,omitempty"` // UsableCPUs is the number of CPUs actually used by the KMS server process. // Unless the KMS server has been limited to fewer CPUs, equal to CPUs field. UsableCPUs uint32 `protobuf:"varint,16,opt,name=UsableCPUs,json=sys_cpu_used,proto3" json:"UsableCPUs,omitempty"` // HeapMemInUse is the amount of heap memory currently occupied by the KMS server. // The total amount of memory used by the KMS server process is HeapMemInUse + // StackMemInUse. HeapMemInUse uint64 `protobuf:"varint,17,opt,name=HeapMemInUse,json=sys_mem_heap_used,proto3" json:"HeapMemInUse,omitempty"` // StackMemInUse is the amount of stack memory currently occupied by the KMS server. // The total amount of memory used by the KMS server process is HeapMemInUse + // StackMemInUse. StackMemInUse uint64 `protobuf:"varint,18,opt,name=StackMemInUse,json=sys_mem_stack_used,proto3" json:"StackMemInUse,omitempty"` // contains filtered or unexported fields }
func (*ServerStatusResponse) Descriptor
deprecated
added in
v0.2.0
func (*ServerStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerStatusResponse.ProtoReflect.Descriptor instead.
func (*ServerStatusResponse) GetAPIVersion ¶ added in v0.2.0
func (x *ServerStatusResponse) GetAPIVersion() string
func (*ServerStatusResponse) GetArch ¶ added in v0.2.0
func (x *ServerStatusResponse) GetArch() string
func (*ServerStatusResponse) GetCPUs ¶ added in v0.2.0
func (x *ServerStatusResponse) GetCPUs() uint32
func (*ServerStatusResponse) GetCommit ¶ added in v0.2.0
func (x *ServerStatusResponse) GetCommit() uint64
func (*ServerStatusResponse) GetElectionTimeout ¶ added in v0.2.0
func (x *ServerStatusResponse) GetElectionTimeout() *durationpb.Duration
func (*ServerStatusResponse) GetHeapMemInUse ¶ added in v0.2.0
func (x *ServerStatusResponse) GetHeapMemInUse() uint64
func (*ServerStatusResponse) GetHeartbeatInterval ¶ added in v0.2.0
func (x *ServerStatusResponse) GetHeartbeatInterval() *durationpb.Duration
func (*ServerStatusResponse) GetHost ¶ added in v0.4.0
func (x *ServerStatusResponse) GetHost() string
func (*ServerStatusResponse) GetID ¶ added in v0.2.0
func (x *ServerStatusResponse) GetID() uint32
func (*ServerStatusResponse) GetLastHeartbeat ¶ added in v0.2.0
func (x *ServerStatusResponse) GetLastHeartbeat() *durationpb.Duration
func (*ServerStatusResponse) GetLeaderID ¶ added in v0.2.0
func (x *ServerStatusResponse) GetLeaderID() int64
func (*ServerStatusResponse) GetNodes ¶ added in v0.2.0
func (x *ServerStatusResponse) GetNodes() map[uint32]string
func (*ServerStatusResponse) GetOS ¶ added in v0.2.0
func (x *ServerStatusResponse) GetOS() string
func (*ServerStatusResponse) GetRole ¶ added in v0.2.0
func (x *ServerStatusResponse) GetRole() string
func (*ServerStatusResponse) GetStackMemInUse ¶ added in v0.2.0
func (x *ServerStatusResponse) GetStackMemInUse() uint64
func (*ServerStatusResponse) GetUpTime ¶ added in v0.2.0
func (x *ServerStatusResponse) GetUpTime() *durationpb.Duration
func (*ServerStatusResponse) GetUsableCPUs ¶ added in v0.2.0
func (x *ServerStatusResponse) GetUsableCPUs() uint32
func (*ServerStatusResponse) GetVersion ¶ added in v0.2.0
func (x *ServerStatusResponse) GetVersion() string
func (*ServerStatusResponse) ProtoMessage ¶ added in v0.2.0
func (*ServerStatusResponse) ProtoMessage()
func (*ServerStatusResponse) ProtoReflect ¶ added in v0.2.0
func (x *ServerStatusResponse) ProtoReflect() protoreflect.Message
func (*ServerStatusResponse) Reset ¶ added in v0.2.0
func (x *ServerStatusResponse) Reset()
func (*ServerStatusResponse) String ¶ added in v0.2.0
func (x *ServerStatusResponse) String() string
type Unmarshaler ¶
Unmarshaler is an interface implemented by types that know how to unmarshal themselves from their protobuf representation T.
type VersionResponse ¶ added in v0.2.0
type VersionResponse struct { // Version is the version of the KMS server. It's the timestamp of // the latest commit formatted as 'yyyy-mm-ddThh-mm-ssZ'. For example, // "2023-12-01T16-06-52Z" Version string `protobuf:"bytes,1,opt,name=Version,json=version,proto3" json:"Version,omitempty"` // Commit is the commit ID of the most latest code change of the KMS // server. Commit string `protobuf:"bytes,2,opt,name=Commit,json=commit,proto3" json:"Commit,omitempty"` // APIVersion is the API version supported by the KMS server. // For example, "v1". APIVersion string `protobuf:"bytes,3,opt,name=APIVersion,json=api_version,proto3" json:"APIVersion,omitempty"` // Host is the KMS server host or host:port. Host string `protobuf:"bytes,4,opt,name=Host,json=host,proto3" json:"Host,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
added in
v0.2.0
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetAPIVersion ¶ added in v0.2.0
func (x *VersionResponse) GetAPIVersion() string
func (*VersionResponse) GetCommit ¶ added in v0.2.0
func (x *VersionResponse) GetCommit() string
func (*VersionResponse) GetHost ¶ added in v0.4.0
func (x *VersionResponse) GetHost() string
func (*VersionResponse) GetVersion ¶ added in v0.2.0
func (x *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶ added in v0.2.0
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶ added in v0.2.0
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶ added in v0.2.0
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶ added in v0.2.0
func (x *VersionResponse) String() string