Documentation
¶
Overview ¶
Package proto is a generated GoMock package.
Index ¶
- Constants
- Variables
- func RegisterAgentGatewayServiceServer(s grpc.ServiceRegistrar, srv AgentGatewayServiceServer)
- func RegisterAgentServiceServer(s grpc.ServiceRegistrar, srv AgentServiceServer)
- func RegisterCoreServiceServer(s grpc.ServiceRegistrar, srv CoreServiceServer)
- func RegisterDataServiceServer(s grpc.ServiceRegistrar, srv DataServiceServer)
- func RegisterKVServiceServer(s grpc.ServiceRegistrar, srv KVServiceServer)
- func RegisterNATSAccountServiceServer(s grpc.ServiceRegistrar, srv NATSAccountServiceServer)
- type AccountLimits
- func (*AccountLimits) Descriptor() ([]byte, []int)deprecated
- func (x *AccountLimits) GetAllowWildcardExports() bool
- func (x *AccountLimits) GetMaxConnections() int64
- func (x *AccountLimits) GetMaxDataBytes() int64
- func (x *AccountLimits) GetMaxExports() int64
- func (x *AccountLimits) GetMaxImports() int64
- func (x *AccountLimits) GetMaxPayloadBytes() int64
- func (x *AccountLimits) GetMaxSubscriptions() int64
- func (*AccountLimits) ProtoMessage()
- func (x *AccountLimits) ProtoReflect() protoreflect.Message
- func (x *AccountLimits) Reset()
- func (x *AccountLimits) String() string
- type AgentCheckConfig
- func (*AgentCheckConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AgentCheckConfig) GetCheckId() string
- func (x *AgentCheckConfig) GetCheckType() string
- func (x *AgentCheckConfig) GetEnabled() bool
- func (x *AgentCheckConfig) GetIntervalSec() int32
- func (x *AgentCheckConfig) GetMethod() string
- func (x *AgentCheckConfig) GetName() string
- func (x *AgentCheckConfig) GetPath() string
- func (x *AgentCheckConfig) GetPort() int32
- func (x *AgentCheckConfig) GetSettings() map[string]string
- func (x *AgentCheckConfig) GetTarget() string
- func (x *AgentCheckConfig) GetTimeoutSec() int32
- func (*AgentCheckConfig) ProtoMessage()
- func (x *AgentCheckConfig) ProtoReflect() protoreflect.Message
- func (x *AgentCheckConfig) Reset()
- func (x *AgentCheckConfig) String() string
- type AgentConfigRequest
- func (*AgentConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentConfigRequest) GetAgentId() string
- func (x *AgentConfigRequest) GetConfigVersion() string
- func (*AgentConfigRequest) ProtoMessage()
- func (x *AgentConfigRequest) ProtoReflect() protoreflect.Message
- func (x *AgentConfigRequest) Reset()
- func (x *AgentConfigRequest) String() string
- type AgentConfigResponse
- func (*AgentConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AgentConfigResponse) GetChecks() []*AgentCheckConfig
- func (x *AgentConfigResponse) GetConfigJson() []byte
- func (x *AgentConfigResponse) GetConfigPollIntervalSec() int32
- func (x *AgentConfigResponse) GetConfigTimestamp() int64
- func (x *AgentConfigResponse) GetConfigVersion() string
- func (x *AgentConfigResponse) GetHeartbeatIntervalSec() int32
- func (x *AgentConfigResponse) GetNotModified() bool
- func (x *AgentConfigResponse) GetPluginConfig() *PluginConfig
- func (x *AgentConfigResponse) GetSnmpConfig() *SNMPConfig
- func (x *AgentConfigResponse) GetSysmonConfig() *SysmonConfig
- func (*AgentConfigResponse) ProtoMessage()
- func (x *AgentConfigResponse) ProtoReflect() protoreflect.Message
- func (x *AgentConfigResponse) Reset()
- func (x *AgentConfigResponse) String() string
- type AgentGatewayServiceClient
- type AgentGatewayServiceServer
- type AgentGatewayService_ControlStreamClient
- type AgentGatewayService_ControlStreamServer
- type AgentGatewayService_StreamStatusClient
- type AgentGatewayService_StreamStatusServer
- type AgentHelloRequest
- func (*AgentHelloRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentHelloRequest) GetAgentId() string
- func (x *AgentHelloRequest) GetArch() string
- func (x *AgentHelloRequest) GetCapabilities() []string
- func (x *AgentHelloRequest) GetConfigSource() string
- func (x *AgentHelloRequest) GetConfigVersion() string
- func (x *AgentHelloRequest) GetHostname() string
- func (x *AgentHelloRequest) GetLabels() map[string]string
- func (x *AgentHelloRequest) GetOs() string
- func (x *AgentHelloRequest) GetPartition() string
- func (x *AgentHelloRequest) GetVersion() string
- func (*AgentHelloRequest) ProtoMessage()
- func (x *AgentHelloRequest) ProtoReflect() protoreflect.Message
- func (x *AgentHelloRequest) Reset()
- func (x *AgentHelloRequest) String() string
- type AgentHelloResponse
- func (*AgentHelloResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AgentHelloResponse) GetAccepted() bool
- func (x *AgentHelloResponse) GetAgentId() string
- func (x *AgentHelloResponse) GetConfigOutdated() bool
- func (x *AgentHelloResponse) GetGatewayId() string
- func (x *AgentHelloResponse) GetHeartbeatIntervalSec() int32
- func (x *AgentHelloResponse) GetMessage() string
- func (x *AgentHelloResponse) GetServerTime() int64
- func (*AgentHelloResponse) ProtoMessage()
- func (x *AgentHelloResponse) ProtoReflect() protoreflect.Message
- func (x *AgentHelloResponse) Reset()
- func (x *AgentHelloResponse) String() string
- type AgentServiceClient
- type AgentServiceServer
- type AgentService_StreamResultsClient
- type AgentService_StreamResultsServer
- type BatchGetEntry
- func (*BatchGetEntry) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetEntry) GetFound() bool
- func (x *BatchGetEntry) GetKey() string
- func (x *BatchGetEntry) GetRevision() uint64
- func (x *BatchGetEntry) GetValue() []byte
- func (*BatchGetEntry) ProtoMessage()
- func (x *BatchGetEntry) ProtoReflect() protoreflect.Message
- func (x *BatchGetEntry) Reset()
- func (x *BatchGetEntry) String() string
- type BatchGetRequest
- type BatchGetResponse
- func (*BatchGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetResponse) GetResults() []*BatchGetEntry
- func (*BatchGetResponse) ProtoMessage()
- func (x *BatchGetResponse) ProtoReflect() protoreflect.Message
- func (x *BatchGetResponse) Reset()
- func (x *BatchGetResponse) String() string
- type BootstrapOperatorRequest
- func (*BootstrapOperatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BootstrapOperatorRequest) GetExistingOperatorSeed() string
- func (x *BootstrapOperatorRequest) GetGenerateSystemAccount() bool
- func (x *BootstrapOperatorRequest) GetOperatorName() string
- func (*BootstrapOperatorRequest) ProtoMessage()
- func (x *BootstrapOperatorRequest) ProtoReflect() protoreflect.Message
- func (x *BootstrapOperatorRequest) Reset()
- func (x *BootstrapOperatorRequest) String() string
- type BootstrapOperatorResponse
- func (*BootstrapOperatorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BootstrapOperatorResponse) GetOperatorJwt() string
- func (x *BootstrapOperatorResponse) GetOperatorPublicKey() string
- func (x *BootstrapOperatorResponse) GetOperatorSeed() string
- func (x *BootstrapOperatorResponse) GetSystemAccountJwt() string
- func (x *BootstrapOperatorResponse) GetSystemAccountPublicKey() string
- func (x *BootstrapOperatorResponse) GetSystemAccountSeed() string
- func (*BootstrapOperatorResponse) ProtoMessage()
- func (x *BootstrapOperatorResponse) ProtoReflect() protoreflect.Message
- func (x *BootstrapOperatorResponse) Reset()
- func (x *BootstrapOperatorResponse) String() string
- type CommandAck
- func (*CommandAck) Descriptor() ([]byte, []int)deprecated
- func (x *CommandAck) GetCommandId() string
- func (x *CommandAck) GetCommandType() string
- func (x *CommandAck) GetMessage() string
- func (x *CommandAck) GetTimestamp() int64
- func (*CommandAck) ProtoMessage()
- func (x *CommandAck) ProtoReflect() protoreflect.Message
- func (x *CommandAck) Reset()
- func (x *CommandAck) String() string
- type CommandProgress
- func (*CommandProgress) Descriptor() ([]byte, []int)deprecated
- func (x *CommandProgress) GetCommandId() string
- func (x *CommandProgress) GetCommandType() string
- func (x *CommandProgress) GetMessage() string
- func (x *CommandProgress) GetProgressPercent() int32
- func (x *CommandProgress) GetTimestamp() int64
- func (*CommandProgress) ProtoMessage()
- func (x *CommandProgress) ProtoReflect() protoreflect.Message
- func (x *CommandProgress) Reset()
- func (x *CommandProgress) String() string
- type CommandRequest
- func (*CommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommandRequest) GetCommandId() string
- func (x *CommandRequest) GetCommandType() string
- func (x *CommandRequest) GetCreatedAt() int64
- func (x *CommandRequest) GetPayloadJson() []byte
- func (x *CommandRequest) GetTtlSeconds() int64
- func (*CommandRequest) ProtoMessage()
- func (x *CommandRequest) ProtoReflect() protoreflect.Message
- func (x *CommandRequest) Reset()
- func (x *CommandRequest) String() string
- type CommandResult
- func (*CommandResult) Descriptor() ([]byte, []int)deprecated
- func (x *CommandResult) GetCommandId() string
- func (x *CommandResult) GetCommandType() string
- func (x *CommandResult) GetMessage() string
- func (x *CommandResult) GetPayloadJson() []byte
- func (x *CommandResult) GetSuccess() bool
- func (x *CommandResult) GetTimestamp() int64
- func (*CommandResult) ProtoMessage()
- func (x *CommandResult) ProtoReflect() protoreflect.Message
- func (x *CommandResult) Reset()
- func (x *CommandResult) String() string
- type ConfigAck
- type ControlStreamHello
- func (*ControlStreamHello) Descriptor() ([]byte, []int)deprecated
- func (x *ControlStreamHello) GetAgentId() string
- func (x *ControlStreamHello) GetCapabilities() []string
- func (x *ControlStreamHello) GetConfigVersion() string
- func (x *ControlStreamHello) GetPartition() string
- func (*ControlStreamHello) ProtoMessage()
- func (x *ControlStreamHello) ProtoReflect() protoreflect.Message
- func (x *ControlStreamHello) Reset()
- func (x *ControlStreamHello) String() string
- type ControlStreamRequest
- func (*ControlStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ControlStreamRequest) GetCommandAck() *CommandAck
- func (x *ControlStreamRequest) GetCommandProgress() *CommandProgress
- func (x *ControlStreamRequest) GetCommandResult() *CommandResult
- func (x *ControlStreamRequest) GetConfigAck() *ConfigAck
- func (x *ControlStreamRequest) GetHello() *ControlStreamHello
- func (x *ControlStreamRequest) GetPayload() isControlStreamRequest_Payload
- func (*ControlStreamRequest) ProtoMessage()
- func (x *ControlStreamRequest) ProtoReflect() protoreflect.Message
- func (x *ControlStreamRequest) Reset()
- func (x *ControlStreamRequest) String() string
- type ControlStreamRequest_CommandAck
- type ControlStreamRequest_CommandProgress
- type ControlStreamRequest_CommandResult
- type ControlStreamRequest_ConfigAck
- type ControlStreamRequest_Hello
- type ControlStreamResponse
- func (*ControlStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ControlStreamResponse) GetCommand() *CommandRequest
- func (x *ControlStreamResponse) GetConfig() *AgentConfigResponse
- func (x *ControlStreamResponse) GetPayload() isControlStreamResponse_Payload
- func (*ControlStreamResponse) ProtoMessage()
- func (x *ControlStreamResponse) ProtoReflect() protoreflect.Message
- func (x *ControlStreamResponse) Reset()
- func (x *ControlStreamResponse) String() string
- type ControlStreamResponse_Command
- type ControlStreamResponse_Config
- type CoreServiceClient
- type CoreServiceServer
- type CreateAccountRequest
- func (*CreateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountRequest) GetAccountName() string
- func (x *CreateAccountRequest) GetExports() []*StreamExport
- func (x *CreateAccountRequest) GetLimits() *AccountLimits
- func (x *CreateAccountRequest) GetSubjectMappings() []*SubjectMapping
- func (*CreateAccountRequest) ProtoMessage()
- func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountRequest) Reset()
- func (x *CreateAccountRequest) String() string
- type CreateAccountResponse
- func (*CreateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountResponse) GetAccountJwt() string
- func (x *CreateAccountResponse) GetAccountPublicKey() string
- func (x *CreateAccountResponse) GetAccountSeed() string
- func (*CreateAccountResponse) ProtoMessage()
- func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountResponse) Reset()
- func (x *CreateAccountResponse) String() string
- type DataServiceClient
- type DataServiceServer
- type DataService_DownloadObjectClient
- type DataService_DownloadObjectServer
- type DataService_UploadObjectClient
- type DataService_UploadObjectServer
- type DeleteObjectRequest
- func (*DeleteObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteObjectRequest) GetKey() string
- func (*DeleteObjectRequest) ProtoMessage()
- func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteObjectRequest) Reset()
- func (x *DeleteObjectRequest) String() string
- type DeleteObjectResponse
- func (*DeleteObjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteObjectResponse) GetDeleted() bool
- func (*DeleteObjectResponse) ProtoMessage()
- func (x *DeleteObjectResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteObjectResponse) Reset()
- func (x *DeleteObjectResponse) String() string
- type DeleteRequest
- type DeleteResponse
- type DeviceStatusRequest
- func (*DeviceStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceStatusRequest) GetAgentId() string
- func (*DeviceStatusRequest) ProtoMessage()
- func (x *DeviceStatusRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceStatusRequest) Reset()
- func (x *DeviceStatusRequest) String() string
- type DownloadObjectRequest
- func (*DownloadObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadObjectRequest) GetKey() string
- func (*DownloadObjectRequest) ProtoMessage()
- func (x *DownloadObjectRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadObjectRequest) Reset()
- func (x *DownloadObjectRequest) String() string
- type GatewayServiceStatus
- func (*GatewayServiceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayServiceStatus) GetAgentId() string
- func (x *GatewayServiceStatus) GetAvailable() bool
- func (x *GatewayServiceStatus) GetGatewayId() string
- func (x *GatewayServiceStatus) GetKvStoreId() string
- func (x *GatewayServiceStatus) GetMessage() []byte
- func (x *GatewayServiceStatus) GetPartition() string
- func (x *GatewayServiceStatus) GetResponseTime() int64
- func (x *GatewayServiceStatus) GetServiceName() string
- func (x *GatewayServiceStatus) GetServiceType() string
- func (x *GatewayServiceStatus) GetSource() string
- func (*GatewayServiceStatus) ProtoMessage()
- func (x *GatewayServiceStatus) ProtoReflect() protoreflect.Message
- func (x *GatewayServiceStatus) Reset()
- func (x *GatewayServiceStatus) String() string
- type GatewayStatusChunk
- func (*GatewayStatusChunk) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayStatusChunk) GetAgentId() string
- func (x *GatewayStatusChunk) GetChunkIndex() int32
- func (x *GatewayStatusChunk) GetConfigSource() string
- func (x *GatewayStatusChunk) GetGatewayId() string
- func (x *GatewayStatusChunk) GetIsFinal() bool
- func (x *GatewayStatusChunk) GetKvStoreId() string
- func (x *GatewayStatusChunk) GetPartition() string
- func (x *GatewayStatusChunk) GetServices() []*GatewayServiceStatus
- func (x *GatewayStatusChunk) GetSourceIp() string
- func (x *GatewayStatusChunk) GetTimestamp() int64
- func (x *GatewayStatusChunk) GetTotalChunks() int32
- func (*GatewayStatusChunk) ProtoMessage()
- func (x *GatewayStatusChunk) ProtoReflect() protoreflect.Message
- func (x *GatewayStatusChunk) Reset()
- func (x *GatewayStatusChunk) String() string
- type GatewayStatusRequest
- func (*GatewayStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayStatusRequest) GetAgentId() string
- func (x *GatewayStatusRequest) GetConfigSource() string
- func (x *GatewayStatusRequest) GetGatewayId() string
- func (x *GatewayStatusRequest) GetKvStoreId() string
- func (x *GatewayStatusRequest) GetPartition() string
- func (x *GatewayStatusRequest) GetServices() []*GatewayServiceStatus
- func (x *GatewayStatusRequest) GetSourceIp() string
- func (x *GatewayStatusRequest) GetTimestamp() int64
- func (*GatewayStatusRequest) ProtoMessage()
- func (x *GatewayStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GatewayStatusRequest) Reset()
- func (x *GatewayStatusRequest) String() string
- type GatewayStatusResponse
- func (*GatewayStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayStatusResponse) GetReceived() bool
- func (*GatewayStatusResponse) ProtoMessage()
- func (x *GatewayStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GatewayStatusResponse) Reset()
- func (x *GatewayStatusResponse) String() string
- type GenerateUserCredentialsRequest
- func (*GenerateUserCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateUserCredentialsRequest) GetAccountName() string
- func (x *GenerateUserCredentialsRequest) GetAccountSeed() string
- func (x *GenerateUserCredentialsRequest) GetCredentialType() UserCredentialType
- func (x *GenerateUserCredentialsRequest) GetExpirationSeconds() int64
- func (x *GenerateUserCredentialsRequest) GetPermissions() *UserPermissions
- func (x *GenerateUserCredentialsRequest) GetUserName() string
- func (*GenerateUserCredentialsRequest) ProtoMessage()
- func (x *GenerateUserCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateUserCredentialsRequest) Reset()
- func (x *GenerateUserCredentialsRequest) String() string
- type GenerateUserCredentialsResponse
- func (*GenerateUserCredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateUserCredentialsResponse) GetCredsFileContent() string
- func (x *GenerateUserCredentialsResponse) GetExpiresAtUnix() int64
- func (x *GenerateUserCredentialsResponse) GetUserJwt() string
- func (x *GenerateUserCredentialsResponse) GetUserPublicKey() string
- func (*GenerateUserCredentialsResponse) ProtoMessage()
- func (x *GenerateUserCredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateUserCredentialsResponse) Reset()
- func (x *GenerateUserCredentialsResponse) String() string
- type GetCanonicalDeviceRequest
- func (*GetCanonicalDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCanonicalDeviceRequest) GetIdentityKeys() []*v1.IdentityKey
- func (x *GetCanonicalDeviceRequest) GetIpHint() string
- func (x *GetCanonicalDeviceRequest) GetNamespace() string
- func (*GetCanonicalDeviceRequest) ProtoMessage()
- func (x *GetCanonicalDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *GetCanonicalDeviceRequest) Reset()
- func (x *GetCanonicalDeviceRequest) String() string
- type GetCanonicalDeviceResponse
- func (*GetCanonicalDeviceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCanonicalDeviceResponse) GetFound() bool
- func (x *GetCanonicalDeviceResponse) GetHydrated() bool
- func (x *GetCanonicalDeviceResponse) GetMatchedKey() *v1.IdentityKey
- func (x *GetCanonicalDeviceResponse) GetRecord() *v1.CanonicalRecord
- func (x *GetCanonicalDeviceResponse) GetRevision() uint64
- func (*GetCanonicalDeviceResponse) ProtoMessage()
- func (x *GetCanonicalDeviceResponse) ProtoReflect() protoreflect.Message
- func (x *GetCanonicalDeviceResponse) Reset()
- func (x *GetCanonicalDeviceResponse) String() string
- type GetObjectInfoRequest
- func (*GetObjectInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectInfoRequest) GetKey() string
- func (*GetObjectInfoRequest) ProtoMessage()
- func (x *GetObjectInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectInfoRequest) Reset()
- func (x *GetObjectInfoRequest) String() string
- type GetObjectInfoResponse
- func (*GetObjectInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectInfoResponse) GetFound() bool
- func (x *GetObjectInfoResponse) GetInfo() *ObjectInfo
- func (*GetObjectInfoResponse) ProtoMessage()
- func (x *GetObjectInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetObjectInfoResponse) Reset()
- func (x *GetObjectInfoResponse) String() string
- type GetOperatorInfoRequest
- type GetOperatorInfoResponse
- func (*GetOperatorInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOperatorInfoResponse) GetIsInitialized() bool
- func (x *GetOperatorInfoResponse) GetOperatorName() string
- func (x *GetOperatorInfoResponse) GetOperatorPublicKey() string
- func (x *GetOperatorInfoResponse) GetSystemAccountPublicKey() string
- func (*GetOperatorInfoResponse) ProtoMessage()
- func (x *GetOperatorInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetOperatorInfoResponse) Reset()
- func (x *GetOperatorInfoResponse) String() string
- type GetRequest
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetFound() bool
- func (x *GetResponse) GetRevision() uint64
- func (x *GetResponse) GetValue() []byte
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- type GetTemplateRequest
- func (*GetTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplateRequest) GetServiceName() string
- func (*GetTemplateRequest) ProtoMessage()
- func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetTemplateRequest) Reset()
- func (x *GetTemplateRequest) String() string
- type GetTemplateResponse
- func (*GetTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplateResponse) GetFormat() string
- func (x *GetTemplateResponse) GetFound() bool
- func (x *GetTemplateResponse) GetRegisteredAt() int64
- func (x *GetTemplateResponse) GetServiceVersion() string
- func (x *GetTemplateResponse) GetTemplateData() []byte
- func (*GetTemplateResponse) ProtoMessage()
- func (x *GetTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *GetTemplateResponse) Reset()
- func (x *GetTemplateResponse) String() string
- type InfoRequest
- type InfoResponse
- func (*InfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InfoResponse) GetBucket() string
- func (x *InfoResponse) GetDomain() string
- func (x *InfoResponse) GetObjectBucket() string
- func (*InfoResponse) ProtoMessage()
- func (x *InfoResponse) ProtoReflect() protoreflect.Message
- func (x *InfoResponse) Reset()
- func (x *InfoResponse) String() string
- type KVServiceClient
- type KVServiceServer
- type KVService_WatchClient
- type KVService_WatchServer
- type KeyValueEntry
- func (*KeyValueEntry) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValueEntry) GetKey() string
- func (x *KeyValueEntry) GetValue() []byte
- func (*KeyValueEntry) ProtoMessage()
- func (x *KeyValueEntry) ProtoReflect() protoreflect.Message
- func (x *KeyValueEntry) Reset()
- func (x *KeyValueEntry) String() string
- type ListKeysRequest
- type ListKeysResponse
- type ListTemplatesRequest
- func (*ListTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatesRequest) GetPrefix() string
- func (*ListTemplatesRequest) ProtoMessage()
- func (x *ListTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListTemplatesRequest) Reset()
- func (x *ListTemplatesRequest) String() string
- type ListTemplatesResponse
- func (*ListTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatesResponse) GetTemplates() []*TemplateInfo
- func (*ListTemplatesResponse) ProtoMessage()
- func (x *ListTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListTemplatesResponse) Reset()
- func (x *ListTemplatesResponse) String() string
- type MockAgentGatewayServiceClient
- func (m *MockAgentGatewayServiceClient) ControlStream(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ControlStreamRequest, ControlStreamResponse], error)
- func (m *MockAgentGatewayServiceClient) EXPECT() *MockAgentGatewayServiceClientMockRecorder
- func (m *MockAgentGatewayServiceClient) GetConfig(ctx context.Context, in *AgentConfigRequest, opts ...grpc.CallOption) (*AgentConfigResponse, error)
- func (m *MockAgentGatewayServiceClient) Hello(ctx context.Context, in *AgentHelloRequest, opts ...grpc.CallOption) (*AgentHelloResponse, error)
- func (m *MockAgentGatewayServiceClient) PushStatus(ctx context.Context, in *GatewayStatusRequest, opts ...grpc.CallOption) (*GatewayStatusResponse, error)
- func (m *MockAgentGatewayServiceClient) StreamStatus(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[GatewayStatusChunk, GatewayStatusResponse], error)
- type MockAgentGatewayServiceClientMockRecorder
- func (mr *MockAgentGatewayServiceClientMockRecorder) ControlStream(ctx any, opts ...any) *gomock.Call
- func (mr *MockAgentGatewayServiceClientMockRecorder) GetConfig(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAgentGatewayServiceClientMockRecorder) Hello(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAgentGatewayServiceClientMockRecorder) PushStatus(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockAgentGatewayServiceClientMockRecorder) StreamStatus(ctx any, opts ...any) *gomock.Call
- type MockAgentGatewayServiceServer
- func (m *MockAgentGatewayServiceServer) ControlStream(arg0 grpc.BidiStreamingServer[ControlStreamRequest, ControlStreamResponse]) error
- func (m *MockAgentGatewayServiceServer) EXPECT() *MockAgentGatewayServiceServerMockRecorder
- func (m *MockAgentGatewayServiceServer) GetConfig(arg0 context.Context, arg1 *AgentConfigRequest) (*AgentConfigResponse, error)
- func (m *MockAgentGatewayServiceServer) Hello(arg0 context.Context, arg1 *AgentHelloRequest) (*AgentHelloResponse, error)
- func (m *MockAgentGatewayServiceServer) PushStatus(arg0 context.Context, arg1 *GatewayStatusRequest) (*GatewayStatusResponse, error)
- func (m *MockAgentGatewayServiceServer) StreamStatus(arg0 grpc.ClientStreamingServer[GatewayStatusChunk, GatewayStatusResponse]) error
- type MockAgentGatewayServiceServerMockRecorder
- func (mr *MockAgentGatewayServiceServerMockRecorder) ControlStream(arg0 any) *gomock.Call
- func (mr *MockAgentGatewayServiceServerMockRecorder) GetConfig(arg0, arg1 any) *gomock.Call
- func (mr *MockAgentGatewayServiceServerMockRecorder) Hello(arg0, arg1 any) *gomock.Call
- func (mr *MockAgentGatewayServiceServerMockRecorder) PushStatus(arg0, arg1 any) *gomock.Call
- func (mr *MockAgentGatewayServiceServerMockRecorder) StreamStatus(arg0 any) *gomock.Call
- type MockAgentServiceClient
- func (m *MockAgentServiceClient) EXPECT() *MockAgentServiceClientMockRecorder
- func (m *MockAgentServiceClient) GetResults(ctx context.Context, in *ResultsRequest, opts ...grpc.CallOption) (*ResultsResponse, error)
- func (m *MockAgentServiceClient) GetStatus(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
- func (m *MockAgentServiceClient) StreamResults(ctx context.Context, in *ResultsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ResultsChunk], error)
- type MockAgentServiceClientMockRecorder
- type MockAgentServiceServer
- func (m *MockAgentServiceServer) EXPECT() *MockAgentServiceServerMockRecorder
- func (m *MockAgentServiceServer) GetResults(arg0 context.Context, arg1 *ResultsRequest) (*ResultsResponse, error)
- func (m *MockAgentServiceServer) GetStatus(arg0 context.Context, arg1 *StatusRequest) (*StatusResponse, error)
- func (m *MockAgentServiceServer) StreamResults(arg0 *ResultsRequest, arg1 grpc.ServerStreamingServer[ResultsChunk]) error
- type MockAgentServiceServerMockRecorder
- type MockUnsafeAgentGatewayServiceServer
- type MockUnsafeAgentGatewayServiceServerMockRecorder
- type MockUnsafeAgentServiceServer
- type MockUnsafeAgentServiceServerMockRecorder
- type NATSAccountServiceClient
- type NATSAccountServiceServer
- type ObjectDownloadChunk
- func (*ObjectDownloadChunk) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectDownloadChunk) GetChunkIndex() uint32
- func (x *ObjectDownloadChunk) GetData() []byte
- func (x *ObjectDownloadChunk) GetInfo() *ObjectInfo
- func (x *ObjectDownloadChunk) GetIsFinal() bool
- func (*ObjectDownloadChunk) ProtoMessage()
- func (x *ObjectDownloadChunk) ProtoReflect() protoreflect.Message
- func (x *ObjectDownloadChunk) Reset()
- func (x *ObjectDownloadChunk) String() string
- type ObjectInfo
- func (*ObjectInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectInfo) GetChunks() uint64
- func (x *ObjectInfo) GetCreatedAtUnix() int64
- func (x *ObjectInfo) GetMetadata() *ObjectMetadata
- func (x *ObjectInfo) GetModifiedAtUnix() int64
- func (x *ObjectInfo) GetSha256() string
- func (x *ObjectInfo) GetSize() int64
- func (*ObjectInfo) ProtoMessage()
- func (x *ObjectInfo) ProtoReflect() protoreflect.Message
- func (x *ObjectInfo) Reset()
- func (x *ObjectInfo) String() string
- type ObjectMetadata
- func (*ObjectMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectMetadata) GetAttributes() map[string]string
- func (x *ObjectMetadata) GetCompression() string
- func (x *ObjectMetadata) GetContentType() string
- func (x *ObjectMetadata) GetDomain() string
- func (x *ObjectMetadata) GetKey() string
- func (x *ObjectMetadata) GetSha256() string
- func (x *ObjectMetadata) GetTotalSize() int64
- func (*ObjectMetadata) ProtoMessage()
- func (x *ObjectMetadata) ProtoReflect() protoreflect.Message
- func (x *ObjectMetadata) Reset()
- func (x *ObjectMetadata) String() string
- type ObjectUploadChunk
- func (*ObjectUploadChunk) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectUploadChunk) GetChunkIndex() uint32
- func (x *ObjectUploadChunk) GetData() []byte
- func (x *ObjectUploadChunk) GetIsFinal() bool
- func (x *ObjectUploadChunk) GetMetadata() *ObjectMetadata
- func (*ObjectUploadChunk) ProtoMessage()
- func (x *ObjectUploadChunk) ProtoReflect() protoreflect.Message
- func (x *ObjectUploadChunk) Reset()
- func (x *ObjectUploadChunk) String() string
- type PluginAssignmentConfig
- func (*PluginAssignmentConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PluginAssignmentConfig) GetAssignmentId() string
- func (x *PluginAssignmentConfig) GetCapabilities() []string
- func (x *PluginAssignmentConfig) GetContentHash() string
- func (x *PluginAssignmentConfig) GetDownloadUrl() string
- func (x *PluginAssignmentConfig) GetEnabled() bool
- func (x *PluginAssignmentConfig) GetEntrypoint() string
- func (x *PluginAssignmentConfig) GetIntervalSec() int32
- func (x *PluginAssignmentConfig) GetName() string
- func (x *PluginAssignmentConfig) GetOutputs() string
- func (x *PluginAssignmentConfig) GetPackageId() string
- func (x *PluginAssignmentConfig) GetParamsJson() []byte
- func (x *PluginAssignmentConfig) GetPermissionsJson() []byte
- func (x *PluginAssignmentConfig) GetPluginId() string
- func (x *PluginAssignmentConfig) GetResourcesJson() []byte
- func (x *PluginAssignmentConfig) GetRuntime() string
- func (x *PluginAssignmentConfig) GetSourceCommit() string
- func (x *PluginAssignmentConfig) GetSourceRepoUrl() string
- func (x *PluginAssignmentConfig) GetSourceType() string
- func (x *PluginAssignmentConfig) GetTimeoutSec() int32
- func (x *PluginAssignmentConfig) GetVersion() string
- func (x *PluginAssignmentConfig) GetWasmObjectKey() string
- func (*PluginAssignmentConfig) ProtoMessage()
- func (x *PluginAssignmentConfig) ProtoReflect() protoreflect.Message
- func (x *PluginAssignmentConfig) Reset()
- func (x *PluginAssignmentConfig) String() string
- type PluginConfig
- func (*PluginConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PluginConfig) GetAssignments() []*PluginAssignmentConfig
- func (x *PluginConfig) GetEngineLimits() *PluginEngineLimits
- func (*PluginConfig) ProtoMessage()
- func (x *PluginConfig) ProtoReflect() protoreflect.Message
- func (x *PluginConfig) Reset()
- func (x *PluginConfig) String() string
- type PluginEngineLimits
- func (*PluginEngineLimits) Descriptor() ([]byte, []int)deprecated
- func (x *PluginEngineLimits) GetMaxConcurrent() int32
- func (x *PluginEngineLimits) GetMaxCpuMs() int32
- func (x *PluginEngineLimits) GetMaxMemoryMb() int32
- func (x *PluginEngineLimits) GetMaxOpenConnections() int32
- func (*PluginEngineLimits) ProtoMessage()
- func (x *PluginEngineLimits) ProtoReflect() protoreflect.Message
- func (x *PluginEngineLimits) Reset()
- func (x *PluginEngineLimits) String() string
- type PortStatus
- type PushAccountJWTRequest
- func (*PushAccountJWTRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushAccountJWTRequest) GetAccountJwt() string
- func (x *PushAccountJWTRequest) GetAccountPublicKey() string
- func (*PushAccountJWTRequest) ProtoMessage()
- func (x *PushAccountJWTRequest) ProtoReflect() protoreflect.Message
- func (x *PushAccountJWTRequest) Reset()
- func (x *PushAccountJWTRequest) String() string
- type PushAccountJWTResponse
- func (*PushAccountJWTResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PushAccountJWTResponse) GetMessage() string
- func (x *PushAccountJWTResponse) GetSuccess() bool
- func (*PushAccountJWTResponse) ProtoMessage()
- func (x *PushAccountJWTResponse) ProtoReflect() protoreflect.Message
- func (x *PushAccountJWTResponse) Reset()
- func (x *PushAccountJWTResponse) String() string
- type PutManyRequest
- func (*PutManyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutManyRequest) GetEntries() []*KeyValueEntry
- func (x *PutManyRequest) GetTtlSeconds() int64
- func (*PutManyRequest) ProtoMessage()
- func (x *PutManyRequest) ProtoReflect() protoreflect.Message
- func (x *PutManyRequest) Reset()
- func (x *PutManyRequest) String() string
- type PutManyResponse
- type PutRequest
- func (*PutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutRequest) GetKey() string
- func (x *PutRequest) GetTtlSeconds() int64
- func (x *PutRequest) GetValue() []byte
- func (*PutRequest) ProtoMessage()
- func (x *PutRequest) ProtoReflect() protoreflect.Message
- func (x *PutRequest) Reset()
- func (x *PutRequest) String() string
- type PutResponse
- type RegisterTemplateRequest
- func (*RegisterTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterTemplateRequest) GetFormat() string
- func (x *RegisterTemplateRequest) GetServiceName() string
- func (x *RegisterTemplateRequest) GetServiceVersion() string
- func (x *RegisterTemplateRequest) GetTemplateData() []byte
- func (*RegisterTemplateRequest) ProtoMessage()
- func (x *RegisterTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterTemplateRequest) Reset()
- func (x *RegisterTemplateRequest) String() string
- type RegisterTemplateResponse
- func (*RegisterTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterTemplateResponse) GetMessage() string
- func (x *RegisterTemplateResponse) GetSuccess() bool
- func (*RegisterTemplateResponse) ProtoMessage()
- func (x *RegisterTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterTemplateResponse) Reset()
- func (x *RegisterTemplateResponse) String() string
- type ResultsChunk
- func (*ResultsChunk) Descriptor() ([]byte, []int)deprecated
- func (x *ResultsChunk) GetChunkIndex() int32
- func (x *ResultsChunk) GetCurrentSequence() string
- func (x *ResultsChunk) GetData() []byte
- func (x *ResultsChunk) GetIsFinal() bool
- func (x *ResultsChunk) GetTimestamp() int64
- func (x *ResultsChunk) GetTotalChunks() int32
- func (*ResultsChunk) ProtoMessage()
- func (x *ResultsChunk) ProtoReflect() protoreflect.Message
- func (x *ResultsChunk) Reset()
- func (x *ResultsChunk) String() string
- type ResultsRequest
- func (*ResultsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResultsRequest) GetAgentId() string
- func (x *ResultsRequest) GetCompletionStatus() *SweepCompletionStatus
- func (x *ResultsRequest) GetDetails() string
- func (x *ResultsRequest) GetGatewayId() string
- func (x *ResultsRequest) GetLastSequence() string
- func (x *ResultsRequest) GetServiceName() string
- func (x *ResultsRequest) GetServiceType() string
- func (*ResultsRequest) ProtoMessage()
- func (x *ResultsRequest) ProtoReflect() protoreflect.Message
- func (x *ResultsRequest) Reset()
- func (x *ResultsRequest) String() string
- type ResultsResponse
- func (*ResultsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResultsResponse) GetAgentId() string
- func (x *ResultsResponse) GetAvailable() bool
- func (x *ResultsResponse) GetCurrentSequence() string
- func (x *ResultsResponse) GetData() []byte
- func (x *ResultsResponse) GetExecutionId() string
- func (x *ResultsResponse) GetGatewayId() string
- func (x *ResultsResponse) GetHasNewData() bool
- func (x *ResultsResponse) GetResponseTime() int64
- func (x *ResultsResponse) GetServiceName() string
- func (x *ResultsResponse) GetServiceType() string
- func (x *ResultsResponse) GetSweepCompletion() *SweepCompletionStatus
- func (x *ResultsResponse) GetSweepGroupId() string
- func (x *ResultsResponse) GetTimestamp() int64
- func (*ResultsResponse) ProtoMessage()
- func (x *ResultsResponse) ProtoReflect() protoreflect.Message
- func (x *ResultsResponse) Reset()
- func (x *ResultsResponse) String() string
- type SNMPAuthProtocol
- func (SNMPAuthProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x SNMPAuthProtocol) Enum() *SNMPAuthProtocol
- func (SNMPAuthProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x SNMPAuthProtocol) Number() protoreflect.EnumNumber
- func (x SNMPAuthProtocol) String() string
- func (SNMPAuthProtocol) Type() protoreflect.EnumType
- type SNMPConfig
- func (*SNMPConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SNMPConfig) GetEnabled() bool
- func (x *SNMPConfig) GetProfileId() string
- func (x *SNMPConfig) GetProfileName() string
- func (x *SNMPConfig) GetTargets() []*SNMPTargetConfig
- func (*SNMPConfig) ProtoMessage()
- func (x *SNMPConfig) ProtoReflect() protoreflect.Message
- func (x *SNMPConfig) Reset()
- func (x *SNMPConfig) String() string
- type SNMPDataType
- func (SNMPDataType) Descriptor() protoreflect.EnumDescriptor
- func (x SNMPDataType) Enum() *SNMPDataType
- func (SNMPDataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SNMPDataType) Number() protoreflect.EnumNumber
- func (x SNMPDataType) String() string
- func (SNMPDataType) Type() protoreflect.EnumType
- type SNMPOIDConfig
- func (*SNMPOIDConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SNMPOIDConfig) GetDataType() SNMPDataType
- func (x *SNMPOIDConfig) GetDelta() bool
- func (x *SNMPOIDConfig) GetName() string
- func (x *SNMPOIDConfig) GetOid() string
- func (x *SNMPOIDConfig) GetScale() float64
- func (*SNMPOIDConfig) ProtoMessage()
- func (x *SNMPOIDConfig) ProtoReflect() protoreflect.Message
- func (x *SNMPOIDConfig) Reset()
- func (x *SNMPOIDConfig) String() string
- type SNMPPrivProtocol
- func (SNMPPrivProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x SNMPPrivProtocol) Enum() *SNMPPrivProtocol
- func (SNMPPrivProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x SNMPPrivProtocol) Number() protoreflect.EnumNumber
- func (x SNMPPrivProtocol) String() string
- func (SNMPPrivProtocol) Type() protoreflect.EnumType
- type SNMPSecurityLevel
- func (SNMPSecurityLevel) Descriptor() protoreflect.EnumDescriptor
- func (x SNMPSecurityLevel) Enum() *SNMPSecurityLevel
- func (SNMPSecurityLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x SNMPSecurityLevel) Number() protoreflect.EnumNumber
- func (x SNMPSecurityLevel) String() string
- func (SNMPSecurityLevel) Type() protoreflect.EnumType
- type SNMPTargetConfig
- func (*SNMPTargetConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SNMPTargetConfig) GetCommunity() string
- func (x *SNMPTargetConfig) GetHost() string
- func (x *SNMPTargetConfig) GetId() string
- func (x *SNMPTargetConfig) GetName() string
- func (x *SNMPTargetConfig) GetOids() []*SNMPOIDConfig
- func (x *SNMPTargetConfig) GetPollIntervalSeconds() uint32
- func (x *SNMPTargetConfig) GetPort() uint32
- func (x *SNMPTargetConfig) GetRetries() uint32
- func (x *SNMPTargetConfig) GetTimeoutSeconds() uint32
- func (x *SNMPTargetConfig) GetV3Auth() *SNMPv3Auth
- func (x *SNMPTargetConfig) GetVersion() SNMPVersion
- func (*SNMPTargetConfig) ProtoMessage()
- func (x *SNMPTargetConfig) ProtoReflect() protoreflect.Message
- func (x *SNMPTargetConfig) Reset()
- func (x *SNMPTargetConfig) String() string
- type SNMPVersion
- func (SNMPVersion) Descriptor() protoreflect.EnumDescriptor
- func (x SNMPVersion) Enum() *SNMPVersion
- func (SNMPVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x SNMPVersion) Number() protoreflect.EnumNumber
- func (x SNMPVersion) String() string
- func (SNMPVersion) Type() protoreflect.EnumType
- type SNMPv3Auth
- func (*SNMPv3Auth) Descriptor() ([]byte, []int)deprecated
- func (x *SNMPv3Auth) GetAuthPassword() string
- func (x *SNMPv3Auth) GetAuthProtocol() SNMPAuthProtocol
- func (x *SNMPv3Auth) GetPrivPassword() string
- func (x *SNMPv3Auth) GetPrivProtocol() SNMPPrivProtocol
- func (x *SNMPv3Auth) GetSecurityLevel() SNMPSecurityLevel
- func (x *SNMPv3Auth) GetUsername() string
- func (*SNMPv3Auth) ProtoMessage()
- func (x *SNMPv3Auth) ProtoReflect() protoreflect.Message
- func (x *SNMPv3Auth) Reset()
- func (x *SNMPv3Auth) String() string
- type SignAccountJWTRequest
- func (*SignAccountJWTRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignAccountJWTRequest) GetAccountName() string
- func (x *SignAccountJWTRequest) GetAccountSeed() string
- func (x *SignAccountJWTRequest) GetExports() []*StreamExport
- func (x *SignAccountJWTRequest) GetImports() []*StreamImport
- func (x *SignAccountJWTRequest) GetLimits() *AccountLimits
- func (x *SignAccountJWTRequest) GetRevokedUserKeys() []string
- func (x *SignAccountJWTRequest) GetSubjectMappings() []*SubjectMapping
- func (*SignAccountJWTRequest) ProtoMessage()
- func (x *SignAccountJWTRequest) ProtoReflect() protoreflect.Message
- func (x *SignAccountJWTRequest) Reset()
- func (x *SignAccountJWTRequest) String() string
- type SignAccountJWTResponse
- func (*SignAccountJWTResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignAccountJWTResponse) GetAccountJwt() string
- func (x *SignAccountJWTResponse) GetAccountPublicKey() string
- func (*SignAccountJWTResponse) ProtoMessage()
- func (x *SignAccountJWTResponse) ProtoReflect() protoreflect.Message
- func (x *SignAccountJWTResponse) Reset()
- func (x *SignAccountJWTResponse) String() string
- type StatusRequest
- func (*StatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatusRequest) GetAgentId() string
- func (x *StatusRequest) GetDetails() string
- func (x *StatusRequest) GetGatewayId() string
- func (x *StatusRequest) GetPort() int32
- func (x *StatusRequest) GetServiceName() string
- func (x *StatusRequest) GetServiceType() string
- func (*StatusRequest) ProtoMessage()
- func (x *StatusRequest) ProtoReflect() protoreflect.Message
- func (x *StatusRequest) Reset()
- func (x *StatusRequest) String() string
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetAgentId() string
- func (x *StatusResponse) GetAvailable() bool
- func (x *StatusResponse) GetGatewayId() string
- func (x *StatusResponse) GetMessage() []byte
- func (x *StatusResponse) GetResponseTime() int64
- func (x *StatusResponse) GetServiceName() string
- func (x *StatusResponse) GetServiceType() string
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type StreamExport
- func (*StreamExport) Descriptor() ([]byte, []int)deprecated
- func (x *StreamExport) GetName() string
- func (x *StreamExport) GetSubject() string
- func (*StreamExport) ProtoMessage()
- func (x *StreamExport) ProtoReflect() protoreflect.Message
- func (x *StreamExport) Reset()
- func (x *StreamExport) String() string
- type StreamImport
- func (*StreamImport) Descriptor() ([]byte, []int)deprecated
- func (x *StreamImport) GetAccountPublicKey() string
- func (x *StreamImport) GetLocalSubject() string
- func (x *StreamImport) GetName() string
- func (x *StreamImport) GetSubject() string
- func (*StreamImport) ProtoMessage()
- func (x *StreamImport) ProtoReflect() protoreflect.Message
- func (x *StreamImport) Reset()
- func (x *StreamImport) String() string
- type SubjectMapping
- func (*SubjectMapping) Descriptor() ([]byte, []int)deprecated
- func (x *SubjectMapping) GetFrom() string
- func (x *SubjectMapping) GetTo() string
- func (*SubjectMapping) ProtoMessage()
- func (x *SubjectMapping) ProtoReflect() protoreflect.Message
- func (x *SubjectMapping) Reset()
- func (x *SubjectMapping) String() string
- type SweepCompletionStatus
- func (*SweepCompletionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *SweepCompletionStatus) GetCompletedTargets() int32
- func (x *SweepCompletionStatus) GetCompletionTime() int64
- func (x *SweepCompletionStatus) GetErrorMessage() string
- func (x *SweepCompletionStatus) GetExecutionId() string
- func (x *SweepCompletionStatus) GetScannerStats() *SweepScannerStats
- func (x *SweepCompletionStatus) GetStatus() SweepCompletionStatus_Status
- func (x *SweepCompletionStatus) GetSweepGroupId() string
- func (x *SweepCompletionStatus) GetTargetSequence() string
- func (x *SweepCompletionStatus) GetTotalTargets() int32
- func (*SweepCompletionStatus) ProtoMessage()
- func (x *SweepCompletionStatus) ProtoReflect() protoreflect.Message
- func (x *SweepCompletionStatus) Reset()
- func (x *SweepCompletionStatus) String() string
- type SweepCompletionStatus_Status
- func (SweepCompletionStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x SweepCompletionStatus_Status) Enum() *SweepCompletionStatus_Status
- func (SweepCompletionStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x SweepCompletionStatus_Status) Number() protoreflect.EnumNumber
- func (x SweepCompletionStatus_Status) String() string
- func (SweepCompletionStatus_Status) Type() protoreflect.EnumType
- type SweepScannerStats
- func (*SweepScannerStats) Descriptor() ([]byte, []int)deprecated
- func (x *SweepScannerStats) GetPacketsDropped() uint64
- func (x *SweepScannerStats) GetPacketsRecv() uint64
- func (x *SweepScannerStats) GetPacketsSent() uint64
- func (x *SweepScannerStats) GetPortExhaustionCount() uint64
- func (x *SweepScannerStats) GetPortsAllocated() uint64
- func (x *SweepScannerStats) GetPortsReleased() uint64
- func (x *SweepScannerStats) GetRateLimitDeferrals() uint64
- func (x *SweepScannerStats) GetRetriesAttempted() uint64
- func (x *SweepScannerStats) GetRetriesSuccessful() uint64
- func (x *SweepScannerStats) GetRingBlocksDropped() uint64
- func (x *SweepScannerStats) GetRingBlocksProcessed() uint64
- func (x *SweepScannerStats) GetRxDropRatePercent() float64
- func (*SweepScannerStats) ProtoMessage()
- func (x *SweepScannerStats) ProtoReflect() protoreflect.Message
- func (x *SweepScannerStats) Reset()
- func (x *SweepScannerStats) String() string
- type SweepServiceStatus
- func (*SweepServiceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *SweepServiceStatus) GetAvailableHosts() int32
- func (x *SweepServiceStatus) GetLastSweep() int64
- func (x *SweepServiceStatus) GetNetwork() string
- func (x *SweepServiceStatus) GetPorts() []*PortStatus
- func (x *SweepServiceStatus) GetTotalHosts() int32
- func (*SweepServiceStatus) ProtoMessage()
- func (x *SweepServiceStatus) ProtoReflect() protoreflect.Message
- func (x *SweepServiceStatus) Reset()
- func (x *SweepServiceStatus) String() string
- type SysmonConfig
- func (*SysmonConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SysmonConfig) GetCollectCpu() bool
- func (x *SysmonConfig) GetCollectDisk() bool
- func (x *SysmonConfig) GetCollectMemory() bool
- func (x *SysmonConfig) GetCollectNetwork() bool
- func (x *SysmonConfig) GetCollectProcesses() bool
- func (x *SysmonConfig) GetConfigSource() string
- func (x *SysmonConfig) GetDiskExcludePaths() []string
- func (x *SysmonConfig) GetDiskPaths() []string
- func (x *SysmonConfig) GetEnabled() bool
- func (x *SysmonConfig) GetProfileId() string
- func (x *SysmonConfig) GetProfileName() string
- func (x *SysmonConfig) GetSampleInterval() string
- func (x *SysmonConfig) GetThresholds() map[string]string
- func (*SysmonConfig) ProtoMessage()
- func (x *SysmonConfig) ProtoReflect() protoreflect.Message
- func (x *SysmonConfig) Reset()
- func (x *SysmonConfig) String() string
- type TemplateInfo
- func (*TemplateInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateInfo) GetFormat() string
- func (x *TemplateInfo) GetRegisteredAt() int64
- func (x *TemplateInfo) GetServiceName() string
- func (x *TemplateInfo) GetServiceVersion() string
- func (x *TemplateInfo) GetSizeBytes() int32
- func (*TemplateInfo) ProtoMessage()
- func (x *TemplateInfo) ProtoReflect() protoreflect.Message
- func (x *TemplateInfo) Reset()
- func (x *TemplateInfo) String() string
- type UnimplementedAgentGatewayServiceServer
- func (UnimplementedAgentGatewayServiceServer) ControlStream(grpc.BidiStreamingServer[ControlStreamRequest, ControlStreamResponse]) error
- func (UnimplementedAgentGatewayServiceServer) GetConfig(context.Context, *AgentConfigRequest) (*AgentConfigResponse, error)
- func (UnimplementedAgentGatewayServiceServer) Hello(context.Context, *AgentHelloRequest) (*AgentHelloResponse, error)
- func (UnimplementedAgentGatewayServiceServer) PushStatus(context.Context, *GatewayStatusRequest) (*GatewayStatusResponse, error)
- func (UnimplementedAgentGatewayServiceServer) StreamStatus(grpc.ClientStreamingServer[GatewayStatusChunk, GatewayStatusResponse]) error
- type UnimplementedAgentServiceServer
- func (UnimplementedAgentServiceServer) GetResults(context.Context, *ResultsRequest) (*ResultsResponse, error)
- func (UnimplementedAgentServiceServer) GetStatus(context.Context, *StatusRequest) (*StatusResponse, error)
- func (UnimplementedAgentServiceServer) StreamResults(*ResultsRequest, grpc.ServerStreamingServer[ResultsChunk]) error
- type UnimplementedCoreServiceServer
- func (UnimplementedCoreServiceServer) GetCanonicalDevice(context.Context, *GetCanonicalDeviceRequest) (*GetCanonicalDeviceResponse, error)
- func (UnimplementedCoreServiceServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error)
- func (UnimplementedCoreServiceServer) ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error)
- func (UnimplementedCoreServiceServer) RegisterTemplate(context.Context, *RegisterTemplateRequest) (*RegisterTemplateResponse, error)
- type UnimplementedDataServiceServer
- func (UnimplementedDataServiceServer) DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error)
- func (UnimplementedDataServiceServer) DownloadObject(*DownloadObjectRequest, grpc.ServerStreamingServer[ObjectDownloadChunk]) error
- func (UnimplementedDataServiceServer) GetObjectInfo(context.Context, *GetObjectInfoRequest) (*GetObjectInfoResponse, error)
- func (UnimplementedDataServiceServer) UploadObject(grpc.ClientStreamingServer[ObjectUploadChunk, UploadObjectResponse]) error
- type UnimplementedKVServiceServer
- func (UnimplementedKVServiceServer) BatchGet(context.Context, *BatchGetRequest) (*BatchGetResponse, error)
- func (UnimplementedKVServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedKVServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedKVServiceServer) Info(context.Context, *InfoRequest) (*InfoResponse, error)
- func (UnimplementedKVServiceServer) ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error)
- func (UnimplementedKVServiceServer) Put(context.Context, *PutRequest) (*PutResponse, error)
- func (UnimplementedKVServiceServer) PutIfAbsent(context.Context, *PutRequest) (*PutResponse, error)
- func (UnimplementedKVServiceServer) PutMany(context.Context, *PutManyRequest) (*PutManyResponse, error)
- func (UnimplementedKVServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- func (UnimplementedKVServiceServer) Watch(*WatchRequest, grpc.ServerStreamingServer[WatchResponse]) error
- type UnimplementedNATSAccountServiceServer
- func (UnimplementedNATSAccountServiceServer) BootstrapOperator(context.Context, *BootstrapOperatorRequest) (*BootstrapOperatorResponse, error)
- func (UnimplementedNATSAccountServiceServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
- func (UnimplementedNATSAccountServiceServer) GenerateUserCredentials(context.Context, *GenerateUserCredentialsRequest) (*GenerateUserCredentialsResponse, error)
- func (UnimplementedNATSAccountServiceServer) GetOperatorInfo(context.Context, *GetOperatorInfoRequest) (*GetOperatorInfoResponse, error)
- func (UnimplementedNATSAccountServiceServer) PushAccountJWT(context.Context, *PushAccountJWTRequest) (*PushAccountJWTResponse, error)
- func (UnimplementedNATSAccountServiceServer) SignAccountJWT(context.Context, *SignAccountJWTRequest) (*SignAccountJWTResponse, error)
- type UnsafeAgentGatewayServiceServer
- type UnsafeAgentServiceServer
- type UnsafeCoreServiceServer
- type UnsafeDataServiceServer
- type UnsafeKVServiceServer
- type UnsafeNATSAccountServiceServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetKey() string
- func (x *UpdateRequest) GetRevision() uint64
- func (x *UpdateRequest) GetTtlSeconds() int64
- func (x *UpdateRequest) GetValue() []byte
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- type UpdateResponse
- type UploadObjectResponse
- func (*UploadObjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadObjectResponse) GetInfo() *ObjectInfo
- func (*UploadObjectResponse) ProtoMessage()
- func (x *UploadObjectResponse) ProtoReflect() protoreflect.Message
- func (x *UploadObjectResponse) Reset()
- func (x *UploadObjectResponse) String() string
- type UserCredentialType
- func (UserCredentialType) Descriptor() protoreflect.EnumDescriptor
- func (x UserCredentialType) Enum() *UserCredentialType
- func (UserCredentialType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserCredentialType) Number() protoreflect.EnumNumber
- func (x UserCredentialType) String() string
- func (UserCredentialType) Type() protoreflect.EnumType
- type UserPermissions
- func (*UserPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *UserPermissions) GetAllowResponses() bool
- func (x *UserPermissions) GetMaxResponses() int32
- func (x *UserPermissions) GetPublishAllow() []string
- func (x *UserPermissions) GetPublishDeny() []string
- func (x *UserPermissions) GetSubscribeAllow() []string
- func (x *UserPermissions) GetSubscribeDeny() []string
- func (*UserPermissions) ProtoMessage()
- func (x *UserPermissions) ProtoReflect() protoreflect.Message
- func (x *UserPermissions) Reset()
- func (x *UserPermissions) String() string
- type WatchRequest
- type WatchResponse
Constants ¶
const ( CoreService_GetCanonicalDevice_FullMethodName = "/core.CoreService/GetCanonicalDevice" CoreService_RegisterTemplate_FullMethodName = "/core.CoreService/RegisterTemplate" CoreService_GetTemplate_FullMethodName = "/core.CoreService/GetTemplate" CoreService_ListTemplates_FullMethodName = "/core.CoreService/ListTemplates" )
const ( DataService_UploadObject_FullMethodName = "/proto.DataService/UploadObject" DataService_DownloadObject_FullMethodName = "/proto.DataService/DownloadObject" DataService_DeleteObject_FullMethodName = "/proto.DataService/DeleteObject" DataService_GetObjectInfo_FullMethodName = "/proto.DataService/GetObjectInfo" )
const ( KVService_Get_FullMethodName = "/proto.KVService/Get" KVService_BatchGet_FullMethodName = "/proto.KVService/BatchGet" KVService_Put_FullMethodName = "/proto.KVService/Put" KVService_PutIfAbsent_FullMethodName = "/proto.KVService/PutIfAbsent" KVService_PutMany_FullMethodName = "/proto.KVService/PutMany" KVService_Update_FullMethodName = "/proto.KVService/Update" KVService_Delete_FullMethodName = "/proto.KVService/Delete" KVService_Watch_FullMethodName = "/proto.KVService/Watch" KVService_Info_FullMethodName = "/proto.KVService/Info" KVService_ListKeys_FullMethodName = "/proto.KVService/ListKeys" )
const ( AgentService_GetStatus_FullMethodName = "/monitoring.AgentService/GetStatus" AgentService_GetResults_FullMethodName = "/monitoring.AgentService/GetResults" AgentService_StreamResults_FullMethodName = "/monitoring.AgentService/StreamResults" )
const ( AgentGatewayService_Hello_FullMethodName = "/monitoring.AgentGatewayService/Hello" AgentGatewayService_GetConfig_FullMethodName = "/monitoring.AgentGatewayService/GetConfig" AgentGatewayService_PushStatus_FullMethodName = "/monitoring.AgentGatewayService/PushStatus" AgentGatewayService_StreamStatus_FullMethodName = "/monitoring.AgentGatewayService/StreamStatus" AgentGatewayService_ControlStream_FullMethodName = "/monitoring.AgentGatewayService/ControlStream" )
const ( NATSAccountService_BootstrapOperator_FullMethodName = "/proto.NATSAccountService/BootstrapOperator" NATSAccountService_GetOperatorInfo_FullMethodName = "/proto.NATSAccountService/GetOperatorInfo" NATSAccountService_CreateAccount_FullMethodName = "/proto.NATSAccountService/CreateAccount" NATSAccountService_GenerateUserCredentials_FullMethodName = "/proto.NATSAccountService/GenerateUserCredentials" NATSAccountService_SignAccountJWT_FullMethodName = "/proto.NATSAccountService/SignAccountJWT" NATSAccountService_PushAccountJWT_FullMethodName = "/proto.NATSAccountService/PushAccountJWT" )
Variables ¶
var ( SNMPVersion_name = map[int32]string{ 0: "SNMP_VERSION_UNSPECIFIED", 1: "SNMP_VERSION_V1", 2: "SNMP_VERSION_V2C", 3: "SNMP_VERSION_V3", } SNMPVersion_value = map[string]int32{ "SNMP_VERSION_UNSPECIFIED": 0, "SNMP_VERSION_V1": 1, "SNMP_VERSION_V2C": 2, "SNMP_VERSION_V3": 3, } )
Enum value maps for SNMPVersion.
var ( SNMPSecurityLevel_name = map[int32]string{ 0: "SNMP_SECURITY_LEVEL_UNSPECIFIED", 1: "SNMP_SECURITY_LEVEL_NO_AUTH_NO_PRIV", 2: "SNMP_SECURITY_LEVEL_AUTH_NO_PRIV", 3: "SNMP_SECURITY_LEVEL_AUTH_PRIV", } SNMPSecurityLevel_value = map[string]int32{ "SNMP_SECURITY_LEVEL_UNSPECIFIED": 0, "SNMP_SECURITY_LEVEL_NO_AUTH_NO_PRIV": 1, "SNMP_SECURITY_LEVEL_AUTH_NO_PRIV": 2, "SNMP_SECURITY_LEVEL_AUTH_PRIV": 3, } )
Enum value maps for SNMPSecurityLevel.
var ( SNMPAuthProtocol_name = map[int32]string{ 0: "SNMP_AUTH_PROTOCOL_UNSPECIFIED", 1: "SNMP_AUTH_PROTOCOL_MD5", 2: "SNMP_AUTH_PROTOCOL_SHA", 3: "SNMP_AUTH_PROTOCOL_SHA224", 4: "SNMP_AUTH_PROTOCOL_SHA256", 5: "SNMP_AUTH_PROTOCOL_SHA384", 6: "SNMP_AUTH_PROTOCOL_SHA512", } SNMPAuthProtocol_value = map[string]int32{ "SNMP_AUTH_PROTOCOL_UNSPECIFIED": 0, "SNMP_AUTH_PROTOCOL_MD5": 1, "SNMP_AUTH_PROTOCOL_SHA": 2, "SNMP_AUTH_PROTOCOL_SHA224": 3, "SNMP_AUTH_PROTOCOL_SHA256": 4, "SNMP_AUTH_PROTOCOL_SHA384": 5, "SNMP_AUTH_PROTOCOL_SHA512": 6, } )
Enum value maps for SNMPAuthProtocol.
var ( SNMPPrivProtocol_name = map[int32]string{ 0: "SNMP_PRIV_PROTOCOL_UNSPECIFIED", 1: "SNMP_PRIV_PROTOCOL_DES", 2: "SNMP_PRIV_PROTOCOL_AES", 3: "SNMP_PRIV_PROTOCOL_AES192", 4: "SNMP_PRIV_PROTOCOL_AES256", 5: "SNMP_PRIV_PROTOCOL_AES192C", 6: "SNMP_PRIV_PROTOCOL_AES256C", } SNMPPrivProtocol_value = map[string]int32{ "SNMP_PRIV_PROTOCOL_UNSPECIFIED": 0, "SNMP_PRIV_PROTOCOL_DES": 1, "SNMP_PRIV_PROTOCOL_AES": 2, "SNMP_PRIV_PROTOCOL_AES192": 3, "SNMP_PRIV_PROTOCOL_AES256": 4, "SNMP_PRIV_PROTOCOL_AES192C": 5, "SNMP_PRIV_PROTOCOL_AES256C": 6, } )
Enum value maps for SNMPPrivProtocol.
var ( SNMPDataType_name = map[int32]string{ 0: "SNMP_DATA_TYPE_UNSPECIFIED", 1: "SNMP_DATA_TYPE_COUNTER", 2: "SNMP_DATA_TYPE_GAUGE", 3: "SNMP_DATA_TYPE_BOOLEAN", 4: "SNMP_DATA_TYPE_BYTES", 5: "SNMP_DATA_TYPE_STRING", 6: "SNMP_DATA_TYPE_FLOAT", 7: "SNMP_DATA_TYPE_TIMETICKS", } SNMPDataType_value = map[string]int32{ "SNMP_DATA_TYPE_UNSPECIFIED": 0, "SNMP_DATA_TYPE_COUNTER": 1, "SNMP_DATA_TYPE_GAUGE": 2, "SNMP_DATA_TYPE_BOOLEAN": 3, "SNMP_DATA_TYPE_BYTES": 4, "SNMP_DATA_TYPE_STRING": 5, "SNMP_DATA_TYPE_FLOAT": 6, "SNMP_DATA_TYPE_TIMETICKS": 7, } )
Enum value maps for SNMPDataType.
var ( SweepCompletionStatus_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "NOT_STARTED", 2: "IN_PROGRESS", 3: "COMPLETED", 4: "FAILED", } SweepCompletionStatus_Status_value = map[string]int32{ "UNKNOWN": 0, "NOT_STARTED": 1, "IN_PROGRESS": 2, "COMPLETED": 3, "FAILED": 4, } )
Enum value maps for SweepCompletionStatus_Status.
var ( UserCredentialType_name = map[int32]string{ 0: "USER_CREDENTIAL_TYPE_UNSPECIFIED", 1: "USER_CREDENTIAL_TYPE_COLLECTOR", 2: "USER_CREDENTIAL_TYPE_SERVICE", 3: "USER_CREDENTIAL_TYPE_ADMIN", } UserCredentialType_value = map[string]int32{ "USER_CREDENTIAL_TYPE_UNSPECIFIED": 0, "USER_CREDENTIAL_TYPE_COLLECTOR": 1, "USER_CREDENTIAL_TYPE_SERVICE": 2, "USER_CREDENTIAL_TYPE_ADMIN": 3, } )
Enum value maps for UserCredentialType.
var AgentGatewayService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "monitoring.AgentGatewayService", HandlerType: (*AgentGatewayServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Hello", Handler: _AgentGatewayService_Hello_Handler, }, { MethodName: "GetConfig", Handler: _AgentGatewayService_GetConfig_Handler, }, { MethodName: "PushStatus", Handler: _AgentGatewayService_PushStatus_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamStatus", Handler: _AgentGatewayService_StreamStatus_Handler, ClientStreams: true, }, { StreamName: "ControlStream", Handler: _AgentGatewayService_ControlStream_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "monitoring.proto", }
AgentGatewayService_ServiceDesc is the grpc.ServiceDesc for AgentGatewayService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AgentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "monitoring.AgentService", HandlerType: (*AgentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetStatus", Handler: _AgentService_GetStatus_Handler, }, { MethodName: "GetResults", Handler: _AgentService_GetResults_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamResults", Handler: _AgentService_StreamResults_Handler, ServerStreams: true, }, }, Metadata: "monitoring.proto", }
AgentService_ServiceDesc is the grpc.ServiceDesc for AgentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CoreService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "core.CoreService", HandlerType: (*CoreServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCanonicalDevice", Handler: _CoreService_GetCanonicalDevice_Handler, }, { MethodName: "RegisterTemplate", Handler: _CoreService_RegisterTemplate_Handler, }, { MethodName: "GetTemplate", Handler: _CoreService_GetTemplate_Handler, }, { MethodName: "ListTemplates", Handler: _CoreService_ListTemplates_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "core_service.proto", }
CoreService_ServiceDesc is the grpc.ServiceDesc for CoreService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DataService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.DataService", HandlerType: (*DataServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DeleteObject", Handler: _DataService_DeleteObject_Handler, }, { MethodName: "GetObjectInfo", Handler: _DataService_GetObjectInfo_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "UploadObject", Handler: _DataService_UploadObject_Handler, ClientStreams: true, }, { StreamName: "DownloadObject", Handler: _DataService_DownloadObject_Handler, ServerStreams: true, }, }, Metadata: "data_service.proto", }
DataService_ServiceDesc is the grpc.ServiceDesc for DataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_core_service_proto protoreflect.FileDescriptor
var File_data_service_proto protoreflect.FileDescriptor
var File_kv_proto protoreflect.FileDescriptor
var File_monitoring_proto protoreflect.FileDescriptor
var File_nats_account_proto protoreflect.FileDescriptor
var KVService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.KVService", HandlerType: (*KVServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _KVService_Get_Handler, }, { MethodName: "BatchGet", Handler: _KVService_BatchGet_Handler, }, { MethodName: "Put", Handler: _KVService_Put_Handler, }, { MethodName: "PutIfAbsent", Handler: _KVService_PutIfAbsent_Handler, }, { MethodName: "PutMany", Handler: _KVService_PutMany_Handler, }, { MethodName: "Update", Handler: _KVService_Update_Handler, }, { MethodName: "Delete", Handler: _KVService_Delete_Handler, }, { MethodName: "Info", Handler: _KVService_Info_Handler, }, { MethodName: "ListKeys", Handler: _KVService_ListKeys_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Watch", Handler: _KVService_Watch_Handler, ServerStreams: true, }, }, Metadata: "kv.proto", }
KVService_ServiceDesc is the grpc.ServiceDesc for KVService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var NATSAccountService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.NATSAccountService", HandlerType: (*NATSAccountServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "BootstrapOperator", Handler: _NATSAccountService_BootstrapOperator_Handler, }, { MethodName: "GetOperatorInfo", Handler: _NATSAccountService_GetOperatorInfo_Handler, }, { MethodName: "CreateAccount", Handler: _NATSAccountService_CreateAccount_Handler, }, { MethodName: "GenerateUserCredentials", Handler: _NATSAccountService_GenerateUserCredentials_Handler, }, { MethodName: "SignAccountJWT", Handler: _NATSAccountService_SignAccountJWT_Handler, }, { MethodName: "PushAccountJWT", Handler: _NATSAccountService_PushAccountJWT_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nats_account.proto", }
NATSAccountService_ServiceDesc is the grpc.ServiceDesc for NATSAccountService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAgentGatewayServiceServer ¶ added in v1.0.79
func RegisterAgentGatewayServiceServer(s grpc.ServiceRegistrar, srv AgentGatewayServiceServer)
func RegisterAgentServiceServer ¶
func RegisterAgentServiceServer(s grpc.ServiceRegistrar, srv AgentServiceServer)
func RegisterCoreServiceServer ¶ added in v1.0.55
func RegisterCoreServiceServer(s grpc.ServiceRegistrar, srv CoreServiceServer)
func RegisterDataServiceServer ¶ added in v1.0.55
func RegisterDataServiceServer(s grpc.ServiceRegistrar, srv DataServiceServer)
func RegisterKVServiceServer ¶
func RegisterKVServiceServer(s grpc.ServiceRegistrar, srv KVServiceServer)
func RegisterNATSAccountServiceServer ¶ added in v1.0.79
func RegisterNATSAccountServiceServer(s grpc.ServiceRegistrar, srv NATSAccountServiceServer)
Types ¶
type AccountLimits ¶ added in v1.0.79
type AccountLimits struct {
MaxConnections int64 `protobuf:"varint,1,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"` // Maximum concurrent connections (0 = unlimited)
MaxSubscriptions int64 `protobuf:"varint,2,opt,name=max_subscriptions,json=maxSubscriptions,proto3" json:"max_subscriptions,omitempty"` // Maximum subscriptions per connection (0 = unlimited)
MaxPayloadBytes int64 `protobuf:"varint,3,opt,name=max_payload_bytes,json=maxPayloadBytes,proto3" json:"max_payload_bytes,omitempty"` // Maximum message payload size in bytes (0 = default 1MB)
MaxDataBytes int64 `protobuf:"varint,4,opt,name=max_data_bytes,json=maxDataBytes,proto3" json:"max_data_bytes,omitempty"` // Maximum data throughput in bytes/sec (0 = unlimited)
MaxExports int64 `protobuf:"varint,5,opt,name=max_exports,json=maxExports,proto3" json:"max_exports,omitempty"` // Maximum number of exports (0 = unlimited)
MaxImports int64 `protobuf:"varint,6,opt,name=max_imports,json=maxImports,proto3" json:"max_imports,omitempty"` // Maximum number of imports (0 = unlimited)
AllowWildcardExports bool `protobuf:"varint,7,opt,name=allow_wildcard_exports,json=allowWildcardExports,proto3" json:"allow_wildcard_exports,omitempty"` // Whether wildcard exports are allowed
// contains filtered or unexported fields
}
AccountLimits defines resource constraints for a NATS account.
func (*AccountLimits) Descriptor
deprecated
added in
v1.0.79
func (*AccountLimits) Descriptor() ([]byte, []int)
Deprecated: Use AccountLimits.ProtoReflect.Descriptor instead.
func (*AccountLimits) GetAllowWildcardExports ¶ added in v1.0.79
func (x *AccountLimits) GetAllowWildcardExports() bool
func (*AccountLimits) GetMaxConnections ¶ added in v1.0.79
func (x *AccountLimits) GetMaxConnections() int64
func (*AccountLimits) GetMaxDataBytes ¶ added in v1.0.79
func (x *AccountLimits) GetMaxDataBytes() int64
func (*AccountLimits) GetMaxExports ¶ added in v1.0.79
func (x *AccountLimits) GetMaxExports() int64
func (*AccountLimits) GetMaxImports ¶ added in v1.0.79
func (x *AccountLimits) GetMaxImports() int64
func (*AccountLimits) GetMaxPayloadBytes ¶ added in v1.0.79
func (x *AccountLimits) GetMaxPayloadBytes() int64
func (*AccountLimits) GetMaxSubscriptions ¶ added in v1.0.79
func (x *AccountLimits) GetMaxSubscriptions() int64
func (*AccountLimits) ProtoMessage ¶ added in v1.0.79
func (*AccountLimits) ProtoMessage()
func (*AccountLimits) ProtoReflect ¶ added in v1.0.79
func (x *AccountLimits) ProtoReflect() protoreflect.Message
func (*AccountLimits) Reset ¶ added in v1.0.79
func (x *AccountLimits) Reset()
func (*AccountLimits) String ¶ added in v1.0.79
func (x *AccountLimits) String() string
type AgentCheckConfig ¶ added in v1.0.79
type AgentCheckConfig struct {
CheckId string `protobuf:"bytes,1,opt,name=check_id,json=checkId,proto3" json:"check_id,omitempty"` // Unique check identifier
CheckType string `protobuf:"bytes,2,opt,name=check_type,json=checkType,proto3" json:"check_type,omitempty"` // Type: "icmp", "tcp", "http", "grpc", "process", "sweep"
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Human-readable name
Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` // Whether check is active
IntervalSec int32 `protobuf:"varint,5,opt,name=interval_sec,json=intervalSec,proto3" json:"interval_sec,omitempty"` // Check interval in seconds
TimeoutSec int32 `protobuf:"varint,6,opt,name=timeout_sec,json=timeoutSec,proto3" json:"timeout_sec,omitempty"` // Check timeout in seconds
// Target configuration (interpretation depends on check_type)
Target string `protobuf:"bytes,7,opt,name=target,proto3" json:"target,omitempty"` // Target host/IP/URL
Port int32 `protobuf:"varint,8,opt,name=port,proto3" json:"port,omitempty"` // Target port (for tcp, http, grpc)
Path string `protobuf:"bytes,9,opt,name=path,proto3" json:"path,omitempty"` // Path (for http checks)
Method string `protobuf:"bytes,10,opt,name=method,proto3" json:"method,omitempty"` // HTTP method (for http checks)
// Additional settings as key-value pairs
Settings map[string]string `` /* 144-byte string literal not displayed */
// contains filtered or unexported fields
}
AgentCheckConfig defines a single check for the agent to perform.
func (*AgentCheckConfig) Descriptor
deprecated
added in
v1.0.79
func (*AgentCheckConfig) Descriptor() ([]byte, []int)
Deprecated: Use AgentCheckConfig.ProtoReflect.Descriptor instead.
func (*AgentCheckConfig) GetCheckId ¶ added in v1.0.79
func (x *AgentCheckConfig) GetCheckId() string
func (*AgentCheckConfig) GetCheckType ¶ added in v1.0.79
func (x *AgentCheckConfig) GetCheckType() string
func (*AgentCheckConfig) GetEnabled ¶ added in v1.0.79
func (x *AgentCheckConfig) GetEnabled() bool
func (*AgentCheckConfig) GetIntervalSec ¶ added in v1.0.79
func (x *AgentCheckConfig) GetIntervalSec() int32
func (*AgentCheckConfig) GetMethod ¶ added in v1.0.79
func (x *AgentCheckConfig) GetMethod() string
func (*AgentCheckConfig) GetName ¶ added in v1.0.79
func (x *AgentCheckConfig) GetName() string
func (*AgentCheckConfig) GetPath ¶ added in v1.0.79
func (x *AgentCheckConfig) GetPath() string
func (*AgentCheckConfig) GetPort ¶ added in v1.0.79
func (x *AgentCheckConfig) GetPort() int32
func (*AgentCheckConfig) GetSettings ¶ added in v1.0.79
func (x *AgentCheckConfig) GetSettings() map[string]string
func (*AgentCheckConfig) GetTarget ¶ added in v1.0.79
func (x *AgentCheckConfig) GetTarget() string
func (*AgentCheckConfig) GetTimeoutSec ¶ added in v1.0.79
func (x *AgentCheckConfig) GetTimeoutSec() int32
func (*AgentCheckConfig) ProtoMessage ¶ added in v1.0.79
func (*AgentCheckConfig) ProtoMessage()
func (*AgentCheckConfig) ProtoReflect ¶ added in v1.0.79
func (x *AgentCheckConfig) ProtoReflect() protoreflect.Message
func (*AgentCheckConfig) Reset ¶ added in v1.0.79
func (x *AgentCheckConfig) Reset()
func (*AgentCheckConfig) String ¶ added in v1.0.79
func (x *AgentCheckConfig) String() string
type AgentConfigRequest ¶ added in v1.0.79
type AgentConfigRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Agent requesting config
ConfigVersion string `protobuf:"bytes,2,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"` // Current config version hash (for cache validation)
// contains filtered or unexported fields
}
AgentConfigRequest is sent by the agent to fetch its configuration.
func (*AgentConfigRequest) Descriptor
deprecated
added in
v1.0.79
func (*AgentConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentConfigRequest.ProtoReflect.Descriptor instead.
func (*AgentConfigRequest) GetAgentId ¶ added in v1.0.79
func (x *AgentConfigRequest) GetAgentId() string
func (*AgentConfigRequest) GetConfigVersion ¶ added in v1.0.79
func (x *AgentConfigRequest) GetConfigVersion() string
func (*AgentConfigRequest) ProtoMessage ¶ added in v1.0.79
func (*AgentConfigRequest) ProtoMessage()
func (*AgentConfigRequest) ProtoReflect ¶ added in v1.0.79
func (x *AgentConfigRequest) ProtoReflect() protoreflect.Message
func (*AgentConfigRequest) Reset ¶ added in v1.0.79
func (x *AgentConfigRequest) Reset()
func (*AgentConfigRequest) String ¶ added in v1.0.79
func (x *AgentConfigRequest) String() string
type AgentConfigResponse ¶ added in v1.0.79
type AgentConfigResponse struct {
NotModified bool `protobuf:"varint,1,opt,name=not_modified,json=notModified,proto3" json:"not_modified,omitempty"` // True if config_version matches current; config fields empty
ConfigVersion string `protobuf:"bytes,2,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"` // New config version hash
ConfigTimestamp int64 `protobuf:"varint,3,opt,name=config_timestamp,json=configTimestamp,proto3" json:"config_timestamp,omitempty"` // When config was last updated (unix timestamp)
// Agent settings
HeartbeatIntervalSec int32 `protobuf:"varint,4,opt,name=heartbeat_interval_sec,json=heartbeatIntervalSec,proto3" json:"heartbeat_interval_sec,omitempty"` // How often to push status (seconds)
ConfigPollIntervalSec int32 `` // How often to check for config updates (seconds)
/* 129-byte string literal not displayed */
// Checks to perform
Checks []*AgentCheckConfig `protobuf:"bytes,6,rep,name=checks,proto3" json:"checks,omitempty"`
// Optional: raw JSON config for extensibility
ConfigJson []byte `protobuf:"bytes,7,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
// Sysmon configuration for embedded system monitoring
SysmonConfig *SysmonConfig `protobuf:"bytes,8,opt,name=sysmon_config,json=sysmonConfig,proto3" json:"sysmon_config,omitempty"`
// SNMP configuration for embedded SNMP monitoring
SnmpConfig *SNMPConfig `protobuf:"bytes,9,opt,name=snmp_config,json=snmpConfig,proto3" json:"snmp_config,omitempty"`
// Wasm plugin configuration assignments
PluginConfig *PluginConfig `protobuf:"bytes,11,opt,name=plugin_config,json=pluginConfig,proto3" json:"plugin_config,omitempty"`
// contains filtered or unexported fields
}
AgentConfigResponse contains the agent's configuration from the SaaS control plane.
func (*AgentConfigResponse) Descriptor
deprecated
added in
v1.0.79
func (*AgentConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use AgentConfigResponse.ProtoReflect.Descriptor instead.
func (*AgentConfigResponse) GetChecks ¶ added in v1.0.79
func (x *AgentConfigResponse) GetChecks() []*AgentCheckConfig
func (*AgentConfigResponse) GetConfigJson ¶ added in v1.0.79
func (x *AgentConfigResponse) GetConfigJson() []byte
func (*AgentConfigResponse) GetConfigPollIntervalSec ¶ added in v1.0.79
func (x *AgentConfigResponse) GetConfigPollIntervalSec() int32
func (*AgentConfigResponse) GetConfigTimestamp ¶ added in v1.0.79
func (x *AgentConfigResponse) GetConfigTimestamp() int64
func (*AgentConfigResponse) GetConfigVersion ¶ added in v1.0.79
func (x *AgentConfigResponse) GetConfigVersion() string
func (*AgentConfigResponse) GetHeartbeatIntervalSec ¶ added in v1.0.79
func (x *AgentConfigResponse) GetHeartbeatIntervalSec() int32
func (*AgentConfigResponse) GetNotModified ¶ added in v1.0.79
func (x *AgentConfigResponse) GetNotModified() bool
func (*AgentConfigResponse) GetPluginConfig ¶ added in v1.0.83
func (x *AgentConfigResponse) GetPluginConfig() *PluginConfig
func (*AgentConfigResponse) GetSnmpConfig ¶ added in v1.0.79
func (x *AgentConfigResponse) GetSnmpConfig() *SNMPConfig
func (*AgentConfigResponse) GetSysmonConfig ¶ added in v1.0.79
func (x *AgentConfigResponse) GetSysmonConfig() *SysmonConfig
func (*AgentConfigResponse) ProtoMessage ¶ added in v1.0.79
func (*AgentConfigResponse) ProtoMessage()
func (*AgentConfigResponse) ProtoReflect ¶ added in v1.0.79
func (x *AgentConfigResponse) ProtoReflect() protoreflect.Message
func (*AgentConfigResponse) Reset ¶ added in v1.0.79
func (x *AgentConfigResponse) Reset()
func (*AgentConfigResponse) String ¶ added in v1.0.79
func (x *AgentConfigResponse) String() string
type AgentGatewayServiceClient ¶ added in v1.0.79
type AgentGatewayServiceClient interface {
// Hello is called by the agent on startup to announce itself and enroll.
// The gateway validates the mTLS certificate and registers the agent.
Hello(ctx context.Context, in *AgentHelloRequest, opts ...grpc.CallOption) (*AgentHelloResponse, error)
// GetConfig is called by the agent to fetch its configuration.
// Supports versioning - returns not_modified if config hasn't changed.
GetConfig(ctx context.Context, in *AgentConfigRequest, opts ...grpc.CallOption) (*AgentConfigResponse, error)
// PushStatus sends a batch of service statuses from the agent to the gateway.
PushStatus(ctx context.Context, in *GatewayStatusRequest, opts ...grpc.CallOption) (*GatewayStatusResponse, error)
// StreamStatus streams service status chunks for large payloads.
StreamStatus(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[GatewayStatusChunk, GatewayStatusResponse], error)
// ControlStream establishes a bidirectional control channel for commands and push-config.
ControlStream(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ControlStreamRequest, ControlStreamResponse], error)
}
AgentGatewayServiceClient is the client API for AgentGatewayService 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.
AgentGatewayService receives status pushes from agents. Agents connect outbound to the gateway and push their status/results.
func NewAgentGatewayServiceClient ¶ added in v1.0.79
func NewAgentGatewayServiceClient(cc grpc.ClientConnInterface) AgentGatewayServiceClient
type AgentGatewayServiceServer ¶ added in v1.0.79
type AgentGatewayServiceServer interface {
// Hello is called by the agent on startup to announce itself and enroll.
// The gateway validates the mTLS certificate and registers the agent.
Hello(context.Context, *AgentHelloRequest) (*AgentHelloResponse, error)
// GetConfig is called by the agent to fetch its configuration.
// Supports versioning - returns not_modified if config hasn't changed.
GetConfig(context.Context, *AgentConfigRequest) (*AgentConfigResponse, error)
// PushStatus sends a batch of service statuses from the agent to the gateway.
PushStatus(context.Context, *GatewayStatusRequest) (*GatewayStatusResponse, error)
// StreamStatus streams service status chunks for large payloads.
StreamStatus(grpc.ClientStreamingServer[GatewayStatusChunk, GatewayStatusResponse]) error
// ControlStream establishes a bidirectional control channel for commands and push-config.
ControlStream(grpc.BidiStreamingServer[ControlStreamRequest, ControlStreamResponse]) error
// contains filtered or unexported methods
}
AgentGatewayServiceServer is the server API for AgentGatewayService service. All implementations must embed UnimplementedAgentGatewayServiceServer for forward compatibility.
AgentGatewayService receives status pushes from agents. Agents connect outbound to the gateway and push their status/results.
type AgentGatewayService_ControlStreamClient ¶ added in v1.0.91
type AgentGatewayService_ControlStreamClient = grpc.BidiStreamingClient[ControlStreamRequest, ControlStreamResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentGatewayService_ControlStreamServer ¶ added in v1.0.91
type AgentGatewayService_ControlStreamServer = grpc.BidiStreamingServer[ControlStreamRequest, ControlStreamResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentGatewayService_StreamStatusClient ¶ added in v1.0.79
type AgentGatewayService_StreamStatusClient = grpc.ClientStreamingClient[GatewayStatusChunk, GatewayStatusResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentGatewayService_StreamStatusServer ¶ added in v1.0.79
type AgentGatewayService_StreamStatusServer = grpc.ClientStreamingServer[GatewayStatusChunk, GatewayStatusResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentHelloRequest ¶ added in v1.0.79
type AgentHelloRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Unique agent identifier (from bootstrap config)
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Agent software version (e.g., "1.2.3")
Capabilities []string `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"` // Agent capabilities (e.g., ["icmp", "tcp", "http", "sweep"])
Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"` // Host machine name
Os string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"` // Operating system (e.g., "linux", "darwin", "windows")
Arch string `protobuf:"bytes,6,opt,name=arch,proto3" json:"arch,omitempty"` // Architecture (e.g., "amd64", "arm64")
Partition string `protobuf:"bytes,7,opt,name=partition,proto3" json:"partition,omitempty"` // Partition/site identifier
ConfigVersion string `protobuf:"bytes,8,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"` // Current config version hash (for config sync)
Labels map[string]string `` // Optional labels/tags for grouping
/* 139-byte string literal not displayed */
ConfigSource string `protobuf:"bytes,10,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"` // Source of sysmon config: "remote", "local", "cached", "default"
// contains filtered or unexported fields
}
AgentHelloRequest is sent by the agent on startup to announce itself.
func (*AgentHelloRequest) Descriptor
deprecated
added in
v1.0.79
func (*AgentHelloRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentHelloRequest.ProtoReflect.Descriptor instead.
func (*AgentHelloRequest) GetAgentId ¶ added in v1.0.79
func (x *AgentHelloRequest) GetAgentId() string
func (*AgentHelloRequest) GetArch ¶ added in v1.0.79
func (x *AgentHelloRequest) GetArch() string
func (*AgentHelloRequest) GetCapabilities ¶ added in v1.0.79
func (x *AgentHelloRequest) GetCapabilities() []string
func (*AgentHelloRequest) GetConfigSource ¶ added in v1.0.79
func (x *AgentHelloRequest) GetConfigSource() string
func (*AgentHelloRequest) GetConfigVersion ¶ added in v1.0.79
func (x *AgentHelloRequest) GetConfigVersion() string
func (*AgentHelloRequest) GetHostname ¶ added in v1.0.79
func (x *AgentHelloRequest) GetHostname() string
func (*AgentHelloRequest) GetLabels ¶ added in v1.0.79
func (x *AgentHelloRequest) GetLabels() map[string]string
func (*AgentHelloRequest) GetOs ¶ added in v1.0.79
func (x *AgentHelloRequest) GetOs() string
func (*AgentHelloRequest) GetPartition ¶ added in v1.0.79
func (x *AgentHelloRequest) GetPartition() string
func (*AgentHelloRequest) GetVersion ¶ added in v1.0.79
func (x *AgentHelloRequest) GetVersion() string
func (*AgentHelloRequest) ProtoMessage ¶ added in v1.0.79
func (*AgentHelloRequest) ProtoMessage()
func (*AgentHelloRequest) ProtoReflect ¶ added in v1.0.79
func (x *AgentHelloRequest) ProtoReflect() protoreflect.Message
func (*AgentHelloRequest) Reset ¶ added in v1.0.79
func (x *AgentHelloRequest) Reset()
func (*AgentHelloRequest) String ¶ added in v1.0.79
func (x *AgentHelloRequest) String() string
type AgentHelloResponse ¶ added in v1.0.79
type AgentHelloResponse struct {
Accepted bool `protobuf:"varint,1,opt,name=accepted,proto3" json:"accepted,omitempty"` // Whether the agent was accepted
AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Confirmed agent ID (may be assigned if not provided)
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // Human-readable status message
GatewayId string `protobuf:"bytes,4,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` // Gateway that accepted the connection
ServerTime int64 `protobuf:"varint,5,opt,name=server_time,json=serverTime,proto3" json:"server_time,omitempty"` // Server timestamp (for clock sync)
HeartbeatIntervalSec int32 `protobuf:"varint,6,opt,name=heartbeat_interval_sec,json=heartbeatIntervalSec,proto3" json:"heartbeat_interval_sec,omitempty"` // Recommended status push interval in seconds
ConfigOutdated bool `protobuf:"varint,7,opt,name=config_outdated,json=configOutdated,proto3" json:"config_outdated,omitempty"` // True if agent should fetch new config
// contains filtered or unexported fields
}
AgentHelloResponse is returned by the gateway after validating the agent.
func (*AgentHelloResponse) Descriptor
deprecated
added in
v1.0.79
func (*AgentHelloResponse) Descriptor() ([]byte, []int)
Deprecated: Use AgentHelloResponse.ProtoReflect.Descriptor instead.
func (*AgentHelloResponse) GetAccepted ¶ added in v1.0.79
func (x *AgentHelloResponse) GetAccepted() bool
func (*AgentHelloResponse) GetAgentId ¶ added in v1.0.79
func (x *AgentHelloResponse) GetAgentId() string
func (*AgentHelloResponse) GetConfigOutdated ¶ added in v1.0.79
func (x *AgentHelloResponse) GetConfigOutdated() bool
func (*AgentHelloResponse) GetGatewayId ¶ added in v1.0.79
func (x *AgentHelloResponse) GetGatewayId() string
func (*AgentHelloResponse) GetHeartbeatIntervalSec ¶ added in v1.0.79
func (x *AgentHelloResponse) GetHeartbeatIntervalSec() int32
func (*AgentHelloResponse) GetMessage ¶ added in v1.0.79
func (x *AgentHelloResponse) GetMessage() string
func (*AgentHelloResponse) GetServerTime ¶ added in v1.0.79
func (x *AgentHelloResponse) GetServerTime() int64
func (*AgentHelloResponse) ProtoMessage ¶ added in v1.0.79
func (*AgentHelloResponse) ProtoMessage()
func (*AgentHelloResponse) ProtoReflect ¶ added in v1.0.79
func (x *AgentHelloResponse) ProtoReflect() protoreflect.Message
func (*AgentHelloResponse) Reset ¶ added in v1.0.79
func (x *AgentHelloResponse) Reset()
func (*AgentHelloResponse) String ¶ added in v1.0.79
func (x *AgentHelloResponse) String() string
type AgentServiceClient ¶
type AgentServiceClient interface {
GetStatus(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
GetResults(ctx context.Context, in *ResultsRequest, opts ...grpc.CallOption) (*ResultsResponse, error)
StreamResults(ctx context.Context, in *ResultsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ResultsChunk], error)
}
AgentServiceClient is the client API for AgentService 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 NewAgentServiceClient ¶
func NewAgentServiceClient(cc grpc.ClientConnInterface) AgentServiceClient
type AgentServiceServer ¶
type AgentServiceServer interface {
GetStatus(context.Context, *StatusRequest) (*StatusResponse, error)
GetResults(context.Context, *ResultsRequest) (*ResultsResponse, error)
StreamResults(*ResultsRequest, grpc.ServerStreamingServer[ResultsChunk]) error
// contains filtered or unexported methods
}
AgentServiceServer is the server API for AgentService service. All implementations must embed UnimplementedAgentServiceServer for forward compatibility.
type AgentService_StreamResultsClient ¶
type AgentService_StreamResultsClient = grpc.ServerStreamingClient[ResultsChunk]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentService_StreamResultsServer ¶
type AgentService_StreamResultsServer = grpc.ServerStreamingServer[ResultsChunk]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type BatchGetEntry ¶ added in v1.0.55
type BatchGetEntry struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
Found bool `protobuf:"varint,3,opt,name=found,proto3" json:"found,omitempty"`
Revision uint64 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}
BatchGetEntry represents a single key/value (with metadata) in a batch response.
func (*BatchGetEntry) Descriptor
deprecated
added in
v1.0.55
func (*BatchGetEntry) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetEntry.ProtoReflect.Descriptor instead.
func (*BatchGetEntry) GetFound ¶ added in v1.0.55
func (x *BatchGetEntry) GetFound() bool
func (*BatchGetEntry) GetKey ¶ added in v1.0.55
func (x *BatchGetEntry) GetKey() string
func (*BatchGetEntry) GetRevision ¶ added in v1.0.55
func (x *BatchGetEntry) GetRevision() uint64
func (*BatchGetEntry) GetValue ¶ added in v1.0.55
func (x *BatchGetEntry) GetValue() []byte
func (*BatchGetEntry) ProtoMessage ¶ added in v1.0.55
func (*BatchGetEntry) ProtoMessage()
func (*BatchGetEntry) ProtoReflect ¶ added in v1.0.55
func (x *BatchGetEntry) ProtoReflect() protoreflect.Message
func (*BatchGetEntry) Reset ¶ added in v1.0.55
func (x *BatchGetEntry) Reset()
func (*BatchGetEntry) String ¶ added in v1.0.55
func (x *BatchGetEntry) String() string
type BatchGetRequest ¶ added in v1.0.55
type BatchGetRequest struct {
Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
// contains filtered or unexported fields
}
BatchGetRequest is the request message for retrieving multiple keys at once.
func (*BatchGetRequest) Descriptor
deprecated
added in
v1.0.55
func (*BatchGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetRequest.ProtoReflect.Descriptor instead.
func (*BatchGetRequest) GetKeys ¶ added in v1.0.55
func (x *BatchGetRequest) GetKeys() []string
func (*BatchGetRequest) ProtoMessage ¶ added in v1.0.55
func (*BatchGetRequest) ProtoMessage()
func (*BatchGetRequest) ProtoReflect ¶ added in v1.0.55
func (x *BatchGetRequest) ProtoReflect() protoreflect.Message
func (*BatchGetRequest) Reset ¶ added in v1.0.55
func (x *BatchGetRequest) Reset()
func (*BatchGetRequest) String ¶ added in v1.0.55
func (x *BatchGetRequest) String() string
type BatchGetResponse ¶ added in v1.0.55
type BatchGetResponse struct {
Results []*BatchGetEntry `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}
BatchGetResponse contains the ordered results for the requested keys.
func (*BatchGetResponse) Descriptor
deprecated
added in
v1.0.55
func (*BatchGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetResponse.ProtoReflect.Descriptor instead.
func (*BatchGetResponse) GetResults ¶ added in v1.0.55
func (x *BatchGetResponse) GetResults() []*BatchGetEntry
func (*BatchGetResponse) ProtoMessage ¶ added in v1.0.55
func (*BatchGetResponse) ProtoMessage()
func (*BatchGetResponse) ProtoReflect ¶ added in v1.0.55
func (x *BatchGetResponse) ProtoReflect() protoreflect.Message
func (*BatchGetResponse) Reset ¶ added in v1.0.55
func (x *BatchGetResponse) Reset()
func (*BatchGetResponse) String ¶ added in v1.0.55
func (x *BatchGetResponse) String() string
type BootstrapOperatorRequest ¶ added in v1.0.79
type BootstrapOperatorRequest struct {
OperatorName string `protobuf:"bytes,1,opt,name=operator_name,json=operatorName,proto3" json:"operator_name,omitempty"` // Name for the operator (e.g., "serviceradar")
ExistingOperatorSeed string `protobuf:"bytes,2,opt,name=existing_operator_seed,json=existingOperatorSeed,proto3" json:"existing_operator_seed,omitempty"` // Optional: import existing seed instead of generating
GenerateSystemAccount bool `` // Whether to generate the system account
/* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
BootstrapOperatorRequest is used to initialize the NATS operator.
func (*BootstrapOperatorRequest) Descriptor
deprecated
added in
v1.0.79
func (*BootstrapOperatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapOperatorRequest.ProtoReflect.Descriptor instead.
func (*BootstrapOperatorRequest) GetExistingOperatorSeed ¶ added in v1.0.79
func (x *BootstrapOperatorRequest) GetExistingOperatorSeed() string
func (*BootstrapOperatorRequest) GetGenerateSystemAccount ¶ added in v1.0.79
func (x *BootstrapOperatorRequest) GetGenerateSystemAccount() bool
func (*BootstrapOperatorRequest) GetOperatorName ¶ added in v1.0.79
func (x *BootstrapOperatorRequest) GetOperatorName() string
func (*BootstrapOperatorRequest) ProtoMessage ¶ added in v1.0.79
func (*BootstrapOperatorRequest) ProtoMessage()
func (*BootstrapOperatorRequest) ProtoReflect ¶ added in v1.0.79
func (x *BootstrapOperatorRequest) ProtoReflect() protoreflect.Message
func (*BootstrapOperatorRequest) Reset ¶ added in v1.0.79
func (x *BootstrapOperatorRequest) Reset()
func (*BootstrapOperatorRequest) String ¶ added in v1.0.79
func (x *BootstrapOperatorRequest) String() string
type BootstrapOperatorResponse ¶ added in v1.0.79
type BootstrapOperatorResponse struct {
OperatorPublicKey string `protobuf:"bytes,1,opt,name=operator_public_key,json=operatorPublicKey,proto3" json:"operator_public_key,omitempty"` // The operator's public NKey (starts with 'O')
OperatorSeed string `protobuf:"bytes,2,opt,name=operator_seed,json=operatorSeed,proto3" json:"operator_seed,omitempty"` // The operator's private seed - only if newly generated
OperatorJwt string `protobuf:"bytes,3,opt,name=operator_jwt,json=operatorJwt,proto3" json:"operator_jwt,omitempty"` // The signed operator JWT
SystemAccountPublicKey string `` // System account public key (if generated)
/* 131-byte string literal not displayed */
SystemAccountSeed string `protobuf:"bytes,5,opt,name=system_account_seed,json=systemAccountSeed,proto3" json:"system_account_seed,omitempty"` // System account seed - only if newly generated
SystemAccountJwt string `protobuf:"bytes,6,opt,name=system_account_jwt,json=systemAccountJwt,proto3" json:"system_account_jwt,omitempty"` // Signed system account JWT (if generated)
// contains filtered or unexported fields
}
BootstrapOperatorResponse returns the operator credentials. Seeds are only returned if newly generated (not when importing existing).
func (*BootstrapOperatorResponse) Descriptor
deprecated
added in
v1.0.79
func (*BootstrapOperatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapOperatorResponse.ProtoReflect.Descriptor instead.
func (*BootstrapOperatorResponse) GetOperatorJwt ¶ added in v1.0.79
func (x *BootstrapOperatorResponse) GetOperatorJwt() string
func (*BootstrapOperatorResponse) GetOperatorPublicKey ¶ added in v1.0.79
func (x *BootstrapOperatorResponse) GetOperatorPublicKey() string
func (*BootstrapOperatorResponse) GetOperatorSeed ¶ added in v1.0.79
func (x *BootstrapOperatorResponse) GetOperatorSeed() string
func (*BootstrapOperatorResponse) GetSystemAccountJwt ¶ added in v1.0.79
func (x *BootstrapOperatorResponse) GetSystemAccountJwt() string
func (*BootstrapOperatorResponse) GetSystemAccountPublicKey ¶ added in v1.0.79
func (x *BootstrapOperatorResponse) GetSystemAccountPublicKey() string
func (*BootstrapOperatorResponse) GetSystemAccountSeed ¶ added in v1.0.79
func (x *BootstrapOperatorResponse) GetSystemAccountSeed() string
func (*BootstrapOperatorResponse) ProtoMessage ¶ added in v1.0.79
func (*BootstrapOperatorResponse) ProtoMessage()
func (*BootstrapOperatorResponse) ProtoReflect ¶ added in v1.0.79
func (x *BootstrapOperatorResponse) ProtoReflect() protoreflect.Message
func (*BootstrapOperatorResponse) Reset ¶ added in v1.0.79
func (x *BootstrapOperatorResponse) Reset()
func (*BootstrapOperatorResponse) String ¶ added in v1.0.79
func (x *BootstrapOperatorResponse) String() string
type CommandAck ¶ added in v1.0.91
type CommandAck struct {
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` // Command identifier
CommandType string `protobuf:"bytes,2,opt,name=command_type,json=commandType,proto3" json:"command_type,omitempty"` // Command type
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Ack time (unix seconds)
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // Optional message
// contains filtered or unexported fields
}
CommandAck acknowledges receipt of a command.
func (*CommandAck) Descriptor
deprecated
added in
v1.0.91
func (*CommandAck) Descriptor() ([]byte, []int)
Deprecated: Use CommandAck.ProtoReflect.Descriptor instead.
func (*CommandAck) GetCommandId ¶ added in v1.0.91
func (x *CommandAck) GetCommandId() string
func (*CommandAck) GetCommandType ¶ added in v1.0.91
func (x *CommandAck) GetCommandType() string
func (*CommandAck) GetMessage ¶ added in v1.0.91
func (x *CommandAck) GetMessage() string
func (*CommandAck) GetTimestamp ¶ added in v1.0.91
func (x *CommandAck) GetTimestamp() int64
func (*CommandAck) ProtoMessage ¶ added in v1.0.91
func (*CommandAck) ProtoMessage()
func (*CommandAck) ProtoReflect ¶ added in v1.0.91
func (x *CommandAck) ProtoReflect() protoreflect.Message
func (*CommandAck) Reset ¶ added in v1.0.91
func (x *CommandAck) Reset()
func (*CommandAck) String ¶ added in v1.0.91
func (x *CommandAck) String() string
type CommandProgress ¶ added in v1.0.91
type CommandProgress struct {
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` // Command identifier
CommandType string `protobuf:"bytes,2,opt,name=command_type,json=commandType,proto3" json:"command_type,omitempty"` // Command type
ProgressPercent int32 `protobuf:"varint,3,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` // Progress percentage (0-100)
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // Optional progress message
Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Progress time (unix seconds)
// contains filtered or unexported fields
}
CommandProgress reports intermediate progress for a command.
func (*CommandProgress) Descriptor
deprecated
added in
v1.0.91
func (*CommandProgress) Descriptor() ([]byte, []int)
Deprecated: Use CommandProgress.ProtoReflect.Descriptor instead.
func (*CommandProgress) GetCommandId ¶ added in v1.0.91
func (x *CommandProgress) GetCommandId() string
func (*CommandProgress) GetCommandType ¶ added in v1.0.91
func (x *CommandProgress) GetCommandType() string
func (*CommandProgress) GetMessage ¶ added in v1.0.91
func (x *CommandProgress) GetMessage() string
func (*CommandProgress) GetProgressPercent ¶ added in v1.0.91
func (x *CommandProgress) GetProgressPercent() int32
func (*CommandProgress) GetTimestamp ¶ added in v1.0.91
func (x *CommandProgress) GetTimestamp() int64
func (*CommandProgress) ProtoMessage ¶ added in v1.0.91
func (*CommandProgress) ProtoMessage()
func (*CommandProgress) ProtoReflect ¶ added in v1.0.91
func (x *CommandProgress) ProtoReflect() protoreflect.Message
func (*CommandProgress) Reset ¶ added in v1.0.91
func (x *CommandProgress) Reset()
func (*CommandProgress) String ¶ added in v1.0.91
func (x *CommandProgress) String() string
type CommandRequest ¶ added in v1.0.91
type CommandRequest struct {
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` // Unique command identifier (UUID)
CommandType string `protobuf:"bytes,2,opt,name=command_type,json=commandType,proto3" json:"command_type,omitempty"` // Command type (e.g., "mapper.run_job")
PayloadJson []byte `protobuf:"bytes,3,opt,name=payload_json,json=payloadJson,proto3" json:"payload_json,omitempty"` // Command payload as JSON
TtlSeconds int64 `protobuf:"varint,4,opt,name=ttl_seconds,json=ttlSeconds,proto3" json:"ttl_seconds,omitempty"` // Time-to-live in seconds
CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Command creation time (unix seconds)
// contains filtered or unexported fields
}
CommandRequest represents a command sent to the agent.
func (*CommandRequest) Descriptor
deprecated
added in
v1.0.91
func (*CommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommandRequest.ProtoReflect.Descriptor instead.
func (*CommandRequest) GetCommandId ¶ added in v1.0.91
func (x *CommandRequest) GetCommandId() string
func (*CommandRequest) GetCommandType ¶ added in v1.0.91
func (x *CommandRequest) GetCommandType() string
func (*CommandRequest) GetCreatedAt ¶ added in v1.0.91
func (x *CommandRequest) GetCreatedAt() int64
func (*CommandRequest) GetPayloadJson ¶ added in v1.0.91
func (x *CommandRequest) GetPayloadJson() []byte
func (*CommandRequest) GetTtlSeconds ¶ added in v1.0.91
func (x *CommandRequest) GetTtlSeconds() int64
func (*CommandRequest) ProtoMessage ¶ added in v1.0.91
func (*CommandRequest) ProtoMessage()
func (*CommandRequest) ProtoReflect ¶ added in v1.0.91
func (x *CommandRequest) ProtoReflect() protoreflect.Message
func (*CommandRequest) Reset ¶ added in v1.0.91
func (x *CommandRequest) Reset()
func (*CommandRequest) String ¶ added in v1.0.91
func (x *CommandRequest) String() string
type CommandResult ¶ added in v1.0.91
type CommandResult struct {
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` // Command identifier
CommandType string `protobuf:"bytes,2,opt,name=command_type,json=commandType,proto3" json:"command_type,omitempty"` // Command type
Success bool `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"` // Whether the command succeeded
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // Result message or error
PayloadJson []byte `protobuf:"bytes,5,opt,name=payload_json,json=payloadJson,proto3" json:"payload_json,omitempty"` // Optional result payload as JSON
Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Completion time (unix seconds)
// contains filtered or unexported fields
}
CommandResult reports completion for a command.
func (*CommandResult) Descriptor
deprecated
added in
v1.0.91
func (*CommandResult) Descriptor() ([]byte, []int)
Deprecated: Use CommandResult.ProtoReflect.Descriptor instead.
func (*CommandResult) GetCommandId ¶ added in v1.0.91
func (x *CommandResult) GetCommandId() string
func (*CommandResult) GetCommandType ¶ added in v1.0.91
func (x *CommandResult) GetCommandType() string
func (*CommandResult) GetMessage ¶ added in v1.0.91
func (x *CommandResult) GetMessage() string
func (*CommandResult) GetPayloadJson ¶ added in v1.0.91
func (x *CommandResult) GetPayloadJson() []byte
func (*CommandResult) GetSuccess ¶ added in v1.0.91
func (x *CommandResult) GetSuccess() bool
func (*CommandResult) GetTimestamp ¶ added in v1.0.91
func (x *CommandResult) GetTimestamp() int64
func (*CommandResult) ProtoMessage ¶ added in v1.0.91
func (*CommandResult) ProtoMessage()
func (*CommandResult) ProtoReflect ¶ added in v1.0.91
func (x *CommandResult) ProtoReflect() protoreflect.Message
func (*CommandResult) Reset ¶ added in v1.0.91
func (x *CommandResult) Reset()
func (*CommandResult) String ¶ added in v1.0.91
func (x *CommandResult) String() string
type ConfigAck ¶ added in v1.0.91
type ConfigAck struct {
ConfigVersion string `protobuf:"bytes,1,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"` // Applied config version
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Ack time (unix seconds)
// contains filtered or unexported fields
}
ConfigAck acknowledges a pushed config.
func (*ConfigAck) Descriptor
deprecated
added in
v1.0.91
func (*ConfigAck) GetConfigVersion ¶ added in v1.0.91
func (*ConfigAck) GetTimestamp ¶ added in v1.0.91
func (*ConfigAck) ProtoMessage ¶ added in v1.0.91
func (*ConfigAck) ProtoMessage()
func (*ConfigAck) ProtoReflect ¶ added in v1.0.91
func (x *ConfigAck) ProtoReflect() protoreflect.Message
type ControlStreamHello ¶ added in v1.0.91
type ControlStreamHello struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Unique agent identifier
Partition string `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"` // Partition/site identifier
Capabilities []string `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"` // Agent capabilities (e.g., ["mapper", "sweep"])
ConfigVersion string `protobuf:"bytes,4,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"` // Current config version hash
// contains filtered or unexported fields
}
ControlStreamHello identifies the agent on the control stream.
func (*ControlStreamHello) Descriptor
deprecated
added in
v1.0.91
func (*ControlStreamHello) Descriptor() ([]byte, []int)
Deprecated: Use ControlStreamHello.ProtoReflect.Descriptor instead.
func (*ControlStreamHello) GetAgentId ¶ added in v1.0.91
func (x *ControlStreamHello) GetAgentId() string
func (*ControlStreamHello) GetCapabilities ¶ added in v1.0.91
func (x *ControlStreamHello) GetCapabilities() []string
func (*ControlStreamHello) GetConfigVersion ¶ added in v1.0.91
func (x *ControlStreamHello) GetConfigVersion() string
func (*ControlStreamHello) GetPartition ¶ added in v1.0.91
func (x *ControlStreamHello) GetPartition() string
func (*ControlStreamHello) ProtoMessage ¶ added in v1.0.91
func (*ControlStreamHello) ProtoMessage()
func (*ControlStreamHello) ProtoReflect ¶ added in v1.0.91
func (x *ControlStreamHello) ProtoReflect() protoreflect.Message
func (*ControlStreamHello) Reset ¶ added in v1.0.91
func (x *ControlStreamHello) Reset()
func (*ControlStreamHello) String ¶ added in v1.0.91
func (x *ControlStreamHello) String() string
type ControlStreamRequest ¶ added in v1.0.91
type ControlStreamRequest struct {
// Types that are valid to be assigned to Payload:
//
// *ControlStreamRequest_Hello
// *ControlStreamRequest_CommandAck
// *ControlStreamRequest_CommandProgress
// *ControlStreamRequest_CommandResult
// *ControlStreamRequest_ConfigAck
Payload isControlStreamRequest_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
ControlStreamRequest carries agent → gateway control messages.
func (*ControlStreamRequest) Descriptor
deprecated
added in
v1.0.91
func (*ControlStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use ControlStreamRequest.ProtoReflect.Descriptor instead.
func (*ControlStreamRequest) GetCommandAck ¶ added in v1.0.91
func (x *ControlStreamRequest) GetCommandAck() *CommandAck
func (*ControlStreamRequest) GetCommandProgress ¶ added in v1.0.91
func (x *ControlStreamRequest) GetCommandProgress() *CommandProgress
func (*ControlStreamRequest) GetCommandResult ¶ added in v1.0.91
func (x *ControlStreamRequest) GetCommandResult() *CommandResult
func (*ControlStreamRequest) GetConfigAck ¶ added in v1.0.91
func (x *ControlStreamRequest) GetConfigAck() *ConfigAck
func (*ControlStreamRequest) GetHello ¶ added in v1.0.91
func (x *ControlStreamRequest) GetHello() *ControlStreamHello
func (*ControlStreamRequest) GetPayload ¶ added in v1.0.91
func (x *ControlStreamRequest) GetPayload() isControlStreamRequest_Payload
func (*ControlStreamRequest) ProtoMessage ¶ added in v1.0.91
func (*ControlStreamRequest) ProtoMessage()
func (*ControlStreamRequest) ProtoReflect ¶ added in v1.0.91
func (x *ControlStreamRequest) ProtoReflect() protoreflect.Message
func (*ControlStreamRequest) Reset ¶ added in v1.0.91
func (x *ControlStreamRequest) Reset()
func (*ControlStreamRequest) String ¶ added in v1.0.91
func (x *ControlStreamRequest) String() string
type ControlStreamRequest_CommandAck ¶ added in v1.0.91
type ControlStreamRequest_CommandAck struct {
CommandAck *CommandAck `protobuf:"bytes,2,opt,name=command_ack,json=commandAck,proto3,oneof"`
}
type ControlStreamRequest_CommandProgress ¶ added in v1.0.91
type ControlStreamRequest_CommandProgress struct {
CommandProgress *CommandProgress `protobuf:"bytes,3,opt,name=command_progress,json=commandProgress,proto3,oneof"`
}
type ControlStreamRequest_CommandResult ¶ added in v1.0.91
type ControlStreamRequest_CommandResult struct {
CommandResult *CommandResult `protobuf:"bytes,4,opt,name=command_result,json=commandResult,proto3,oneof"`
}
type ControlStreamRequest_ConfigAck ¶ added in v1.0.91
type ControlStreamRequest_ConfigAck struct {
ConfigAck *ConfigAck `protobuf:"bytes,5,opt,name=config_ack,json=configAck,proto3,oneof"`
}
type ControlStreamRequest_Hello ¶ added in v1.0.91
type ControlStreamRequest_Hello struct {
Hello *ControlStreamHello `protobuf:"bytes,1,opt,name=hello,proto3,oneof"`
}
type ControlStreamResponse ¶ added in v1.0.91
type ControlStreamResponse struct {
// Types that are valid to be assigned to Payload:
//
// *ControlStreamResponse_Command
// *ControlStreamResponse_Config
Payload isControlStreamResponse_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
ControlStreamResponse carries gateway → agent control messages.
func (*ControlStreamResponse) Descriptor
deprecated
added in
v1.0.91
func (*ControlStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use ControlStreamResponse.ProtoReflect.Descriptor instead.
func (*ControlStreamResponse) GetCommand ¶ added in v1.0.91
func (x *ControlStreamResponse) GetCommand() *CommandRequest
func (*ControlStreamResponse) GetConfig ¶ added in v1.0.91
func (x *ControlStreamResponse) GetConfig() *AgentConfigResponse
func (*ControlStreamResponse) GetPayload ¶ added in v1.0.91
func (x *ControlStreamResponse) GetPayload() isControlStreamResponse_Payload
func (*ControlStreamResponse) ProtoMessage ¶ added in v1.0.91
func (*ControlStreamResponse) ProtoMessage()
func (*ControlStreamResponse) ProtoReflect ¶ added in v1.0.91
func (x *ControlStreamResponse) ProtoReflect() protoreflect.Message
func (*ControlStreamResponse) Reset ¶ added in v1.0.91
func (x *ControlStreamResponse) Reset()
func (*ControlStreamResponse) String ¶ added in v1.0.91
func (x *ControlStreamResponse) String() string
type ControlStreamResponse_Command ¶ added in v1.0.91
type ControlStreamResponse_Command struct {
Command *CommandRequest `protobuf:"bytes,1,opt,name=command,proto3,oneof"`
}
type ControlStreamResponse_Config ¶ added in v1.0.91
type ControlStreamResponse_Config struct {
Config *AgentConfigResponse `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}
type CoreServiceClient ¶ added in v1.0.55
type CoreServiceClient interface {
// GetCanonicalDevice resolves identities to canonical device records backed by the shared identity map.
GetCanonicalDevice(ctx context.Context, in *GetCanonicalDeviceRequest, opts ...grpc.CallOption) (*GetCanonicalDeviceResponse, error)
// RegisterTemplate allows services to register their default config templates on startup.
RegisterTemplate(ctx context.Context, in *RegisterTemplateRequest, opts ...grpc.CallOption) (*RegisterTemplateResponse, error)
// GetTemplate retrieves a registered template for admin seeding operations.
GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...grpc.CallOption) (*GetTemplateResponse, error)
// ListTemplates returns metadata about all registered templates.
ListTemplates(ctx context.Context, in *ListTemplatesRequest, opts ...grpc.CallOption) (*ListTemplatesResponse, error)
}
CoreServiceClient is the client API for CoreService 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.
CoreService exposes control-plane RPCs for gateways and agents.
func NewCoreServiceClient ¶ added in v1.0.55
func NewCoreServiceClient(cc grpc.ClientConnInterface) CoreServiceClient
type CoreServiceServer ¶ added in v1.0.55
type CoreServiceServer interface {
// GetCanonicalDevice resolves identities to canonical device records backed by the shared identity map.
GetCanonicalDevice(context.Context, *GetCanonicalDeviceRequest) (*GetCanonicalDeviceResponse, error)
// RegisterTemplate allows services to register their default config templates on startup.
RegisterTemplate(context.Context, *RegisterTemplateRequest) (*RegisterTemplateResponse, error)
// GetTemplate retrieves a registered template for admin seeding operations.
GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error)
// ListTemplates returns metadata about all registered templates.
ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error)
// contains filtered or unexported methods
}
CoreServiceServer is the server API for CoreService service. All implementations must embed UnimplementedCoreServiceServer for forward compatibility.
CoreService exposes control-plane RPCs for gateways and agents.
type CreateAccountRequest ¶ added in v1.0.79
type CreateAccountRequest struct {
AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Unique account identifier (e.g., "acme-corp")
Limits *AccountLimits `protobuf:"bytes,2,opt,name=limits,proto3" json:"limits,omitempty"` // Optional resource limits
SubjectMappings []*SubjectMapping `protobuf:"bytes,3,rep,name=subject_mappings,json=subjectMappings,proto3" json:"subject_mappings,omitempty"` // Optional custom subject mappings
Exports []*StreamExport `protobuf:"bytes,4,rep,name=exports,proto3" json:"exports,omitempty"` // Optional stream exports (defaults applied server-side)
// contains filtered or unexported fields
}
CreateAccountRequest is the request to create a new NATS account.
func (*CreateAccountRequest) Descriptor
deprecated
added in
v1.0.79
func (*CreateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountRequest) GetAccountName ¶ added in v1.0.79
func (x *CreateAccountRequest) GetAccountName() string
func (*CreateAccountRequest) GetExports ¶ added in v1.0.79
func (x *CreateAccountRequest) GetExports() []*StreamExport
func (*CreateAccountRequest) GetLimits ¶ added in v1.0.79
func (x *CreateAccountRequest) GetLimits() *AccountLimits
func (*CreateAccountRequest) GetSubjectMappings ¶ added in v1.0.79
func (x *CreateAccountRequest) GetSubjectMappings() []*SubjectMapping
func (*CreateAccountRequest) ProtoMessage ¶ added in v1.0.79
func (*CreateAccountRequest) ProtoMessage()
func (*CreateAccountRequest) ProtoReflect ¶ added in v1.0.79
func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountRequest) Reset ¶ added in v1.0.79
func (x *CreateAccountRequest) Reset()
func (*CreateAccountRequest) String ¶ added in v1.0.79
func (x *CreateAccountRequest) String() string
type CreateAccountResponse ¶ added in v1.0.79
type CreateAccountResponse struct {
AccountPublicKey string `protobuf:"bytes,1,opt,name=account_public_key,json=accountPublicKey,proto3" json:"account_public_key,omitempty"` // The account's public NKey (starts with 'A')
AccountSeed string `protobuf:"bytes,2,opt,name=account_seed,json=accountSeed,proto3" json:"account_seed,omitempty"` // The account's private seed (starts with 'SA') - STORE ENCRYPTED
AccountJwt string `protobuf:"bytes,3,opt,name=account_jwt,json=accountJwt,proto3" json:"account_jwt,omitempty"` // The signed account JWT
// contains filtered or unexported fields
}
CreateAccountResponse returns the generated account credentials. The account_seed should be stored encrypted by the caller (Elixir/AshCloak).
func (*CreateAccountResponse) Descriptor
deprecated
added in
v1.0.79
func (*CreateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountResponse) GetAccountJwt ¶ added in v1.0.79
func (x *CreateAccountResponse) GetAccountJwt() string
func (*CreateAccountResponse) GetAccountPublicKey ¶ added in v1.0.79
func (x *CreateAccountResponse) GetAccountPublicKey() string
func (*CreateAccountResponse) GetAccountSeed ¶ added in v1.0.79
func (x *CreateAccountResponse) GetAccountSeed() string
func (*CreateAccountResponse) ProtoMessage ¶ added in v1.0.79
func (*CreateAccountResponse) ProtoMessage()
func (*CreateAccountResponse) ProtoReflect ¶ added in v1.0.79
func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountResponse) Reset ¶ added in v1.0.79
func (x *CreateAccountResponse) Reset()
func (*CreateAccountResponse) String ¶ added in v1.0.79
func (x *CreateAccountResponse) String() string
type DataServiceClient ¶ added in v1.0.55
type DataServiceClient interface {
// UploadObject streams an object payload into the JetStream object store.
UploadObject(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[ObjectUploadChunk, UploadObjectResponse], error)
// DownloadObject streams the contents of an object from the JetStream object store.
DownloadObject(ctx context.Context, in *DownloadObjectRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ObjectDownloadChunk], error)
// DeleteObject removes an object from the JetStream object store.
DeleteObject(ctx context.Context, in *DeleteObjectRequest, opts ...grpc.CallOption) (*DeleteObjectResponse, error)
// GetObjectInfo retrieves metadata for an object without returning its payload.
GetObjectInfo(ctx context.Context, in *GetObjectInfoRequest, opts ...grpc.CallOption) (*GetObjectInfoResponse, error)
}
DataServiceClient is the client API for DataService 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.
DataService exposes JetStream-backed object storage operations.
func NewDataServiceClient ¶ added in v1.0.55
func NewDataServiceClient(cc grpc.ClientConnInterface) DataServiceClient
type DataServiceServer ¶ added in v1.0.55
type DataServiceServer interface {
// UploadObject streams an object payload into the JetStream object store.
UploadObject(grpc.ClientStreamingServer[ObjectUploadChunk, UploadObjectResponse]) error
// DownloadObject streams the contents of an object from the JetStream object store.
DownloadObject(*DownloadObjectRequest, grpc.ServerStreamingServer[ObjectDownloadChunk]) error
// DeleteObject removes an object from the JetStream object store.
DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error)
// GetObjectInfo retrieves metadata for an object without returning its payload.
GetObjectInfo(context.Context, *GetObjectInfoRequest) (*GetObjectInfoResponse, error)
// contains filtered or unexported methods
}
DataServiceServer is the server API for DataService service. All implementations must embed UnimplementedDataServiceServer for forward compatibility.
DataService exposes JetStream-backed object storage operations.
type DataService_DownloadObjectClient ¶ added in v1.0.55
type DataService_DownloadObjectClient = grpc.ServerStreamingClient[ObjectDownloadChunk]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DataService_DownloadObjectServer ¶ added in v1.0.55
type DataService_DownloadObjectServer = grpc.ServerStreamingServer[ObjectDownloadChunk]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DataService_UploadObjectClient ¶ added in v1.0.55
type DataService_UploadObjectClient = grpc.ClientStreamingClient[ObjectUploadChunk, UploadObjectResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DataService_UploadObjectServer ¶ added in v1.0.55
type DataService_UploadObjectServer = grpc.ClientStreamingServer[ObjectUploadChunk, UploadObjectResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DeleteObjectRequest ¶ added in v1.0.55
type DeleteObjectRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
DeleteObjectRequest identifies the object to delete.
func (*DeleteObjectRequest) Descriptor
deprecated
added in
v1.0.55
func (*DeleteObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteObjectRequest) GetKey ¶ added in v1.0.55
func (x *DeleteObjectRequest) GetKey() string
func (*DeleteObjectRequest) ProtoMessage ¶ added in v1.0.55
func (*DeleteObjectRequest) ProtoMessage()
func (*DeleteObjectRequest) ProtoReflect ¶ added in v1.0.55
func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message
func (*DeleteObjectRequest) Reset ¶ added in v1.0.55
func (x *DeleteObjectRequest) Reset()
func (*DeleteObjectRequest) String ¶ added in v1.0.55
func (x *DeleteObjectRequest) String() string
type DeleteObjectResponse ¶ added in v1.0.55
type DeleteObjectResponse struct {
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
// contains filtered or unexported fields
}
DeleteObjectResponse reports whether an object was deleted.
func (*DeleteObjectResponse) Descriptor
deprecated
added in
v1.0.55
func (*DeleteObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectResponse.ProtoReflect.Descriptor instead.
func (*DeleteObjectResponse) GetDeleted ¶ added in v1.0.55
func (x *DeleteObjectResponse) GetDeleted() bool
func (*DeleteObjectResponse) ProtoMessage ¶ added in v1.0.55
func (*DeleteObjectResponse) ProtoMessage()
func (*DeleteObjectResponse) ProtoReflect ¶ added in v1.0.55
func (x *DeleteObjectResponse) ProtoReflect() protoreflect.Message
func (*DeleteObjectResponse) Reset ¶ added in v1.0.55
func (x *DeleteObjectResponse) Reset()
func (*DeleteObjectResponse) String ¶ added in v1.0.55
func (x *DeleteObjectResponse) String() string
type DeleteRequest ¶
type DeleteRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
DeleteRequest is the request message for the Delete operation.
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetKey ¶
func (x *DeleteRequest) GetKey() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
DeleteResponse is the response message for the Delete operation.
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type DeviceStatusRequest ¶
type DeviceStatusRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Unique identifier for the agent
// contains filtered or unexported fields
}
func (*DeviceStatusRequest) Descriptor
deprecated
func (*DeviceStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceStatusRequest.ProtoReflect.Descriptor instead.
func (*DeviceStatusRequest) GetAgentId ¶
func (x *DeviceStatusRequest) GetAgentId() string
func (*DeviceStatusRequest) ProtoMessage ¶
func (*DeviceStatusRequest) ProtoMessage()
func (*DeviceStatusRequest) ProtoReflect ¶
func (x *DeviceStatusRequest) ProtoReflect() protoreflect.Message
func (*DeviceStatusRequest) Reset ¶
func (x *DeviceStatusRequest) Reset()
func (*DeviceStatusRequest) String ¶
func (x *DeviceStatusRequest) String() string
type DownloadObjectRequest ¶ added in v1.0.55
type DownloadObjectRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
DownloadObjectRequest identifies the object to stream back to the client.
func (*DownloadObjectRequest) Descriptor
deprecated
added in
v1.0.55
func (*DownloadObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadObjectRequest.ProtoReflect.Descriptor instead.
func (*DownloadObjectRequest) GetKey ¶ added in v1.0.55
func (x *DownloadObjectRequest) GetKey() string
func (*DownloadObjectRequest) ProtoMessage ¶ added in v1.0.55
func (*DownloadObjectRequest) ProtoMessage()
func (*DownloadObjectRequest) ProtoReflect ¶ added in v1.0.55
func (x *DownloadObjectRequest) ProtoReflect() protoreflect.Message
func (*DownloadObjectRequest) Reset ¶ added in v1.0.55
func (x *DownloadObjectRequest) Reset()
func (*DownloadObjectRequest) String ¶ added in v1.0.55
func (x *DownloadObjectRequest) String() string
type GatewayServiceStatus ¶ added in v1.0.79
type GatewayServiceStatus struct {
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
Available bool `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
ServiceType string `protobuf:"bytes,4,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
ResponseTime int64 `protobuf:"varint,5,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"`
AgentId string `protobuf:"bytes,6,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Agent ID for traceability
GatewayId string `protobuf:"bytes,7,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` // Gateway ID for traceability
Partition string `protobuf:"bytes,8,opt,name=partition,proto3" json:"partition,omitempty"` // Partition identifier
Source string `protobuf:"bytes,9,opt,name=source,proto3" json:"source,omitempty"` // Source of the message: "status" or "results"
KvStoreId string `protobuf:"bytes,10,opt,name=kv_store_id,json=kvStoreId,proto3" json:"kv_store_id,omitempty"` // KV store identifier this service is using
// contains filtered or unexported fields
}
GatewayServiceStatus represents a single service status pushed by an agent.
func (*GatewayServiceStatus) Descriptor
deprecated
added in
v1.0.79
func (*GatewayServiceStatus) Descriptor() ([]byte, []int)
Deprecated: Use GatewayServiceStatus.ProtoReflect.Descriptor instead.
func (*GatewayServiceStatus) GetAgentId ¶ added in v1.0.79
func (x *GatewayServiceStatus) GetAgentId() string
func (*GatewayServiceStatus) GetAvailable ¶ added in v1.0.79
func (x *GatewayServiceStatus) GetAvailable() bool
func (*GatewayServiceStatus) GetGatewayId ¶ added in v1.0.79
func (x *GatewayServiceStatus) GetGatewayId() string
func (*GatewayServiceStatus) GetKvStoreId ¶ added in v1.0.79
func (x *GatewayServiceStatus) GetKvStoreId() string
func (*GatewayServiceStatus) GetMessage ¶ added in v1.0.79
func (x *GatewayServiceStatus) GetMessage() []byte
func (*GatewayServiceStatus) GetPartition ¶ added in v1.0.79
func (x *GatewayServiceStatus) GetPartition() string
func (*GatewayServiceStatus) GetResponseTime ¶ added in v1.0.79
func (x *GatewayServiceStatus) GetResponseTime() int64
func (*GatewayServiceStatus) GetServiceName ¶ added in v1.0.79
func (x *GatewayServiceStatus) GetServiceName() string
func (*GatewayServiceStatus) GetServiceType ¶ added in v1.0.79
func (x *GatewayServiceStatus) GetServiceType() string
func (*GatewayServiceStatus) GetSource ¶ added in v1.0.79
func (x *GatewayServiceStatus) GetSource() string
func (*GatewayServiceStatus) ProtoMessage ¶ added in v1.0.79
func (*GatewayServiceStatus) ProtoMessage()
func (*GatewayServiceStatus) ProtoReflect ¶ added in v1.0.79
func (x *GatewayServiceStatus) ProtoReflect() protoreflect.Message
func (*GatewayServiceStatus) Reset ¶ added in v1.0.79
func (x *GatewayServiceStatus) Reset()
func (*GatewayServiceStatus) String ¶ added in v1.0.79
func (x *GatewayServiceStatus) String() string
type GatewayStatusChunk ¶ added in v1.0.79
type GatewayStatusChunk struct {
Services []*GatewayServiceStatus `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
GatewayId string `protobuf:"bytes,2,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
AgentId string `protobuf:"bytes,3,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Partition string `protobuf:"bytes,5,opt,name=partition,proto3" json:"partition,omitempty"`
SourceIp string `protobuf:"bytes,6,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
IsFinal bool `protobuf:"varint,7,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"` // Whether this is the last chunk
ChunkIndex int32 `protobuf:"varint,8,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"` // Order of this chunk
TotalChunks int32 `protobuf:"varint,9,opt,name=total_chunks,json=totalChunks,proto3" json:"total_chunks,omitempty"` // Total number of chunks
KvStoreId string `protobuf:"bytes,10,opt,name=kv_store_id,json=kvStoreId,proto3" json:"kv_store_id,omitempty"` // KV store identifier this agent is using
ConfigSource string `protobuf:"bytes,13,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"` // Source of sysmon config: "remote", "local", "cached", "default"
// contains filtered or unexported fields
}
GatewayStatusChunk is used for streaming large status payloads.
func (*GatewayStatusChunk) Descriptor
deprecated
added in
v1.0.79
func (*GatewayStatusChunk) Descriptor() ([]byte, []int)
Deprecated: Use GatewayStatusChunk.ProtoReflect.Descriptor instead.
func (*GatewayStatusChunk) GetAgentId ¶ added in v1.0.79
func (x *GatewayStatusChunk) GetAgentId() string
func (*GatewayStatusChunk) GetChunkIndex ¶ added in v1.0.79
func (x *GatewayStatusChunk) GetChunkIndex() int32
func (*GatewayStatusChunk) GetConfigSource ¶ added in v1.0.79
func (x *GatewayStatusChunk) GetConfigSource() string
func (*GatewayStatusChunk) GetGatewayId ¶ added in v1.0.79
func (x *GatewayStatusChunk) GetGatewayId() string
func (*GatewayStatusChunk) GetIsFinal ¶ added in v1.0.79
func (x *GatewayStatusChunk) GetIsFinal() bool
func (*GatewayStatusChunk) GetKvStoreId ¶ added in v1.0.79
func (x *GatewayStatusChunk) GetKvStoreId() string
func (*GatewayStatusChunk) GetPartition ¶ added in v1.0.79
func (x *GatewayStatusChunk) GetPartition() string
func (*GatewayStatusChunk) GetServices ¶ added in v1.0.79
func (x *GatewayStatusChunk) GetServices() []*GatewayServiceStatus
func (*GatewayStatusChunk) GetSourceIp ¶ added in v1.0.79
func (x *GatewayStatusChunk) GetSourceIp() string
func (*GatewayStatusChunk) GetTimestamp ¶ added in v1.0.79
func (x *GatewayStatusChunk) GetTimestamp() int64
func (*GatewayStatusChunk) GetTotalChunks ¶ added in v1.0.79
func (x *GatewayStatusChunk) GetTotalChunks() int32
func (*GatewayStatusChunk) ProtoMessage ¶ added in v1.0.79
func (*GatewayStatusChunk) ProtoMessage()
func (*GatewayStatusChunk) ProtoReflect ¶ added in v1.0.79
func (x *GatewayStatusChunk) ProtoReflect() protoreflect.Message
func (*GatewayStatusChunk) Reset ¶ added in v1.0.79
func (x *GatewayStatusChunk) Reset()
func (*GatewayStatusChunk) String ¶ added in v1.0.79
func (x *GatewayStatusChunk) String() string
type GatewayStatusRequest ¶ added in v1.0.79
type GatewayStatusRequest struct {
Services []*GatewayServiceStatus `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
GatewayId string `protobuf:"bytes,2,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` // Gateway receiving this status
AgentId string `protobuf:"bytes,3,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Agent sending this status
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Partition string `protobuf:"bytes,5,opt,name=partition,proto3" json:"partition,omitempty"` // Partition identifier
SourceIp string `protobuf:"bytes,6,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"` // Host IP where agent is running
KvStoreId string `protobuf:"bytes,7,opt,name=kv_store_id,json=kvStoreId,proto3" json:"kv_store_id,omitempty"` // KV store identifier this agent is using
ConfigSource string `protobuf:"bytes,10,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"` // Source of sysmon config: "remote", "local", "cached", "default"
// contains filtered or unexported fields
}
GatewayStatusRequest is sent by agents to push their status to the gateway.
func (*GatewayStatusRequest) Descriptor
deprecated
added in
v1.0.79
func (*GatewayStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GatewayStatusRequest.ProtoReflect.Descriptor instead.
func (*GatewayStatusRequest) GetAgentId ¶ added in v1.0.79
func (x *GatewayStatusRequest) GetAgentId() string
func (*GatewayStatusRequest) GetConfigSource ¶ added in v1.0.79
func (x *GatewayStatusRequest) GetConfigSource() string
func (*GatewayStatusRequest) GetGatewayId ¶ added in v1.0.79
func (x *GatewayStatusRequest) GetGatewayId() string
func (*GatewayStatusRequest) GetKvStoreId ¶ added in v1.0.79
func (x *GatewayStatusRequest) GetKvStoreId() string
func (*GatewayStatusRequest) GetPartition ¶ added in v1.0.79
func (x *GatewayStatusRequest) GetPartition() string
func (*GatewayStatusRequest) GetServices ¶ added in v1.0.79
func (x *GatewayStatusRequest) GetServices() []*GatewayServiceStatus
func (*GatewayStatusRequest) GetSourceIp ¶ added in v1.0.79
func (x *GatewayStatusRequest) GetSourceIp() string
func (*GatewayStatusRequest) GetTimestamp ¶ added in v1.0.79
func (x *GatewayStatusRequest) GetTimestamp() int64
func (*GatewayStatusRequest) ProtoMessage ¶ added in v1.0.79
func (*GatewayStatusRequest) ProtoMessage()
func (*GatewayStatusRequest) ProtoReflect ¶ added in v1.0.79
func (x *GatewayStatusRequest) ProtoReflect() protoreflect.Message
func (*GatewayStatusRequest) Reset ¶ added in v1.0.79
func (x *GatewayStatusRequest) Reset()
func (*GatewayStatusRequest) String ¶ added in v1.0.79
func (x *GatewayStatusRequest) String() string
type GatewayStatusResponse ¶ added in v1.0.79
type GatewayStatusResponse struct {
Received bool `protobuf:"varint,1,opt,name=received,proto3" json:"received,omitempty"`
// contains filtered or unexported fields
}
GatewayStatusResponse is the response from the gateway after receiving status.
func (*GatewayStatusResponse) Descriptor
deprecated
added in
v1.0.79
func (*GatewayStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GatewayStatusResponse.ProtoReflect.Descriptor instead.
func (*GatewayStatusResponse) GetReceived ¶ added in v1.0.79
func (x *GatewayStatusResponse) GetReceived() bool
func (*GatewayStatusResponse) ProtoMessage ¶ added in v1.0.79
func (*GatewayStatusResponse) ProtoMessage()
func (*GatewayStatusResponse) ProtoReflect ¶ added in v1.0.79
func (x *GatewayStatusResponse) ProtoReflect() protoreflect.Message
func (*GatewayStatusResponse) Reset ¶ added in v1.0.79
func (x *GatewayStatusResponse) Reset()
func (*GatewayStatusResponse) String ¶ added in v1.0.79
func (x *GatewayStatusResponse) String() string
type GenerateUserCredentialsRequest ¶ added in v1.0.79
type GenerateUserCredentialsRequest struct {
AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Account the user belongs to
AccountSeed string `protobuf:"bytes,2,opt,name=account_seed,json=accountSeed,proto3" json:"account_seed,omitempty"` // Account's private seed for signing (from Elixir storage)
UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // Human-readable user identifier
CredentialType UserCredentialType `` // Type of credentials to generate
/* 134-byte string literal not displayed */
Permissions *UserPermissions `protobuf:"bytes,5,opt,name=permissions,proto3" json:"permissions,omitempty"` // Optional custom permissions (defaults based on type)
ExpirationSeconds int64 `protobuf:"varint,6,opt,name=expiration_seconds,json=expirationSeconds,proto3" json:"expiration_seconds,omitempty"` // Credential expiration in seconds (0 = no expiration)
// contains filtered or unexported fields
}
GenerateUserCredentialsRequest is the request to create user credentials.
func (*GenerateUserCredentialsRequest) Descriptor
deprecated
added in
v1.0.79
func (*GenerateUserCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateUserCredentialsRequest.ProtoReflect.Descriptor instead.
func (*GenerateUserCredentialsRequest) GetAccountName ¶ added in v1.0.79
func (x *GenerateUserCredentialsRequest) GetAccountName() string
func (*GenerateUserCredentialsRequest) GetAccountSeed ¶ added in v1.0.79
func (x *GenerateUserCredentialsRequest) GetAccountSeed() string
func (*GenerateUserCredentialsRequest) GetCredentialType ¶ added in v1.0.79
func (x *GenerateUserCredentialsRequest) GetCredentialType() UserCredentialType
func (*GenerateUserCredentialsRequest) GetExpirationSeconds ¶ added in v1.0.79
func (x *GenerateUserCredentialsRequest) GetExpirationSeconds() int64
func (*GenerateUserCredentialsRequest) GetPermissions ¶ added in v1.0.79
func (x *GenerateUserCredentialsRequest) GetPermissions() *UserPermissions
func (*GenerateUserCredentialsRequest) GetUserName ¶ added in v1.0.79
func (x *GenerateUserCredentialsRequest) GetUserName() string
func (*GenerateUserCredentialsRequest) ProtoMessage ¶ added in v1.0.79
func (*GenerateUserCredentialsRequest) ProtoMessage()
func (*GenerateUserCredentialsRequest) ProtoReflect ¶ added in v1.0.79
func (x *GenerateUserCredentialsRequest) ProtoReflect() protoreflect.Message
func (*GenerateUserCredentialsRequest) Reset ¶ added in v1.0.79
func (x *GenerateUserCredentialsRequest) Reset()
func (*GenerateUserCredentialsRequest) String ¶ added in v1.0.79
func (x *GenerateUserCredentialsRequest) String() string
type GenerateUserCredentialsResponse ¶ added in v1.0.79
type GenerateUserCredentialsResponse struct {
UserPublicKey string `protobuf:"bytes,1,opt,name=user_public_key,json=userPublicKey,proto3" json:"user_public_key,omitempty"` // The user's public NKey (starts with 'U')
UserJwt string `protobuf:"bytes,2,opt,name=user_jwt,json=userJwt,proto3" json:"user_jwt,omitempty"` // The signed user JWT
CredsFileContent string `protobuf:"bytes,3,opt,name=creds_file_content,json=credsFileContent,proto3" json:"creds_file_content,omitempty"` // Complete .creds file content (JWT + seed)
ExpiresAtUnix int64 `protobuf:"varint,4,opt,name=expires_at_unix,json=expiresAtUnix,proto3" json:"expires_at_unix,omitempty"` // Unix timestamp when credentials expire (0 = never)
// contains filtered or unexported fields
}
GenerateUserCredentialsResponse contains the generated credentials.
func (*GenerateUserCredentialsResponse) Descriptor
deprecated
added in
v1.0.79
func (*GenerateUserCredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateUserCredentialsResponse.ProtoReflect.Descriptor instead.
func (*GenerateUserCredentialsResponse) GetCredsFileContent ¶ added in v1.0.79
func (x *GenerateUserCredentialsResponse) GetCredsFileContent() string
func (*GenerateUserCredentialsResponse) GetExpiresAtUnix ¶ added in v1.0.79
func (x *GenerateUserCredentialsResponse) GetExpiresAtUnix() int64
func (*GenerateUserCredentialsResponse) GetUserJwt ¶ added in v1.0.79
func (x *GenerateUserCredentialsResponse) GetUserJwt() string
func (*GenerateUserCredentialsResponse) GetUserPublicKey ¶ added in v1.0.79
func (x *GenerateUserCredentialsResponse) GetUserPublicKey() string
func (*GenerateUserCredentialsResponse) ProtoMessage ¶ added in v1.0.79
func (*GenerateUserCredentialsResponse) ProtoMessage()
func (*GenerateUserCredentialsResponse) ProtoReflect ¶ added in v1.0.79
func (x *GenerateUserCredentialsResponse) ProtoReflect() protoreflect.Message
func (*GenerateUserCredentialsResponse) Reset ¶ added in v1.0.79
func (x *GenerateUserCredentialsResponse) Reset()
func (*GenerateUserCredentialsResponse) String ¶ added in v1.0.79
func (x *GenerateUserCredentialsResponse) String() string
type GetCanonicalDeviceRequest ¶ added in v1.0.55
type GetCanonicalDeviceRequest struct {
// identity_keys may be provided in preference order; the server will attempt them sequentially.
IdentityKeys []*v1.IdentityKey `protobuf:"bytes,1,rep,name=identity_keys,json=identityKeys,proto3" json:"identity_keys,omitempty"`
// namespace overrides the default identity map namespace when provided.
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
// ip_hint can be supplied when only MAC or external identity is known; it helps narrow DB fallbacks.
IpHint string `protobuf:"bytes,3,opt,name=ip_hint,json=ipHint,proto3" json:"ip_hint,omitempty"`
// contains filtered or unexported fields
}
GetCanonicalDeviceRequest asks Core to resolve one or more identity keys into a canonical device record.
func (*GetCanonicalDeviceRequest) Descriptor
deprecated
added in
v1.0.55
func (*GetCanonicalDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCanonicalDeviceRequest.ProtoReflect.Descriptor instead.
func (*GetCanonicalDeviceRequest) GetIdentityKeys ¶ added in v1.0.55
func (x *GetCanonicalDeviceRequest) GetIdentityKeys() []*v1.IdentityKey
func (*GetCanonicalDeviceRequest) GetIpHint ¶ added in v1.0.55
func (x *GetCanonicalDeviceRequest) GetIpHint() string
func (*GetCanonicalDeviceRequest) GetNamespace ¶ added in v1.0.55
func (x *GetCanonicalDeviceRequest) GetNamespace() string
func (*GetCanonicalDeviceRequest) ProtoMessage ¶ added in v1.0.55
func (*GetCanonicalDeviceRequest) ProtoMessage()
func (*GetCanonicalDeviceRequest) ProtoReflect ¶ added in v1.0.55
func (x *GetCanonicalDeviceRequest) ProtoReflect() protoreflect.Message
func (*GetCanonicalDeviceRequest) Reset ¶ added in v1.0.55
func (x *GetCanonicalDeviceRequest) Reset()
func (*GetCanonicalDeviceRequest) String ¶ added in v1.0.55
func (x *GetCanonicalDeviceRequest) String() string
type GetCanonicalDeviceResponse ¶ added in v1.0.55
type GetCanonicalDeviceResponse struct {
// found indicates whether a canonical record was located in KV or via fallback.
Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
// record is the canonical identity payload stored in KV.
Record *v1.CanonicalRecord `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"`
// matched_key reports which identity key produced the result (may differ from request order if fallback used).
MatchedKey *v1.IdentityKey `protobuf:"bytes,3,opt,name=matched_key,json=matchedKey,proto3" json:"matched_key,omitempty"`
// revision is the KV revision number, if retrieved directly from KV (0 otherwise).
Revision uint64 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"`
// hydrated is true when Core populated KV as part of servicing the request.
Hydrated bool `protobuf:"varint,5,opt,name=hydrated,proto3" json:"hydrated,omitempty"`
// contains filtered or unexported fields
}
GetCanonicalDeviceResponse contains the canonical record if found.
func (*GetCanonicalDeviceResponse) Descriptor
deprecated
added in
v1.0.55
func (*GetCanonicalDeviceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCanonicalDeviceResponse.ProtoReflect.Descriptor instead.
func (*GetCanonicalDeviceResponse) GetFound ¶ added in v1.0.55
func (x *GetCanonicalDeviceResponse) GetFound() bool
func (*GetCanonicalDeviceResponse) GetHydrated ¶ added in v1.0.55
func (x *GetCanonicalDeviceResponse) GetHydrated() bool
func (*GetCanonicalDeviceResponse) GetMatchedKey ¶ added in v1.0.55
func (x *GetCanonicalDeviceResponse) GetMatchedKey() *v1.IdentityKey
func (*GetCanonicalDeviceResponse) GetRecord ¶ added in v1.0.55
func (x *GetCanonicalDeviceResponse) GetRecord() *v1.CanonicalRecord
func (*GetCanonicalDeviceResponse) GetRevision ¶ added in v1.0.55
func (x *GetCanonicalDeviceResponse) GetRevision() uint64
func (*GetCanonicalDeviceResponse) ProtoMessage ¶ added in v1.0.55
func (*GetCanonicalDeviceResponse) ProtoMessage()
func (*GetCanonicalDeviceResponse) ProtoReflect ¶ added in v1.0.55
func (x *GetCanonicalDeviceResponse) ProtoReflect() protoreflect.Message
func (*GetCanonicalDeviceResponse) Reset ¶ added in v1.0.55
func (x *GetCanonicalDeviceResponse) Reset()
func (*GetCanonicalDeviceResponse) String ¶ added in v1.0.55
func (x *GetCanonicalDeviceResponse) String() string
type GetObjectInfoRequest ¶ added in v1.0.55
type GetObjectInfoRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
GetObjectInfoRequest identifies the object to inspect.
func (*GetObjectInfoRequest) Descriptor
deprecated
added in
v1.0.55
func (*GetObjectInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectInfoRequest.ProtoReflect.Descriptor instead.
func (*GetObjectInfoRequest) GetKey ¶ added in v1.0.55
func (x *GetObjectInfoRequest) GetKey() string
func (*GetObjectInfoRequest) ProtoMessage ¶ added in v1.0.55
func (*GetObjectInfoRequest) ProtoMessage()
func (*GetObjectInfoRequest) ProtoReflect ¶ added in v1.0.55
func (x *GetObjectInfoRequest) ProtoReflect() protoreflect.Message
func (*GetObjectInfoRequest) Reset ¶ added in v1.0.55
func (x *GetObjectInfoRequest) Reset()
func (*GetObjectInfoRequest) String ¶ added in v1.0.55
func (x *GetObjectInfoRequest) String() string
type GetObjectInfoResponse ¶ added in v1.0.55
type GetObjectInfoResponse struct {
Info *ObjectInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
// contains filtered or unexported fields
}
GetObjectInfoResponse returns metadata for the requested object.
func (*GetObjectInfoResponse) Descriptor
deprecated
added in
v1.0.55
func (*GetObjectInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectInfoResponse.ProtoReflect.Descriptor instead.
func (*GetObjectInfoResponse) GetFound ¶ added in v1.0.55
func (x *GetObjectInfoResponse) GetFound() bool
func (*GetObjectInfoResponse) GetInfo ¶ added in v1.0.55
func (x *GetObjectInfoResponse) GetInfo() *ObjectInfo
func (*GetObjectInfoResponse) ProtoMessage ¶ added in v1.0.55
func (*GetObjectInfoResponse) ProtoMessage()
func (*GetObjectInfoResponse) ProtoReflect ¶ added in v1.0.55
func (x *GetObjectInfoResponse) ProtoReflect() protoreflect.Message
func (*GetObjectInfoResponse) Reset ¶ added in v1.0.55
func (x *GetObjectInfoResponse) Reset()
func (*GetObjectInfoResponse) String ¶ added in v1.0.55
func (x *GetObjectInfoResponse) String() string
type GetOperatorInfoRequest ¶ added in v1.0.79
type GetOperatorInfoRequest struct {
// contains filtered or unexported fields
}
GetOperatorInfoRequest retrieves current operator status.
func (*GetOperatorInfoRequest) Descriptor
deprecated
added in
v1.0.79
func (*GetOperatorInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOperatorInfoRequest.ProtoReflect.Descriptor instead.
func (*GetOperatorInfoRequest) ProtoMessage ¶ added in v1.0.79
func (*GetOperatorInfoRequest) ProtoMessage()
func (*GetOperatorInfoRequest) ProtoReflect ¶ added in v1.0.79
func (x *GetOperatorInfoRequest) ProtoReflect() protoreflect.Message
func (*GetOperatorInfoRequest) Reset ¶ added in v1.0.79
func (x *GetOperatorInfoRequest) Reset()
func (*GetOperatorInfoRequest) String ¶ added in v1.0.79
func (x *GetOperatorInfoRequest) String() string
type GetOperatorInfoResponse ¶ added in v1.0.79
type GetOperatorInfoResponse struct {
OperatorPublicKey string `protobuf:"bytes,1,opt,name=operator_public_key,json=operatorPublicKey,proto3" json:"operator_public_key,omitempty"` // The operator's public NKey
OperatorName string `protobuf:"bytes,2,opt,name=operator_name,json=operatorName,proto3" json:"operator_name,omitempty"` // The operator's name
IsInitialized bool `protobuf:"varint,3,opt,name=is_initialized,json=isInitialized,proto3" json:"is_initialized,omitempty"` // Whether the operator is ready for use
SystemAccountPublicKey string `` // System account public key (if exists)
/* 131-byte string literal not displayed */
// contains filtered or unexported fields
}
GetOperatorInfoResponse returns the operator's current state.
func (*GetOperatorInfoResponse) Descriptor
deprecated
added in
v1.0.79
func (*GetOperatorInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOperatorInfoResponse.ProtoReflect.Descriptor instead.
func (*GetOperatorInfoResponse) GetIsInitialized ¶ added in v1.0.79
func (x *GetOperatorInfoResponse) GetIsInitialized() bool
func (*GetOperatorInfoResponse) GetOperatorName ¶ added in v1.0.79
func (x *GetOperatorInfoResponse) GetOperatorName() string
func (*GetOperatorInfoResponse) GetOperatorPublicKey ¶ added in v1.0.79
func (x *GetOperatorInfoResponse) GetOperatorPublicKey() string
func (*GetOperatorInfoResponse) GetSystemAccountPublicKey ¶ added in v1.0.79
func (x *GetOperatorInfoResponse) GetSystemAccountPublicKey() string
func (*GetOperatorInfoResponse) ProtoMessage ¶ added in v1.0.79
func (*GetOperatorInfoResponse) ProtoMessage()
func (*GetOperatorInfoResponse) ProtoReflect ¶ added in v1.0.79
func (x *GetOperatorInfoResponse) ProtoReflect() protoreflect.Message
func (*GetOperatorInfoResponse) Reset ¶ added in v1.0.79
func (x *GetOperatorInfoResponse) Reset()
func (*GetOperatorInfoResponse) String ¶ added in v1.0.79
func (x *GetOperatorInfoResponse) String() string
type GetRequest ¶
type GetRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
GetRequest is the request message for the Get operation.
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetKey ¶
func (x *GetRequest) GetKey() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // The value associated with the key, empty if not found
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"` // Indicates if the key was found
Revision uint64 `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"` // Latest revision number for the key, 0 if not found
// contains filtered or unexported fields
}
GetResponse is the response message for the Get operation.
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetFound ¶
func (x *GetResponse) GetFound() bool
func (*GetResponse) GetRevision ¶ added in v1.0.55
func (x *GetResponse) GetRevision() uint64
func (*GetResponse) GetValue ¶
func (x *GetResponse) GetValue() []byte
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type GetTemplateRequest ¶ added in v1.0.55
type GetTemplateRequest struct {
// service_name to fetch template for
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
// contains filtered or unexported fields
}
GetTemplateRequest retrieves a registered service template.
func (*GetTemplateRequest) Descriptor
deprecated
added in
v1.0.55
func (*GetTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetTemplateRequest) GetServiceName ¶ added in v1.0.55
func (x *GetTemplateRequest) GetServiceName() string
func (*GetTemplateRequest) ProtoMessage ¶ added in v1.0.55
func (*GetTemplateRequest) ProtoMessage()
func (*GetTemplateRequest) ProtoReflect ¶ added in v1.0.55
func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetTemplateRequest) Reset ¶ added in v1.0.55
func (x *GetTemplateRequest) Reset()
func (*GetTemplateRequest) String ¶ added in v1.0.55
func (x *GetTemplateRequest) String() string
type GetTemplateResponse ¶ added in v1.0.55
type GetTemplateResponse struct {
// found indicates whether a template exists for the service
Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
// template_data contains the configuration bytes
TemplateData []byte `protobuf:"bytes,2,opt,name=template_data,json=templateData,proto3" json:"template_data,omitempty"`
// format indicates the configuration format ("json" or "toml")
Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
// service_version semver of the template
ServiceVersion string `protobuf:"bytes,4,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"`
// registered_at timestamp when template was registered
RegisteredAt int64 `protobuf:"varint,5,opt,name=registered_at,json=registeredAt,proto3" json:"registered_at,omitempty"`
// contains filtered or unexported fields
}
GetTemplateResponse returns the registered template if available.
func (*GetTemplateResponse) Descriptor
deprecated
added in
v1.0.55
func (*GetTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateResponse.ProtoReflect.Descriptor instead.
func (*GetTemplateResponse) GetFormat ¶ added in v1.0.55
func (x *GetTemplateResponse) GetFormat() string
func (*GetTemplateResponse) GetFound ¶ added in v1.0.55
func (x *GetTemplateResponse) GetFound() bool
func (*GetTemplateResponse) GetRegisteredAt ¶ added in v1.0.55
func (x *GetTemplateResponse) GetRegisteredAt() int64
func (*GetTemplateResponse) GetServiceVersion ¶ added in v1.0.55
func (x *GetTemplateResponse) GetServiceVersion() string
func (*GetTemplateResponse) GetTemplateData ¶ added in v1.0.55
func (x *GetTemplateResponse) GetTemplateData() []byte
func (*GetTemplateResponse) ProtoMessage ¶ added in v1.0.55
func (*GetTemplateResponse) ProtoMessage()
func (*GetTemplateResponse) ProtoReflect ¶ added in v1.0.55
func (x *GetTemplateResponse) ProtoReflect() protoreflect.Message
func (*GetTemplateResponse) Reset ¶ added in v1.0.55
func (x *GetTemplateResponse) Reset()
func (*GetTemplateResponse) String ¶ added in v1.0.55
func (x *GetTemplateResponse) String() string
type InfoRequest ¶ added in v1.0.55
type InfoRequest struct {
// contains filtered or unexported fields
}
InfoRequest is an empty request for the Info operation.
func (*InfoRequest) Descriptor
deprecated
added in
v1.0.55
func (*InfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use InfoRequest.ProtoReflect.Descriptor instead.
func (*InfoRequest) ProtoMessage ¶ added in v1.0.55
func (*InfoRequest) ProtoMessage()
func (*InfoRequest) ProtoReflect ¶ added in v1.0.55
func (x *InfoRequest) ProtoReflect() protoreflect.Message
func (*InfoRequest) Reset ¶ added in v1.0.55
func (x *InfoRequest) Reset()
func (*InfoRequest) String ¶ added in v1.0.55
func (x *InfoRequest) String() string
type InfoResponse ¶ added in v1.0.55
type InfoResponse struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
ObjectBucket string `protobuf:"bytes,3,opt,name=object_bucket,json=objectBucket,proto3" json:"object_bucket,omitempty"`
// contains filtered or unexported fields
}
InfoResponse returns static KV configuration info.
func (*InfoResponse) Descriptor
deprecated
added in
v1.0.55
func (*InfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use InfoResponse.ProtoReflect.Descriptor instead.
func (*InfoResponse) GetBucket ¶ added in v1.0.55
func (x *InfoResponse) GetBucket() string
func (*InfoResponse) GetDomain ¶ added in v1.0.55
func (x *InfoResponse) GetDomain() string
func (*InfoResponse) GetObjectBucket ¶ added in v1.0.55
func (x *InfoResponse) GetObjectBucket() string
func (*InfoResponse) ProtoMessage ¶ added in v1.0.55
func (*InfoResponse) ProtoMessage()
func (*InfoResponse) ProtoReflect ¶ added in v1.0.55
func (x *InfoResponse) ProtoReflect() protoreflect.Message
func (*InfoResponse) Reset ¶ added in v1.0.55
func (x *InfoResponse) Reset()
func (*InfoResponse) String ¶ added in v1.0.55
func (x *InfoResponse) String() string
type KVServiceClient ¶
type KVServiceClient interface {
// Get retrieves the value for a given key.
Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
// BatchGet retrieves multiple keys in a single round trip.
BatchGet(ctx context.Context, in *BatchGetRequest, opts ...grpc.CallOption) (*BatchGetResponse, error)
// Put stores a value for a given key with an optional TTL.
Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error)
// PutIfAbsent stores a value only if the key does not already exist.
// This is atomic at the KV store level and returns an error if the key exists.
PutIfAbsent(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error)
// PutMany stores multiple key/value pairs in a single request.
PutMany(ctx context.Context, in *PutManyRequest, opts ...grpc.CallOption) (*PutManyResponse, error)
// Update stores a value for a given key only if the provided revision matches.
// This enables optimistic concurrency control (CAS semantics) against JetStream KV buckets.
Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
// Delete removes a key and its value from the store.
Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
// Watch streams updates for a specific key.
Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchResponse], error)
// Info returns basic configuration details for this KV server (e.g., JetStream domain and bucket name).
Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error)
// ListKeys returns all keys matching a prefix filter.
ListKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error)
}
KVServiceClient is the client API for KVService 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.
KVService provides a gRPC interface for key-value store operations.
func NewKVServiceClient ¶
func NewKVServiceClient(cc grpc.ClientConnInterface) KVServiceClient
type KVServiceServer ¶
type KVServiceServer interface {
// Get retrieves the value for a given key.
Get(context.Context, *GetRequest) (*GetResponse, error)
// BatchGet retrieves multiple keys in a single round trip.
BatchGet(context.Context, *BatchGetRequest) (*BatchGetResponse, error)
// Put stores a value for a given key with an optional TTL.
Put(context.Context, *PutRequest) (*PutResponse, error)
// PutIfAbsent stores a value only if the key does not already exist.
// This is atomic at the KV store level and returns an error if the key exists.
PutIfAbsent(context.Context, *PutRequest) (*PutResponse, error)
// PutMany stores multiple key/value pairs in a single request.
PutMany(context.Context, *PutManyRequest) (*PutManyResponse, error)
// Update stores a value for a given key only if the provided revision matches.
// This enables optimistic concurrency control (CAS semantics) against JetStream KV buckets.
Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
// Delete removes a key and its value from the store.
Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
// Watch streams updates for a specific key.
Watch(*WatchRequest, grpc.ServerStreamingServer[WatchResponse]) error
// Info returns basic configuration details for this KV server (e.g., JetStream domain and bucket name).
Info(context.Context, *InfoRequest) (*InfoResponse, error)
// ListKeys returns all keys matching a prefix filter.
ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error)
// contains filtered or unexported methods
}
KVServiceServer is the server API for KVService service. All implementations must embed UnimplementedKVServiceServer for forward compatibility.
KVService provides a gRPC interface for key-value store operations.
type KVService_WatchClient ¶
type KVService_WatchClient = grpc.ServerStreamingClient[WatchResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type KVService_WatchServer ¶
type KVService_WatchServer = grpc.ServerStreamingServer[WatchResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type KeyValueEntry ¶
type KeyValueEntry struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
KeyValueEntry represents a single key/value pair for PutMany.
func (*KeyValueEntry) Descriptor
deprecated
func (*KeyValueEntry) Descriptor() ([]byte, []int)
Deprecated: Use KeyValueEntry.ProtoReflect.Descriptor instead.
func (*KeyValueEntry) GetKey ¶
func (x *KeyValueEntry) GetKey() string
func (*KeyValueEntry) GetValue ¶
func (x *KeyValueEntry) GetValue() []byte
func (*KeyValueEntry) ProtoMessage ¶
func (*KeyValueEntry) ProtoMessage()
func (*KeyValueEntry) ProtoReflect ¶
func (x *KeyValueEntry) ProtoReflect() protoreflect.Message
func (*KeyValueEntry) Reset ¶
func (x *KeyValueEntry) Reset()
func (*KeyValueEntry) String ¶
func (x *KeyValueEntry) String() string
type ListKeysRequest ¶ added in v1.0.69
type ListKeysRequest struct {
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // Optional prefix filter (e.g., "templates/checkers/")
// contains filtered or unexported fields
}
ListKeysRequest is the request message for the ListKeys operation.
func (*ListKeysRequest) Descriptor
deprecated
added in
v1.0.69
func (*ListKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListKeysRequest.ProtoReflect.Descriptor instead.
func (*ListKeysRequest) GetPrefix ¶ added in v1.0.69
func (x *ListKeysRequest) GetPrefix() string
func (*ListKeysRequest) ProtoMessage ¶ added in v1.0.69
func (*ListKeysRequest) ProtoMessage()
func (*ListKeysRequest) ProtoReflect ¶ added in v1.0.69
func (x *ListKeysRequest) ProtoReflect() protoreflect.Message
func (*ListKeysRequest) Reset ¶ added in v1.0.69
func (x *ListKeysRequest) Reset()
func (*ListKeysRequest) String ¶ added in v1.0.69
func (x *ListKeysRequest) String() string
type ListKeysResponse ¶ added in v1.0.69
type ListKeysResponse struct {
Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // List of matching key names
// contains filtered or unexported fields
}
ListKeysResponse is the response message for the ListKeys operation.
func (*ListKeysResponse) Descriptor
deprecated
added in
v1.0.69
func (*ListKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead.
func (*ListKeysResponse) GetKeys ¶ added in v1.0.69
func (x *ListKeysResponse) GetKeys() []string
func (*ListKeysResponse) ProtoMessage ¶ added in v1.0.69
func (*ListKeysResponse) ProtoMessage()
func (*ListKeysResponse) ProtoReflect ¶ added in v1.0.69
func (x *ListKeysResponse) ProtoReflect() protoreflect.Message
func (*ListKeysResponse) Reset ¶ added in v1.0.69
func (x *ListKeysResponse) Reset()
func (*ListKeysResponse) String ¶ added in v1.0.69
func (x *ListKeysResponse) String() string
type ListTemplatesRequest ¶ added in v1.0.55
type ListTemplatesRequest struct {
// filter by service_name prefix (optional)
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
// contains filtered or unexported fields
}
ListTemplatesRequest requests all registered templates.
func (*ListTemplatesRequest) Descriptor
deprecated
added in
v1.0.55
func (*ListTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListTemplatesRequest) GetPrefix ¶ added in v1.0.55
func (x *ListTemplatesRequest) GetPrefix() string
func (*ListTemplatesRequest) ProtoMessage ¶ added in v1.0.55
func (*ListTemplatesRequest) ProtoMessage()
func (*ListTemplatesRequest) ProtoReflect ¶ added in v1.0.55
func (x *ListTemplatesRequest) ProtoReflect() protoreflect.Message
func (*ListTemplatesRequest) Reset ¶ added in v1.0.55
func (x *ListTemplatesRequest) Reset()
func (*ListTemplatesRequest) String ¶ added in v1.0.55
func (x *ListTemplatesRequest) String() string
type ListTemplatesResponse ¶ added in v1.0.55
type ListTemplatesResponse struct {
Templates []*TemplateInfo `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"`
// contains filtered or unexported fields
}
ListTemplatesResponse returns summary of registered templates.
func (*ListTemplatesResponse) Descriptor
deprecated
added in
v1.0.55
func (*ListTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListTemplatesResponse) GetTemplates ¶ added in v1.0.55
func (x *ListTemplatesResponse) GetTemplates() []*TemplateInfo
func (*ListTemplatesResponse) ProtoMessage ¶ added in v1.0.55
func (*ListTemplatesResponse) ProtoMessage()
func (*ListTemplatesResponse) ProtoReflect ¶ added in v1.0.55
func (x *ListTemplatesResponse) ProtoReflect() protoreflect.Message
func (*ListTemplatesResponse) Reset ¶ added in v1.0.55
func (x *ListTemplatesResponse) Reset()
func (*ListTemplatesResponse) String ¶ added in v1.0.55
func (x *ListTemplatesResponse) String() string
type MockAgentGatewayServiceClient ¶ added in v1.0.79
type MockAgentGatewayServiceClient struct {
// contains filtered or unexported fields
}
MockAgentGatewayServiceClient is a mock of AgentGatewayServiceClient interface.
func NewMockAgentGatewayServiceClient ¶ added in v1.0.79
func NewMockAgentGatewayServiceClient(ctrl *gomock.Controller) *MockAgentGatewayServiceClient
NewMockAgentGatewayServiceClient creates a new mock instance.
func (*MockAgentGatewayServiceClient) ControlStream ¶ added in v1.0.91
func (m *MockAgentGatewayServiceClient) ControlStream(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ControlStreamRequest, ControlStreamResponse], error)
ControlStream mocks base method.
func (*MockAgentGatewayServiceClient) EXPECT ¶ added in v1.0.79
func (m *MockAgentGatewayServiceClient) EXPECT() *MockAgentGatewayServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgentGatewayServiceClient) GetConfig ¶ added in v1.0.79
func (m *MockAgentGatewayServiceClient) GetConfig(ctx context.Context, in *AgentConfigRequest, opts ...grpc.CallOption) (*AgentConfigResponse, error)
GetConfig mocks base method.
func (*MockAgentGatewayServiceClient) Hello ¶ added in v1.0.79
func (m *MockAgentGatewayServiceClient) Hello(ctx context.Context, in *AgentHelloRequest, opts ...grpc.CallOption) (*AgentHelloResponse, error)
Hello mocks base method.
func (*MockAgentGatewayServiceClient) PushStatus ¶ added in v1.0.79
func (m *MockAgentGatewayServiceClient) PushStatus(ctx context.Context, in *GatewayStatusRequest, opts ...grpc.CallOption) (*GatewayStatusResponse, error)
PushStatus mocks base method.
func (*MockAgentGatewayServiceClient) StreamStatus ¶ added in v1.0.79
func (m *MockAgentGatewayServiceClient) StreamStatus(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[GatewayStatusChunk, GatewayStatusResponse], error)
StreamStatus mocks base method.
type MockAgentGatewayServiceClientMockRecorder ¶ added in v1.0.79
type MockAgentGatewayServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentGatewayServiceClientMockRecorder is the mock recorder for MockAgentGatewayServiceClient.
func (*MockAgentGatewayServiceClientMockRecorder) ControlStream ¶ added in v1.0.91
func (mr *MockAgentGatewayServiceClientMockRecorder) ControlStream(ctx any, opts ...any) *gomock.Call
ControlStream indicates an expected call of ControlStream.
func (*MockAgentGatewayServiceClientMockRecorder) GetConfig ¶ added in v1.0.79
func (mr *MockAgentGatewayServiceClientMockRecorder) GetConfig(ctx, in any, opts ...any) *gomock.Call
GetConfig indicates an expected call of GetConfig.
func (*MockAgentGatewayServiceClientMockRecorder) Hello ¶ added in v1.0.79
func (mr *MockAgentGatewayServiceClientMockRecorder) Hello(ctx, in any, opts ...any) *gomock.Call
Hello indicates an expected call of Hello.
func (*MockAgentGatewayServiceClientMockRecorder) PushStatus ¶ added in v1.0.79
func (mr *MockAgentGatewayServiceClientMockRecorder) PushStatus(ctx, in any, opts ...any) *gomock.Call
PushStatus indicates an expected call of PushStatus.
func (*MockAgentGatewayServiceClientMockRecorder) StreamStatus ¶ added in v1.0.79
func (mr *MockAgentGatewayServiceClientMockRecorder) StreamStatus(ctx any, opts ...any) *gomock.Call
StreamStatus indicates an expected call of StreamStatus.
type MockAgentGatewayServiceServer ¶ added in v1.0.79
type MockAgentGatewayServiceServer struct {
// contains filtered or unexported fields
}
MockAgentGatewayServiceServer is a mock of AgentGatewayServiceServer interface.
func NewMockAgentGatewayServiceServer ¶ added in v1.0.79
func NewMockAgentGatewayServiceServer(ctrl *gomock.Controller) *MockAgentGatewayServiceServer
NewMockAgentGatewayServiceServer creates a new mock instance.
func (*MockAgentGatewayServiceServer) ControlStream ¶ added in v1.0.91
func (m *MockAgentGatewayServiceServer) ControlStream(arg0 grpc.BidiStreamingServer[ControlStreamRequest, ControlStreamResponse]) error
ControlStream mocks base method.
func (*MockAgentGatewayServiceServer) EXPECT ¶ added in v1.0.79
func (m *MockAgentGatewayServiceServer) EXPECT() *MockAgentGatewayServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgentGatewayServiceServer) GetConfig ¶ added in v1.0.79
func (m *MockAgentGatewayServiceServer) GetConfig(arg0 context.Context, arg1 *AgentConfigRequest) (*AgentConfigResponse, error)
GetConfig mocks base method.
func (*MockAgentGatewayServiceServer) Hello ¶ added in v1.0.79
func (m *MockAgentGatewayServiceServer) Hello(arg0 context.Context, arg1 *AgentHelloRequest) (*AgentHelloResponse, error)
Hello mocks base method.
func (*MockAgentGatewayServiceServer) PushStatus ¶ added in v1.0.79
func (m *MockAgentGatewayServiceServer) PushStatus(arg0 context.Context, arg1 *GatewayStatusRequest) (*GatewayStatusResponse, error)
PushStatus mocks base method.
func (*MockAgentGatewayServiceServer) StreamStatus ¶ added in v1.0.79
func (m *MockAgentGatewayServiceServer) StreamStatus(arg0 grpc.ClientStreamingServer[GatewayStatusChunk, GatewayStatusResponse]) error
StreamStatus mocks base method.
type MockAgentGatewayServiceServerMockRecorder ¶ added in v1.0.79
type MockAgentGatewayServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentGatewayServiceServerMockRecorder is the mock recorder for MockAgentGatewayServiceServer.
func (*MockAgentGatewayServiceServerMockRecorder) ControlStream ¶ added in v1.0.91
func (mr *MockAgentGatewayServiceServerMockRecorder) ControlStream(arg0 any) *gomock.Call
ControlStream indicates an expected call of ControlStream.
func (*MockAgentGatewayServiceServerMockRecorder) GetConfig ¶ added in v1.0.79
func (mr *MockAgentGatewayServiceServerMockRecorder) GetConfig(arg0, arg1 any) *gomock.Call
GetConfig indicates an expected call of GetConfig.
func (*MockAgentGatewayServiceServerMockRecorder) Hello ¶ added in v1.0.79
func (mr *MockAgentGatewayServiceServerMockRecorder) Hello(arg0, arg1 any) *gomock.Call
Hello indicates an expected call of Hello.
func (*MockAgentGatewayServiceServerMockRecorder) PushStatus ¶ added in v1.0.79
func (mr *MockAgentGatewayServiceServerMockRecorder) PushStatus(arg0, arg1 any) *gomock.Call
PushStatus indicates an expected call of PushStatus.
func (*MockAgentGatewayServiceServerMockRecorder) StreamStatus ¶ added in v1.0.79
func (mr *MockAgentGatewayServiceServerMockRecorder) StreamStatus(arg0 any) *gomock.Call
StreamStatus indicates an expected call of StreamStatus.
type MockAgentServiceClient ¶
type MockAgentServiceClient struct {
// contains filtered or unexported fields
}
MockAgentServiceClient is a mock of AgentServiceClient interface.
func NewMockAgentServiceClient ¶
func NewMockAgentServiceClient(ctrl *gomock.Controller) *MockAgentServiceClient
NewMockAgentServiceClient creates a new mock instance.
func (*MockAgentServiceClient) EXPECT ¶
func (m *MockAgentServiceClient) EXPECT() *MockAgentServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgentServiceClient) GetResults ¶
func (m *MockAgentServiceClient) GetResults(ctx context.Context, in *ResultsRequest, opts ...grpc.CallOption) (*ResultsResponse, error)
GetResults mocks base method.
func (*MockAgentServiceClient) GetStatus ¶
func (m *MockAgentServiceClient) GetStatus(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
GetStatus mocks base method.
func (*MockAgentServiceClient) StreamResults ¶
func (m *MockAgentServiceClient) StreamResults(ctx context.Context, in *ResultsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ResultsChunk], error)
StreamResults mocks base method.
type MockAgentServiceClientMockRecorder ¶
type MockAgentServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentServiceClientMockRecorder is the mock recorder for MockAgentServiceClient.
func (*MockAgentServiceClientMockRecorder) GetResults ¶
func (mr *MockAgentServiceClientMockRecorder) GetResults(ctx, in any, opts ...any) *gomock.Call
GetResults indicates an expected call of GetResults.
func (*MockAgentServiceClientMockRecorder) GetStatus ¶
func (mr *MockAgentServiceClientMockRecorder) GetStatus(ctx, in any, opts ...any) *gomock.Call
GetStatus indicates an expected call of GetStatus.
func (*MockAgentServiceClientMockRecorder) StreamResults ¶
func (mr *MockAgentServiceClientMockRecorder) StreamResults(ctx, in any, opts ...any) *gomock.Call
StreamResults indicates an expected call of StreamResults.
type MockAgentServiceServer ¶
type MockAgentServiceServer struct {
// contains filtered or unexported fields
}
MockAgentServiceServer is a mock of AgentServiceServer interface.
func NewMockAgentServiceServer ¶
func NewMockAgentServiceServer(ctrl *gomock.Controller) *MockAgentServiceServer
NewMockAgentServiceServer creates a new mock instance.
func (*MockAgentServiceServer) EXPECT ¶
func (m *MockAgentServiceServer) EXPECT() *MockAgentServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgentServiceServer) GetResults ¶
func (m *MockAgentServiceServer) GetResults(arg0 context.Context, arg1 *ResultsRequest) (*ResultsResponse, error)
GetResults mocks base method.
func (*MockAgentServiceServer) GetStatus ¶
func (m *MockAgentServiceServer) GetStatus(arg0 context.Context, arg1 *StatusRequest) (*StatusResponse, error)
GetStatus mocks base method.
func (*MockAgentServiceServer) StreamResults ¶
func (m *MockAgentServiceServer) StreamResults(arg0 *ResultsRequest, arg1 grpc.ServerStreamingServer[ResultsChunk]) error
StreamResults mocks base method.
type MockAgentServiceServerMockRecorder ¶
type MockAgentServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentServiceServerMockRecorder is the mock recorder for MockAgentServiceServer.
func (*MockAgentServiceServerMockRecorder) GetResults ¶
func (mr *MockAgentServiceServerMockRecorder) GetResults(arg0, arg1 any) *gomock.Call
GetResults indicates an expected call of GetResults.
func (*MockAgentServiceServerMockRecorder) GetStatus ¶
func (mr *MockAgentServiceServerMockRecorder) GetStatus(arg0, arg1 any) *gomock.Call
GetStatus indicates an expected call of GetStatus.
func (*MockAgentServiceServerMockRecorder) StreamResults ¶
func (mr *MockAgentServiceServerMockRecorder) StreamResults(arg0, arg1 any) *gomock.Call
StreamResults indicates an expected call of StreamResults.
type MockUnsafeAgentGatewayServiceServer ¶ added in v1.0.79
type MockUnsafeAgentGatewayServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeAgentGatewayServiceServer is a mock of UnsafeAgentGatewayServiceServer interface.
func NewMockUnsafeAgentGatewayServiceServer ¶ added in v1.0.79
func NewMockUnsafeAgentGatewayServiceServer(ctrl *gomock.Controller) *MockUnsafeAgentGatewayServiceServer
NewMockUnsafeAgentGatewayServiceServer creates a new mock instance.
func (*MockUnsafeAgentGatewayServiceServer) EXPECT ¶ added in v1.0.79
func (m *MockUnsafeAgentGatewayServiceServer) EXPECT() *MockUnsafeAgentGatewayServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeAgentGatewayServiceServerMockRecorder ¶ added in v1.0.79
type MockUnsafeAgentGatewayServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeAgentGatewayServiceServerMockRecorder is the mock recorder for MockUnsafeAgentGatewayServiceServer.
type MockUnsafeAgentServiceServer ¶
type MockUnsafeAgentServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeAgentServiceServer is a mock of UnsafeAgentServiceServer interface.
func NewMockUnsafeAgentServiceServer ¶
func NewMockUnsafeAgentServiceServer(ctrl *gomock.Controller) *MockUnsafeAgentServiceServer
NewMockUnsafeAgentServiceServer creates a new mock instance.
func (*MockUnsafeAgentServiceServer) EXPECT ¶
func (m *MockUnsafeAgentServiceServer) EXPECT() *MockUnsafeAgentServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeAgentServiceServerMockRecorder ¶
type MockUnsafeAgentServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeAgentServiceServerMockRecorder is the mock recorder for MockUnsafeAgentServiceServer.
type NATSAccountServiceClient ¶ added in v1.0.79
type NATSAccountServiceClient interface {
// BootstrapOperator initializes the NATS operator for the platform.
// This can either generate a new operator key pair or import an existing seed.
// Should be called once during initial platform setup.
BootstrapOperator(ctx context.Context, in *BootstrapOperatorRequest, opts ...grpc.CallOption) (*BootstrapOperatorResponse, error)
// GetOperatorInfo returns the current operator status and public key.
// Used to verify the operator is initialized before account operations.
GetOperatorInfo(ctx context.Context, in *GetOperatorInfoRequest, opts ...grpc.CallOption) (*GetOperatorInfoResponse, error)
// CreateAccount generates new account NKeys and a signed account JWT.
// The account_seed is returned and should be stored encrypted by Elixir (AshCloak).
CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountResponse, error)
// GenerateUserCredentials creates NATS user credentials for an account.
// Requires the account_seed to sign the user JWT.
GenerateUserCredentials(ctx context.Context, in *GenerateUserCredentialsRequest, opts ...grpc.CallOption) (*GenerateUserCredentialsResponse, error)
// SignAccountJWT regenerates an account JWT with updated claims.
// Use this when revocations or limits change.
SignAccountJWT(ctx context.Context, in *SignAccountJWTRequest, opts ...grpc.CallOption) (*SignAccountJWTResponse, error)
// PushAccountJWT pushes an account JWT to the NATS resolver.
// This makes the account immediately available without NATS restart.
// Uses the system account to publish to $SYS.REQ.CLAIMS.UPDATE.
PushAccountJWT(ctx context.Context, in *PushAccountJWTRequest, opts ...grpc.CallOption) (*PushAccountJWTResponse, error)
}
NATSAccountServiceClient is the client API for NATSAccountService 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.
NATSAccountService provides stateless NATS JWT signing operations.
This service is called by Elixir core (with platform mTLS credentials) to: - Bootstrap the NATS operator (first-time platform setup) - Generate new account keys and sign account JWTs - Generate user credentials signed with account keys - Re-sign account JWTs when claims change (revocations, limits)
Elixir is responsible for storing account data in CNPG. datasvc holds only the operator key and performs cryptographic operations.
func NewNATSAccountServiceClient ¶ added in v1.0.79
func NewNATSAccountServiceClient(cc grpc.ClientConnInterface) NATSAccountServiceClient
type NATSAccountServiceServer ¶ added in v1.0.79
type NATSAccountServiceServer interface {
// BootstrapOperator initializes the NATS operator for the platform.
// This can either generate a new operator key pair or import an existing seed.
// Should be called once during initial platform setup.
BootstrapOperator(context.Context, *BootstrapOperatorRequest) (*BootstrapOperatorResponse, error)
// GetOperatorInfo returns the current operator status and public key.
// Used to verify the operator is initialized before account operations.
GetOperatorInfo(context.Context, *GetOperatorInfoRequest) (*GetOperatorInfoResponse, error)
// CreateAccount generates new account NKeys and a signed account JWT.
// The account_seed is returned and should be stored encrypted by Elixir (AshCloak).
CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
// GenerateUserCredentials creates NATS user credentials for an account.
// Requires the account_seed to sign the user JWT.
GenerateUserCredentials(context.Context, *GenerateUserCredentialsRequest) (*GenerateUserCredentialsResponse, error)
// SignAccountJWT regenerates an account JWT with updated claims.
// Use this when revocations or limits change.
SignAccountJWT(context.Context, *SignAccountJWTRequest) (*SignAccountJWTResponse, error)
// PushAccountJWT pushes an account JWT to the NATS resolver.
// This makes the account immediately available without NATS restart.
// Uses the system account to publish to $SYS.REQ.CLAIMS.UPDATE.
PushAccountJWT(context.Context, *PushAccountJWTRequest) (*PushAccountJWTResponse, error)
// contains filtered or unexported methods
}
NATSAccountServiceServer is the server API for NATSAccountService service. All implementations must embed UnimplementedNATSAccountServiceServer for forward compatibility.
NATSAccountService provides stateless NATS JWT signing operations.
This service is called by Elixir core (with platform mTLS credentials) to: - Bootstrap the NATS operator (first-time platform setup) - Generate new account keys and sign account JWTs - Generate user credentials signed with account keys - Re-sign account JWTs when claims change (revocations, limits)
Elixir is responsible for storing account data in CNPG. datasvc holds only the operator key and performs cryptographic operations.
type ObjectDownloadChunk ¶ added in v1.0.55
type ObjectDownloadChunk struct {
Info *ObjectInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
ChunkIndex uint32 `protobuf:"varint,3,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"`
IsFinal bool `protobuf:"varint,4,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"`
// contains filtered or unexported fields
}
ObjectDownloadChunk is streamed from the server during object downloads.
func (*ObjectDownloadChunk) Descriptor
deprecated
added in
v1.0.55
func (*ObjectDownloadChunk) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDownloadChunk.ProtoReflect.Descriptor instead.
func (*ObjectDownloadChunk) GetChunkIndex ¶ added in v1.0.55
func (x *ObjectDownloadChunk) GetChunkIndex() uint32
func (*ObjectDownloadChunk) GetData ¶ added in v1.0.55
func (x *ObjectDownloadChunk) GetData() []byte
func (*ObjectDownloadChunk) GetInfo ¶ added in v1.0.55
func (x *ObjectDownloadChunk) GetInfo() *ObjectInfo
func (*ObjectDownloadChunk) GetIsFinal ¶ added in v1.0.55
func (x *ObjectDownloadChunk) GetIsFinal() bool
func (*ObjectDownloadChunk) ProtoMessage ¶ added in v1.0.55
func (*ObjectDownloadChunk) ProtoMessage()
func (*ObjectDownloadChunk) ProtoReflect ¶ added in v1.0.55
func (x *ObjectDownloadChunk) ProtoReflect() protoreflect.Message
func (*ObjectDownloadChunk) Reset ¶ added in v1.0.55
func (x *ObjectDownloadChunk) Reset()
func (*ObjectDownloadChunk) String ¶ added in v1.0.55
func (x *ObjectDownloadChunk) String() string
type ObjectInfo ¶ added in v1.0.55
type ObjectInfo struct {
Metadata *ObjectMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
CreatedAtUnix int64 `protobuf:"varint,4,opt,name=created_at_unix,json=createdAtUnix,proto3" json:"created_at_unix,omitempty"`
ModifiedAtUnix int64 `protobuf:"varint,5,opt,name=modified_at_unix,json=modifiedAtUnix,proto3" json:"modified_at_unix,omitempty"`
Chunks uint64 `protobuf:"varint,6,opt,name=chunks,proto3" json:"chunks,omitempty"`
// contains filtered or unexported fields
}
ObjectInfo captures server-observed metadata for a stored object.
func (*ObjectInfo) Descriptor
deprecated
added in
v1.0.55
func (*ObjectInfo) Descriptor() ([]byte, []int)
Deprecated: Use ObjectInfo.ProtoReflect.Descriptor instead.
func (*ObjectInfo) GetChunks ¶ added in v1.0.55
func (x *ObjectInfo) GetChunks() uint64
func (*ObjectInfo) GetCreatedAtUnix ¶ added in v1.0.55
func (x *ObjectInfo) GetCreatedAtUnix() int64
func (*ObjectInfo) GetMetadata ¶ added in v1.0.55
func (x *ObjectInfo) GetMetadata() *ObjectMetadata
func (*ObjectInfo) GetModifiedAtUnix ¶ added in v1.0.55
func (x *ObjectInfo) GetModifiedAtUnix() int64
func (*ObjectInfo) GetSha256 ¶ added in v1.0.55
func (x *ObjectInfo) GetSha256() string
func (*ObjectInfo) GetSize ¶ added in v1.0.55
func (x *ObjectInfo) GetSize() int64
func (*ObjectInfo) ProtoMessage ¶ added in v1.0.55
func (*ObjectInfo) ProtoMessage()
func (*ObjectInfo) ProtoReflect ¶ added in v1.0.55
func (x *ObjectInfo) ProtoReflect() protoreflect.Message
func (*ObjectInfo) Reset ¶ added in v1.0.55
func (x *ObjectInfo) Reset()
func (*ObjectInfo) String ¶ added in v1.0.55
func (x *ObjectInfo) String() string
type ObjectMetadata ¶ added in v1.0.55
type ObjectMetadata struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Logical identifier, may include domains/<domain>/ prefix.
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // Optional JetStream domain name.
ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // MIME type of the payload if known.
Compression string `protobuf:"bytes,4,opt,name=compression,proto3" json:"compression,omitempty"` // Compression algorithm applied to payload, if any.
Sha256 string `protobuf:"bytes,5,opt,name=sha256,proto3" json:"sha256,omitempty"` // Hex-encoded SHA256 digest hint provided by the client.
TotalSize int64 `protobuf:"varint,6,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // Expected uncompressed payload size (bytes).
Attributes map[string]string `` // Additional metadata fields.
/* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
ObjectMetadata captures descriptive attributes for an object stored in JetStream.
func (*ObjectMetadata) Descriptor
deprecated
added in
v1.0.55
func (*ObjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ObjectMetadata.ProtoReflect.Descriptor instead.
func (*ObjectMetadata) GetAttributes ¶ added in v1.0.55
func (x *ObjectMetadata) GetAttributes() map[string]string
func (*ObjectMetadata) GetCompression ¶ added in v1.0.55
func (x *ObjectMetadata) GetCompression() string
func (*ObjectMetadata) GetContentType ¶ added in v1.0.55
func (x *ObjectMetadata) GetContentType() string
func (*ObjectMetadata) GetDomain ¶ added in v1.0.55
func (x *ObjectMetadata) GetDomain() string
func (*ObjectMetadata) GetKey ¶ added in v1.0.55
func (x *ObjectMetadata) GetKey() string
func (*ObjectMetadata) GetSha256 ¶ added in v1.0.55
func (x *ObjectMetadata) GetSha256() string
func (*ObjectMetadata) GetTotalSize ¶ added in v1.0.55
func (x *ObjectMetadata) GetTotalSize() int64
func (*ObjectMetadata) ProtoMessage ¶ added in v1.0.55
func (*ObjectMetadata) ProtoMessage()
func (*ObjectMetadata) ProtoReflect ¶ added in v1.0.55
func (x *ObjectMetadata) ProtoReflect() protoreflect.Message
func (*ObjectMetadata) Reset ¶ added in v1.0.55
func (x *ObjectMetadata) Reset()
func (*ObjectMetadata) String ¶ added in v1.0.55
func (x *ObjectMetadata) String() string
type ObjectUploadChunk ¶ added in v1.0.55
type ObjectUploadChunk struct {
Metadata *ObjectMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
ChunkIndex uint32 `protobuf:"varint,3,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"`
IsFinal bool `protobuf:"varint,4,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"`
// contains filtered or unexported fields
}
ObjectUploadChunk represents a chunk streamed by the client when uploading an object. The first chunk MUST include metadata; subsequent chunks may omit it.
func (*ObjectUploadChunk) Descriptor
deprecated
added in
v1.0.55
func (*ObjectUploadChunk) Descriptor() ([]byte, []int)
Deprecated: Use ObjectUploadChunk.ProtoReflect.Descriptor instead.
func (*ObjectUploadChunk) GetChunkIndex ¶ added in v1.0.55
func (x *ObjectUploadChunk) GetChunkIndex() uint32
func (*ObjectUploadChunk) GetData ¶ added in v1.0.55
func (x *ObjectUploadChunk) GetData() []byte
func (*ObjectUploadChunk) GetIsFinal ¶ added in v1.0.55
func (x *ObjectUploadChunk) GetIsFinal() bool
func (*ObjectUploadChunk) GetMetadata ¶ added in v1.0.55
func (x *ObjectUploadChunk) GetMetadata() *ObjectMetadata
func (*ObjectUploadChunk) ProtoMessage ¶ added in v1.0.55
func (*ObjectUploadChunk) ProtoMessage()
func (*ObjectUploadChunk) ProtoReflect ¶ added in v1.0.55
func (x *ObjectUploadChunk) ProtoReflect() protoreflect.Message
func (*ObjectUploadChunk) Reset ¶ added in v1.0.55
func (x *ObjectUploadChunk) Reset()
func (*ObjectUploadChunk) String ¶ added in v1.0.55
func (x *ObjectUploadChunk) String() string
type PluginAssignmentConfig ¶ added in v1.0.83
type PluginAssignmentConfig struct {
AssignmentId string `protobuf:"bytes,1,opt,name=assignment_id,json=assignmentId,proto3" json:"assignment_id,omitempty"`
PluginId string `protobuf:"bytes,2,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
PackageId string `protobuf:"bytes,3,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
Entrypoint string `protobuf:"bytes,6,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
Runtime string `protobuf:"bytes,7,opt,name=runtime,proto3" json:"runtime,omitempty"`
Outputs string `protobuf:"bytes,8,opt,name=outputs,proto3" json:"outputs,omitempty"`
Capabilities []string `protobuf:"bytes,9,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
ParamsJson []byte `protobuf:"bytes,10,opt,name=params_json,json=paramsJson,proto3" json:"params_json,omitempty"`
PermissionsJson []byte `protobuf:"bytes,11,opt,name=permissions_json,json=permissionsJson,proto3" json:"permissions_json,omitempty"`
ResourcesJson []byte `protobuf:"bytes,12,opt,name=resources_json,json=resourcesJson,proto3" json:"resources_json,omitempty"`
Enabled bool `protobuf:"varint,13,opt,name=enabled,proto3" json:"enabled,omitempty"`
IntervalSec int32 `protobuf:"varint,14,opt,name=interval_sec,json=intervalSec,proto3" json:"interval_sec,omitempty"`
TimeoutSec int32 `protobuf:"varint,15,opt,name=timeout_sec,json=timeoutSec,proto3" json:"timeout_sec,omitempty"`
WasmObjectKey string `protobuf:"bytes,16,opt,name=wasm_object_key,json=wasmObjectKey,proto3" json:"wasm_object_key,omitempty"`
ContentHash string `protobuf:"bytes,17,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
SourceType string `protobuf:"bytes,18,opt,name=source_type,json=sourceType,proto3" json:"source_type,omitempty"`
SourceRepoUrl string `protobuf:"bytes,19,opt,name=source_repo_url,json=sourceRepoUrl,proto3" json:"source_repo_url,omitempty"`
SourceCommit string `protobuf:"bytes,20,opt,name=source_commit,json=sourceCommit,proto3" json:"source_commit,omitempty"`
DownloadUrl string `protobuf:"bytes,21,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
// contains filtered or unexported fields
}
PluginAssignmentConfig defines a single plugin assignment for the agent.
func (*PluginAssignmentConfig) Descriptor
deprecated
added in
v1.0.83
func (*PluginAssignmentConfig) Descriptor() ([]byte, []int)
Deprecated: Use PluginAssignmentConfig.ProtoReflect.Descriptor instead.
func (*PluginAssignmentConfig) GetAssignmentId ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetAssignmentId() string
func (*PluginAssignmentConfig) GetCapabilities ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetCapabilities() []string
func (*PluginAssignmentConfig) GetContentHash ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetContentHash() string
func (*PluginAssignmentConfig) GetDownloadUrl ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetDownloadUrl() string
func (*PluginAssignmentConfig) GetEnabled ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetEnabled() bool
func (*PluginAssignmentConfig) GetEntrypoint ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetEntrypoint() string
func (*PluginAssignmentConfig) GetIntervalSec ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetIntervalSec() int32
func (*PluginAssignmentConfig) GetName ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetName() string
func (*PluginAssignmentConfig) GetOutputs ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetOutputs() string
func (*PluginAssignmentConfig) GetPackageId ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetPackageId() string
func (*PluginAssignmentConfig) GetParamsJson ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetParamsJson() []byte
func (*PluginAssignmentConfig) GetPermissionsJson ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetPermissionsJson() []byte
func (*PluginAssignmentConfig) GetPluginId ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetPluginId() string
func (*PluginAssignmentConfig) GetResourcesJson ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetResourcesJson() []byte
func (*PluginAssignmentConfig) GetRuntime ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetRuntime() string
func (*PluginAssignmentConfig) GetSourceCommit ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetSourceCommit() string
func (*PluginAssignmentConfig) GetSourceRepoUrl ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetSourceRepoUrl() string
func (*PluginAssignmentConfig) GetSourceType ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetSourceType() string
func (*PluginAssignmentConfig) GetTimeoutSec ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetTimeoutSec() int32
func (*PluginAssignmentConfig) GetVersion ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetVersion() string
func (*PluginAssignmentConfig) GetWasmObjectKey ¶ added in v1.0.83
func (x *PluginAssignmentConfig) GetWasmObjectKey() string
func (*PluginAssignmentConfig) ProtoMessage ¶ added in v1.0.83
func (*PluginAssignmentConfig) ProtoMessage()
func (*PluginAssignmentConfig) ProtoReflect ¶ added in v1.0.83
func (x *PluginAssignmentConfig) ProtoReflect() protoreflect.Message
func (*PluginAssignmentConfig) Reset ¶ added in v1.0.83
func (x *PluginAssignmentConfig) Reset()
func (*PluginAssignmentConfig) String ¶ added in v1.0.83
func (x *PluginAssignmentConfig) String() string
type PluginConfig ¶ added in v1.0.83
type PluginConfig struct {
Assignments []*PluginAssignmentConfig `protobuf:"bytes,1,rep,name=assignments,proto3" json:"assignments,omitempty"`
EngineLimits *PluginEngineLimits `protobuf:"bytes,2,opt,name=engine_limits,json=engineLimits,proto3" json:"engine_limits,omitempty"`
// contains filtered or unexported fields
}
PluginConfig defines plugin assignments for the agent.
func (*PluginConfig) Descriptor
deprecated
added in
v1.0.83
func (*PluginConfig) Descriptor() ([]byte, []int)
Deprecated: Use PluginConfig.ProtoReflect.Descriptor instead.
func (*PluginConfig) GetAssignments ¶ added in v1.0.83
func (x *PluginConfig) GetAssignments() []*PluginAssignmentConfig
func (*PluginConfig) GetEngineLimits ¶ added in v1.0.83
func (x *PluginConfig) GetEngineLimits() *PluginEngineLimits
func (*PluginConfig) ProtoMessage ¶ added in v1.0.83
func (*PluginConfig) ProtoMessage()
func (*PluginConfig) ProtoReflect ¶ added in v1.0.83
func (x *PluginConfig) ProtoReflect() protoreflect.Message
func (*PluginConfig) Reset ¶ added in v1.0.83
func (x *PluginConfig) Reset()
func (*PluginConfig) String ¶ added in v1.0.83
func (x *PluginConfig) String() string
type PluginEngineLimits ¶ added in v1.0.83
type PluginEngineLimits struct {
MaxMemoryMb int32 `protobuf:"varint,1,opt,name=max_memory_mb,json=maxMemoryMb,proto3" json:"max_memory_mb,omitempty"`
MaxCpuMs int32 `protobuf:"varint,2,opt,name=max_cpu_ms,json=maxCpuMs,proto3" json:"max_cpu_ms,omitempty"`
MaxConcurrent int32 `protobuf:"varint,3,opt,name=max_concurrent,json=maxConcurrent,proto3" json:"max_concurrent,omitempty"`
MaxOpenConnections int32 `protobuf:"varint,4,opt,name=max_open_connections,json=maxOpenConnections,proto3" json:"max_open_connections,omitempty"`
// contains filtered or unexported fields
}
PluginEngineLimits defines per-agent engine resource limits.
func (*PluginEngineLimits) Descriptor
deprecated
added in
v1.0.83
func (*PluginEngineLimits) Descriptor() ([]byte, []int)
Deprecated: Use PluginEngineLimits.ProtoReflect.Descriptor instead.
func (*PluginEngineLimits) GetMaxConcurrent ¶ added in v1.0.83
func (x *PluginEngineLimits) GetMaxConcurrent() int32
func (*PluginEngineLimits) GetMaxCpuMs ¶ added in v1.0.83
func (x *PluginEngineLimits) GetMaxCpuMs() int32
func (*PluginEngineLimits) GetMaxMemoryMb ¶ added in v1.0.83
func (x *PluginEngineLimits) GetMaxMemoryMb() int32
func (*PluginEngineLimits) GetMaxOpenConnections ¶ added in v1.0.83
func (x *PluginEngineLimits) GetMaxOpenConnections() int32
func (*PluginEngineLimits) ProtoMessage ¶ added in v1.0.83
func (*PluginEngineLimits) ProtoMessage()
func (*PluginEngineLimits) ProtoReflect ¶ added in v1.0.83
func (x *PluginEngineLimits) ProtoReflect() protoreflect.Message
func (*PluginEngineLimits) Reset ¶ added in v1.0.83
func (x *PluginEngineLimits) Reset()
func (*PluginEngineLimits) String ¶ added in v1.0.83
func (x *PluginEngineLimits) String() string
type PortStatus ¶
type PortStatus struct {
Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
Available int32 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` // Number of hosts with this port open
// contains filtered or unexported fields
}
func (*PortStatus) Descriptor
deprecated
func (*PortStatus) Descriptor() ([]byte, []int)
Deprecated: Use PortStatus.ProtoReflect.Descriptor instead.
func (*PortStatus) GetAvailable ¶
func (x *PortStatus) GetAvailable() int32
func (*PortStatus) GetPort ¶
func (x *PortStatus) GetPort() int32
func (*PortStatus) ProtoMessage ¶
func (*PortStatus) ProtoMessage()
func (*PortStatus) ProtoReflect ¶
func (x *PortStatus) ProtoReflect() protoreflect.Message
func (*PortStatus) Reset ¶
func (x *PortStatus) Reset()
func (*PortStatus) String ¶
func (x *PortStatus) String() string
type PushAccountJWTRequest ¶ added in v1.0.79
type PushAccountJWTRequest struct {
AccountPublicKey string `protobuf:"bytes,1,opt,name=account_public_key,json=accountPublicKey,proto3" json:"account_public_key,omitempty"` // The account's public NKey (starts with 'A')
AccountJwt string `protobuf:"bytes,2,opt,name=account_jwt,json=accountJwt,proto3" json:"account_jwt,omitempty"` // The signed account JWT to push
// contains filtered or unexported fields
}
PushAccountJWTRequest is the request to push an account JWT to the NATS resolver.
func (*PushAccountJWTRequest) Descriptor
deprecated
added in
v1.0.79
func (*PushAccountJWTRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushAccountJWTRequest.ProtoReflect.Descriptor instead.
func (*PushAccountJWTRequest) GetAccountJwt ¶ added in v1.0.79
func (x *PushAccountJWTRequest) GetAccountJwt() string
func (*PushAccountJWTRequest) GetAccountPublicKey ¶ added in v1.0.79
func (x *PushAccountJWTRequest) GetAccountPublicKey() string
func (*PushAccountJWTRequest) ProtoMessage ¶ added in v1.0.79
func (*PushAccountJWTRequest) ProtoMessage()
func (*PushAccountJWTRequest) ProtoReflect ¶ added in v1.0.79
func (x *PushAccountJWTRequest) ProtoReflect() protoreflect.Message
func (*PushAccountJWTRequest) Reset ¶ added in v1.0.79
func (x *PushAccountJWTRequest) Reset()
func (*PushAccountJWTRequest) String ¶ added in v1.0.79
func (x *PushAccountJWTRequest) String() string
type PushAccountJWTResponse ¶ added in v1.0.79
type PushAccountJWTResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // Whether the push was successful
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Status message or error details
// contains filtered or unexported fields
}
PushAccountJWTResponse confirms the JWT was pushed to the resolver.
func (*PushAccountJWTResponse) Descriptor
deprecated
added in
v1.0.79
func (*PushAccountJWTResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushAccountJWTResponse.ProtoReflect.Descriptor instead.
func (*PushAccountJWTResponse) GetMessage ¶ added in v1.0.79
func (x *PushAccountJWTResponse) GetMessage() string
func (*PushAccountJWTResponse) GetSuccess ¶ added in v1.0.79
func (x *PushAccountJWTResponse) GetSuccess() bool
func (*PushAccountJWTResponse) ProtoMessage ¶ added in v1.0.79
func (*PushAccountJWTResponse) ProtoMessage()
func (*PushAccountJWTResponse) ProtoReflect ¶ added in v1.0.79
func (x *PushAccountJWTResponse) ProtoReflect() protoreflect.Message
func (*PushAccountJWTResponse) Reset ¶ added in v1.0.79
func (x *PushAccountJWTResponse) Reset()
func (*PushAccountJWTResponse) String ¶ added in v1.0.79
func (x *PushAccountJWTResponse) String() string
type PutManyRequest ¶
type PutManyRequest struct {
Entries []*KeyValueEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
TtlSeconds int64 `protobuf:"varint,2,opt,name=ttl_seconds,json=ttlSeconds,proto3" json:"ttl_seconds,omitempty"` // TTL in seconds, 0 for no expiration
// contains filtered or unexported fields
}
PutManyRequest is the request message for the PutMany operation.
func (*PutManyRequest) Descriptor
deprecated
func (*PutManyRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutManyRequest.ProtoReflect.Descriptor instead.
func (*PutManyRequest) GetEntries ¶
func (x *PutManyRequest) GetEntries() []*KeyValueEntry
func (*PutManyRequest) GetTtlSeconds ¶
func (x *PutManyRequest) GetTtlSeconds() int64
func (*PutManyRequest) ProtoMessage ¶
func (*PutManyRequest) ProtoMessage()
func (*PutManyRequest) ProtoReflect ¶
func (x *PutManyRequest) ProtoReflect() protoreflect.Message
func (*PutManyRequest) Reset ¶
func (x *PutManyRequest) Reset()
func (*PutManyRequest) String ¶
func (x *PutManyRequest) String() string
type PutManyResponse ¶
type PutManyResponse struct {
// contains filtered or unexported fields
}
PutManyResponse is the response message for the PutMany operation.
func (*PutManyResponse) Descriptor
deprecated
func (*PutManyResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutManyResponse.ProtoReflect.Descriptor instead.
func (*PutManyResponse) ProtoMessage ¶
func (*PutManyResponse) ProtoMessage()
func (*PutManyResponse) ProtoReflect ¶
func (x *PutManyResponse) ProtoReflect() protoreflect.Message
func (*PutManyResponse) Reset ¶
func (x *PutManyResponse) Reset()
func (*PutManyResponse) String ¶
func (x *PutManyResponse) String() string
type PutRequest ¶
type PutRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
TtlSeconds int64 `protobuf:"varint,3,opt,name=ttl_seconds,json=ttlSeconds,proto3" json:"ttl_seconds,omitempty"` // TTL in seconds, 0 for no expiration
// contains filtered or unexported fields
}
PutRequest is the request message for the Put operation.
func (*PutRequest) Descriptor
deprecated
func (*PutRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutRequest.ProtoReflect.Descriptor instead.
func (*PutRequest) GetKey ¶
func (x *PutRequest) GetKey() string
func (*PutRequest) GetTtlSeconds ¶
func (x *PutRequest) GetTtlSeconds() int64
func (*PutRequest) GetValue ¶
func (x *PutRequest) GetValue() []byte
func (*PutRequest) ProtoMessage ¶
func (*PutRequest) ProtoMessage()
func (*PutRequest) ProtoReflect ¶
func (x *PutRequest) ProtoReflect() protoreflect.Message
func (*PutRequest) Reset ¶
func (x *PutRequest) Reset()
func (*PutRequest) String ¶
func (x *PutRequest) String() string
type PutResponse ¶
type PutResponse struct {
// contains filtered or unexported fields
}
PutResponse is the response message for the Put operation.
func (*PutResponse) Descriptor
deprecated
func (*PutResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutResponse.ProtoReflect.Descriptor instead.
func (*PutResponse) ProtoMessage ¶
func (*PutResponse) ProtoMessage()
func (*PutResponse) ProtoReflect ¶
func (x *PutResponse) ProtoReflect() protoreflect.Message
func (*PutResponse) Reset ¶
func (x *PutResponse) Reset()
func (*PutResponse) String ¶
func (x *PutResponse) String() string
type RegisterTemplateRequest ¶ added in v1.0.55
type RegisterTemplateRequest struct {
// service_name matches the ServiceDescriptor.Name from pkg/config/registry.go (e.g., "core", "snmp-checker")
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
// template_data contains the default configuration bytes (JSON or TOML)
TemplateData []byte `protobuf:"bytes,2,opt,name=template_data,json=templateData,proto3" json:"template_data,omitempty"`
// format indicates the configuration format ("json" or "toml")
Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
// service_version optional semver for versioning templates
ServiceVersion string `protobuf:"bytes,4,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"`
// contains filtered or unexported fields
}
RegisterTemplateRequest registers a service's default configuration template with the core. Services call this on startup to make their templates available for admin seeding operations.
func (*RegisterTemplateRequest) Descriptor
deprecated
added in
v1.0.55
func (*RegisterTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterTemplateRequest.ProtoReflect.Descriptor instead.
func (*RegisterTemplateRequest) GetFormat ¶ added in v1.0.55
func (x *RegisterTemplateRequest) GetFormat() string
func (*RegisterTemplateRequest) GetServiceName ¶ added in v1.0.55
func (x *RegisterTemplateRequest) GetServiceName() string
func (*RegisterTemplateRequest) GetServiceVersion ¶ added in v1.0.55
func (x *RegisterTemplateRequest) GetServiceVersion() string
func (*RegisterTemplateRequest) GetTemplateData ¶ added in v1.0.55
func (x *RegisterTemplateRequest) GetTemplateData() []byte
func (*RegisterTemplateRequest) ProtoMessage ¶ added in v1.0.55
func (*RegisterTemplateRequest) ProtoMessage()
func (*RegisterTemplateRequest) ProtoReflect ¶ added in v1.0.55
func (x *RegisterTemplateRequest) ProtoReflect() protoreflect.Message
func (*RegisterTemplateRequest) Reset ¶ added in v1.0.55
func (x *RegisterTemplateRequest) Reset()
func (*RegisterTemplateRequest) String ¶ added in v1.0.55
func (x *RegisterTemplateRequest) String() string
type RegisterTemplateResponse ¶ added in v1.0.55
type RegisterTemplateResponse struct {
// success indicates whether the template was registered
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// message contains any error or informational text
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
RegisterTemplateResponse confirms template registration.
func (*RegisterTemplateResponse) Descriptor
deprecated
added in
v1.0.55
func (*RegisterTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterTemplateResponse.ProtoReflect.Descriptor instead.
func (*RegisterTemplateResponse) GetMessage ¶ added in v1.0.55
func (x *RegisterTemplateResponse) GetMessage() string
func (*RegisterTemplateResponse) GetSuccess ¶ added in v1.0.55
func (x *RegisterTemplateResponse) GetSuccess() bool
func (*RegisterTemplateResponse) ProtoMessage ¶ added in v1.0.55
func (*RegisterTemplateResponse) ProtoMessage()
func (*RegisterTemplateResponse) ProtoReflect ¶ added in v1.0.55
func (x *RegisterTemplateResponse) ProtoReflect() protoreflect.Message
func (*RegisterTemplateResponse) Reset ¶ added in v1.0.55
func (x *RegisterTemplateResponse) Reset()
func (*RegisterTemplateResponse) String ¶ added in v1.0.55
func (x *RegisterTemplateResponse) String() string
type ResultsChunk ¶
type ResultsChunk struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Chunk of results data
IsFinal bool `protobuf:"varint,2,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"` // Whether this is the last chunk
ChunkIndex int32 `protobuf:"varint,3,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"` // Order of this chunk
TotalChunks int32 `protobuf:"varint,4,opt,name=total_chunks,json=totalChunks,proto3" json:"total_chunks,omitempty"` // Total number of chunks
CurrentSequence string `protobuf:"bytes,5,opt,name=current_sequence,json=currentSequence,proto3" json:"current_sequence,omitempty"` // Current sequence of this chunk stream
Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // When chunk was generated
// contains filtered or unexported fields
}
func (*ResultsChunk) Descriptor
deprecated
func (*ResultsChunk) Descriptor() ([]byte, []int)
Deprecated: Use ResultsChunk.ProtoReflect.Descriptor instead.
func (*ResultsChunk) GetChunkIndex ¶
func (x *ResultsChunk) GetChunkIndex() int32
func (*ResultsChunk) GetCurrentSequence ¶
func (x *ResultsChunk) GetCurrentSequence() string
func (*ResultsChunk) GetData ¶
func (x *ResultsChunk) GetData() []byte
func (*ResultsChunk) GetIsFinal ¶
func (x *ResultsChunk) GetIsFinal() bool
func (*ResultsChunk) GetTimestamp ¶
func (x *ResultsChunk) GetTimestamp() int64
func (*ResultsChunk) GetTotalChunks ¶
func (x *ResultsChunk) GetTotalChunks() int32
func (*ResultsChunk) ProtoMessage ¶
func (*ResultsChunk) ProtoMessage()
func (*ResultsChunk) ProtoReflect ¶
func (x *ResultsChunk) ProtoReflect() protoreflect.Message
func (*ResultsChunk) Reset ¶
func (x *ResultsChunk) Reset()
func (*ResultsChunk) String ¶
func (x *ResultsChunk) String() string
type ResultsRequest ¶
type ResultsRequest struct {
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Name of the service to get results from
ServiceType string `protobuf:"bytes,2,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"` // Type of service (grpc, etc)
AgentId string `protobuf:"bytes,3,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Agent ID for traceability
GatewayId string `protobuf:"bytes,4,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` // Gateway ID for traceability
Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` // Additional details
LastSequence string `protobuf:"bytes,6,opt,name=last_sequence,json=lastSequence,proto3" json:"last_sequence,omitempty"` // Last sequence received by gateway
CompletionStatus *SweepCompletionStatus `protobuf:"bytes,7,opt,name=completion_status,json=completionStatus,proto3" json:"completion_status,omitempty"` // Completion status reported by gateway
// contains filtered or unexported fields
}
func (*ResultsRequest) Descriptor
deprecated
func (*ResultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResultsRequest.ProtoReflect.Descriptor instead.
func (*ResultsRequest) GetAgentId ¶
func (x *ResultsRequest) GetAgentId() string
func (*ResultsRequest) GetCompletionStatus ¶
func (x *ResultsRequest) GetCompletionStatus() *SweepCompletionStatus
func (*ResultsRequest) GetDetails ¶
func (x *ResultsRequest) GetDetails() string
func (*ResultsRequest) GetGatewayId ¶ added in v1.0.79
func (x *ResultsRequest) GetGatewayId() string
func (*ResultsRequest) GetLastSequence ¶
func (x *ResultsRequest) GetLastSequence() string
func (*ResultsRequest) GetServiceName ¶
func (x *ResultsRequest) GetServiceName() string
func (*ResultsRequest) GetServiceType ¶
func (x *ResultsRequest) GetServiceType() string
func (*ResultsRequest) ProtoMessage ¶
func (*ResultsRequest) ProtoMessage()
func (*ResultsRequest) ProtoReflect ¶
func (x *ResultsRequest) ProtoReflect() protoreflect.Message
func (*ResultsRequest) Reset ¶
func (x *ResultsRequest) Reset()
func (*ResultsRequest) String ¶
func (x *ResultsRequest) String() string
type ResultsResponse ¶
type ResultsResponse struct {
Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Results data (e.g., discovery results)
ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
ServiceType string `protobuf:"bytes,4,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
ResponseTime int64 `protobuf:"varint,5,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"`
AgentId string `protobuf:"bytes,6,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
GatewayId string `protobuf:"bytes,7,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` // Gateway ID for traceability
Timestamp int64 `protobuf:"varint,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // When results were generated
CurrentSequence string `protobuf:"bytes,9,opt,name=current_sequence,json=currentSequence,proto3" json:"current_sequence,omitempty"` // Current sequence of this response
HasNewData bool `protobuf:"varint,10,opt,name=has_new_data,json=hasNewData,proto3" json:"has_new_data,omitempty"` // Whether data changed since last_sequence
SweepCompletion *SweepCompletionStatus `protobuf:"bytes,11,opt,name=sweep_completion,json=sweepCompletion,proto3" json:"sweep_completion,omitempty"` // Sweep completion status for coordination
ExecutionId string `protobuf:"bytes,12,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` // Sweep execution UUID for result tracking
SweepGroupId string `protobuf:"bytes,13,opt,name=sweep_group_id,json=sweepGroupId,proto3" json:"sweep_group_id,omitempty"` // Sweep group UUID this execution belongs to
// contains filtered or unexported fields
}
func (*ResultsResponse) Descriptor
deprecated
func (*ResultsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResultsResponse.ProtoReflect.Descriptor instead.
func (*ResultsResponse) GetAgentId ¶
func (x *ResultsResponse) GetAgentId() string
func (*ResultsResponse) GetAvailable ¶
func (x *ResultsResponse) GetAvailable() bool
func (*ResultsResponse) GetCurrentSequence ¶
func (x *ResultsResponse) GetCurrentSequence() string
func (*ResultsResponse) GetData ¶
func (x *ResultsResponse) GetData() []byte
func (*ResultsResponse) GetExecutionId ¶ added in v1.0.79
func (x *ResultsResponse) GetExecutionId() string
func (*ResultsResponse) GetGatewayId ¶ added in v1.0.79
func (x *ResultsResponse) GetGatewayId() string
func (*ResultsResponse) GetHasNewData ¶
func (x *ResultsResponse) GetHasNewData() bool
func (*ResultsResponse) GetResponseTime ¶
func (x *ResultsResponse) GetResponseTime() int64
func (*ResultsResponse) GetServiceName ¶
func (x *ResultsResponse) GetServiceName() string
func (*ResultsResponse) GetServiceType ¶
func (x *ResultsResponse) GetServiceType() string
func (*ResultsResponse) GetSweepCompletion ¶
func (x *ResultsResponse) GetSweepCompletion() *SweepCompletionStatus
func (*ResultsResponse) GetSweepGroupId ¶ added in v1.0.79
func (x *ResultsResponse) GetSweepGroupId() string
func (*ResultsResponse) GetTimestamp ¶
func (x *ResultsResponse) GetTimestamp() int64
func (*ResultsResponse) ProtoMessage ¶
func (*ResultsResponse) ProtoMessage()
func (*ResultsResponse) ProtoReflect ¶
func (x *ResultsResponse) ProtoReflect() protoreflect.Message
func (*ResultsResponse) Reset ¶
func (x *ResultsResponse) Reset()
func (*ResultsResponse) String ¶
func (x *ResultsResponse) String() string
type SNMPAuthProtocol ¶ added in v1.0.79
type SNMPAuthProtocol int32
SNMPAuthProtocol represents SNMPv3 authentication protocols.
const ( SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_UNSPECIFIED SNMPAuthProtocol = 0 SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_MD5 SNMPAuthProtocol = 1 SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_SHA SNMPAuthProtocol = 2 SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_SHA224 SNMPAuthProtocol = 3 SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_SHA256 SNMPAuthProtocol = 4 SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_SHA384 SNMPAuthProtocol = 5 SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_SHA512 SNMPAuthProtocol = 6 )
func (SNMPAuthProtocol) Descriptor ¶ added in v1.0.79
func (SNMPAuthProtocol) Descriptor() protoreflect.EnumDescriptor
func (SNMPAuthProtocol) Enum ¶ added in v1.0.79
func (x SNMPAuthProtocol) Enum() *SNMPAuthProtocol
func (SNMPAuthProtocol) EnumDescriptor
deprecated
added in
v1.0.79
func (SNMPAuthProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use SNMPAuthProtocol.Descriptor instead.
func (SNMPAuthProtocol) Number ¶ added in v1.0.79
func (x SNMPAuthProtocol) Number() protoreflect.EnumNumber
func (SNMPAuthProtocol) String ¶ added in v1.0.79
func (x SNMPAuthProtocol) String() string
func (SNMPAuthProtocol) Type ¶ added in v1.0.79
func (SNMPAuthProtocol) Type() protoreflect.EnumType
type SNMPConfig ¶ added in v1.0.79
type SNMPConfig struct {
// Whether SNMP collection is enabled
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Profile metadata (for UI display and debugging)
ProfileId string `protobuf:"bytes,2,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"` // UUID of the profile this config came from
ProfileName string `protobuf:"bytes,3,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"` // Name of the profile for logging
// SNMP targets to poll
Targets []*SNMPTargetConfig `protobuf:"bytes,4,rep,name=targets,proto3" json:"targets,omitempty"`
// contains filtered or unexported fields
}
SNMPConfig defines SNMP monitoring configuration for the embedded SNMP collector.
func (*SNMPConfig) Descriptor
deprecated
added in
v1.0.79
func (*SNMPConfig) Descriptor() ([]byte, []int)
Deprecated: Use SNMPConfig.ProtoReflect.Descriptor instead.
func (*SNMPConfig) GetEnabled ¶ added in v1.0.79
func (x *SNMPConfig) GetEnabled() bool
func (*SNMPConfig) GetProfileId ¶ added in v1.0.79
func (x *SNMPConfig) GetProfileId() string
func (*SNMPConfig) GetProfileName ¶ added in v1.0.79
func (x *SNMPConfig) GetProfileName() string
func (*SNMPConfig) GetTargets ¶ added in v1.0.79
func (x *SNMPConfig) GetTargets() []*SNMPTargetConfig
func (*SNMPConfig) ProtoMessage ¶ added in v1.0.79
func (*SNMPConfig) ProtoMessage()
func (*SNMPConfig) ProtoReflect ¶ added in v1.0.79
func (x *SNMPConfig) ProtoReflect() protoreflect.Message
func (*SNMPConfig) Reset ¶ added in v1.0.79
func (x *SNMPConfig) Reset()
func (*SNMPConfig) String ¶ added in v1.0.79
func (x *SNMPConfig) String() string
type SNMPDataType ¶ added in v1.0.79
type SNMPDataType int32
SNMPDataType represents the type of data for an OID.
const ( SNMPDataType_SNMP_DATA_TYPE_UNSPECIFIED SNMPDataType = 0 SNMPDataType_SNMP_DATA_TYPE_COUNTER SNMPDataType = 1 // Monotonically increasing counter SNMPDataType_SNMP_DATA_TYPE_GAUGE SNMPDataType = 2 // Current value that can go up or down SNMPDataType_SNMP_DATA_TYPE_BOOLEAN SNMPDataType = 3 // True/false value SNMPDataType_SNMP_DATA_TYPE_BYTES SNMPDataType = 4 // Byte count SNMPDataType_SNMP_DATA_TYPE_STRING SNMPDataType = 5 // Text value SNMPDataType_SNMP_DATA_TYPE_FLOAT SNMPDataType = 6 // Floating point value SNMPDataType_SNMP_DATA_TYPE_TIMETICKS SNMPDataType = 7 // Time value in hundredths of a second )
func (SNMPDataType) Descriptor ¶ added in v1.0.79
func (SNMPDataType) Descriptor() protoreflect.EnumDescriptor
func (SNMPDataType) Enum ¶ added in v1.0.79
func (x SNMPDataType) Enum() *SNMPDataType
func (SNMPDataType) EnumDescriptor
deprecated
added in
v1.0.79
func (SNMPDataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SNMPDataType.Descriptor instead.
func (SNMPDataType) Number ¶ added in v1.0.79
func (x SNMPDataType) Number() protoreflect.EnumNumber
func (SNMPDataType) String ¶ added in v1.0.79
func (x SNMPDataType) String() string
func (SNMPDataType) Type ¶ added in v1.0.79
func (SNMPDataType) Type() protoreflect.EnumType
type SNMPOIDConfig ¶ added in v1.0.79
type SNMPOIDConfig struct {
Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` // OID string (e.g., ".1.3.6.1.2.1.1.1.0")
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Human-readable name (e.g., "sysDescr")
DataType SNMPDataType `protobuf:"varint,3,opt,name=data_type,json=dataType,proto3,enum=monitoring.SNMPDataType" json:"data_type,omitempty"` // Expected data type
Scale float64 `protobuf:"fixed64,4,opt,name=scale,proto3" json:"scale,omitempty"` // Scale factor (default 1.0)
Delta bool `protobuf:"varint,5,opt,name=delta,proto3" json:"delta,omitempty"` // Calculate rate of change
// contains filtered or unexported fields
}
SNMPOIDConfig defines an OID to poll from an SNMP target.
func (*SNMPOIDConfig) Descriptor
deprecated
added in
v1.0.79
func (*SNMPOIDConfig) Descriptor() ([]byte, []int)
Deprecated: Use SNMPOIDConfig.ProtoReflect.Descriptor instead.
func (*SNMPOIDConfig) GetDataType ¶ added in v1.0.79
func (x *SNMPOIDConfig) GetDataType() SNMPDataType
func (*SNMPOIDConfig) GetDelta ¶ added in v1.0.79
func (x *SNMPOIDConfig) GetDelta() bool
func (*SNMPOIDConfig) GetName ¶ added in v1.0.79
func (x *SNMPOIDConfig) GetName() string
func (*SNMPOIDConfig) GetOid ¶ added in v1.0.79
func (x *SNMPOIDConfig) GetOid() string
func (*SNMPOIDConfig) GetScale ¶ added in v1.0.79
func (x *SNMPOIDConfig) GetScale() float64
func (*SNMPOIDConfig) ProtoMessage ¶ added in v1.0.79
func (*SNMPOIDConfig) ProtoMessage()
func (*SNMPOIDConfig) ProtoReflect ¶ added in v1.0.79
func (x *SNMPOIDConfig) ProtoReflect() protoreflect.Message
func (*SNMPOIDConfig) Reset ¶ added in v1.0.79
func (x *SNMPOIDConfig) Reset()
func (*SNMPOIDConfig) String ¶ added in v1.0.79
func (x *SNMPOIDConfig) String() string
type SNMPPrivProtocol ¶ added in v1.0.79
type SNMPPrivProtocol int32
SNMPPrivProtocol represents SNMPv3 privacy (encryption) protocols.
const ( SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_UNSPECIFIED SNMPPrivProtocol = 0 SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_DES SNMPPrivProtocol = 1 SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_AES SNMPPrivProtocol = 2 SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_AES192 SNMPPrivProtocol = 3 SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_AES256 SNMPPrivProtocol = 4 SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_AES192C SNMPPrivProtocol = 5 SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_AES256C SNMPPrivProtocol = 6 )
func (SNMPPrivProtocol) Descriptor ¶ added in v1.0.79
func (SNMPPrivProtocol) Descriptor() protoreflect.EnumDescriptor
func (SNMPPrivProtocol) Enum ¶ added in v1.0.79
func (x SNMPPrivProtocol) Enum() *SNMPPrivProtocol
func (SNMPPrivProtocol) EnumDescriptor
deprecated
added in
v1.0.79
func (SNMPPrivProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use SNMPPrivProtocol.Descriptor instead.
func (SNMPPrivProtocol) Number ¶ added in v1.0.79
func (x SNMPPrivProtocol) Number() protoreflect.EnumNumber
func (SNMPPrivProtocol) String ¶ added in v1.0.79
func (x SNMPPrivProtocol) String() string
func (SNMPPrivProtocol) Type ¶ added in v1.0.79
func (SNMPPrivProtocol) Type() protoreflect.EnumType
type SNMPSecurityLevel ¶ added in v1.0.79
type SNMPSecurityLevel int32
SNMPSecurityLevel represents SNMPv3 security levels.
const ( SNMPSecurityLevel_SNMP_SECURITY_LEVEL_UNSPECIFIED SNMPSecurityLevel = 0 SNMPSecurityLevel_SNMP_SECURITY_LEVEL_NO_AUTH_NO_PRIV SNMPSecurityLevel = 1 SNMPSecurityLevel_SNMP_SECURITY_LEVEL_AUTH_NO_PRIV SNMPSecurityLevel = 2 SNMPSecurityLevel_SNMP_SECURITY_LEVEL_AUTH_PRIV SNMPSecurityLevel = 3 )
func (SNMPSecurityLevel) Descriptor ¶ added in v1.0.79
func (SNMPSecurityLevel) Descriptor() protoreflect.EnumDescriptor
func (SNMPSecurityLevel) Enum ¶ added in v1.0.79
func (x SNMPSecurityLevel) Enum() *SNMPSecurityLevel
func (SNMPSecurityLevel) EnumDescriptor
deprecated
added in
v1.0.79
func (SNMPSecurityLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use SNMPSecurityLevel.Descriptor instead.
func (SNMPSecurityLevel) Number ¶ added in v1.0.79
func (x SNMPSecurityLevel) Number() protoreflect.EnumNumber
func (SNMPSecurityLevel) String ¶ added in v1.0.79
func (x SNMPSecurityLevel) String() string
func (SNMPSecurityLevel) Type ¶ added in v1.0.79
func (SNMPSecurityLevel) Type() protoreflect.EnumType
type SNMPTargetConfig ¶ added in v1.0.79
type SNMPTargetConfig struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Target ID (UUID)
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Human-readable name
Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // Hostname or IP address
Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` // SNMP port (default 161)
Version SNMPVersion `protobuf:"varint,5,opt,name=version,proto3,enum=monitoring.SNMPVersion" json:"version,omitempty"` // SNMP protocol version
// SNMPv1/v2c authentication
Community string `protobuf:"bytes,6,opt,name=community,proto3" json:"community,omitempty"` // Community string (decrypted)
// SNMPv3 authentication
V3Auth *SNMPv3Auth `protobuf:"bytes,7,opt,name=v3_auth,json=v3Auth,proto3" json:"v3_auth,omitempty"`
// Polling configuration
PollIntervalSeconds uint32 `protobuf:"varint,8,opt,name=poll_interval_seconds,json=pollIntervalSeconds,proto3" json:"poll_interval_seconds,omitempty"` // How often to poll (default 60)
TimeoutSeconds uint32 `protobuf:"varint,9,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` // Timeout per request (default 5)
Retries uint32 `protobuf:"varint,10,opt,name=retries,proto3" json:"retries,omitempty"` // Number of retries (default 3)
// OIDs to poll
Oids []*SNMPOIDConfig `protobuf:"bytes,11,rep,name=oids,proto3" json:"oids,omitempty"`
// contains filtered or unexported fields
}
SNMPTargetConfig defines a single SNMP target (network device) to poll.
func (*SNMPTargetConfig) Descriptor
deprecated
added in
v1.0.79
func (*SNMPTargetConfig) Descriptor() ([]byte, []int)
Deprecated: Use SNMPTargetConfig.ProtoReflect.Descriptor instead.
func (*SNMPTargetConfig) GetCommunity ¶ added in v1.0.79
func (x *SNMPTargetConfig) GetCommunity() string
func (*SNMPTargetConfig) GetHost ¶ added in v1.0.79
func (x *SNMPTargetConfig) GetHost() string
func (*SNMPTargetConfig) GetId ¶ added in v1.0.79
func (x *SNMPTargetConfig) GetId() string
func (*SNMPTargetConfig) GetName ¶ added in v1.0.79
func (x *SNMPTargetConfig) GetName() string
func (*SNMPTargetConfig) GetOids ¶ added in v1.0.79
func (x *SNMPTargetConfig) GetOids() []*SNMPOIDConfig
func (*SNMPTargetConfig) GetPollIntervalSeconds ¶ added in v1.0.79
func (x *SNMPTargetConfig) GetPollIntervalSeconds() uint32
func (*SNMPTargetConfig) GetPort ¶ added in v1.0.79
func (x *SNMPTargetConfig) GetPort() uint32
func (*SNMPTargetConfig) GetRetries ¶ added in v1.0.79
func (x *SNMPTargetConfig) GetRetries() uint32
func (*SNMPTargetConfig) GetTimeoutSeconds ¶ added in v1.0.79
func (x *SNMPTargetConfig) GetTimeoutSeconds() uint32
func (*SNMPTargetConfig) GetV3Auth ¶ added in v1.0.79
func (x *SNMPTargetConfig) GetV3Auth() *SNMPv3Auth
func (*SNMPTargetConfig) GetVersion ¶ added in v1.0.79
func (x *SNMPTargetConfig) GetVersion() SNMPVersion
func (*SNMPTargetConfig) ProtoMessage ¶ added in v1.0.79
func (*SNMPTargetConfig) ProtoMessage()
func (*SNMPTargetConfig) ProtoReflect ¶ added in v1.0.79
func (x *SNMPTargetConfig) ProtoReflect() protoreflect.Message
func (*SNMPTargetConfig) Reset ¶ added in v1.0.79
func (x *SNMPTargetConfig) Reset()
func (*SNMPTargetConfig) String ¶ added in v1.0.79
func (x *SNMPTargetConfig) String() string
type SNMPVersion ¶ added in v1.0.79
type SNMPVersion int32
SNMPVersion represents SNMP protocol versions.
const ( SNMPVersion_SNMP_VERSION_UNSPECIFIED SNMPVersion = 0 SNMPVersion_SNMP_VERSION_V1 SNMPVersion = 1 SNMPVersion_SNMP_VERSION_V2C SNMPVersion = 2 SNMPVersion_SNMP_VERSION_V3 SNMPVersion = 3 )
func (SNMPVersion) Descriptor ¶ added in v1.0.79
func (SNMPVersion) Descriptor() protoreflect.EnumDescriptor
func (SNMPVersion) Enum ¶ added in v1.0.79
func (x SNMPVersion) Enum() *SNMPVersion
func (SNMPVersion) EnumDescriptor
deprecated
added in
v1.0.79
func (SNMPVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use SNMPVersion.Descriptor instead.
func (SNMPVersion) Number ¶ added in v1.0.79
func (x SNMPVersion) Number() protoreflect.EnumNumber
func (SNMPVersion) String ¶ added in v1.0.79
func (x SNMPVersion) String() string
func (SNMPVersion) Type ¶ added in v1.0.79
func (SNMPVersion) Type() protoreflect.EnumType
type SNMPv3Auth ¶ added in v1.0.79
type SNMPv3Auth struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
SecurityLevel SNMPSecurityLevel `` /* 135-byte string literal not displayed */
AuthProtocol SNMPAuthProtocol `` /* 131-byte string literal not displayed */
AuthPassword string `protobuf:"bytes,4,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Decrypted password
PrivProtocol SNMPPrivProtocol `` /* 131-byte string literal not displayed */
PrivPassword string `protobuf:"bytes,6,opt,name=priv_password,json=privPassword,proto3" json:"priv_password,omitempty"` // Decrypted password
// contains filtered or unexported fields
}
SNMPv3Auth contains SNMPv3 authentication parameters.
func (*SNMPv3Auth) Descriptor
deprecated
added in
v1.0.79
func (*SNMPv3Auth) Descriptor() ([]byte, []int)
Deprecated: Use SNMPv3Auth.ProtoReflect.Descriptor instead.
func (*SNMPv3Auth) GetAuthPassword ¶ added in v1.0.79
func (x *SNMPv3Auth) GetAuthPassword() string
func (*SNMPv3Auth) GetAuthProtocol ¶ added in v1.0.79
func (x *SNMPv3Auth) GetAuthProtocol() SNMPAuthProtocol
func (*SNMPv3Auth) GetPrivPassword ¶ added in v1.0.79
func (x *SNMPv3Auth) GetPrivPassword() string
func (*SNMPv3Auth) GetPrivProtocol ¶ added in v1.0.79
func (x *SNMPv3Auth) GetPrivProtocol() SNMPPrivProtocol
func (*SNMPv3Auth) GetSecurityLevel ¶ added in v1.0.79
func (x *SNMPv3Auth) GetSecurityLevel() SNMPSecurityLevel
func (*SNMPv3Auth) GetUsername ¶ added in v1.0.79
func (x *SNMPv3Auth) GetUsername() string
func (*SNMPv3Auth) ProtoMessage ¶ added in v1.0.79
func (*SNMPv3Auth) ProtoMessage()
func (*SNMPv3Auth) ProtoReflect ¶ added in v1.0.79
func (x *SNMPv3Auth) ProtoReflect() protoreflect.Message
func (*SNMPv3Auth) Reset ¶ added in v1.0.79
func (x *SNMPv3Auth) Reset()
func (*SNMPv3Auth) String ¶ added in v1.0.79
func (x *SNMPv3Auth) String() string
type SignAccountJWTRequest ¶ added in v1.0.79
type SignAccountJWTRequest struct {
AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Account identifier (used as account name)
AccountSeed string `protobuf:"bytes,2,opt,name=account_seed,json=accountSeed,proto3" json:"account_seed,omitempty"` // Account's private seed (from Elixir storage)
Limits *AccountLimits `protobuf:"bytes,3,opt,name=limits,proto3" json:"limits,omitempty"` // Current resource limits
SubjectMappings []*SubjectMapping `protobuf:"bytes,4,rep,name=subject_mappings,json=subjectMappings,proto3" json:"subject_mappings,omitempty"` // Current subject mappings
RevokedUserKeys []string `protobuf:"bytes,5,rep,name=revoked_user_keys,json=revokedUserKeys,proto3" json:"revoked_user_keys,omitempty"` // Public keys of revoked users
Exports []*StreamExport `protobuf:"bytes,6,rep,name=exports,proto3" json:"exports,omitempty"` // Optional stream exports (defaults applied server-side)
Imports []*StreamImport `protobuf:"bytes,7,rep,name=imports,proto3" json:"imports,omitempty"` // Stream imports from other accounts
// contains filtered or unexported fields
}
SignAccountJWTRequest is used to regenerate an account JWT with updated claims.
func (*SignAccountJWTRequest) Descriptor
deprecated
added in
v1.0.79
func (*SignAccountJWTRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignAccountJWTRequest.ProtoReflect.Descriptor instead.
func (*SignAccountJWTRequest) GetAccountName ¶ added in v1.0.79
func (x *SignAccountJWTRequest) GetAccountName() string
func (*SignAccountJWTRequest) GetAccountSeed ¶ added in v1.0.79
func (x *SignAccountJWTRequest) GetAccountSeed() string
func (*SignAccountJWTRequest) GetExports ¶ added in v1.0.79
func (x *SignAccountJWTRequest) GetExports() []*StreamExport
func (*SignAccountJWTRequest) GetImports ¶ added in v1.0.79
func (x *SignAccountJWTRequest) GetImports() []*StreamImport
func (*SignAccountJWTRequest) GetLimits ¶ added in v1.0.79
func (x *SignAccountJWTRequest) GetLimits() *AccountLimits
func (*SignAccountJWTRequest) GetRevokedUserKeys ¶ added in v1.0.79
func (x *SignAccountJWTRequest) GetRevokedUserKeys() []string
func (*SignAccountJWTRequest) GetSubjectMappings ¶ added in v1.0.79
func (x *SignAccountJWTRequest) GetSubjectMappings() []*SubjectMapping
func (*SignAccountJWTRequest) ProtoMessage ¶ added in v1.0.79
func (*SignAccountJWTRequest) ProtoMessage()
func (*SignAccountJWTRequest) ProtoReflect ¶ added in v1.0.79
func (x *SignAccountJWTRequest) ProtoReflect() protoreflect.Message
func (*SignAccountJWTRequest) Reset ¶ added in v1.0.79
func (x *SignAccountJWTRequest) Reset()
func (*SignAccountJWTRequest) String ¶ added in v1.0.79
func (x *SignAccountJWTRequest) String() string
type SignAccountJWTResponse ¶ added in v1.0.79
type SignAccountJWTResponse struct {
AccountPublicKey string `protobuf:"bytes,1,opt,name=account_public_key,json=accountPublicKey,proto3" json:"account_public_key,omitempty"` // The account's public NKey
AccountJwt string `protobuf:"bytes,2,opt,name=account_jwt,json=accountJwt,proto3" json:"account_jwt,omitempty"` // The newly signed account JWT
// contains filtered or unexported fields
}
SignAccountJWTResponse returns the newly signed account JWT.
func (*SignAccountJWTResponse) Descriptor
deprecated
added in
v1.0.79
func (*SignAccountJWTResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignAccountJWTResponse.ProtoReflect.Descriptor instead.
func (*SignAccountJWTResponse) GetAccountJwt ¶ added in v1.0.79
func (x *SignAccountJWTResponse) GetAccountJwt() string
func (*SignAccountJWTResponse) GetAccountPublicKey ¶ added in v1.0.79
func (x *SignAccountJWTResponse) GetAccountPublicKey() string
func (*SignAccountJWTResponse) ProtoMessage ¶ added in v1.0.79
func (*SignAccountJWTResponse) ProtoMessage()
func (*SignAccountJWTResponse) ProtoReflect ¶ added in v1.0.79
func (x *SignAccountJWTResponse) ProtoReflect() protoreflect.Message
func (*SignAccountJWTResponse) Reset ¶ added in v1.0.79
func (x *SignAccountJWTResponse) Reset()
func (*SignAccountJWTResponse) String ¶ added in v1.0.79
func (x *SignAccountJWTResponse) String() string
type StatusRequest ¶
type StatusRequest struct {
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Name of the service to check
ServiceType string `protobuf:"bytes,2,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"` // Type of service (process, port, grpc, etc)
AgentId string `protobuf:"bytes,3,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Agent ID for traceability
GatewayId string `protobuf:"bytes,4,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` // Gateway ID for traceability
Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` // Additional details (e.g., process name)
Port int32 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"` // Port number for port checks
// contains filtered or unexported fields
}
func (*StatusRequest) Descriptor
deprecated
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) GetAgentId ¶
func (x *StatusRequest) GetAgentId() string
func (*StatusRequest) GetDetails ¶
func (x *StatusRequest) GetDetails() string
func (*StatusRequest) GetGatewayId ¶ added in v1.0.79
func (x *StatusRequest) GetGatewayId() string
func (*StatusRequest) GetPort ¶
func (x *StatusRequest) GetPort() int32
func (*StatusRequest) GetServiceName ¶
func (x *StatusRequest) GetServiceName() string
func (*StatusRequest) GetServiceType ¶
func (x *StatusRequest) GetServiceType() string
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (x *StatusRequest) String() string
type StatusResponse ¶
type StatusResponse struct {
Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // New field
ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
ServiceType string `protobuf:"bytes,4,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
ResponseTime int64 `protobuf:"varint,5,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"`
AgentId string `protobuf:"bytes,6,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
GatewayId string `protobuf:"bytes,7,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` // Gateway ID for traceability
// contains filtered or unexported fields
}
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetAgentId ¶
func (x *StatusResponse) GetAgentId() string
func (*StatusResponse) GetAvailable ¶
func (x *StatusResponse) GetAvailable() bool
func (*StatusResponse) GetGatewayId ¶ added in v1.0.79
func (x *StatusResponse) GetGatewayId() string
func (*StatusResponse) GetMessage ¶
func (x *StatusResponse) GetMessage() []byte
func (*StatusResponse) GetResponseTime ¶
func (x *StatusResponse) GetResponseTime() int64
func (*StatusResponse) GetServiceName ¶
func (x *StatusResponse) GetServiceName() string
func (*StatusResponse) GetServiceType ¶
func (x *StatusResponse) GetServiceType() string
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type StreamExport ¶ added in v1.0.79
type StreamExport struct {
Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // Subject to export (e.g., "acme.logs.>")
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Optional export name
// contains filtered or unexported fields
}
StreamExport defines a stream export subject for cross-account consumption.
func (*StreamExport) Descriptor
deprecated
added in
v1.0.79
func (*StreamExport) Descriptor() ([]byte, []int)
Deprecated: Use StreamExport.ProtoReflect.Descriptor instead.
func (*StreamExport) GetName ¶ added in v1.0.79
func (x *StreamExport) GetName() string
func (*StreamExport) GetSubject ¶ added in v1.0.79
func (x *StreamExport) GetSubject() string
func (*StreamExport) ProtoMessage ¶ added in v1.0.79
func (*StreamExport) ProtoMessage()
func (*StreamExport) ProtoReflect ¶ added in v1.0.79
func (x *StreamExport) ProtoReflect() protoreflect.Message
func (*StreamExport) Reset ¶ added in v1.0.79
func (x *StreamExport) Reset()
func (*StreamExport) String ¶ added in v1.0.79
func (x *StreamExport) String() string
type StreamImport ¶ added in v1.0.79
type StreamImport struct {
Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // Subject to import (e.g., "acme.logs.>")
AccountPublicKey string `protobuf:"bytes,2,opt,name=account_public_key,json=accountPublicKey,proto3" json:"account_public_key,omitempty"` // Exporting account public key
LocalSubject string `protobuf:"bytes,3,opt,name=local_subject,json=localSubject,proto3" json:"local_subject,omitempty"` // Optional local subject (defaults to subject)
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Optional import name
// contains filtered or unexported fields
}
StreamImport defines a stream import from another account.
func (*StreamImport) Descriptor
deprecated
added in
v1.0.79
func (*StreamImport) Descriptor() ([]byte, []int)
Deprecated: Use StreamImport.ProtoReflect.Descriptor instead.
func (*StreamImport) GetAccountPublicKey ¶ added in v1.0.79
func (x *StreamImport) GetAccountPublicKey() string
func (*StreamImport) GetLocalSubject ¶ added in v1.0.79
func (x *StreamImport) GetLocalSubject() string
func (*StreamImport) GetName ¶ added in v1.0.79
func (x *StreamImport) GetName() string
func (*StreamImport) GetSubject ¶ added in v1.0.79
func (x *StreamImport) GetSubject() string
func (*StreamImport) ProtoMessage ¶ added in v1.0.79
func (*StreamImport) ProtoMessage()
func (*StreamImport) ProtoReflect ¶ added in v1.0.79
func (x *StreamImport) ProtoReflect() protoreflect.Message
func (*StreamImport) Reset ¶ added in v1.0.79
func (x *StreamImport) Reset()
func (*StreamImport) String ¶ added in v1.0.79
func (x *StreamImport) String() string
type SubjectMapping ¶ added in v1.0.79
type SubjectMapping struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // Source subject pattern (e.g., "logs.snmp")
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // Destination subject pattern (e.g., "{{namespace}}.logs.snmp")
// contains filtered or unexported fields
}
SubjectMapping defines how subjects are transformed for namespace isolation.
func (*SubjectMapping) Descriptor
deprecated
added in
v1.0.79
func (*SubjectMapping) Descriptor() ([]byte, []int)
Deprecated: Use SubjectMapping.ProtoReflect.Descriptor instead.
func (*SubjectMapping) GetFrom ¶ added in v1.0.79
func (x *SubjectMapping) GetFrom() string
func (*SubjectMapping) GetTo ¶ added in v1.0.79
func (x *SubjectMapping) GetTo() string
func (*SubjectMapping) ProtoMessage ¶ added in v1.0.79
func (*SubjectMapping) ProtoMessage()
func (*SubjectMapping) ProtoReflect ¶ added in v1.0.79
func (x *SubjectMapping) ProtoReflect() protoreflect.Message
func (*SubjectMapping) Reset ¶ added in v1.0.79
func (x *SubjectMapping) Reset()
func (*SubjectMapping) String ¶ added in v1.0.79
func (x *SubjectMapping) String() string
type SweepCompletionStatus ¶
type SweepCompletionStatus struct {
Status SweepCompletionStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=monitoring.SweepCompletionStatus_Status" json:"status,omitempty"` // Current completion status
CompletionTime int64 `protobuf:"varint,2,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"` // Timestamp when sweep completed (if COMPLETED)
TargetSequence string `protobuf:"bytes,3,opt,name=target_sequence,json=targetSequence,proto3" json:"target_sequence,omitempty"` // Sequence ID of the targets being swept
TotalTargets int32 `protobuf:"varint,4,opt,name=total_targets,json=totalTargets,proto3" json:"total_targets,omitempty"` // Total number of targets to sweep
CompletedTargets int32 `protobuf:"varint,5,opt,name=completed_targets,json=completedTargets,proto3" json:"completed_targets,omitempty"` // Number of targets completed so far
ErrorMessage string `protobuf:"bytes,6,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // Error details if status is FAILED
ExecutionId string `protobuf:"bytes,7,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` // Sweep execution UUID for tracking
SweepGroupId string `protobuf:"bytes,8,opt,name=sweep_group_id,json=sweepGroupId,proto3" json:"sweep_group_id,omitempty"` // Sweep group UUID this execution belongs to
ScannerStats *SweepScannerStats `protobuf:"bytes,9,opt,name=scanner_stats,json=scannerStats,proto3" json:"scanner_stats,omitempty"` // Scanner performance metrics
// contains filtered or unexported fields
}
func (*SweepCompletionStatus) Descriptor
deprecated
func (*SweepCompletionStatus) Descriptor() ([]byte, []int)
Deprecated: Use SweepCompletionStatus.ProtoReflect.Descriptor instead.
func (*SweepCompletionStatus) GetCompletedTargets ¶
func (x *SweepCompletionStatus) GetCompletedTargets() int32
func (*SweepCompletionStatus) GetCompletionTime ¶
func (x *SweepCompletionStatus) GetCompletionTime() int64
func (*SweepCompletionStatus) GetErrorMessage ¶
func (x *SweepCompletionStatus) GetErrorMessage() string
func (*SweepCompletionStatus) GetExecutionId ¶ added in v1.0.79
func (x *SweepCompletionStatus) GetExecutionId() string
func (*SweepCompletionStatus) GetScannerStats ¶ added in v1.0.79
func (x *SweepCompletionStatus) GetScannerStats() *SweepScannerStats
func (*SweepCompletionStatus) GetStatus ¶
func (x *SweepCompletionStatus) GetStatus() SweepCompletionStatus_Status
func (*SweepCompletionStatus) GetSweepGroupId ¶ added in v1.0.79
func (x *SweepCompletionStatus) GetSweepGroupId() string
func (*SweepCompletionStatus) GetTargetSequence ¶
func (x *SweepCompletionStatus) GetTargetSequence() string
func (*SweepCompletionStatus) GetTotalTargets ¶
func (x *SweepCompletionStatus) GetTotalTargets() int32
func (*SweepCompletionStatus) ProtoMessage ¶
func (*SweepCompletionStatus) ProtoMessage()
func (*SweepCompletionStatus) ProtoReflect ¶
func (x *SweepCompletionStatus) ProtoReflect() protoreflect.Message
func (*SweepCompletionStatus) Reset ¶
func (x *SweepCompletionStatus) Reset()
func (*SweepCompletionStatus) String ¶
func (x *SweepCompletionStatus) String() string
type SweepCompletionStatus_Status ¶
type SweepCompletionStatus_Status int32
const ( SweepCompletionStatus_UNKNOWN SweepCompletionStatus_Status = 0 // Status not available SweepCompletionStatus_NOT_STARTED SweepCompletionStatus_Status = 1 // Sweep has not been initiated SweepCompletionStatus_IN_PROGRESS SweepCompletionStatus_Status = 2 // Sweep is currently running SweepCompletionStatus_COMPLETED SweepCompletionStatus_Status = 3 // Sweep completed successfully SweepCompletionStatus_FAILED SweepCompletionStatus_Status = 4 // Sweep failed or was interrupted )
func (SweepCompletionStatus_Status) Descriptor ¶
func (SweepCompletionStatus_Status) Descriptor() protoreflect.EnumDescriptor
func (SweepCompletionStatus_Status) Enum ¶
func (x SweepCompletionStatus_Status) Enum() *SweepCompletionStatus_Status
func (SweepCompletionStatus_Status) EnumDescriptor
deprecated
func (SweepCompletionStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use SweepCompletionStatus_Status.Descriptor instead.
func (SweepCompletionStatus_Status) Number ¶
func (x SweepCompletionStatus_Status) Number() protoreflect.EnumNumber
func (SweepCompletionStatus_Status) String ¶
func (x SweepCompletionStatus_Status) String() string
func (SweepCompletionStatus_Status) Type ¶
func (SweepCompletionStatus_Status) Type() protoreflect.EnumType
type SweepScannerStats ¶ added in v1.0.79
type SweepScannerStats struct {
// Packet statistics
PacketsSent uint64 `protobuf:"varint,1,opt,name=packets_sent,json=packetsSent,proto3" json:"packets_sent,omitempty"` // Total SYN packets sent
PacketsRecv uint64 `protobuf:"varint,2,opt,name=packets_recv,json=packetsRecv,proto3" json:"packets_recv,omitempty"` // Total packets received (SYN-ACK, RST, etc.)
PacketsDropped uint64 `protobuf:"varint,3,opt,name=packets_dropped,json=packetsDropped,proto3" json:"packets_dropped,omitempty"` // Packets dropped by kernel (ring buffer full)
// Ring buffer statistics (TPACKET_V3)
RingBlocksProcessed uint64 `protobuf:"varint,4,opt,name=ring_blocks_processed,json=ringBlocksProcessed,proto3" json:"ring_blocks_processed,omitempty"` // Blocks successfully processed
RingBlocksDropped uint64 `protobuf:"varint,5,opt,name=ring_blocks_dropped,json=ringBlocksDropped,proto3" json:"ring_blocks_dropped,omitempty"` // Blocks lost due to buffer overruns
// Retry statistics
RetriesAttempted uint64 `protobuf:"varint,6,opt,name=retries_attempted,json=retriesAttempted,proto3" json:"retries_attempted,omitempty"` // Number of retry attempts made
RetriesSuccessful uint64 `protobuf:"varint,7,opt,name=retries_successful,json=retriesSuccessful,proto3" json:"retries_successful,omitempty"` // Number of successful retries
// Port allocation statistics
PortsAllocated uint64 `protobuf:"varint,8,opt,name=ports_allocated,json=portsAllocated,proto3" json:"ports_allocated,omitempty"` // Total source port allocations
PortsReleased uint64 `protobuf:"varint,9,opt,name=ports_released,json=portsReleased,proto3" json:"ports_released,omitempty"` // Total source port releases
PortExhaustionCount uint64 `protobuf:"varint,10,opt,name=port_exhaustion_count,json=portExhaustionCount,proto3" json:"port_exhaustion_count,omitempty"` // Times port allocator was exhausted
// Rate limiting statistics
RateLimitDeferrals uint64 `protobuf:"varint,11,opt,name=rate_limit_deferrals,json=rateLimitDeferrals,proto3" json:"rate_limit_deferrals,omitempty"` // Packet sends deferred due to rate limiting
// Computed metrics
RxDropRatePercent float64 `protobuf:"fixed64,12,opt,name=rx_drop_rate_percent,json=rxDropRatePercent,proto3" json:"rx_drop_rate_percent,omitempty"` // Percentage of received packets dropped
// contains filtered or unexported fields
}
SweepScannerStats contains performance metrics from the network scanner. These metrics help diagnose scan performance and network conditions.
func (*SweepScannerStats) Descriptor
deprecated
added in
v1.0.79
func (*SweepScannerStats) Descriptor() ([]byte, []int)
Deprecated: Use SweepScannerStats.ProtoReflect.Descriptor instead.
func (*SweepScannerStats) GetPacketsDropped ¶ added in v1.0.79
func (x *SweepScannerStats) GetPacketsDropped() uint64
func (*SweepScannerStats) GetPacketsRecv ¶ added in v1.0.79
func (x *SweepScannerStats) GetPacketsRecv() uint64
func (*SweepScannerStats) GetPacketsSent ¶ added in v1.0.79
func (x *SweepScannerStats) GetPacketsSent() uint64
func (*SweepScannerStats) GetPortExhaustionCount ¶ added in v1.0.79
func (x *SweepScannerStats) GetPortExhaustionCount() uint64
func (*SweepScannerStats) GetPortsAllocated ¶ added in v1.0.79
func (x *SweepScannerStats) GetPortsAllocated() uint64
func (*SweepScannerStats) GetPortsReleased ¶ added in v1.0.79
func (x *SweepScannerStats) GetPortsReleased() uint64
func (*SweepScannerStats) GetRateLimitDeferrals ¶ added in v1.0.79
func (x *SweepScannerStats) GetRateLimitDeferrals() uint64
func (*SweepScannerStats) GetRetriesAttempted ¶ added in v1.0.79
func (x *SweepScannerStats) GetRetriesAttempted() uint64
func (*SweepScannerStats) GetRetriesSuccessful ¶ added in v1.0.79
func (x *SweepScannerStats) GetRetriesSuccessful() uint64
func (*SweepScannerStats) GetRingBlocksDropped ¶ added in v1.0.79
func (x *SweepScannerStats) GetRingBlocksDropped() uint64
func (*SweepScannerStats) GetRingBlocksProcessed ¶ added in v1.0.79
func (x *SweepScannerStats) GetRingBlocksProcessed() uint64
func (*SweepScannerStats) GetRxDropRatePercent ¶ added in v1.0.79
func (x *SweepScannerStats) GetRxDropRatePercent() float64
func (*SweepScannerStats) ProtoMessage ¶ added in v1.0.79
func (*SweepScannerStats) ProtoMessage()
func (*SweepScannerStats) ProtoReflect ¶ added in v1.0.79
func (x *SweepScannerStats) ProtoReflect() protoreflect.Message
func (*SweepScannerStats) Reset ¶ added in v1.0.79
func (x *SweepScannerStats) Reset()
func (*SweepScannerStats) String ¶ added in v1.0.79
func (x *SweepScannerStats) String() string
type SweepServiceStatus ¶
type SweepServiceStatus struct {
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // CIDR range being swept
TotalHosts int32 `protobuf:"varint,2,opt,name=total_hosts,json=totalHosts,proto3" json:"total_hosts,omitempty"` // Total hosts in range
AvailableHosts int32 `protobuf:"varint,3,opt,name=available_hosts,json=availableHosts,proto3" json:"available_hosts,omitempty"` // Number of responding hosts
Ports []*PortStatus `protobuf:"bytes,4,rep,name=ports,proto3" json:"ports,omitempty"`
LastSweep int64 `protobuf:"varint,5,opt,name=last_sweep,json=lastSweep,proto3" json:"last_sweep,omitempty"` // Timestamp of last sweep
// contains filtered or unexported fields
}
func (*SweepServiceStatus) Descriptor
deprecated
func (*SweepServiceStatus) Descriptor() ([]byte, []int)
Deprecated: Use SweepServiceStatus.ProtoReflect.Descriptor instead.
func (*SweepServiceStatus) GetAvailableHosts ¶
func (x *SweepServiceStatus) GetAvailableHosts() int32
func (*SweepServiceStatus) GetLastSweep ¶
func (x *SweepServiceStatus) GetLastSweep() int64
func (*SweepServiceStatus) GetNetwork ¶
func (x *SweepServiceStatus) GetNetwork() string
func (*SweepServiceStatus) GetPorts ¶
func (x *SweepServiceStatus) GetPorts() []*PortStatus
func (*SweepServiceStatus) GetTotalHosts ¶
func (x *SweepServiceStatus) GetTotalHosts() int32
func (*SweepServiceStatus) ProtoMessage ¶
func (*SweepServiceStatus) ProtoMessage()
func (*SweepServiceStatus) ProtoReflect ¶
func (x *SweepServiceStatus) ProtoReflect() protoreflect.Message
func (*SweepServiceStatus) Reset ¶
func (x *SweepServiceStatus) Reset()
func (*SweepServiceStatus) String ¶
func (x *SweepServiceStatus) String() string
type SysmonConfig ¶ added in v1.0.79
type SysmonConfig struct {
// Whether sysmon collection is enabled
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Sample interval as a duration string (e.g., "10s", "1m", "500ms")
SampleInterval string `protobuf:"bytes,2,opt,name=sample_interval,json=sampleInterval,proto3" json:"sample_interval,omitempty"`
// Which metrics to collect
CollectCpu bool `protobuf:"varint,3,opt,name=collect_cpu,json=collectCpu,proto3" json:"collect_cpu,omitempty"`
CollectMemory bool `protobuf:"varint,4,opt,name=collect_memory,json=collectMemory,proto3" json:"collect_memory,omitempty"`
CollectDisk bool `protobuf:"varint,5,opt,name=collect_disk,json=collectDisk,proto3" json:"collect_disk,omitempty"`
CollectNetwork bool `protobuf:"varint,6,opt,name=collect_network,json=collectNetwork,proto3" json:"collect_network,omitempty"`
CollectProcesses bool `protobuf:"varint,7,opt,name=collect_processes,json=collectProcesses,proto3" json:"collect_processes,omitempty"`
// Disk paths to monitor (e.g., ["/", "/data"])
// Empty means monitor all mounted filesystems
DiskPaths []string `protobuf:"bytes,8,rep,name=disk_paths,json=diskPaths,proto3" json:"disk_paths,omitempty"`
// Disk paths to exclude when collecting disk metrics
DiskExcludePaths []string `protobuf:"bytes,14,rep,name=disk_exclude_paths,json=diskExcludePaths,proto3" json:"disk_exclude_paths,omitempty"`
// Alert thresholds as key-value pairs
// Keys: cpu_warning, cpu_critical, memory_warning, memory_critical,
//
// disk_warning, disk_critical
//
// Values: percentage as string (e.g., "80", "95")
Thresholds map[string]string `` /* 148-byte string literal not displayed */
// Profile metadata (for UI display and debugging)
ProfileId string `protobuf:"bytes,11,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"` // UUID of the profile this config came from
ProfileName string `protobuf:"bytes,12,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"` // Name of the profile for logging
ConfigSource string `protobuf:"bytes,13,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"` // Source: "profile", "tag", "device", "default"
// contains filtered or unexported fields
}
SysmonConfig defines system monitoring configuration for the embedded sysmon collector.
func (*SysmonConfig) Descriptor
deprecated
added in
v1.0.79
func (*SysmonConfig) Descriptor() ([]byte, []int)
Deprecated: Use SysmonConfig.ProtoReflect.Descriptor instead.
func (*SysmonConfig) GetCollectCpu ¶ added in v1.0.79
func (x *SysmonConfig) GetCollectCpu() bool
func (*SysmonConfig) GetCollectDisk ¶ added in v1.0.79
func (x *SysmonConfig) GetCollectDisk() bool
func (*SysmonConfig) GetCollectMemory ¶ added in v1.0.79
func (x *SysmonConfig) GetCollectMemory() bool
func (*SysmonConfig) GetCollectNetwork ¶ added in v1.0.79
func (x *SysmonConfig) GetCollectNetwork() bool
func (*SysmonConfig) GetCollectProcesses ¶ added in v1.0.79
func (x *SysmonConfig) GetCollectProcesses() bool
func (*SysmonConfig) GetConfigSource ¶ added in v1.0.79
func (x *SysmonConfig) GetConfigSource() string
func (*SysmonConfig) GetDiskExcludePaths ¶ added in v1.0.79
func (x *SysmonConfig) GetDiskExcludePaths() []string
func (*SysmonConfig) GetDiskPaths ¶ added in v1.0.79
func (x *SysmonConfig) GetDiskPaths() []string
func (*SysmonConfig) GetEnabled ¶ added in v1.0.79
func (x *SysmonConfig) GetEnabled() bool
func (*SysmonConfig) GetProfileId ¶ added in v1.0.79
func (x *SysmonConfig) GetProfileId() string
func (*SysmonConfig) GetProfileName ¶ added in v1.0.79
func (x *SysmonConfig) GetProfileName() string
func (*SysmonConfig) GetSampleInterval ¶ added in v1.0.79
func (x *SysmonConfig) GetSampleInterval() string
func (*SysmonConfig) GetThresholds ¶ added in v1.0.79
func (x *SysmonConfig) GetThresholds() map[string]string
func (*SysmonConfig) ProtoMessage ¶ added in v1.0.79
func (*SysmonConfig) ProtoMessage()
func (*SysmonConfig) ProtoReflect ¶ added in v1.0.79
func (x *SysmonConfig) ProtoReflect() protoreflect.Message
func (*SysmonConfig) Reset ¶ added in v1.0.79
func (x *SysmonConfig) Reset()
func (*SysmonConfig) String ¶ added in v1.0.79
func (x *SysmonConfig) String() string
type TemplateInfo ¶ added in v1.0.55
type TemplateInfo struct {
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
ServiceVersion string `protobuf:"bytes,3,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"`
RegisteredAt int64 `protobuf:"varint,4,opt,name=registered_at,json=registeredAt,proto3" json:"registered_at,omitempty"`
SizeBytes int32 `protobuf:"varint,5,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
// contains filtered or unexported fields
}
TemplateInfo provides metadata about a registered template.
func (*TemplateInfo) Descriptor
deprecated
added in
v1.0.55
func (*TemplateInfo) Descriptor() ([]byte, []int)
Deprecated: Use TemplateInfo.ProtoReflect.Descriptor instead.
func (*TemplateInfo) GetFormat ¶ added in v1.0.55
func (x *TemplateInfo) GetFormat() string
func (*TemplateInfo) GetRegisteredAt ¶ added in v1.0.55
func (x *TemplateInfo) GetRegisteredAt() int64
func (*TemplateInfo) GetServiceName ¶ added in v1.0.55
func (x *TemplateInfo) GetServiceName() string
func (*TemplateInfo) GetServiceVersion ¶ added in v1.0.55
func (x *TemplateInfo) GetServiceVersion() string
func (*TemplateInfo) GetSizeBytes ¶ added in v1.0.55
func (x *TemplateInfo) GetSizeBytes() int32
func (*TemplateInfo) ProtoMessage ¶ added in v1.0.55
func (*TemplateInfo) ProtoMessage()
func (*TemplateInfo) ProtoReflect ¶ added in v1.0.55
func (x *TemplateInfo) ProtoReflect() protoreflect.Message
func (*TemplateInfo) Reset ¶ added in v1.0.55
func (x *TemplateInfo) Reset()
func (*TemplateInfo) String ¶ added in v1.0.55
func (x *TemplateInfo) String() string
type UnimplementedAgentGatewayServiceServer ¶ added in v1.0.79
type UnimplementedAgentGatewayServiceServer struct{}
UnimplementedAgentGatewayServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAgentGatewayServiceServer) ControlStream ¶ added in v1.0.91
func (UnimplementedAgentGatewayServiceServer) ControlStream(grpc.BidiStreamingServer[ControlStreamRequest, ControlStreamResponse]) error
func (UnimplementedAgentGatewayServiceServer) GetConfig ¶ added in v1.0.79
func (UnimplementedAgentGatewayServiceServer) GetConfig(context.Context, *AgentConfigRequest) (*AgentConfigResponse, error)
func (UnimplementedAgentGatewayServiceServer) Hello ¶ added in v1.0.79
func (UnimplementedAgentGatewayServiceServer) Hello(context.Context, *AgentHelloRequest) (*AgentHelloResponse, error)
func (UnimplementedAgentGatewayServiceServer) PushStatus ¶ added in v1.0.79
func (UnimplementedAgentGatewayServiceServer) PushStatus(context.Context, *GatewayStatusRequest) (*GatewayStatusResponse, error)
func (UnimplementedAgentGatewayServiceServer) StreamStatus ¶ added in v1.0.79
func (UnimplementedAgentGatewayServiceServer) StreamStatus(grpc.ClientStreamingServer[GatewayStatusChunk, GatewayStatusResponse]) error
type UnimplementedAgentServiceServer ¶
type UnimplementedAgentServiceServer struct{}
UnimplementedAgentServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAgentServiceServer) GetResults ¶
func (UnimplementedAgentServiceServer) GetResults(context.Context, *ResultsRequest) (*ResultsResponse, error)
func (UnimplementedAgentServiceServer) GetStatus ¶
func (UnimplementedAgentServiceServer) GetStatus(context.Context, *StatusRequest) (*StatusResponse, error)
func (UnimplementedAgentServiceServer) StreamResults ¶
func (UnimplementedAgentServiceServer) StreamResults(*ResultsRequest, grpc.ServerStreamingServer[ResultsChunk]) error
type UnimplementedCoreServiceServer ¶ added in v1.0.55
type UnimplementedCoreServiceServer struct{}
UnimplementedCoreServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCoreServiceServer) GetCanonicalDevice ¶ added in v1.0.55
func (UnimplementedCoreServiceServer) GetCanonicalDevice(context.Context, *GetCanonicalDeviceRequest) (*GetCanonicalDeviceResponse, error)
func (UnimplementedCoreServiceServer) GetTemplate ¶ added in v1.0.55
func (UnimplementedCoreServiceServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error)
func (UnimplementedCoreServiceServer) ListTemplates ¶ added in v1.0.55
func (UnimplementedCoreServiceServer) ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error)
func (UnimplementedCoreServiceServer) RegisterTemplate ¶ added in v1.0.55
func (UnimplementedCoreServiceServer) RegisterTemplate(context.Context, *RegisterTemplateRequest) (*RegisterTemplateResponse, error)
type UnimplementedDataServiceServer ¶ added in v1.0.55
type UnimplementedDataServiceServer struct{}
UnimplementedDataServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDataServiceServer) DeleteObject ¶ added in v1.0.55
func (UnimplementedDataServiceServer) DeleteObject(context.Context, *DeleteObjectRequest) (*DeleteObjectResponse, error)
func (UnimplementedDataServiceServer) DownloadObject ¶ added in v1.0.55
func (UnimplementedDataServiceServer) DownloadObject(*DownloadObjectRequest, grpc.ServerStreamingServer[ObjectDownloadChunk]) error
func (UnimplementedDataServiceServer) GetObjectInfo ¶ added in v1.0.55
func (UnimplementedDataServiceServer) GetObjectInfo(context.Context, *GetObjectInfoRequest) (*GetObjectInfoResponse, error)
func (UnimplementedDataServiceServer) UploadObject ¶ added in v1.0.55
func (UnimplementedDataServiceServer) UploadObject(grpc.ClientStreamingServer[ObjectUploadChunk, UploadObjectResponse]) error
type UnimplementedKVServiceServer ¶
type UnimplementedKVServiceServer struct{}
UnimplementedKVServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedKVServiceServer) BatchGet ¶ added in v1.0.55
func (UnimplementedKVServiceServer) BatchGet(context.Context, *BatchGetRequest) (*BatchGetResponse, error)
func (UnimplementedKVServiceServer) Delete ¶
func (UnimplementedKVServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedKVServiceServer) Get ¶
func (UnimplementedKVServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedKVServiceServer) Info ¶ added in v1.0.55
func (UnimplementedKVServiceServer) Info(context.Context, *InfoRequest) (*InfoResponse, error)
func (UnimplementedKVServiceServer) ListKeys ¶ added in v1.0.69
func (UnimplementedKVServiceServer) ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error)
func (UnimplementedKVServiceServer) Put ¶
func (UnimplementedKVServiceServer) Put(context.Context, *PutRequest) (*PutResponse, error)
func (UnimplementedKVServiceServer) PutIfAbsent ¶ added in v1.0.55
func (UnimplementedKVServiceServer) PutIfAbsent(context.Context, *PutRequest) (*PutResponse, error)
func (UnimplementedKVServiceServer) PutMany ¶
func (UnimplementedKVServiceServer) PutMany(context.Context, *PutManyRequest) (*PutManyResponse, error)
func (UnimplementedKVServiceServer) Update ¶ added in v1.0.55
func (UnimplementedKVServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
func (UnimplementedKVServiceServer) Watch ¶
func (UnimplementedKVServiceServer) Watch(*WatchRequest, grpc.ServerStreamingServer[WatchResponse]) error
type UnimplementedNATSAccountServiceServer ¶ added in v1.0.79
type UnimplementedNATSAccountServiceServer struct{}
UnimplementedNATSAccountServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNATSAccountServiceServer) BootstrapOperator ¶ added in v1.0.79
func (UnimplementedNATSAccountServiceServer) BootstrapOperator(context.Context, *BootstrapOperatorRequest) (*BootstrapOperatorResponse, error)
func (UnimplementedNATSAccountServiceServer) CreateAccount ¶ added in v1.0.79
func (UnimplementedNATSAccountServiceServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
func (UnimplementedNATSAccountServiceServer) GenerateUserCredentials ¶ added in v1.0.79
func (UnimplementedNATSAccountServiceServer) GenerateUserCredentials(context.Context, *GenerateUserCredentialsRequest) (*GenerateUserCredentialsResponse, error)
func (UnimplementedNATSAccountServiceServer) GetOperatorInfo ¶ added in v1.0.79
func (UnimplementedNATSAccountServiceServer) GetOperatorInfo(context.Context, *GetOperatorInfoRequest) (*GetOperatorInfoResponse, error)
func (UnimplementedNATSAccountServiceServer) PushAccountJWT ¶ added in v1.0.79
func (UnimplementedNATSAccountServiceServer) PushAccountJWT(context.Context, *PushAccountJWTRequest) (*PushAccountJWTResponse, error)
func (UnimplementedNATSAccountServiceServer) SignAccountJWT ¶ added in v1.0.79
func (UnimplementedNATSAccountServiceServer) SignAccountJWT(context.Context, *SignAccountJWTRequest) (*SignAccountJWTResponse, error)
type UnsafeAgentGatewayServiceServer ¶ added in v1.0.79
type UnsafeAgentGatewayServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAgentGatewayServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentGatewayServiceServer will result in compilation errors.
type UnsafeAgentServiceServer ¶
type UnsafeAgentServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAgentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentServiceServer will result in compilation errors.
type UnsafeCoreServiceServer ¶ added in v1.0.55
type UnsafeCoreServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCoreServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoreServiceServer will result in compilation errors.
type UnsafeDataServiceServer ¶ added in v1.0.55
type UnsafeDataServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataServiceServer will result in compilation errors.
type UnsafeKVServiceServer ¶
type UnsafeKVServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKVServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KVServiceServer will result in compilation errors.
type UnsafeNATSAccountServiceServer ¶ added in v1.0.79
type UnsafeNATSAccountServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNATSAccountServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NATSAccountServiceServer will result in compilation errors.
type UpdateRequest ¶ added in v1.0.55
type UpdateRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
Revision uint64 `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"` // Expected revision (from a prior Get/Watch)
TtlSeconds int64 `protobuf:"varint,4,opt,name=ttl_seconds,json=ttlSeconds,proto3" json:"ttl_seconds,omitempty"` // Optional TTL in seconds, 0 for no expiration
// contains filtered or unexported fields
}
UpdateRequest is the request message for the Update (CAS) operation.
func (*UpdateRequest) Descriptor
deprecated
added in
v1.0.55
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetKey ¶ added in v1.0.55
func (x *UpdateRequest) GetKey() string
func (*UpdateRequest) GetRevision ¶ added in v1.0.55
func (x *UpdateRequest) GetRevision() uint64
func (*UpdateRequest) GetTtlSeconds ¶ added in v1.0.55
func (x *UpdateRequest) GetTtlSeconds() int64
func (*UpdateRequest) GetValue ¶ added in v1.0.55
func (x *UpdateRequest) GetValue() []byte
func (*UpdateRequest) ProtoMessage ¶ added in v1.0.55
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶ added in v1.0.55
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶ added in v1.0.55
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶ added in v1.0.55
func (x *UpdateRequest) String() string
type UpdateResponse ¶ added in v1.0.55
type UpdateResponse struct {
Revision uint64 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}
UpdateResponse returns the new revision after a successful Update call.
func (*UpdateResponse) Descriptor
deprecated
added in
v1.0.55
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetRevision ¶ added in v1.0.55
func (x *UpdateResponse) GetRevision() uint64
func (*UpdateResponse) ProtoMessage ¶ added in v1.0.55
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶ added in v1.0.55
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶ added in v1.0.55
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶ added in v1.0.55
func (x *UpdateResponse) String() string
type UploadObjectResponse ¶ added in v1.0.55
type UploadObjectResponse struct {
Info *ObjectInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
// contains filtered or unexported fields
}
UploadObjectResponse provides the stored object metadata after a successful upload.
func (*UploadObjectResponse) Descriptor
deprecated
added in
v1.0.55
func (*UploadObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadObjectResponse.ProtoReflect.Descriptor instead.
func (*UploadObjectResponse) GetInfo ¶ added in v1.0.55
func (x *UploadObjectResponse) GetInfo() *ObjectInfo
func (*UploadObjectResponse) ProtoMessage ¶ added in v1.0.55
func (*UploadObjectResponse) ProtoMessage()
func (*UploadObjectResponse) ProtoReflect ¶ added in v1.0.55
func (x *UploadObjectResponse) ProtoReflect() protoreflect.Message
func (*UploadObjectResponse) Reset ¶ added in v1.0.55
func (x *UploadObjectResponse) Reset()
func (*UploadObjectResponse) String ¶ added in v1.0.55
func (x *UploadObjectResponse) String() string
type UserCredentialType ¶ added in v1.0.79
type UserCredentialType int32
UserCredentialType specifies what the credentials will be used for.
const ( UserCredentialType_USER_CREDENTIAL_TYPE_UNSPECIFIED UserCredentialType = 0 UserCredentialType_USER_CREDENTIAL_TYPE_COLLECTOR UserCredentialType = 1 // For edge collectors (flowgger, trapd, etc.) UserCredentialType_USER_CREDENTIAL_TYPE_SERVICE UserCredentialType = 2 // For internal services UserCredentialType_USER_CREDENTIAL_TYPE_ADMIN UserCredentialType = 3 // For admin access (limited) )
func (UserCredentialType) Descriptor ¶ added in v1.0.79
func (UserCredentialType) Descriptor() protoreflect.EnumDescriptor
func (UserCredentialType) Enum ¶ added in v1.0.79
func (x UserCredentialType) Enum() *UserCredentialType
func (UserCredentialType) EnumDescriptor
deprecated
added in
v1.0.79
func (UserCredentialType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserCredentialType.Descriptor instead.
func (UserCredentialType) Number ¶ added in v1.0.79
func (x UserCredentialType) Number() protoreflect.EnumNumber
func (UserCredentialType) String ¶ added in v1.0.79
func (x UserCredentialType) String() string
func (UserCredentialType) Type ¶ added in v1.0.79
func (UserCredentialType) Type() protoreflect.EnumType
type UserPermissions ¶ added in v1.0.79
type UserPermissions struct {
PublishAllow []string `protobuf:"bytes,1,rep,name=publish_allow,json=publishAllow,proto3" json:"publish_allow,omitempty"` // Subjects the user can publish to
PublishDeny []string `protobuf:"bytes,2,rep,name=publish_deny,json=publishDeny,proto3" json:"publish_deny,omitempty"` // Subjects the user cannot publish to
SubscribeAllow []string `protobuf:"bytes,3,rep,name=subscribe_allow,json=subscribeAllow,proto3" json:"subscribe_allow,omitempty"` // Subjects the user can subscribe to
SubscribeDeny []string `protobuf:"bytes,4,rep,name=subscribe_deny,json=subscribeDeny,proto3" json:"subscribe_deny,omitempty"` // Subjects the user cannot subscribe to
AllowResponses bool `protobuf:"varint,5,opt,name=allow_responses,json=allowResponses,proto3" json:"allow_responses,omitempty"` // Whether the user can send responses
MaxResponses int32 `protobuf:"varint,6,opt,name=max_responses,json=maxResponses,proto3" json:"max_responses,omitempty"` // Maximum number of responses (0 = unlimited)
// contains filtered or unexported fields
}
UserPermissions defines publish/subscribe permissions for a user.
func (*UserPermissions) Descriptor
deprecated
added in
v1.0.79
func (*UserPermissions) Descriptor() ([]byte, []int)
Deprecated: Use UserPermissions.ProtoReflect.Descriptor instead.
func (*UserPermissions) GetAllowResponses ¶ added in v1.0.79
func (x *UserPermissions) GetAllowResponses() bool
func (*UserPermissions) GetMaxResponses ¶ added in v1.0.79
func (x *UserPermissions) GetMaxResponses() int32
func (*UserPermissions) GetPublishAllow ¶ added in v1.0.79
func (x *UserPermissions) GetPublishAllow() []string
func (*UserPermissions) GetPublishDeny ¶ added in v1.0.79
func (x *UserPermissions) GetPublishDeny() []string
func (*UserPermissions) GetSubscribeAllow ¶ added in v1.0.79
func (x *UserPermissions) GetSubscribeAllow() []string
func (*UserPermissions) GetSubscribeDeny ¶ added in v1.0.79
func (x *UserPermissions) GetSubscribeDeny() []string
func (*UserPermissions) ProtoMessage ¶ added in v1.0.79
func (*UserPermissions) ProtoMessage()
func (*UserPermissions) ProtoReflect ¶ added in v1.0.79
func (x *UserPermissions) ProtoReflect() protoreflect.Message
func (*UserPermissions) Reset ¶ added in v1.0.79
func (x *UserPermissions) Reset()
func (*UserPermissions) String ¶ added in v1.0.79
func (x *UserPermissions) String() string
type WatchRequest ¶
type WatchRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
WatchRequest is the request message for the Watch operation.
func (*WatchRequest) Descriptor
deprecated
func (*WatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.
func (*WatchRequest) GetKey ¶
func (x *WatchRequest) GetKey() string
func (*WatchRequest) ProtoMessage ¶
func (*WatchRequest) ProtoMessage()
func (*WatchRequest) ProtoReflect ¶
func (x *WatchRequest) ProtoReflect() protoreflect.Message
func (*WatchRequest) Reset ¶
func (x *WatchRequest) Reset()
func (*WatchRequest) String ¶
func (x *WatchRequest) String() string
type WatchResponse ¶
type WatchResponse struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // The updated value, empty if key was deleted
// contains filtered or unexported fields
}
WatchResponse is the response message streamed by the Watch operation.
func (*WatchResponse) Descriptor
deprecated
func (*WatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.
func (*WatchResponse) GetValue ¶
func (x *WatchResponse) GetValue() []byte
func (*WatchResponse) ProtoMessage ¶
func (*WatchResponse) ProtoMessage()
func (*WatchResponse) ProtoReflect ¶
func (x *WatchResponse) ProtoReflect() protoreflect.Message
func (*WatchResponse) Reset ¶
func (x *WatchResponse) Reset()
func (*WatchResponse) String ¶
func (x *WatchResponse) String() string