Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterOpenShellServer(s grpc.ServiceRegistrar, srv OpenShellServer)
- type AddAllowRules
- func (*AddAllowRules) Descriptor() ([]byte, []int)deprecated
- func (x *AddAllowRules) GetHost() string
- func (x *AddAllowRules) GetPort() uint32
- func (x *AddAllowRules) GetRules() []*sandboxv1.L7Rule
- func (*AddAllowRules) ProtoMessage()
- func (x *AddAllowRules) ProtoReflect() protoreflect.Message
- func (x *AddAllowRules) Reset()
- func (x *AddAllowRules) String() string
- type AddDenyRules
- func (*AddDenyRules) Descriptor() ([]byte, []int)deprecated
- func (x *AddDenyRules) GetDenyRules() []*sandboxv1.L7DenyRule
- func (x *AddDenyRules) GetHost() string
- func (x *AddDenyRules) GetPort() uint32
- func (*AddDenyRules) ProtoMessage()
- func (x *AddDenyRules) ProtoReflect() protoreflect.Message
- func (x *AddDenyRules) Reset()
- func (x *AddDenyRules) String() string
- type AddNetworkRule
- func (*AddNetworkRule) Descriptor() ([]byte, []int)deprecated
- func (x *AddNetworkRule) GetRule() *sandboxv1.NetworkPolicyRule
- func (x *AddNetworkRule) GetRuleName() string
- func (*AddNetworkRule) ProtoMessage()
- func (x *AddNetworkRule) ProtoReflect() protoreflect.Message
- func (x *AddNetworkRule) Reset()
- func (x *AddNetworkRule) String() string
- type ApproveAllDraftChunksRequest
- func (*ApproveAllDraftChunksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApproveAllDraftChunksRequest) GetIncludeSecurityFlagged() bool
- func (x *ApproveAllDraftChunksRequest) GetName() string
- func (*ApproveAllDraftChunksRequest) ProtoMessage()
- func (x *ApproveAllDraftChunksRequest) ProtoReflect() protoreflect.Message
- func (x *ApproveAllDraftChunksRequest) Reset()
- func (x *ApproveAllDraftChunksRequest) String() string
- type ApproveAllDraftChunksResponse
- func (*ApproveAllDraftChunksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApproveAllDraftChunksResponse) GetChunksApproved() uint32
- func (x *ApproveAllDraftChunksResponse) GetChunksSkipped() uint32
- func (x *ApproveAllDraftChunksResponse) GetPolicyHash() string
- func (x *ApproveAllDraftChunksResponse) GetPolicyVersion() uint32
- func (*ApproveAllDraftChunksResponse) ProtoMessage()
- func (x *ApproveAllDraftChunksResponse) ProtoReflect() protoreflect.Message
- func (x *ApproveAllDraftChunksResponse) Reset()
- func (x *ApproveAllDraftChunksResponse) String() string
- type ApproveDraftChunkRequest
- func (*ApproveDraftChunkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApproveDraftChunkRequest) GetChunkId() string
- func (x *ApproveDraftChunkRequest) GetName() string
- func (*ApproveDraftChunkRequest) ProtoMessage()
- func (x *ApproveDraftChunkRequest) ProtoReflect() protoreflect.Message
- func (x *ApproveDraftChunkRequest) Reset()
- func (x *ApproveDraftChunkRequest) String() string
- type ApproveDraftChunkResponse
- func (*ApproveDraftChunkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApproveDraftChunkResponse) GetPolicyHash() string
- func (x *ApproveDraftChunkResponse) GetPolicyVersion() uint32
- func (*ApproveDraftChunkResponse) ProtoMessage()
- func (x *ApproveDraftChunkResponse) ProtoReflect() protoreflect.Message
- func (x *ApproveDraftChunkResponse) Reset()
- func (x *ApproveDraftChunkResponse) String() string
- type AttachSandboxProviderRequest
- func (*AttachSandboxProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachSandboxProviderRequest) GetExpectedResourceVersion() uint64
- func (x *AttachSandboxProviderRequest) GetProviderName() string
- func (x *AttachSandboxProviderRequest) GetSandboxName() string
- func (*AttachSandboxProviderRequest) ProtoMessage()
- func (x *AttachSandboxProviderRequest) ProtoReflect() protoreflect.Message
- func (x *AttachSandboxProviderRequest) Reset()
- func (x *AttachSandboxProviderRequest) String() string
- type AttachSandboxProviderResponse
- func (*AttachSandboxProviderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachSandboxProviderResponse) GetAttached() bool
- func (x *AttachSandboxProviderResponse) GetSandbox() *Sandbox
- func (*AttachSandboxProviderResponse) ProtoMessage()
- func (x *AttachSandboxProviderResponse) ProtoReflect() protoreflect.Message
- func (x *AttachSandboxProviderResponse) Reset()
- func (x *AttachSandboxProviderResponse) String() string
- type ClearDraftChunksRequest
- func (*ClearDraftChunksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClearDraftChunksRequest) GetName() string
- func (*ClearDraftChunksRequest) ProtoMessage()
- func (x *ClearDraftChunksRequest) ProtoReflect() protoreflect.Message
- func (x *ClearDraftChunksRequest) Reset()
- func (x *ClearDraftChunksRequest) String() string
- type ClearDraftChunksResponse
- func (*ClearDraftChunksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClearDraftChunksResponse) GetChunksCleared() uint32
- func (*ClearDraftChunksResponse) ProtoMessage()
- func (x *ClearDraftChunksResponse) ProtoReflect() protoreflect.Message
- func (x *ClearDraftChunksResponse) Reset()
- func (x *ClearDraftChunksResponse) String() string
- type CreateProviderRequest
- func (*CreateProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProviderRequest) GetProvider() *datamodelv1.Provider
- func (*CreateProviderRequest) ProtoMessage()
- func (x *CreateProviderRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProviderRequest) Reset()
- func (x *CreateProviderRequest) String() string
- type CreateSandboxRequest
- func (*CreateSandboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSandboxRequest) GetLabels() map[string]string
- func (x *CreateSandboxRequest) GetName() string
- func (x *CreateSandboxRequest) GetSpec() *SandboxSpec
- func (*CreateSandboxRequest) ProtoMessage()
- func (x *CreateSandboxRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSandboxRequest) Reset()
- func (x *CreateSandboxRequest) String() string
- type CreateSshSessionRequest
- func (*CreateSshSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSshSessionRequest) GetSandboxId() string
- func (*CreateSshSessionRequest) ProtoMessage()
- func (x *CreateSshSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSshSessionRequest) Reset()
- func (x *CreateSshSessionRequest) String() string
- type CreateSshSessionResponse
- func (*CreateSshSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSshSessionResponse) GetExpiresAtMs() int64
- func (x *CreateSshSessionResponse) GetGatewayHost() string
- func (x *CreateSshSessionResponse) GetGatewayPort() uint32
- func (x *CreateSshSessionResponse) GetGatewayScheme() string
- func (x *CreateSshSessionResponse) GetHostKeyFingerprint() string
- func (x *CreateSshSessionResponse) GetSandboxId() string
- func (x *CreateSshSessionResponse) GetToken() string
- func (*CreateSshSessionResponse) ProtoMessage()
- func (x *CreateSshSessionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSshSessionResponse) Reset()
- func (x *CreateSshSessionResponse) String() string
- type DeleteProviderProfileRequest
- func (*DeleteProviderProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProviderProfileRequest) GetId() string
- func (*DeleteProviderProfileRequest) ProtoMessage()
- func (x *DeleteProviderProfileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProviderProfileRequest) Reset()
- func (x *DeleteProviderProfileRequest) String() string
- type DeleteProviderProfileResponse
- func (*DeleteProviderProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProviderProfileResponse) GetDeleted() bool
- func (*DeleteProviderProfileResponse) ProtoMessage()
- func (x *DeleteProviderProfileResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteProviderProfileResponse) Reset()
- func (x *DeleteProviderProfileResponse) String() string
- type DeleteProviderRequest
- func (*DeleteProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProviderRequest) GetName() string
- func (*DeleteProviderRequest) ProtoMessage()
- func (x *DeleteProviderRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProviderRequest) Reset()
- func (x *DeleteProviderRequest) String() string
- type DeleteProviderResponse
- func (*DeleteProviderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProviderResponse) GetDeleted() bool
- func (*DeleteProviderResponse) ProtoMessage()
- func (x *DeleteProviderResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteProviderResponse) Reset()
- func (x *DeleteProviderResponse) String() string
- type DeleteSandboxRequest
- func (*DeleteSandboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSandboxRequest) GetName() string
- func (*DeleteSandboxRequest) ProtoMessage()
- func (x *DeleteSandboxRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSandboxRequest) Reset()
- func (x *DeleteSandboxRequest) String() string
- type DeleteSandboxResponse
- func (*DeleteSandboxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSandboxResponse) GetDeleted() bool
- func (*DeleteSandboxResponse) ProtoMessage()
- func (x *DeleteSandboxResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSandboxResponse) Reset()
- func (x *DeleteSandboxResponse) String() string
- type DeleteServiceRequest
- func (*DeleteServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServiceRequest) GetSandbox() string
- func (x *DeleteServiceRequest) GetService() string
- func (*DeleteServiceRequest) ProtoMessage()
- func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteServiceRequest) Reset()
- func (x *DeleteServiceRequest) String() string
- type DeleteServiceResponse
- func (*DeleteServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServiceResponse) GetDeleted() bool
- func (*DeleteServiceResponse) ProtoMessage()
- func (x *DeleteServiceResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteServiceResponse) Reset()
- func (x *DeleteServiceResponse) String() string
- type DenialSummary
- func (*DenialSummary) Descriptor() ([]byte, []int)deprecated
- func (x *DenialSummary) GetAncestors() []string
- func (x *DenialSummary) GetBinary() string
- func (x *DenialSummary) GetBinarySha256() string
- func (x *DenialSummary) GetCount() uint32
- func (x *DenialSummary) GetDenialStage() string
- func (x *DenialSummary) GetDenyReason() string
- func (x *DenialSummary) GetFirstSeenMs() int64
- func (x *DenialSummary) GetHost() string
- func (x *DenialSummary) GetL7InspectionActive() bool
- func (x *DenialSummary) GetL7RequestSamples() []*L7RequestSample
- func (x *DenialSummary) GetLastSeenMs() int64
- func (x *DenialSummary) GetPersistent() bool
- func (x *DenialSummary) GetPort() uint32
- func (x *DenialSummary) GetSampleCmdlines() []string
- func (x *DenialSummary) GetSandboxId() string
- func (x *DenialSummary) GetSuppressedCount() uint32
- func (x *DenialSummary) GetTotalCount() uint32
- func (*DenialSummary) ProtoMessage()
- func (x *DenialSummary) ProtoReflect() protoreflect.Message
- func (x *DenialSummary) Reset()
- func (x *DenialSummary) String() string
- type DetachSandboxProviderRequest
- func (*DetachSandboxProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetachSandboxProviderRequest) GetExpectedResourceVersion() uint64
- func (x *DetachSandboxProviderRequest) GetProviderName() string
- func (x *DetachSandboxProviderRequest) GetSandboxName() string
- func (*DetachSandboxProviderRequest) ProtoMessage()
- func (x *DetachSandboxProviderRequest) ProtoReflect() protoreflect.Message
- func (x *DetachSandboxProviderRequest) Reset()
- func (x *DetachSandboxProviderRequest) String() string
- type DetachSandboxProviderResponse
- func (*DetachSandboxProviderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DetachSandboxProviderResponse) GetDetached() bool
- func (x *DetachSandboxProviderResponse) GetSandbox() *Sandbox
- func (*DetachSandboxProviderResponse) ProtoMessage()
- func (x *DetachSandboxProviderResponse) ProtoReflect() protoreflect.Message
- func (x *DetachSandboxProviderResponse) Reset()
- func (x *DetachSandboxProviderResponse) String() string
- type DraftChunkPayload
- func (*DraftChunkPayload) Descriptor() ([]byte, []int)deprecated
- func (x *DraftChunkPayload) GetBinary() string
- func (x *DraftChunkPayload) GetConfidence() float32
- func (x *DraftChunkPayload) GetDecidedAtMs() int64
- func (x *DraftChunkPayload) GetDraftVersion() int64
- func (x *DraftChunkPayload) GetHost() string
- func (x *DraftChunkPayload) GetPort() int32
- func (x *DraftChunkPayload) GetProposedRule() *sandboxv1.NetworkPolicyRule
- func (x *DraftChunkPayload) GetRationale() string
- func (x *DraftChunkPayload) GetRejectionReason() string
- func (x *DraftChunkPayload) GetRuleName() string
- func (x *DraftChunkPayload) GetSecurityNotes() string
- func (x *DraftChunkPayload) GetValidationResult() string
- func (*DraftChunkPayload) ProtoMessage()
- func (x *DraftChunkPayload) ProtoReflect() protoreflect.Message
- func (x *DraftChunkPayload) Reset()
- func (x *DraftChunkPayload) String() string
- type DraftHistoryEntry
- func (*DraftHistoryEntry) Descriptor() ([]byte, []int)deprecated
- func (x *DraftHistoryEntry) GetChunkId() string
- func (x *DraftHistoryEntry) GetDescription() string
- func (x *DraftHistoryEntry) GetEventType() string
- func (x *DraftHistoryEntry) GetTimestampMs() int64
- func (*DraftHistoryEntry) ProtoMessage()
- func (x *DraftHistoryEntry) ProtoReflect() protoreflect.Message
- func (x *DraftHistoryEntry) Reset()
- func (x *DraftHistoryEntry) String() string
- type DraftPolicyUpdate
- func (*DraftPolicyUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *DraftPolicyUpdate) GetDraftVersion() uint64
- func (x *DraftPolicyUpdate) GetNewChunks() uint32
- func (x *DraftPolicyUpdate) GetSummary() string
- func (x *DraftPolicyUpdate) GetTotalPending() uint32
- func (*DraftPolicyUpdate) ProtoMessage()
- func (x *DraftPolicyUpdate) ProtoReflect() protoreflect.Message
- func (x *DraftPolicyUpdate) Reset()
- func (x *DraftPolicyUpdate) String() string
- type EditDraftChunkRequest
- func (*EditDraftChunkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditDraftChunkRequest) GetChunkId() string
- func (x *EditDraftChunkRequest) GetName() string
- func (x *EditDraftChunkRequest) GetProposedRule() *sandboxv1.NetworkPolicyRule
- func (*EditDraftChunkRequest) ProtoMessage()
- func (x *EditDraftChunkRequest) ProtoReflect() protoreflect.Message
- func (x *EditDraftChunkRequest) Reset()
- func (x *EditDraftChunkRequest) String() string
- type EditDraftChunkResponse
- type ExecSandboxEvent
- func (*ExecSandboxEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ExecSandboxEvent) GetExit() *ExecSandboxExit
- func (x *ExecSandboxEvent) GetPayload() isExecSandboxEvent_Payload
- func (x *ExecSandboxEvent) GetStderr() *ExecSandboxStderr
- func (x *ExecSandboxEvent) GetStdout() *ExecSandboxStdout
- func (*ExecSandboxEvent) ProtoMessage()
- func (x *ExecSandboxEvent) ProtoReflect() protoreflect.Message
- func (x *ExecSandboxEvent) Reset()
- func (x *ExecSandboxEvent) String() string
- type ExecSandboxEvent_Exit
- type ExecSandboxEvent_Stderr
- type ExecSandboxEvent_Stdout
- type ExecSandboxExit
- type ExecSandboxInput
- func (*ExecSandboxInput) Descriptor() ([]byte, []int)deprecated
- func (x *ExecSandboxInput) GetPayload() isExecSandboxInput_Payload
- func (x *ExecSandboxInput) GetResize() *ExecSandboxWindowResize
- func (x *ExecSandboxInput) GetStart() *ExecSandboxRequest
- func (x *ExecSandboxInput) GetStdin() []byte
- func (*ExecSandboxInput) ProtoMessage()
- func (x *ExecSandboxInput) ProtoReflect() protoreflect.Message
- func (x *ExecSandboxInput) Reset()
- func (x *ExecSandboxInput) String() string
- type ExecSandboxInput_Resize
- type ExecSandboxInput_Start
- type ExecSandboxInput_Stdin
- type ExecSandboxRequest
- func (*ExecSandboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecSandboxRequest) GetCols() uint32
- func (x *ExecSandboxRequest) GetCommand() []string
- func (x *ExecSandboxRequest) GetEnvironment() map[string]string
- func (x *ExecSandboxRequest) GetRows() uint32
- func (x *ExecSandboxRequest) GetSandboxId() string
- func (x *ExecSandboxRequest) GetStdin() []byte
- func (x *ExecSandboxRequest) GetTimeoutSeconds() uint32
- func (x *ExecSandboxRequest) GetTty() bool
- func (x *ExecSandboxRequest) GetWorkdir() string
- func (*ExecSandboxRequest) ProtoMessage()
- func (x *ExecSandboxRequest) ProtoReflect() protoreflect.Message
- func (x *ExecSandboxRequest) Reset()
- func (x *ExecSandboxRequest) String() string
- type ExecSandboxStderr
- type ExecSandboxStdout
- type ExecSandboxWindowResize
- func (*ExecSandboxWindowResize) Descriptor() ([]byte, []int)deprecated
- func (x *ExecSandboxWindowResize) GetCols() uint32
- func (x *ExecSandboxWindowResize) GetRows() uint32
- func (*ExecSandboxWindowResize) ProtoMessage()
- func (x *ExecSandboxWindowResize) ProtoReflect() protoreflect.Message
- func (x *ExecSandboxWindowResize) Reset()
- func (x *ExecSandboxWindowResize) String() string
- type ExposeServiceRequest
- func (*ExposeServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExposeServiceRequest) GetDomain() bool
- func (x *ExposeServiceRequest) GetSandbox() string
- func (x *ExposeServiceRequest) GetService() string
- func (x *ExposeServiceRequest) GetTargetPort() uint32
- func (*ExposeServiceRequest) ProtoMessage()
- func (x *ExposeServiceRequest) ProtoReflect() protoreflect.Message
- func (x *ExposeServiceRequest) Reset()
- func (x *ExposeServiceRequest) String() string
- type GatewayHeartbeat
- type GatewayMessage
- func (*GatewayMessage) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayMessage) GetHeartbeat() *GatewayHeartbeat
- func (x *GatewayMessage) GetPayload() isGatewayMessage_Payload
- func (x *GatewayMessage) GetRelayClose() *RelayClose
- func (x *GatewayMessage) GetRelayOpen() *RelayOpen
- func (x *GatewayMessage) GetSessionAccepted() *SessionAccepted
- func (x *GatewayMessage) GetSessionRejected() *SessionRejected
- func (*GatewayMessage) ProtoMessage()
- func (x *GatewayMessage) ProtoReflect() protoreflect.Message
- func (x *GatewayMessage) Reset()
- func (x *GatewayMessage) String() string
- type GatewayMessage_Heartbeat
- type GatewayMessage_RelayClose
- type GatewayMessage_RelayOpen
- type GatewayMessage_SessionAccepted
- type GatewayMessage_SessionRejected
- type GetDraftHistoryRequest
- func (*GetDraftHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDraftHistoryRequest) GetName() string
- func (*GetDraftHistoryRequest) ProtoMessage()
- func (x *GetDraftHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetDraftHistoryRequest) Reset()
- func (x *GetDraftHistoryRequest) String() string
- type GetDraftHistoryResponse
- func (*GetDraftHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDraftHistoryResponse) GetEntries() []*DraftHistoryEntry
- func (*GetDraftHistoryResponse) ProtoMessage()
- func (x *GetDraftHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetDraftHistoryResponse) Reset()
- func (x *GetDraftHistoryResponse) String() string
- type GetDraftPolicyRequest
- func (*GetDraftPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDraftPolicyRequest) GetName() string
- func (x *GetDraftPolicyRequest) GetStatusFilter() string
- func (*GetDraftPolicyRequest) ProtoMessage()
- func (x *GetDraftPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GetDraftPolicyRequest) Reset()
- func (x *GetDraftPolicyRequest) String() string
- type GetDraftPolicyResponse
- func (*GetDraftPolicyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDraftPolicyResponse) GetChunks() []*PolicyChunk
- func (x *GetDraftPolicyResponse) GetDraftVersion() uint64
- func (x *GetDraftPolicyResponse) GetLastAnalyzedAtMs() int64
- func (x *GetDraftPolicyResponse) GetRollingSummary() string
- func (*GetDraftPolicyResponse) ProtoMessage()
- func (x *GetDraftPolicyResponse) ProtoReflect() protoreflect.Message
- func (x *GetDraftPolicyResponse) Reset()
- func (x *GetDraftPolicyResponse) String() string
- type GetProviderProfileRequest
- func (*GetProviderProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProviderProfileRequest) GetId() string
- func (*GetProviderProfileRequest) ProtoMessage()
- func (x *GetProviderProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetProviderProfileRequest) Reset()
- func (x *GetProviderProfileRequest) String() string
- type GetProviderRequest
- func (*GetProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProviderRequest) GetName() string
- func (*GetProviderRequest) ProtoMessage()
- func (x *GetProviderRequest) ProtoReflect() protoreflect.Message
- func (x *GetProviderRequest) Reset()
- func (x *GetProviderRequest) String() string
- type GetSandboxLogsRequest
- func (*GetSandboxLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSandboxLogsRequest) GetLines() uint32
- func (x *GetSandboxLogsRequest) GetMinLevel() string
- func (x *GetSandboxLogsRequest) GetSandboxId() string
- func (x *GetSandboxLogsRequest) GetSinceMs() int64
- func (x *GetSandboxLogsRequest) GetSources() []string
- func (*GetSandboxLogsRequest) ProtoMessage()
- func (x *GetSandboxLogsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSandboxLogsRequest) Reset()
- func (x *GetSandboxLogsRequest) String() string
- type GetSandboxLogsResponse
- func (*GetSandboxLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSandboxLogsResponse) GetBufferTotal() uint32
- func (x *GetSandboxLogsResponse) GetLogs() []*SandboxLogLine
- func (*GetSandboxLogsResponse) ProtoMessage()
- func (x *GetSandboxLogsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSandboxLogsResponse) Reset()
- func (x *GetSandboxLogsResponse) String() string
- type GetSandboxPolicyStatusRequest
- func (*GetSandboxPolicyStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSandboxPolicyStatusRequest) GetGlobal() bool
- func (x *GetSandboxPolicyStatusRequest) GetName() string
- func (x *GetSandboxPolicyStatusRequest) GetVersion() uint32
- func (*GetSandboxPolicyStatusRequest) ProtoMessage()
- func (x *GetSandboxPolicyStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetSandboxPolicyStatusRequest) Reset()
- func (x *GetSandboxPolicyStatusRequest) String() string
- type GetSandboxPolicyStatusResponse
- func (*GetSandboxPolicyStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSandboxPolicyStatusResponse) GetActiveVersion() uint32
- func (x *GetSandboxPolicyStatusResponse) GetRevision() *SandboxPolicyRevision
- func (*GetSandboxPolicyStatusResponse) ProtoMessage()
- func (x *GetSandboxPolicyStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetSandboxPolicyStatusResponse) Reset()
- func (x *GetSandboxPolicyStatusResponse) String() string
- type GetSandboxProviderEnvironmentRequest
- func (*GetSandboxProviderEnvironmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSandboxProviderEnvironmentRequest) GetSandboxId() string
- func (*GetSandboxProviderEnvironmentRequest) ProtoMessage()
- func (x *GetSandboxProviderEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *GetSandboxProviderEnvironmentRequest) Reset()
- func (x *GetSandboxProviderEnvironmentRequest) String() string
- type GetSandboxProviderEnvironmentResponse
- func (*GetSandboxProviderEnvironmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSandboxProviderEnvironmentResponse) GetEnvironment() map[string]string
- func (x *GetSandboxProviderEnvironmentResponse) GetProviderEnvRevision() uint64
- func (*GetSandboxProviderEnvironmentResponse) ProtoMessage()
- func (x *GetSandboxProviderEnvironmentResponse) ProtoReflect() protoreflect.Message
- func (x *GetSandboxProviderEnvironmentResponse) Reset()
- func (x *GetSandboxProviderEnvironmentResponse) String() string
- type GetSandboxRequest
- type GetServiceRequest
- func (*GetServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceRequest) GetSandbox() string
- func (x *GetServiceRequest) GetService() string
- func (*GetServiceRequest) ProtoMessage()
- func (x *GetServiceRequest) ProtoReflect() protoreflect.Message
- func (x *GetServiceRequest) Reset()
- func (x *GetServiceRequest) String() string
- type HealthRequest
- type HealthResponse
- func (*HealthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthResponse) GetStatus() ServiceStatus
- func (x *HealthResponse) GetVersion() string
- func (*HealthResponse) ProtoMessage()
- func (x *HealthResponse) ProtoReflect() protoreflect.Message
- func (x *HealthResponse) Reset()
- func (x *HealthResponse) String() string
- type ImportProviderProfilesRequest
- func (*ImportProviderProfilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportProviderProfilesRequest) GetProfiles() []*ProviderProfileImportItem
- func (*ImportProviderProfilesRequest) ProtoMessage()
- func (x *ImportProviderProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ImportProviderProfilesRequest) Reset()
- func (x *ImportProviderProfilesRequest) String() string
- type ImportProviderProfilesResponse
- func (*ImportProviderProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportProviderProfilesResponse) GetDiagnostics() []*ProviderProfileDiagnostic
- func (x *ImportProviderProfilesResponse) GetImported() bool
- func (x *ImportProviderProfilesResponse) GetProfiles() []*ProviderProfile
- func (*ImportProviderProfilesResponse) ProtoMessage()
- func (x *ImportProviderProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ImportProviderProfilesResponse) Reset()
- func (x *ImportProviderProfilesResponse) String() string
- type L7RequestSample
- func (*L7RequestSample) Descriptor() ([]byte, []int)deprecated
- func (x *L7RequestSample) GetCount() uint32
- func (x *L7RequestSample) GetDecision() string
- func (x *L7RequestSample) GetMethod() string
- func (x *L7RequestSample) GetPath() string
- func (*L7RequestSample) ProtoMessage()
- func (x *L7RequestSample) ProtoReflect() protoreflect.Message
- func (x *L7RequestSample) Reset()
- func (x *L7RequestSample) String() string
- type LintProviderProfilesRequest
- func (*LintProviderProfilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LintProviderProfilesRequest) GetProfiles() []*ProviderProfileImportItem
- func (*LintProviderProfilesRequest) ProtoMessage()
- func (x *LintProviderProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *LintProviderProfilesRequest) Reset()
- func (x *LintProviderProfilesRequest) String() string
- type LintProviderProfilesResponse
- func (*LintProviderProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LintProviderProfilesResponse) GetDiagnostics() []*ProviderProfileDiagnostic
- func (x *LintProviderProfilesResponse) GetValid() bool
- func (*LintProviderProfilesResponse) ProtoMessage()
- func (x *LintProviderProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *LintProviderProfilesResponse) Reset()
- func (x *LintProviderProfilesResponse) String() string
- type ListProviderProfilesRequest
- func (*ListProviderProfilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProviderProfilesRequest) GetLimit() uint32
- func (x *ListProviderProfilesRequest) GetOffset() uint32
- func (*ListProviderProfilesRequest) ProtoMessage()
- func (x *ListProviderProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListProviderProfilesRequest) Reset()
- func (x *ListProviderProfilesRequest) String() string
- type ListProviderProfilesResponse
- func (*ListProviderProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProviderProfilesResponse) GetProfiles() []*ProviderProfile
- func (*ListProviderProfilesResponse) ProtoMessage()
- func (x *ListProviderProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListProviderProfilesResponse) Reset()
- func (x *ListProviderProfilesResponse) String() string
- type ListProvidersRequest
- func (*ListProvidersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProvidersRequest) GetLimit() uint32
- func (x *ListProvidersRequest) GetOffset() uint32
- func (*ListProvidersRequest) ProtoMessage()
- func (x *ListProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *ListProvidersRequest) Reset()
- func (x *ListProvidersRequest) String() string
- type ListProvidersResponse
- func (*ListProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProvidersResponse) GetProviders() []*datamodelv1.Provider
- func (*ListProvidersResponse) ProtoMessage()
- func (x *ListProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *ListProvidersResponse) Reset()
- func (x *ListProvidersResponse) String() string
- type ListSandboxPoliciesRequest
- func (*ListSandboxPoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSandboxPoliciesRequest) GetGlobal() bool
- func (x *ListSandboxPoliciesRequest) GetLimit() uint32
- func (x *ListSandboxPoliciesRequest) GetName() string
- func (x *ListSandboxPoliciesRequest) GetOffset() uint32
- func (*ListSandboxPoliciesRequest) ProtoMessage()
- func (x *ListSandboxPoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSandboxPoliciesRequest) Reset()
- func (x *ListSandboxPoliciesRequest) String() string
- type ListSandboxPoliciesResponse
- func (*ListSandboxPoliciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSandboxPoliciesResponse) GetRevisions() []*SandboxPolicyRevision
- func (*ListSandboxPoliciesResponse) ProtoMessage()
- func (x *ListSandboxPoliciesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSandboxPoliciesResponse) Reset()
- func (x *ListSandboxPoliciesResponse) String() string
- type ListSandboxProvidersRequest
- func (*ListSandboxProvidersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSandboxProvidersRequest) GetSandboxName() string
- func (*ListSandboxProvidersRequest) ProtoMessage()
- func (x *ListSandboxProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *ListSandboxProvidersRequest) Reset()
- func (x *ListSandboxProvidersRequest) String() string
- type ListSandboxProvidersResponse
- func (*ListSandboxProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSandboxProvidersResponse) GetProviders() []*datamodelv1.Provider
- func (*ListSandboxProvidersResponse) ProtoMessage()
- func (x *ListSandboxProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *ListSandboxProvidersResponse) Reset()
- func (x *ListSandboxProvidersResponse) String() string
- type ListSandboxesRequest
- func (*ListSandboxesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSandboxesRequest) GetLabelSelector() string
- func (x *ListSandboxesRequest) GetLimit() uint32
- func (x *ListSandboxesRequest) GetOffset() uint32
- func (*ListSandboxesRequest) ProtoMessage()
- func (x *ListSandboxesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSandboxesRequest) Reset()
- func (x *ListSandboxesRequest) String() string
- type ListSandboxesResponse
- func (*ListSandboxesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSandboxesResponse) GetSandboxes() []*Sandbox
- func (*ListSandboxesResponse) ProtoMessage()
- func (x *ListSandboxesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSandboxesResponse) Reset()
- func (x *ListSandboxesResponse) String() string
- type ListServicesRequest
- func (*ListServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesRequest) GetLimit() uint32
- func (x *ListServicesRequest) GetOffset() uint32
- func (x *ListServicesRequest) GetSandbox() string
- func (*ListServicesRequest) ProtoMessage()
- func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListServicesRequest) Reset()
- func (x *ListServicesRequest) String() string
- type ListServicesResponse
- func (*ListServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesResponse) GetServices() []*ServiceEndpointResponse
- func (*ListServicesResponse) ProtoMessage()
- func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListServicesResponse) Reset()
- func (x *ListServicesResponse) String() string
- type OpenShellClient
- type OpenShellServer
- type OpenShell_ConnectSupervisorClient
- type OpenShell_ConnectSupervisorServer
- type OpenShell_ExecSandboxClient
- type OpenShell_ExecSandboxInteractiveClient
- type OpenShell_ExecSandboxInteractiveServer
- type OpenShell_ExecSandboxServer
- type OpenShell_ForwardTcpClient
- type OpenShell_ForwardTcpServer
- type OpenShell_PushSandboxLogsClient
- type OpenShell_PushSandboxLogsServer
- type OpenShell_RelayStreamClient
- type OpenShell_RelayStreamServer
- type OpenShell_WatchSandboxClient
- type OpenShell_WatchSandboxServer
- type PlatformEvent
- func (*PlatformEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformEvent) GetMessage() string
- func (x *PlatformEvent) GetMetadata() map[string]string
- func (x *PlatformEvent) GetReason() string
- func (x *PlatformEvent) GetSource() string
- func (x *PlatformEvent) GetTimestampMs() int64
- func (x *PlatformEvent) GetType() string
- func (*PlatformEvent) ProtoMessage()
- func (x *PlatformEvent) ProtoReflect() protoreflect.Message
- func (x *PlatformEvent) Reset()
- func (x *PlatformEvent) String() string
- type PolicyChunk
- func (*PolicyChunk) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyChunk) GetBinary() string
- func (x *PolicyChunk) GetConfidence() float32
- func (x *PolicyChunk) GetCreatedAtMs() int64
- func (x *PolicyChunk) GetDecidedAtMs() int64
- func (x *PolicyChunk) GetDenialSummaryIds() []string
- func (x *PolicyChunk) GetFirstSeenMs() int64
- func (x *PolicyChunk) GetHitCount() int32
- func (x *PolicyChunk) GetId() string
- func (x *PolicyChunk) GetLastSeenMs() int64
- func (x *PolicyChunk) GetProposedRule() *sandboxv1.NetworkPolicyRule
- func (x *PolicyChunk) GetRationale() string
- func (x *PolicyChunk) GetRejectionReason() string
- func (x *PolicyChunk) GetRuleName() string
- func (x *PolicyChunk) GetSecurityNotes() string
- func (x *PolicyChunk) GetStage() string
- func (x *PolicyChunk) GetStatus() string
- func (x *PolicyChunk) GetSupersedesChunkId() string
- func (x *PolicyChunk) GetValidationResult() string
- func (*PolicyChunk) ProtoMessage()
- func (x *PolicyChunk) ProtoReflect() protoreflect.Message
- func (x *PolicyChunk) Reset()
- func (x *PolicyChunk) String() string
- type PolicyMergeOperation
- func (*PolicyMergeOperation) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyMergeOperation) GetAddAllowRules() *AddAllowRules
- func (x *PolicyMergeOperation) GetAddDenyRules() *AddDenyRules
- func (x *PolicyMergeOperation) GetAddRule() *AddNetworkRule
- func (x *PolicyMergeOperation) GetOperation() isPolicyMergeOperation_Operation
- func (x *PolicyMergeOperation) GetRemoveBinary() *RemoveNetworkBinary
- func (x *PolicyMergeOperation) GetRemoveEndpoint() *RemoveNetworkEndpoint
- func (x *PolicyMergeOperation) GetRemoveRule() *RemoveNetworkRule
- func (*PolicyMergeOperation) ProtoMessage()
- func (x *PolicyMergeOperation) ProtoReflect() protoreflect.Message
- func (x *PolicyMergeOperation) Reset()
- func (x *PolicyMergeOperation) String() string
- type PolicyMergeOperation_AddAllowRules
- type PolicyMergeOperation_AddDenyRules
- type PolicyMergeOperation_AddRule
- type PolicyMergeOperation_RemoveBinary
- type PolicyMergeOperation_RemoveEndpoint
- type PolicyMergeOperation_RemoveRule
- type PolicyRevisionPayload
- func (*PolicyRevisionPayload) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyRevisionPayload) GetHash() string
- func (x *PolicyRevisionPayload) GetLoadError() string
- func (x *PolicyRevisionPayload) GetLoadedAtMs() int64
- func (x *PolicyRevisionPayload) GetPolicy() *sandboxv1.SandboxPolicy
- func (*PolicyRevisionPayload) ProtoMessage()
- func (x *PolicyRevisionPayload) ProtoReflect() protoreflect.Message
- func (x *PolicyRevisionPayload) Reset()
- func (x *PolicyRevisionPayload) String() string
- type PolicyStatus
- func (PolicyStatus) Descriptor() protoreflect.EnumDescriptor
- func (x PolicyStatus) Enum() *PolicyStatus
- func (PolicyStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x PolicyStatus) Number() protoreflect.EnumNumber
- func (x PolicyStatus) String() string
- func (PolicyStatus) Type() protoreflect.EnumType
- type ProviderProfile
- func (*ProviderProfile) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderProfile) GetBinaries() []*sandboxv1.NetworkBinary
- func (x *ProviderProfile) GetCategory() ProviderProfileCategory
- func (x *ProviderProfile) GetCredentials() []*ProviderProfileCredential
- func (x *ProviderProfile) GetDescription() string
- func (x *ProviderProfile) GetDisplayName() string
- func (x *ProviderProfile) GetEndpoints() []*sandboxv1.NetworkEndpoint
- func (x *ProviderProfile) GetId() string
- func (x *ProviderProfile) GetInferenceCapable() bool
- func (*ProviderProfile) ProtoMessage()
- func (x *ProviderProfile) ProtoReflect() protoreflect.Message
- func (x *ProviderProfile) Reset()
- func (x *ProviderProfile) String() string
- type ProviderProfileCategory
- func (ProviderProfileCategory) Descriptor() protoreflect.EnumDescriptor
- func (x ProviderProfileCategory) Enum() *ProviderProfileCategory
- func (ProviderProfileCategory) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProviderProfileCategory) Number() protoreflect.EnumNumber
- func (x ProviderProfileCategory) String() string
- func (ProviderProfileCategory) Type() protoreflect.EnumType
- type ProviderProfileCredential
- func (*ProviderProfileCredential) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderProfileCredential) GetAuthStyle() string
- func (x *ProviderProfileCredential) GetDescription() string
- func (x *ProviderProfileCredential) GetEnvVars() []string
- func (x *ProviderProfileCredential) GetHeaderName() string
- func (x *ProviderProfileCredential) GetName() string
- func (x *ProviderProfileCredential) GetQueryParam() string
- func (x *ProviderProfileCredential) GetRequired() bool
- func (*ProviderProfileCredential) ProtoMessage()
- func (x *ProviderProfileCredential) ProtoReflect() protoreflect.Message
- func (x *ProviderProfileCredential) Reset()
- func (x *ProviderProfileCredential) String() string
- type ProviderProfileDiagnostic
- func (*ProviderProfileDiagnostic) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderProfileDiagnostic) GetField() string
- func (x *ProviderProfileDiagnostic) GetMessage() string
- func (x *ProviderProfileDiagnostic) GetProfileId() string
- func (x *ProviderProfileDiagnostic) GetSeverity() string
- func (x *ProviderProfileDiagnostic) GetSource() string
- func (*ProviderProfileDiagnostic) ProtoMessage()
- func (x *ProviderProfileDiagnostic) ProtoReflect() protoreflect.Message
- func (x *ProviderProfileDiagnostic) Reset()
- func (x *ProviderProfileDiagnostic) String() string
- type ProviderProfileImportItem
- func (*ProviderProfileImportItem) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderProfileImportItem) GetProfile() *ProviderProfile
- func (x *ProviderProfileImportItem) GetSource() string
- func (*ProviderProfileImportItem) ProtoMessage()
- func (x *ProviderProfileImportItem) ProtoReflect() protoreflect.Message
- func (x *ProviderProfileImportItem) Reset()
- func (x *ProviderProfileImportItem) String() string
- type ProviderProfileResponse
- func (*ProviderProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderProfileResponse) GetProfile() *ProviderProfile
- func (*ProviderProfileResponse) ProtoMessage()
- func (x *ProviderProfileResponse) ProtoReflect() protoreflect.Message
- func (x *ProviderProfileResponse) Reset()
- func (x *ProviderProfileResponse) String() string
- type ProviderResponse
- func (*ProviderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderResponse) GetProvider() *datamodelv1.Provider
- func (*ProviderResponse) ProtoMessage()
- func (x *ProviderResponse) ProtoReflect() protoreflect.Message
- func (x *ProviderResponse) Reset()
- func (x *ProviderResponse) String() string
- type PushSandboxLogsRequest
- func (*PushSandboxLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushSandboxLogsRequest) GetLogs() []*SandboxLogLine
- func (x *PushSandboxLogsRequest) GetSandboxId() string
- func (*PushSandboxLogsRequest) ProtoMessage()
- func (x *PushSandboxLogsRequest) ProtoReflect() protoreflect.Message
- func (x *PushSandboxLogsRequest) Reset()
- func (x *PushSandboxLogsRequest) String() string
- type PushSandboxLogsResponse
- type RejectDraftChunkRequest
- func (*RejectDraftChunkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RejectDraftChunkRequest) GetChunkId() string
- func (x *RejectDraftChunkRequest) GetName() string
- func (x *RejectDraftChunkRequest) GetReason() string
- func (*RejectDraftChunkRequest) ProtoMessage()
- func (x *RejectDraftChunkRequest) ProtoReflect() protoreflect.Message
- func (x *RejectDraftChunkRequest) Reset()
- func (x *RejectDraftChunkRequest) String() string
- type RejectDraftChunkResponse
- type RelayClose
- type RelayFrame
- func (*RelayFrame) Descriptor() ([]byte, []int)deprecated
- func (x *RelayFrame) GetData() []byte
- func (x *RelayFrame) GetInit() *RelayInit
- func (x *RelayFrame) GetPayload() isRelayFrame_Payload
- func (*RelayFrame) ProtoMessage()
- func (x *RelayFrame) ProtoReflect() protoreflect.Message
- func (x *RelayFrame) Reset()
- func (x *RelayFrame) String() string
- type RelayFrame_Data
- type RelayFrame_Init
- type RelayInit
- type RelayOpen
- func (*RelayOpen) Descriptor() ([]byte, []int)deprecated
- func (x *RelayOpen) GetChannelId() string
- func (x *RelayOpen) GetServiceId() string
- func (x *RelayOpen) GetSsh() *SshRelayTarget
- func (x *RelayOpen) GetTarget() isRelayOpen_Target
- func (x *RelayOpen) GetTcp() *TcpRelayTarget
- func (*RelayOpen) ProtoMessage()
- func (x *RelayOpen) ProtoReflect() protoreflect.Message
- func (x *RelayOpen) Reset()
- func (x *RelayOpen) String() string
- type RelayOpenResult
- func (*RelayOpenResult) Descriptor() ([]byte, []int)deprecated
- func (x *RelayOpenResult) GetChannelId() string
- func (x *RelayOpenResult) GetError() string
- func (x *RelayOpenResult) GetSuccess() bool
- func (*RelayOpenResult) ProtoMessage()
- func (x *RelayOpenResult) ProtoReflect() protoreflect.Message
- func (x *RelayOpenResult) Reset()
- func (x *RelayOpenResult) String() string
- type RelayOpen_Ssh
- type RelayOpen_Tcp
- type RemoveNetworkBinary
- func (*RemoveNetworkBinary) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveNetworkBinary) GetBinaryPath() string
- func (x *RemoveNetworkBinary) GetRuleName() string
- func (*RemoveNetworkBinary) ProtoMessage()
- func (x *RemoveNetworkBinary) ProtoReflect() protoreflect.Message
- func (x *RemoveNetworkBinary) Reset()
- func (x *RemoveNetworkBinary) String() string
- type RemoveNetworkEndpoint
- func (*RemoveNetworkEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveNetworkEndpoint) GetHost() string
- func (x *RemoveNetworkEndpoint) GetPort() uint32
- func (x *RemoveNetworkEndpoint) GetRuleName() string
- func (*RemoveNetworkEndpoint) ProtoMessage()
- func (x *RemoveNetworkEndpoint) ProtoReflect() protoreflect.Message
- func (x *RemoveNetworkEndpoint) Reset()
- func (x *RemoveNetworkEndpoint) String() string
- type RemoveNetworkRule
- type ReportPolicyStatusRequest
- func (*ReportPolicyStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportPolicyStatusRequest) GetLoadError() string
- func (x *ReportPolicyStatusRequest) GetSandboxId() string
- func (x *ReportPolicyStatusRequest) GetStatus() PolicyStatus
- func (x *ReportPolicyStatusRequest) GetVersion() uint32
- func (*ReportPolicyStatusRequest) ProtoMessage()
- func (x *ReportPolicyStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ReportPolicyStatusRequest) Reset()
- func (x *ReportPolicyStatusRequest) String() string
- type ReportPolicyStatusResponse
- type RevokeSshSessionRequest
- func (*RevokeSshSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeSshSessionRequest) GetToken() string
- func (*RevokeSshSessionRequest) ProtoMessage()
- func (x *RevokeSshSessionRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeSshSessionRequest) Reset()
- func (x *RevokeSshSessionRequest) String() string
- type RevokeSshSessionResponse
- func (*RevokeSshSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeSshSessionResponse) GetRevoked() bool
- func (*RevokeSshSessionResponse) ProtoMessage()
- func (x *RevokeSshSessionResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeSshSessionResponse) Reset()
- func (x *RevokeSshSessionResponse) String() string
- type Sandbox
- func (*Sandbox) Descriptor() ([]byte, []int)deprecated
- func (x *Sandbox) GetCurrentPolicyVersion() uint32
- func (x *Sandbox) GetMetadata() *datamodelv1.ObjectMeta
- func (x *Sandbox) GetPhase() SandboxPhase
- func (x *Sandbox) GetSpec() *SandboxSpec
- func (x *Sandbox) GetStatus() *SandboxStatus
- func (*Sandbox) ProtoMessage()
- func (x *Sandbox) ProtoReflect() protoreflect.Message
- func (x *Sandbox) Reset()
- func (x *Sandbox) String() string
- type SandboxCondition
- func (*SandboxCondition) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxCondition) GetLastTransitionTime() string
- func (x *SandboxCondition) GetMessage() string
- func (x *SandboxCondition) GetReason() string
- func (x *SandboxCondition) GetStatus() string
- func (x *SandboxCondition) GetType() string
- func (*SandboxCondition) ProtoMessage()
- func (x *SandboxCondition) ProtoReflect() protoreflect.Message
- func (x *SandboxCondition) Reset()
- func (x *SandboxCondition) String() string
- type SandboxLogLine
- func (*SandboxLogLine) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxLogLine) GetFields() map[string]string
- func (x *SandboxLogLine) GetLevel() string
- func (x *SandboxLogLine) GetMessage() string
- func (x *SandboxLogLine) GetSandboxId() string
- func (x *SandboxLogLine) GetSource() string
- func (x *SandboxLogLine) GetTarget() string
- func (x *SandboxLogLine) GetTimestampMs() int64
- func (*SandboxLogLine) ProtoMessage()
- func (x *SandboxLogLine) ProtoReflect() protoreflect.Message
- func (x *SandboxLogLine) Reset()
- func (x *SandboxLogLine) String() string
- type SandboxPhase
- func (SandboxPhase) Descriptor() protoreflect.EnumDescriptor
- func (x SandboxPhase) Enum() *SandboxPhase
- func (SandboxPhase) EnumDescriptor() ([]byte, []int)deprecated
- func (x SandboxPhase) Number() protoreflect.EnumNumber
- func (x SandboxPhase) String() string
- func (SandboxPhase) Type() protoreflect.EnumType
- type SandboxPolicyRevision
- func (*SandboxPolicyRevision) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxPolicyRevision) GetCreatedAtMs() int64
- func (x *SandboxPolicyRevision) GetLoadError() string
- func (x *SandboxPolicyRevision) GetLoadedAtMs() int64
- func (x *SandboxPolicyRevision) GetPolicy() *sandboxv1.SandboxPolicy
- func (x *SandboxPolicyRevision) GetPolicyHash() string
- func (x *SandboxPolicyRevision) GetStatus() PolicyStatus
- func (x *SandboxPolicyRevision) GetVersion() uint32
- func (*SandboxPolicyRevision) ProtoMessage()
- func (x *SandboxPolicyRevision) ProtoReflect() protoreflect.Message
- func (x *SandboxPolicyRevision) Reset()
- func (x *SandboxPolicyRevision) String() string
- type SandboxResponse
- type SandboxSpec
- func (*SandboxSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxSpec) GetEnvironment() map[string]string
- func (x *SandboxSpec) GetGpu() bool
- func (x *SandboxSpec) GetGpuDevice() string
- func (x *SandboxSpec) GetLogLevel() string
- func (x *SandboxSpec) GetPolicy() *sandboxv1.SandboxPolicy
- func (x *SandboxSpec) GetProviders() []string
- func (x *SandboxSpec) GetTemplate() *SandboxTemplate
- func (*SandboxSpec) ProtoMessage()
- func (x *SandboxSpec) ProtoReflect() protoreflect.Message
- func (x *SandboxSpec) Reset()
- func (x *SandboxSpec) String() string
- type SandboxStatus
- func (*SandboxStatus) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxStatus) GetAgentFd() string
- func (x *SandboxStatus) GetAgentPod() string
- func (x *SandboxStatus) GetConditions() []*SandboxCondition
- func (x *SandboxStatus) GetSandboxFd() string
- func (x *SandboxStatus) GetSandboxName() string
- func (*SandboxStatus) ProtoMessage()
- func (x *SandboxStatus) ProtoReflect() protoreflect.Message
- func (x *SandboxStatus) Reset()
- func (x *SandboxStatus) String() string
- type SandboxStreamEvent
- func (*SandboxStreamEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxStreamEvent) GetDraftPolicyUpdate() *DraftPolicyUpdate
- func (x *SandboxStreamEvent) GetEvent() *PlatformEvent
- func (x *SandboxStreamEvent) GetLog() *SandboxLogLine
- func (x *SandboxStreamEvent) GetPayload() isSandboxStreamEvent_Payload
- func (x *SandboxStreamEvent) GetSandbox() *Sandbox
- func (x *SandboxStreamEvent) GetWarning() *SandboxStreamWarning
- func (*SandboxStreamEvent) ProtoMessage()
- func (x *SandboxStreamEvent) ProtoReflect() protoreflect.Message
- func (x *SandboxStreamEvent) Reset()
- func (x *SandboxStreamEvent) String() string
- type SandboxStreamEvent_DraftPolicyUpdate
- type SandboxStreamEvent_Event
- type SandboxStreamEvent_Log
- type SandboxStreamEvent_Sandbox
- type SandboxStreamEvent_Warning
- type SandboxStreamWarning
- func (*SandboxStreamWarning) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxStreamWarning) GetMessage() string
- func (*SandboxStreamWarning) ProtoMessage()
- func (x *SandboxStreamWarning) ProtoReflect() protoreflect.Message
- func (x *SandboxStreamWarning) Reset()
- func (x *SandboxStreamWarning) String() string
- type SandboxTemplate
- func (*SandboxTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxTemplate) GetAgentSocket() string
- func (x *SandboxTemplate) GetAnnotations() map[string]string
- func (x *SandboxTemplate) GetEnvironment() map[string]string
- func (x *SandboxTemplate) GetImage() string
- func (x *SandboxTemplate) GetLabels() map[string]string
- func (x *SandboxTemplate) GetResources() *structpb.Struct
- func (x *SandboxTemplate) GetRuntimeClassName() string
- func (x *SandboxTemplate) GetUserNamespaces() bool
- func (x *SandboxTemplate) GetVolumeClaimTemplates() *structpb.Struct
- func (*SandboxTemplate) ProtoMessage()
- func (x *SandboxTemplate) ProtoReflect() protoreflect.Message
- func (x *SandboxTemplate) Reset()
- func (x *SandboxTemplate) String() string
- type ServiceEndpoint
- func (*ServiceEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceEndpoint) GetDomain() bool
- func (x *ServiceEndpoint) GetMetadata() *datamodelv1.ObjectMeta
- func (x *ServiceEndpoint) GetSandboxId() string
- func (x *ServiceEndpoint) GetSandboxName() string
- func (x *ServiceEndpoint) GetServiceName() string
- func (x *ServiceEndpoint) GetTargetPort() uint32
- func (*ServiceEndpoint) ProtoMessage()
- func (x *ServiceEndpoint) ProtoReflect() protoreflect.Message
- func (x *ServiceEndpoint) Reset()
- func (x *ServiceEndpoint) String() string
- type ServiceEndpointResponse
- func (*ServiceEndpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceEndpointResponse) GetEndpoint() *ServiceEndpoint
- func (x *ServiceEndpointResponse) GetUrl() string
- func (*ServiceEndpointResponse) ProtoMessage()
- func (x *ServiceEndpointResponse) ProtoReflect() protoreflect.Message
- func (x *ServiceEndpointResponse) Reset()
- func (x *ServiceEndpointResponse) String() string
- type ServiceStatus
- func (ServiceStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ServiceStatus) Enum() *ServiceStatus
- func (ServiceStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServiceStatus) Number() protoreflect.EnumNumber
- func (x ServiceStatus) String() string
- func (ServiceStatus) Type() protoreflect.EnumType
- type SessionAccepted
- func (*SessionAccepted) Descriptor() ([]byte, []int)deprecated
- func (x *SessionAccepted) GetHeartbeatIntervalSecs() uint32
- func (x *SessionAccepted) GetSessionId() string
- func (*SessionAccepted) ProtoMessage()
- func (x *SessionAccepted) ProtoReflect() protoreflect.Message
- func (x *SessionAccepted) Reset()
- func (x *SessionAccepted) String() string
- type SessionRejected
- type SshRelayTarget
- type SshSession
- func (*SshSession) Descriptor() ([]byte, []int)deprecated
- func (x *SshSession) GetExpiresAtMs() int64
- func (x *SshSession) GetMetadata() *datamodelv1.ObjectMeta
- func (x *SshSession) GetRevoked() bool
- func (x *SshSession) GetSandboxId() string
- func (x *SshSession) GetToken() string
- func (*SshSession) ProtoMessage()
- func (x *SshSession) ProtoReflect() protoreflect.Message
- func (x *SshSession) Reset()
- func (x *SshSession) String() string
- type StoredDraftChunk
- func (*StoredDraftChunk) Descriptor() ([]byte, []int)deprecated
- func (x *StoredDraftChunk) GetBinary() string
- func (x *StoredDraftChunk) GetConfidence() float64
- func (x *StoredDraftChunk) GetCreatedAtMs() int64
- func (x *StoredDraftChunk) GetDecidedAtMs() int64
- func (x *StoredDraftChunk) GetDraftVersion() int64
- func (x *StoredDraftChunk) GetFirstSeenMs() int64
- func (x *StoredDraftChunk) GetHitCount() int32
- func (x *StoredDraftChunk) GetHost() string
- func (x *StoredDraftChunk) GetId() string
- func (x *StoredDraftChunk) GetLastSeenMs() int64
- func (x *StoredDraftChunk) GetPort() int32
- func (x *StoredDraftChunk) GetProposedRule() []byte
- func (x *StoredDraftChunk) GetRationale() string
- func (x *StoredDraftChunk) GetRejectionReason() string
- func (x *StoredDraftChunk) GetRuleName() string
- func (x *StoredDraftChunk) GetSandboxId() string
- func (x *StoredDraftChunk) GetSecurityNotes() string
- func (x *StoredDraftChunk) GetStatus() string
- func (x *StoredDraftChunk) GetValidationResult() string
- func (*StoredDraftChunk) ProtoMessage()
- func (x *StoredDraftChunk) ProtoReflect() protoreflect.Message
- func (x *StoredDraftChunk) Reset()
- func (x *StoredDraftChunk) String() string
- type StoredPolicyRevision
- func (*StoredPolicyRevision) Descriptor() ([]byte, []int)deprecated
- func (x *StoredPolicyRevision) GetCreatedAtMs() int64
- func (x *StoredPolicyRevision) GetId() string
- func (x *StoredPolicyRevision) GetLoadError() string
- func (x *StoredPolicyRevision) GetLoadedAtMs() int64
- func (x *StoredPolicyRevision) GetPolicyHash() string
- func (x *StoredPolicyRevision) GetPolicyPayload() []byte
- func (x *StoredPolicyRevision) GetSandboxId() string
- func (x *StoredPolicyRevision) GetStatus() string
- func (x *StoredPolicyRevision) GetVersion() int64
- func (*StoredPolicyRevision) ProtoMessage()
- func (x *StoredPolicyRevision) ProtoReflect() protoreflect.Message
- func (x *StoredPolicyRevision) Reset()
- func (x *StoredPolicyRevision) String() string
- type StoredProviderProfile
- func (*StoredProviderProfile) Descriptor() ([]byte, []int)deprecated
- func (x *StoredProviderProfile) GetMetadata() *datamodelv1.ObjectMeta
- func (x *StoredProviderProfile) GetProfile() *ProviderProfile
- func (*StoredProviderProfile) ProtoMessage()
- func (x *StoredProviderProfile) ProtoReflect() protoreflect.Message
- func (x *StoredProviderProfile) Reset()
- func (x *StoredProviderProfile) String() string
- type SubmitPolicyAnalysisRequest
- func (*SubmitPolicyAnalysisRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitPolicyAnalysisRequest) GetAnalysisMode() string
- func (x *SubmitPolicyAnalysisRequest) GetName() string
- func (x *SubmitPolicyAnalysisRequest) GetProposedChunks() []*PolicyChunk
- func (x *SubmitPolicyAnalysisRequest) GetSummaries() []*DenialSummary
- func (*SubmitPolicyAnalysisRequest) ProtoMessage()
- func (x *SubmitPolicyAnalysisRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitPolicyAnalysisRequest) Reset()
- func (x *SubmitPolicyAnalysisRequest) String() string
- type SubmitPolicyAnalysisResponse
- func (*SubmitPolicyAnalysisResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitPolicyAnalysisResponse) GetAcceptedChunkIds() []string
- func (x *SubmitPolicyAnalysisResponse) GetAcceptedChunks() uint32
- func (x *SubmitPolicyAnalysisResponse) GetRejectedChunks() uint32
- func (x *SubmitPolicyAnalysisResponse) GetRejectionReasons() []string
- func (*SubmitPolicyAnalysisResponse) ProtoMessage()
- func (x *SubmitPolicyAnalysisResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitPolicyAnalysisResponse) Reset()
- func (x *SubmitPolicyAnalysisResponse) String() string
- type SupervisorHeartbeat
- type SupervisorHello
- func (*SupervisorHello) Descriptor() ([]byte, []int)deprecated
- func (x *SupervisorHello) GetInstanceId() string
- func (x *SupervisorHello) GetSandboxId() string
- func (*SupervisorHello) ProtoMessage()
- func (x *SupervisorHello) ProtoReflect() protoreflect.Message
- func (x *SupervisorHello) Reset()
- func (x *SupervisorHello) String() string
- type SupervisorMessage
- func (*SupervisorMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SupervisorMessage) GetHeartbeat() *SupervisorHeartbeat
- func (x *SupervisorMessage) GetHello() *SupervisorHello
- func (x *SupervisorMessage) GetPayload() isSupervisorMessage_Payload
- func (x *SupervisorMessage) GetRelayClose() *RelayClose
- func (x *SupervisorMessage) GetRelayOpenResult() *RelayOpenResult
- func (*SupervisorMessage) ProtoMessage()
- func (x *SupervisorMessage) ProtoReflect() protoreflect.Message
- func (x *SupervisorMessage) Reset()
- func (x *SupervisorMessage) String() string
- type SupervisorMessage_Heartbeat
- type SupervisorMessage_Hello
- type SupervisorMessage_RelayClose
- type SupervisorMessage_RelayOpenResult
- type TcpForwardFrame
- func (*TcpForwardFrame) Descriptor() ([]byte, []int)deprecated
- func (x *TcpForwardFrame) GetData() []byte
- func (x *TcpForwardFrame) GetInit() *TcpForwardInit
- func (x *TcpForwardFrame) GetPayload() isTcpForwardFrame_Payload
- func (*TcpForwardFrame) ProtoMessage()
- func (x *TcpForwardFrame) ProtoReflect() protoreflect.Message
- func (x *TcpForwardFrame) Reset()
- func (x *TcpForwardFrame) String() string
- type TcpForwardFrame_Data
- type TcpForwardFrame_Init
- type TcpForwardInit
- func (*TcpForwardInit) Descriptor() ([]byte, []int)deprecated
- func (x *TcpForwardInit) GetAuthorizationToken() string
- func (x *TcpForwardInit) GetSandboxId() string
- func (x *TcpForwardInit) GetServiceId() string
- func (x *TcpForwardInit) GetSsh() *SshRelayTarget
- func (x *TcpForwardInit) GetTarget() isTcpForwardInit_Target
- func (x *TcpForwardInit) GetTcp() *TcpRelayTarget
- func (*TcpForwardInit) ProtoMessage()
- func (x *TcpForwardInit) ProtoReflect() protoreflect.Message
- func (x *TcpForwardInit) Reset()
- func (x *TcpForwardInit) String() string
- type TcpForwardInit_Ssh
- type TcpForwardInit_Tcp
- type TcpRelayTarget
- func (*TcpRelayTarget) Descriptor() ([]byte, []int)deprecated
- func (x *TcpRelayTarget) GetHost() string
- func (x *TcpRelayTarget) GetPort() uint32
- func (*TcpRelayTarget) ProtoMessage()
- func (x *TcpRelayTarget) ProtoReflect() protoreflect.Message
- func (x *TcpRelayTarget) Reset()
- func (x *TcpRelayTarget) String() string
- type UndoDraftChunkRequest
- func (*UndoDraftChunkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UndoDraftChunkRequest) GetChunkId() string
- func (x *UndoDraftChunkRequest) GetName() string
- func (*UndoDraftChunkRequest) ProtoMessage()
- func (x *UndoDraftChunkRequest) ProtoReflect() protoreflect.Message
- func (x *UndoDraftChunkRequest) Reset()
- func (x *UndoDraftChunkRequest) String() string
- type UndoDraftChunkResponse
- func (*UndoDraftChunkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UndoDraftChunkResponse) GetPolicyHash() string
- func (x *UndoDraftChunkResponse) GetPolicyVersion() uint32
- func (*UndoDraftChunkResponse) ProtoMessage()
- func (x *UndoDraftChunkResponse) ProtoReflect() protoreflect.Message
- func (x *UndoDraftChunkResponse) Reset()
- func (x *UndoDraftChunkResponse) String() string
- type UnimplementedOpenShellServer
- func (UnimplementedOpenShellServer) ApproveAllDraftChunks(context.Context, *ApproveAllDraftChunksRequest) (*ApproveAllDraftChunksResponse, error)
- func (UnimplementedOpenShellServer) ApproveDraftChunk(context.Context, *ApproveDraftChunkRequest) (*ApproveDraftChunkResponse, error)
- func (UnimplementedOpenShellServer) AttachSandboxProvider(context.Context, *AttachSandboxProviderRequest) (*AttachSandboxProviderResponse, error)
- func (UnimplementedOpenShellServer) ClearDraftChunks(context.Context, *ClearDraftChunksRequest) (*ClearDraftChunksResponse, error)
- func (UnimplementedOpenShellServer) ConnectSupervisor(grpc.BidiStreamingServer[SupervisorMessage, GatewayMessage]) error
- func (UnimplementedOpenShellServer) CreateProvider(context.Context, *CreateProviderRequest) (*ProviderResponse, error)
- func (UnimplementedOpenShellServer) CreateSandbox(context.Context, *CreateSandboxRequest) (*SandboxResponse, error)
- func (UnimplementedOpenShellServer) CreateSshSession(context.Context, *CreateSshSessionRequest) (*CreateSshSessionResponse, error)
- func (UnimplementedOpenShellServer) DeleteProvider(context.Context, *DeleteProviderRequest) (*DeleteProviderResponse, error)
- func (UnimplementedOpenShellServer) DeleteProviderProfile(context.Context, *DeleteProviderProfileRequest) (*DeleteProviderProfileResponse, error)
- func (UnimplementedOpenShellServer) DeleteSandbox(context.Context, *DeleteSandboxRequest) (*DeleteSandboxResponse, error)
- func (UnimplementedOpenShellServer) DeleteService(context.Context, *DeleteServiceRequest) (*DeleteServiceResponse, error)
- func (UnimplementedOpenShellServer) DetachSandboxProvider(context.Context, *DetachSandboxProviderRequest) (*DetachSandboxProviderResponse, error)
- func (UnimplementedOpenShellServer) EditDraftChunk(context.Context, *EditDraftChunkRequest) (*EditDraftChunkResponse, error)
- func (UnimplementedOpenShellServer) ExecSandbox(*ExecSandboxRequest, grpc.ServerStreamingServer[ExecSandboxEvent]) error
- func (UnimplementedOpenShellServer) ExecSandboxInteractive(grpc.BidiStreamingServer[ExecSandboxInput, ExecSandboxEvent]) error
- func (UnimplementedOpenShellServer) ExposeService(context.Context, *ExposeServiceRequest) (*ServiceEndpointResponse, error)
- func (UnimplementedOpenShellServer) ForwardTcp(grpc.BidiStreamingServer[TcpForwardFrame, TcpForwardFrame]) error
- func (UnimplementedOpenShellServer) GetDraftHistory(context.Context, *GetDraftHistoryRequest) (*GetDraftHistoryResponse, error)
- func (UnimplementedOpenShellServer) GetDraftPolicy(context.Context, *GetDraftPolicyRequest) (*GetDraftPolicyResponse, error)
- func (UnimplementedOpenShellServer) GetGatewayConfig(context.Context, *sandboxv1.GetGatewayConfigRequest) (*sandboxv1.GetGatewayConfigResponse, error)
- func (UnimplementedOpenShellServer) GetProvider(context.Context, *GetProviderRequest) (*ProviderResponse, error)
- func (UnimplementedOpenShellServer) GetProviderProfile(context.Context, *GetProviderProfileRequest) (*ProviderProfileResponse, error)
- func (UnimplementedOpenShellServer) GetSandbox(context.Context, *GetSandboxRequest) (*SandboxResponse, error)
- func (UnimplementedOpenShellServer) GetSandboxConfig(context.Context, *sandboxv1.GetSandboxConfigRequest) (*sandboxv1.GetSandboxConfigResponse, error)
- func (UnimplementedOpenShellServer) GetSandboxLogs(context.Context, *GetSandboxLogsRequest) (*GetSandboxLogsResponse, error)
- func (UnimplementedOpenShellServer) GetSandboxPolicyStatus(context.Context, *GetSandboxPolicyStatusRequest) (*GetSandboxPolicyStatusResponse, error)
- func (UnimplementedOpenShellServer) GetSandboxProviderEnvironment(context.Context, *GetSandboxProviderEnvironmentRequest) (*GetSandboxProviderEnvironmentResponse, error)
- func (UnimplementedOpenShellServer) GetService(context.Context, *GetServiceRequest) (*ServiceEndpointResponse, error)
- func (UnimplementedOpenShellServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
- func (UnimplementedOpenShellServer) ImportProviderProfiles(context.Context, *ImportProviderProfilesRequest) (*ImportProviderProfilesResponse, error)
- func (UnimplementedOpenShellServer) LintProviderProfiles(context.Context, *LintProviderProfilesRequest) (*LintProviderProfilesResponse, error)
- func (UnimplementedOpenShellServer) ListProviderProfiles(context.Context, *ListProviderProfilesRequest) (*ListProviderProfilesResponse, error)
- func (UnimplementedOpenShellServer) ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error)
- func (UnimplementedOpenShellServer) ListSandboxPolicies(context.Context, *ListSandboxPoliciesRequest) (*ListSandboxPoliciesResponse, error)
- func (UnimplementedOpenShellServer) ListSandboxProviders(context.Context, *ListSandboxProvidersRequest) (*ListSandboxProvidersResponse, error)
- func (UnimplementedOpenShellServer) ListSandboxes(context.Context, *ListSandboxesRequest) (*ListSandboxesResponse, error)
- func (UnimplementedOpenShellServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
- func (UnimplementedOpenShellServer) PushSandboxLogs(grpc.ClientStreamingServer[PushSandboxLogsRequest, PushSandboxLogsResponse]) error
- func (UnimplementedOpenShellServer) RejectDraftChunk(context.Context, *RejectDraftChunkRequest) (*RejectDraftChunkResponse, error)
- func (UnimplementedOpenShellServer) RelayStream(grpc.BidiStreamingServer[RelayFrame, RelayFrame]) error
- func (UnimplementedOpenShellServer) ReportPolicyStatus(context.Context, *ReportPolicyStatusRequest) (*ReportPolicyStatusResponse, error)
- func (UnimplementedOpenShellServer) RevokeSshSession(context.Context, *RevokeSshSessionRequest) (*RevokeSshSessionResponse, error)
- func (UnimplementedOpenShellServer) SubmitPolicyAnalysis(context.Context, *SubmitPolicyAnalysisRequest) (*SubmitPolicyAnalysisResponse, error)
- func (UnimplementedOpenShellServer) UndoDraftChunk(context.Context, *UndoDraftChunkRequest) (*UndoDraftChunkResponse, error)
- func (UnimplementedOpenShellServer) UpdateConfig(context.Context, *UpdateConfigRequest) (*UpdateConfigResponse, error)
- func (UnimplementedOpenShellServer) UpdateProvider(context.Context, *UpdateProviderRequest) (*ProviderResponse, error)
- func (UnimplementedOpenShellServer) WatchSandbox(*WatchSandboxRequest, grpc.ServerStreamingServer[SandboxStreamEvent]) error
- type UnsafeOpenShellServer
- type UpdateConfigRequest
- func (*UpdateConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateConfigRequest) GetDeleteSetting() bool
- func (x *UpdateConfigRequest) GetExpectedResourceVersion() uint64
- func (x *UpdateConfigRequest) GetGlobal() bool
- func (x *UpdateConfigRequest) GetMergeOperations() []*PolicyMergeOperation
- func (x *UpdateConfigRequest) GetName() string
- func (x *UpdateConfigRequest) GetPolicy() *sandboxv1.SandboxPolicy
- func (x *UpdateConfigRequest) GetSettingKey() string
- func (x *UpdateConfigRequest) GetSettingValue() *sandboxv1.SettingValue
- func (*UpdateConfigRequest) ProtoMessage()
- func (x *UpdateConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateConfigRequest) Reset()
- func (x *UpdateConfigRequest) String() string
- type UpdateConfigResponse
- func (*UpdateConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateConfigResponse) GetDeleted() bool
- func (x *UpdateConfigResponse) GetPolicyHash() string
- func (x *UpdateConfigResponse) GetSettingsRevision() uint64
- func (x *UpdateConfigResponse) GetVersion() uint32
- func (*UpdateConfigResponse) ProtoMessage()
- func (x *UpdateConfigResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateConfigResponse) Reset()
- func (x *UpdateConfigResponse) String() string
- type UpdateProviderRequest
- func (*UpdateProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProviderRequest) GetProvider() *datamodelv1.Provider
- func (*UpdateProviderRequest) ProtoMessage()
- func (x *UpdateProviderRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProviderRequest) Reset()
- func (x *UpdateProviderRequest) String() string
- type WatchSandboxRequest
- func (*WatchSandboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchSandboxRequest) GetEventTail() uint32
- func (x *WatchSandboxRequest) GetFollowEvents() bool
- func (x *WatchSandboxRequest) GetFollowLogs() bool
- func (x *WatchSandboxRequest) GetFollowStatus() bool
- func (x *WatchSandboxRequest) GetId() string
- func (x *WatchSandboxRequest) GetLogMinLevel() string
- func (x *WatchSandboxRequest) GetLogSinceMs() int64
- func (x *WatchSandboxRequest) GetLogSources() []string
- func (x *WatchSandboxRequest) GetLogTailLines() uint32
- func (x *WatchSandboxRequest) GetStopOnTerminal() bool
- func (*WatchSandboxRequest) ProtoMessage()
- func (x *WatchSandboxRequest) ProtoReflect() protoreflect.Message
- func (x *WatchSandboxRequest) Reset()
- func (x *WatchSandboxRequest) String() string
Constants ¶
const ( OpenShell_Health_FullMethodName = "/openshell.v1.OpenShell/Health" OpenShell_CreateSandbox_FullMethodName = "/openshell.v1.OpenShell/CreateSandbox" OpenShell_GetSandbox_FullMethodName = "/openshell.v1.OpenShell/GetSandbox" OpenShell_ListSandboxes_FullMethodName = "/openshell.v1.OpenShell/ListSandboxes" OpenShell_ListSandboxProviders_FullMethodName = "/openshell.v1.OpenShell/ListSandboxProviders" OpenShell_AttachSandboxProvider_FullMethodName = "/openshell.v1.OpenShell/AttachSandboxProvider" OpenShell_DetachSandboxProvider_FullMethodName = "/openshell.v1.OpenShell/DetachSandboxProvider" OpenShell_DeleteSandbox_FullMethodName = "/openshell.v1.OpenShell/DeleteSandbox" OpenShell_CreateSshSession_FullMethodName = "/openshell.v1.OpenShell/CreateSshSession" OpenShell_ExposeService_FullMethodName = "/openshell.v1.OpenShell/ExposeService" OpenShell_GetService_FullMethodName = "/openshell.v1.OpenShell/GetService" OpenShell_ListServices_FullMethodName = "/openshell.v1.OpenShell/ListServices" OpenShell_DeleteService_FullMethodName = "/openshell.v1.OpenShell/DeleteService" OpenShell_RevokeSshSession_FullMethodName = "/openshell.v1.OpenShell/RevokeSshSession" OpenShell_ExecSandbox_FullMethodName = "/openshell.v1.OpenShell/ExecSandbox" OpenShell_ForwardTcp_FullMethodName = "/openshell.v1.OpenShell/ForwardTcp" OpenShell_ExecSandboxInteractive_FullMethodName = "/openshell.v1.OpenShell/ExecSandboxInteractive" OpenShell_CreateProvider_FullMethodName = "/openshell.v1.OpenShell/CreateProvider" OpenShell_GetProvider_FullMethodName = "/openshell.v1.OpenShell/GetProvider" OpenShell_ListProviders_FullMethodName = "/openshell.v1.OpenShell/ListProviders" OpenShell_ListProviderProfiles_FullMethodName = "/openshell.v1.OpenShell/ListProviderProfiles" OpenShell_GetProviderProfile_FullMethodName = "/openshell.v1.OpenShell/GetProviderProfile" OpenShell_ImportProviderProfiles_FullMethodName = "/openshell.v1.OpenShell/ImportProviderProfiles" OpenShell_LintProviderProfiles_FullMethodName = "/openshell.v1.OpenShell/LintProviderProfiles" OpenShell_UpdateProvider_FullMethodName = "/openshell.v1.OpenShell/UpdateProvider" OpenShell_DeleteProvider_FullMethodName = "/openshell.v1.OpenShell/DeleteProvider" OpenShell_DeleteProviderProfile_FullMethodName = "/openshell.v1.OpenShell/DeleteProviderProfile" OpenShell_GetSandboxConfig_FullMethodName = "/openshell.v1.OpenShell/GetSandboxConfig" OpenShell_GetGatewayConfig_FullMethodName = "/openshell.v1.OpenShell/GetGatewayConfig" OpenShell_UpdateConfig_FullMethodName = "/openshell.v1.OpenShell/UpdateConfig" OpenShell_GetSandboxPolicyStatus_FullMethodName = "/openshell.v1.OpenShell/GetSandboxPolicyStatus" OpenShell_ListSandboxPolicies_FullMethodName = "/openshell.v1.OpenShell/ListSandboxPolicies" OpenShell_ReportPolicyStatus_FullMethodName = "/openshell.v1.OpenShell/ReportPolicyStatus" OpenShell_GetSandboxProviderEnvironment_FullMethodName = "/openshell.v1.OpenShell/GetSandboxProviderEnvironment" OpenShell_GetSandboxLogs_FullMethodName = "/openshell.v1.OpenShell/GetSandboxLogs" OpenShell_PushSandboxLogs_FullMethodName = "/openshell.v1.OpenShell/PushSandboxLogs" OpenShell_ConnectSupervisor_FullMethodName = "/openshell.v1.OpenShell/ConnectSupervisor" OpenShell_RelayStream_FullMethodName = "/openshell.v1.OpenShell/RelayStream" OpenShell_WatchSandbox_FullMethodName = "/openshell.v1.OpenShell/WatchSandbox" OpenShell_SubmitPolicyAnalysis_FullMethodName = "/openshell.v1.OpenShell/SubmitPolicyAnalysis" OpenShell_GetDraftPolicy_FullMethodName = "/openshell.v1.OpenShell/GetDraftPolicy" OpenShell_ApproveDraftChunk_FullMethodName = "/openshell.v1.OpenShell/ApproveDraftChunk" OpenShell_RejectDraftChunk_FullMethodName = "/openshell.v1.OpenShell/RejectDraftChunk" OpenShell_ApproveAllDraftChunks_FullMethodName = "/openshell.v1.OpenShell/ApproveAllDraftChunks" OpenShell_EditDraftChunk_FullMethodName = "/openshell.v1.OpenShell/EditDraftChunk" OpenShell_UndoDraftChunk_FullMethodName = "/openshell.v1.OpenShell/UndoDraftChunk" OpenShell_ClearDraftChunks_FullMethodName = "/openshell.v1.OpenShell/ClearDraftChunks" OpenShell_GetDraftHistory_FullMethodName = "/openshell.v1.OpenShell/GetDraftHistory" )
Variables ¶
var ( SandboxPhase_name = map[int32]string{ 0: "SANDBOX_PHASE_UNSPECIFIED", 1: "SANDBOX_PHASE_PROVISIONING", 2: "SANDBOX_PHASE_READY", 3: "SANDBOX_PHASE_ERROR", 4: "SANDBOX_PHASE_DELETING", 5: "SANDBOX_PHASE_UNKNOWN", } SandboxPhase_value = map[string]int32{ "SANDBOX_PHASE_UNSPECIFIED": 0, "SANDBOX_PHASE_PROVISIONING": 1, "SANDBOX_PHASE_READY": 2, "SANDBOX_PHASE_ERROR": 3, "SANDBOX_PHASE_DELETING": 4, "SANDBOX_PHASE_UNKNOWN": 5, } )
Enum value maps for SandboxPhase.
var ( ProviderProfileCategory_name = map[int32]string{ 0: "PROVIDER_PROFILE_CATEGORY_UNSPECIFIED", 1: "PROVIDER_PROFILE_CATEGORY_OTHER", 2: "PROVIDER_PROFILE_CATEGORY_INFERENCE", 3: "PROVIDER_PROFILE_CATEGORY_AGENT", 4: "PROVIDER_PROFILE_CATEGORY_SOURCE_CONTROL", 5: "PROVIDER_PROFILE_CATEGORY_MESSAGING", 6: "PROVIDER_PROFILE_CATEGORY_DATA", 7: "PROVIDER_PROFILE_CATEGORY_KNOWLEDGE", } ProviderProfileCategory_value = map[string]int32{ "PROVIDER_PROFILE_CATEGORY_UNSPECIFIED": 0, "PROVIDER_PROFILE_CATEGORY_OTHER": 1, "PROVIDER_PROFILE_CATEGORY_INFERENCE": 2, "PROVIDER_PROFILE_CATEGORY_AGENT": 3, "PROVIDER_PROFILE_CATEGORY_SOURCE_CONTROL": 4, "PROVIDER_PROFILE_CATEGORY_MESSAGING": 5, "PROVIDER_PROFILE_CATEGORY_DATA": 6, "PROVIDER_PROFILE_CATEGORY_KNOWLEDGE": 7, } )
Enum value maps for ProviderProfileCategory.
var ( PolicyStatus_name = map[int32]string{ 0: "POLICY_STATUS_UNSPECIFIED", 1: "POLICY_STATUS_PENDING", 2: "POLICY_STATUS_LOADED", 3: "POLICY_STATUS_FAILED", 4: "POLICY_STATUS_SUPERSEDED", } PolicyStatus_value = map[string]int32{ "POLICY_STATUS_UNSPECIFIED": 0, "POLICY_STATUS_PENDING": 1, "POLICY_STATUS_LOADED": 2, "POLICY_STATUS_FAILED": 3, "POLICY_STATUS_SUPERSEDED": 4, } )
Enum value maps for PolicyStatus.
var ( ServiceStatus_name = map[int32]string{ 0: "SERVICE_STATUS_UNSPECIFIED", 1: "SERVICE_STATUS_HEALTHY", 2: "SERVICE_STATUS_DEGRADED", 3: "SERVICE_STATUS_UNHEALTHY", } ServiceStatus_value = map[string]int32{ "SERVICE_STATUS_UNSPECIFIED": 0, "SERVICE_STATUS_HEALTHY": 1, "SERVICE_STATUS_DEGRADED": 2, "SERVICE_STATUS_UNHEALTHY": 3, } )
Enum value maps for ServiceStatus.
var File_openshell_proto protoreflect.FileDescriptor
var OpenShell_ServiceDesc = grpc.ServiceDesc{ ServiceName: "openshell.v1.OpenShell", HandlerType: (*OpenShellServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Health", Handler: _OpenShell_Health_Handler, }, { MethodName: "CreateSandbox", Handler: _OpenShell_CreateSandbox_Handler, }, { MethodName: "GetSandbox", Handler: _OpenShell_GetSandbox_Handler, }, { MethodName: "ListSandboxes", Handler: _OpenShell_ListSandboxes_Handler, }, { MethodName: "ListSandboxProviders", Handler: _OpenShell_ListSandboxProviders_Handler, }, { MethodName: "AttachSandboxProvider", Handler: _OpenShell_AttachSandboxProvider_Handler, }, { MethodName: "DetachSandboxProvider", Handler: _OpenShell_DetachSandboxProvider_Handler, }, { MethodName: "DeleteSandbox", Handler: _OpenShell_DeleteSandbox_Handler, }, { MethodName: "CreateSshSession", Handler: _OpenShell_CreateSshSession_Handler, }, { MethodName: "ExposeService", Handler: _OpenShell_ExposeService_Handler, }, { MethodName: "GetService", Handler: _OpenShell_GetService_Handler, }, { MethodName: "ListServices", Handler: _OpenShell_ListServices_Handler, }, { MethodName: "DeleteService", Handler: _OpenShell_DeleteService_Handler, }, { MethodName: "RevokeSshSession", Handler: _OpenShell_RevokeSshSession_Handler, }, { MethodName: "CreateProvider", Handler: _OpenShell_CreateProvider_Handler, }, { MethodName: "GetProvider", Handler: _OpenShell_GetProvider_Handler, }, { MethodName: "ListProviders", Handler: _OpenShell_ListProviders_Handler, }, { MethodName: "ListProviderProfiles", Handler: _OpenShell_ListProviderProfiles_Handler, }, { MethodName: "GetProviderProfile", Handler: _OpenShell_GetProviderProfile_Handler, }, { MethodName: "ImportProviderProfiles", Handler: _OpenShell_ImportProviderProfiles_Handler, }, { MethodName: "LintProviderProfiles", Handler: _OpenShell_LintProviderProfiles_Handler, }, { MethodName: "UpdateProvider", Handler: _OpenShell_UpdateProvider_Handler, }, { MethodName: "DeleteProvider", Handler: _OpenShell_DeleteProvider_Handler, }, { MethodName: "DeleteProviderProfile", Handler: _OpenShell_DeleteProviderProfile_Handler, }, { MethodName: "GetSandboxConfig", Handler: _OpenShell_GetSandboxConfig_Handler, }, { MethodName: "GetGatewayConfig", Handler: _OpenShell_GetGatewayConfig_Handler, }, { MethodName: "UpdateConfig", Handler: _OpenShell_UpdateConfig_Handler, }, { MethodName: "GetSandboxPolicyStatus", Handler: _OpenShell_GetSandboxPolicyStatus_Handler, }, { MethodName: "ListSandboxPolicies", Handler: _OpenShell_ListSandboxPolicies_Handler, }, { MethodName: "ReportPolicyStatus", Handler: _OpenShell_ReportPolicyStatus_Handler, }, { MethodName: "GetSandboxProviderEnvironment", Handler: _OpenShell_GetSandboxProviderEnvironment_Handler, }, { MethodName: "GetSandboxLogs", Handler: _OpenShell_GetSandboxLogs_Handler, }, { MethodName: "SubmitPolicyAnalysis", Handler: _OpenShell_SubmitPolicyAnalysis_Handler, }, { MethodName: "GetDraftPolicy", Handler: _OpenShell_GetDraftPolicy_Handler, }, { MethodName: "ApproveDraftChunk", Handler: _OpenShell_ApproveDraftChunk_Handler, }, { MethodName: "RejectDraftChunk", Handler: _OpenShell_RejectDraftChunk_Handler, }, { MethodName: "ApproveAllDraftChunks", Handler: _OpenShell_ApproveAllDraftChunks_Handler, }, { MethodName: "EditDraftChunk", Handler: _OpenShell_EditDraftChunk_Handler, }, { MethodName: "UndoDraftChunk", Handler: _OpenShell_UndoDraftChunk_Handler, }, { MethodName: "ClearDraftChunks", Handler: _OpenShell_ClearDraftChunks_Handler, }, { MethodName: "GetDraftHistory", Handler: _OpenShell_GetDraftHistory_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ExecSandbox", Handler: _OpenShell_ExecSandbox_Handler, ServerStreams: true, }, { StreamName: "ForwardTcp", Handler: _OpenShell_ForwardTcp_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "ExecSandboxInteractive", Handler: _OpenShell_ExecSandboxInteractive_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "PushSandboxLogs", Handler: _OpenShell_PushSandboxLogs_Handler, ClientStreams: true, }, { StreamName: "ConnectSupervisor", Handler: _OpenShell_ConnectSupervisor_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "RelayStream", Handler: _OpenShell_RelayStream_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "WatchSandbox", Handler: _OpenShell_WatchSandbox_Handler, ServerStreams: true, }, }, Metadata: "openshell.proto", }
OpenShell_ServiceDesc is the grpc.ServiceDesc for OpenShell service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOpenShellServer ¶
func RegisterOpenShellServer(s grpc.ServiceRegistrar, srv OpenShellServer)
Types ¶
type AddAllowRules ¶
type AddAllowRules struct {
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
Rules []*sandboxv1.L7Rule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
func (*AddAllowRules) Descriptor
deprecated
func (*AddAllowRules) Descriptor() ([]byte, []int)
Deprecated: Use AddAllowRules.ProtoReflect.Descriptor instead.
func (*AddAllowRules) GetHost ¶
func (x *AddAllowRules) GetHost() string
func (*AddAllowRules) GetPort ¶
func (x *AddAllowRules) GetPort() uint32
func (*AddAllowRules) GetRules ¶
func (x *AddAllowRules) GetRules() []*sandboxv1.L7Rule
func (*AddAllowRules) ProtoMessage ¶
func (*AddAllowRules) ProtoMessage()
func (*AddAllowRules) ProtoReflect ¶
func (x *AddAllowRules) ProtoReflect() protoreflect.Message
func (*AddAllowRules) Reset ¶
func (x *AddAllowRules) Reset()
func (*AddAllowRules) String ¶
func (x *AddAllowRules) String() string
type AddDenyRules ¶
type AddDenyRules struct {
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
DenyRules []*sandboxv1.L7DenyRule `protobuf:"bytes,3,rep,name=deny_rules,json=denyRules,proto3" json:"deny_rules,omitempty"`
// contains filtered or unexported fields
}
func (*AddDenyRules) Descriptor
deprecated
func (*AddDenyRules) Descriptor() ([]byte, []int)
Deprecated: Use AddDenyRules.ProtoReflect.Descriptor instead.
func (*AddDenyRules) GetDenyRules ¶
func (x *AddDenyRules) GetDenyRules() []*sandboxv1.L7DenyRule
func (*AddDenyRules) GetHost ¶
func (x *AddDenyRules) GetHost() string
func (*AddDenyRules) GetPort ¶
func (x *AddDenyRules) GetPort() uint32
func (*AddDenyRules) ProtoMessage ¶
func (*AddDenyRules) ProtoMessage()
func (*AddDenyRules) ProtoReflect ¶
func (x *AddDenyRules) ProtoReflect() protoreflect.Message
func (*AddDenyRules) Reset ¶
func (x *AddDenyRules) Reset()
func (*AddDenyRules) String ¶
func (x *AddDenyRules) String() string
type AddNetworkRule ¶
type AddNetworkRule struct {
RuleName string `protobuf:"bytes,1,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
Rule *sandboxv1.NetworkPolicyRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
// contains filtered or unexported fields
}
func (*AddNetworkRule) Descriptor
deprecated
func (*AddNetworkRule) Descriptor() ([]byte, []int)
Deprecated: Use AddNetworkRule.ProtoReflect.Descriptor instead.
func (*AddNetworkRule) GetRule ¶
func (x *AddNetworkRule) GetRule() *sandboxv1.NetworkPolicyRule
func (*AddNetworkRule) GetRuleName ¶
func (x *AddNetworkRule) GetRuleName() string
func (*AddNetworkRule) ProtoMessage ¶
func (*AddNetworkRule) ProtoMessage()
func (*AddNetworkRule) ProtoReflect ¶
func (x *AddNetworkRule) ProtoReflect() protoreflect.Message
func (*AddNetworkRule) Reset ¶
func (x *AddNetworkRule) Reset()
func (*AddNetworkRule) String ¶
func (x *AddNetworkRule) String() string
type ApproveAllDraftChunksRequest ¶
type ApproveAllDraftChunksRequest struct {
// Sandbox name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Include chunks with security_notes (default false: skips them).
IncludeSecurityFlagged bool `` /* 130-byte string literal not displayed */
// contains filtered or unexported fields
}
Approve all pending chunks.
func (*ApproveAllDraftChunksRequest) Descriptor
deprecated
func (*ApproveAllDraftChunksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApproveAllDraftChunksRequest.ProtoReflect.Descriptor instead.
func (*ApproveAllDraftChunksRequest) GetIncludeSecurityFlagged ¶
func (x *ApproveAllDraftChunksRequest) GetIncludeSecurityFlagged() bool
func (*ApproveAllDraftChunksRequest) GetName ¶
func (x *ApproveAllDraftChunksRequest) GetName() string
func (*ApproveAllDraftChunksRequest) ProtoMessage ¶
func (*ApproveAllDraftChunksRequest) ProtoMessage()
func (*ApproveAllDraftChunksRequest) ProtoReflect ¶
func (x *ApproveAllDraftChunksRequest) ProtoReflect() protoreflect.Message
func (*ApproveAllDraftChunksRequest) Reset ¶
func (x *ApproveAllDraftChunksRequest) Reset()
func (*ApproveAllDraftChunksRequest) String ¶
func (x *ApproveAllDraftChunksRequest) String() string
type ApproveAllDraftChunksResponse ¶
type ApproveAllDraftChunksResponse struct {
// New policy version after merge.
PolicyVersion uint32 `protobuf:"varint,1,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
// SHA-256 hash of the new policy.
PolicyHash string `protobuf:"bytes,2,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"`
// Number of chunks approved.
ChunksApproved uint32 `protobuf:"varint,3,opt,name=chunks_approved,json=chunksApproved,proto3" json:"chunks_approved,omitempty"`
// Number of chunks skipped (security-flagged).
ChunksSkipped uint32 `protobuf:"varint,4,opt,name=chunks_skipped,json=chunksSkipped,proto3" json:"chunks_skipped,omitempty"`
// contains filtered or unexported fields
}
func (*ApproveAllDraftChunksResponse) Descriptor
deprecated
func (*ApproveAllDraftChunksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApproveAllDraftChunksResponse.ProtoReflect.Descriptor instead.
func (*ApproveAllDraftChunksResponse) GetChunksApproved ¶
func (x *ApproveAllDraftChunksResponse) GetChunksApproved() uint32
func (*ApproveAllDraftChunksResponse) GetChunksSkipped ¶
func (x *ApproveAllDraftChunksResponse) GetChunksSkipped() uint32
func (*ApproveAllDraftChunksResponse) GetPolicyHash ¶
func (x *ApproveAllDraftChunksResponse) GetPolicyHash() string
func (*ApproveAllDraftChunksResponse) GetPolicyVersion ¶
func (x *ApproveAllDraftChunksResponse) GetPolicyVersion() uint32
func (*ApproveAllDraftChunksResponse) ProtoMessage ¶
func (*ApproveAllDraftChunksResponse) ProtoMessage()
func (*ApproveAllDraftChunksResponse) ProtoReflect ¶
func (x *ApproveAllDraftChunksResponse) ProtoReflect() protoreflect.Message
func (*ApproveAllDraftChunksResponse) Reset ¶
func (x *ApproveAllDraftChunksResponse) Reset()
func (*ApproveAllDraftChunksResponse) String ¶
func (x *ApproveAllDraftChunksResponse) String() string
type ApproveDraftChunkRequest ¶
type ApproveDraftChunkRequest struct {
// Sandbox name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Chunk ID to approve.
ChunkId string `protobuf:"bytes,2,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"`
// contains filtered or unexported fields
}
Approve a single draft chunk.
func (*ApproveDraftChunkRequest) Descriptor
deprecated
func (*ApproveDraftChunkRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApproveDraftChunkRequest.ProtoReflect.Descriptor instead.
func (*ApproveDraftChunkRequest) GetChunkId ¶
func (x *ApproveDraftChunkRequest) GetChunkId() string
func (*ApproveDraftChunkRequest) GetName ¶
func (x *ApproveDraftChunkRequest) GetName() string
func (*ApproveDraftChunkRequest) ProtoMessage ¶
func (*ApproveDraftChunkRequest) ProtoMessage()
func (*ApproveDraftChunkRequest) ProtoReflect ¶
func (x *ApproveDraftChunkRequest) ProtoReflect() protoreflect.Message
func (*ApproveDraftChunkRequest) Reset ¶
func (x *ApproveDraftChunkRequest) Reset()
func (*ApproveDraftChunkRequest) String ¶
func (x *ApproveDraftChunkRequest) String() string
type ApproveDraftChunkResponse ¶
type ApproveDraftChunkResponse struct {
// New policy version after merge.
PolicyVersion uint32 `protobuf:"varint,1,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
// SHA-256 hash of the new policy.
PolicyHash string `protobuf:"bytes,2,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"`
// contains filtered or unexported fields
}
func (*ApproveDraftChunkResponse) Descriptor
deprecated
func (*ApproveDraftChunkResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApproveDraftChunkResponse.ProtoReflect.Descriptor instead.
func (*ApproveDraftChunkResponse) GetPolicyHash ¶
func (x *ApproveDraftChunkResponse) GetPolicyHash() string
func (*ApproveDraftChunkResponse) GetPolicyVersion ¶
func (x *ApproveDraftChunkResponse) GetPolicyVersion() uint32
func (*ApproveDraftChunkResponse) ProtoMessage ¶
func (*ApproveDraftChunkResponse) ProtoMessage()
func (*ApproveDraftChunkResponse) ProtoReflect ¶
func (x *ApproveDraftChunkResponse) ProtoReflect() protoreflect.Message
func (*ApproveDraftChunkResponse) Reset ¶
func (x *ApproveDraftChunkResponse) Reset()
func (*ApproveDraftChunkResponse) String ¶
func (x *ApproveDraftChunkResponse) String() string
type AttachSandboxProviderRequest ¶
type AttachSandboxProviderRequest struct {
// Sandbox name (canonical lookup key).
SandboxName string `protobuf:"bytes,1,opt,name=sandbox_name,json=sandboxName,proto3" json:"sandbox_name,omitempty"`
// Provider name to attach.
ProviderName string `protobuf:"bytes,2,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"`
// Expected resource version for optimistic concurrency control.
// If 0, the server uses the current version (backward compatibility).
// If non-zero, the server validates that the sandbox's current resource_version
// matches this value before applying the mutation, returning ABORTED on mismatch.
ExpectedResourceVersion uint64 `` /* 133-byte string literal not displayed */
// contains filtered or unexported fields
}
Attach provider to sandbox request.
func (*AttachSandboxProviderRequest) Descriptor
deprecated
func (*AttachSandboxProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachSandboxProviderRequest.ProtoReflect.Descriptor instead.
func (*AttachSandboxProviderRequest) GetExpectedResourceVersion ¶
func (x *AttachSandboxProviderRequest) GetExpectedResourceVersion() uint64
func (*AttachSandboxProviderRequest) GetProviderName ¶
func (x *AttachSandboxProviderRequest) GetProviderName() string
func (*AttachSandboxProviderRequest) GetSandboxName ¶
func (x *AttachSandboxProviderRequest) GetSandboxName() string
func (*AttachSandboxProviderRequest) ProtoMessage ¶
func (*AttachSandboxProviderRequest) ProtoMessage()
func (*AttachSandboxProviderRequest) ProtoReflect ¶
func (x *AttachSandboxProviderRequest) ProtoReflect() protoreflect.Message
func (*AttachSandboxProviderRequest) Reset ¶
func (x *AttachSandboxProviderRequest) Reset()
func (*AttachSandboxProviderRequest) String ¶
func (x *AttachSandboxProviderRequest) String() string
type AttachSandboxProviderResponse ¶
type AttachSandboxProviderResponse struct {
Sandbox *Sandbox `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"`
// True when the provider was newly attached. False means it was already attached.
Attached bool `protobuf:"varint,2,opt,name=attached,proto3" json:"attached,omitempty"`
// contains filtered or unexported fields
}
Attach provider to sandbox response.
func (*AttachSandboxProviderResponse) Descriptor
deprecated
func (*AttachSandboxProviderResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachSandboxProviderResponse.ProtoReflect.Descriptor instead.
func (*AttachSandboxProviderResponse) GetAttached ¶
func (x *AttachSandboxProviderResponse) GetAttached() bool
func (*AttachSandboxProviderResponse) GetSandbox ¶
func (x *AttachSandboxProviderResponse) GetSandbox() *Sandbox
func (*AttachSandboxProviderResponse) ProtoMessage ¶
func (*AttachSandboxProviderResponse) ProtoMessage()
func (*AttachSandboxProviderResponse) ProtoReflect ¶
func (x *AttachSandboxProviderResponse) ProtoReflect() protoreflect.Message
func (*AttachSandboxProviderResponse) Reset ¶
func (x *AttachSandboxProviderResponse) Reset()
func (*AttachSandboxProviderResponse) String ¶
func (x *AttachSandboxProviderResponse) String() string
type ClearDraftChunksRequest ¶
type ClearDraftChunksRequest struct {
// Sandbox name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Clear all pending draft chunks for a sandbox.
func (*ClearDraftChunksRequest) Descriptor
deprecated
func (*ClearDraftChunksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClearDraftChunksRequest.ProtoReflect.Descriptor instead.
func (*ClearDraftChunksRequest) GetName ¶
func (x *ClearDraftChunksRequest) GetName() string
func (*ClearDraftChunksRequest) ProtoMessage ¶
func (*ClearDraftChunksRequest) ProtoMessage()
func (*ClearDraftChunksRequest) ProtoReflect ¶
func (x *ClearDraftChunksRequest) ProtoReflect() protoreflect.Message
func (*ClearDraftChunksRequest) Reset ¶
func (x *ClearDraftChunksRequest) Reset()
func (*ClearDraftChunksRequest) String ¶
func (x *ClearDraftChunksRequest) String() string
type ClearDraftChunksResponse ¶
type ClearDraftChunksResponse struct {
// Number of chunks cleared.
ChunksCleared uint32 `protobuf:"varint,1,opt,name=chunks_cleared,json=chunksCleared,proto3" json:"chunks_cleared,omitempty"`
// contains filtered or unexported fields
}
func (*ClearDraftChunksResponse) Descriptor
deprecated
func (*ClearDraftChunksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClearDraftChunksResponse.ProtoReflect.Descriptor instead.
func (*ClearDraftChunksResponse) GetChunksCleared ¶
func (x *ClearDraftChunksResponse) GetChunksCleared() uint32
func (*ClearDraftChunksResponse) ProtoMessage ¶
func (*ClearDraftChunksResponse) ProtoMessage()
func (*ClearDraftChunksResponse) ProtoReflect ¶
func (x *ClearDraftChunksResponse) ProtoReflect() protoreflect.Message
func (*ClearDraftChunksResponse) Reset ¶
func (x *ClearDraftChunksResponse) Reset()
func (*ClearDraftChunksResponse) String ¶
func (x *ClearDraftChunksResponse) String() string
type CreateProviderRequest ¶
type CreateProviderRequest struct {
Provider *datamodelv1.Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
// contains filtered or unexported fields
}
Create provider request.
func (*CreateProviderRequest) Descriptor
deprecated
func (*CreateProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProviderRequest.ProtoReflect.Descriptor instead.
func (*CreateProviderRequest) GetProvider ¶
func (x *CreateProviderRequest) GetProvider() *datamodelv1.Provider
func (*CreateProviderRequest) ProtoMessage ¶
func (*CreateProviderRequest) ProtoMessage()
func (*CreateProviderRequest) ProtoReflect ¶
func (x *CreateProviderRequest) ProtoReflect() protoreflect.Message
func (*CreateProviderRequest) Reset ¶
func (x *CreateProviderRequest) Reset()
func (*CreateProviderRequest) String ¶
func (x *CreateProviderRequest) String() string
type CreateSandboxRequest ¶
type CreateSandboxRequest struct {
Spec *SandboxSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
// Optional user-supplied sandbox name. When empty the server generates one.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Optional labels for the sandbox (key-value metadata).
Labels map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
Create sandbox request.
func (*CreateSandboxRequest) Descriptor
deprecated
func (*CreateSandboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSandboxRequest.ProtoReflect.Descriptor instead.
func (*CreateSandboxRequest) GetLabels ¶
func (x *CreateSandboxRequest) GetLabels() map[string]string
func (*CreateSandboxRequest) GetName ¶
func (x *CreateSandboxRequest) GetName() string
func (*CreateSandboxRequest) GetSpec ¶
func (x *CreateSandboxRequest) GetSpec() *SandboxSpec
func (*CreateSandboxRequest) ProtoMessage ¶
func (*CreateSandboxRequest) ProtoMessage()
func (*CreateSandboxRequest) ProtoReflect ¶
func (x *CreateSandboxRequest) ProtoReflect() protoreflect.Message
func (*CreateSandboxRequest) Reset ¶
func (x *CreateSandboxRequest) Reset()
func (*CreateSandboxRequest) String ¶
func (x *CreateSandboxRequest) String() string
type CreateSshSessionRequest ¶
type CreateSshSessionRequest struct {
// Sandbox id.
SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// contains filtered or unexported fields
}
Create SSH session request.
func (*CreateSshSessionRequest) Descriptor
deprecated
func (*CreateSshSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSshSessionRequest.ProtoReflect.Descriptor instead.
func (*CreateSshSessionRequest) GetSandboxId ¶
func (x *CreateSshSessionRequest) GetSandboxId() string
func (*CreateSshSessionRequest) ProtoMessage ¶
func (*CreateSshSessionRequest) ProtoMessage()
func (*CreateSshSessionRequest) ProtoReflect ¶
func (x *CreateSshSessionRequest) ProtoReflect() protoreflect.Message
func (*CreateSshSessionRequest) Reset ¶
func (x *CreateSshSessionRequest) Reset()
func (*CreateSshSessionRequest) String ¶
func (x *CreateSshSessionRequest) String() string
type CreateSshSessionResponse ¶
type CreateSshSessionResponse struct {
// Sandbox id. [A-Za-z0-9._-]{1,128}.
SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// Session token for the gateway tunnel. URL-safe ASCII
// ([A-Za-z0-9._~+/=-]) up to 4096 bytes. No shell metacharacters or
// whitespace.
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
// Gateway host for SSH proxy connection. IPv4 address, bracketed IPv6
// address, or DNS hostname (Punycode-encoded for IDN). Alphanumeric plus
// `.-:[]` only, up to 253 bytes.
GatewayHost string `protobuf:"bytes,3,opt,name=gateway_host,json=gatewayHost,proto3" json:"gateway_host,omitempty"`
// Gateway port for SSH proxy connection. Must be in range 1..=65535.
GatewayPort uint32 `protobuf:"varint,4,opt,name=gateway_port,json=gatewayPort,proto3" json:"gateway_port,omitempty"`
// Gateway scheme. Must be exactly "http" or "https".
GatewayScheme string `protobuf:"bytes,5,opt,name=gateway_scheme,json=gatewayScheme,proto3" json:"gateway_scheme,omitempty"`
// Optional host key fingerprint. If non-empty, [A-Za-z0-9:+/=-] only.
HostKeyFingerprint string `protobuf:"bytes,7,opt,name=host_key_fingerprint,json=hostKeyFingerprint,proto3" json:"host_key_fingerprint,omitempty"`
// Expiry timestamp in milliseconds since epoch. 0 means no expiry.
ExpiresAtMs int64 `protobuf:"varint,8,opt,name=expires_at_ms,json=expiresAtMs,proto3" json:"expires_at_ms,omitempty"`
// contains filtered or unexported fields
}
Create SSH session response.
Fields are interpolated into an SSH `ProxyCommand` string that OpenSSH executes through `/bin/sh -c` on the caller's workstation. Servers MUST uphold the charset contract below; clients MUST reject responses that violate it. The client's own escaping provides defense-in-depth, but narrow charsets close injection vectors at the trust boundary.
func (*CreateSshSessionResponse) Descriptor
deprecated
func (*CreateSshSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSshSessionResponse.ProtoReflect.Descriptor instead.
func (*CreateSshSessionResponse) GetExpiresAtMs ¶
func (x *CreateSshSessionResponse) GetExpiresAtMs() int64
func (*CreateSshSessionResponse) GetGatewayHost ¶
func (x *CreateSshSessionResponse) GetGatewayHost() string
func (*CreateSshSessionResponse) GetGatewayPort ¶
func (x *CreateSshSessionResponse) GetGatewayPort() uint32
func (*CreateSshSessionResponse) GetGatewayScheme ¶
func (x *CreateSshSessionResponse) GetGatewayScheme() string
func (*CreateSshSessionResponse) GetHostKeyFingerprint ¶
func (x *CreateSshSessionResponse) GetHostKeyFingerprint() string
func (*CreateSshSessionResponse) GetSandboxId ¶
func (x *CreateSshSessionResponse) GetSandboxId() string
func (*CreateSshSessionResponse) GetToken ¶
func (x *CreateSshSessionResponse) GetToken() string
func (*CreateSshSessionResponse) ProtoMessage ¶
func (*CreateSshSessionResponse) ProtoMessage()
func (*CreateSshSessionResponse) ProtoReflect ¶
func (x *CreateSshSessionResponse) ProtoReflect() protoreflect.Message
func (*CreateSshSessionResponse) Reset ¶
func (x *CreateSshSessionResponse) Reset()
func (*CreateSshSessionResponse) String ¶
func (x *CreateSshSessionResponse) String() string
type DeleteProviderProfileRequest ¶
type DeleteProviderProfileRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
Delete custom provider profile request.
func (*DeleteProviderProfileRequest) Descriptor
deprecated
func (*DeleteProviderProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProviderProfileRequest.ProtoReflect.Descriptor instead.
func (*DeleteProviderProfileRequest) GetId ¶
func (x *DeleteProviderProfileRequest) GetId() string
func (*DeleteProviderProfileRequest) ProtoMessage ¶
func (*DeleteProviderProfileRequest) ProtoMessage()
func (*DeleteProviderProfileRequest) ProtoReflect ¶
func (x *DeleteProviderProfileRequest) ProtoReflect() protoreflect.Message
func (*DeleteProviderProfileRequest) Reset ¶
func (x *DeleteProviderProfileRequest) Reset()
func (*DeleteProviderProfileRequest) String ¶
func (x *DeleteProviderProfileRequest) String() string
type DeleteProviderProfileResponse ¶
type DeleteProviderProfileResponse struct {
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
// contains filtered or unexported fields
}
Delete custom provider profile response.
func (*DeleteProviderProfileResponse) Descriptor
deprecated
func (*DeleteProviderProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProviderProfileResponse.ProtoReflect.Descriptor instead.
func (*DeleteProviderProfileResponse) GetDeleted ¶
func (x *DeleteProviderProfileResponse) GetDeleted() bool
func (*DeleteProviderProfileResponse) ProtoMessage ¶
func (*DeleteProviderProfileResponse) ProtoMessage()
func (*DeleteProviderProfileResponse) ProtoReflect ¶
func (x *DeleteProviderProfileResponse) ProtoReflect() protoreflect.Message
func (*DeleteProviderProfileResponse) Reset ¶
func (x *DeleteProviderProfileResponse) Reset()
func (*DeleteProviderProfileResponse) String ¶
func (x *DeleteProviderProfileResponse) String() string
type DeleteProviderRequest ¶
type DeleteProviderRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Delete provider request.
func (*DeleteProviderRequest) Descriptor
deprecated
func (*DeleteProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProviderRequest.ProtoReflect.Descriptor instead.
func (*DeleteProviderRequest) GetName ¶
func (x *DeleteProviderRequest) GetName() string
func (*DeleteProviderRequest) ProtoMessage ¶
func (*DeleteProviderRequest) ProtoMessage()
func (*DeleteProviderRequest) ProtoReflect ¶
func (x *DeleteProviderRequest) ProtoReflect() protoreflect.Message
func (*DeleteProviderRequest) Reset ¶
func (x *DeleteProviderRequest) Reset()
func (*DeleteProviderRequest) String ¶
func (x *DeleteProviderRequest) String() string
type DeleteProviderResponse ¶
type DeleteProviderResponse struct {
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
// contains filtered or unexported fields
}
Delete provider response.
func (*DeleteProviderResponse) Descriptor
deprecated
func (*DeleteProviderResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProviderResponse.ProtoReflect.Descriptor instead.
func (*DeleteProviderResponse) GetDeleted ¶
func (x *DeleteProviderResponse) GetDeleted() bool
func (*DeleteProviderResponse) ProtoMessage ¶
func (*DeleteProviderResponse) ProtoMessage()
func (*DeleteProviderResponse) ProtoReflect ¶
func (x *DeleteProviderResponse) ProtoReflect() protoreflect.Message
func (*DeleteProviderResponse) Reset ¶
func (x *DeleteProviderResponse) Reset()
func (*DeleteProviderResponse) String ¶
func (x *DeleteProviderResponse) String() string
type DeleteSandboxRequest ¶
type DeleteSandboxRequest struct {
// Sandbox name (canonical lookup key).
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Delete sandbox request.
func (*DeleteSandboxRequest) Descriptor
deprecated
func (*DeleteSandboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSandboxRequest.ProtoReflect.Descriptor instead.
func (*DeleteSandboxRequest) GetName ¶
func (x *DeleteSandboxRequest) GetName() string
func (*DeleteSandboxRequest) ProtoMessage ¶
func (*DeleteSandboxRequest) ProtoMessage()
func (*DeleteSandboxRequest) ProtoReflect ¶
func (x *DeleteSandboxRequest) ProtoReflect() protoreflect.Message
func (*DeleteSandboxRequest) Reset ¶
func (x *DeleteSandboxRequest) Reset()
func (*DeleteSandboxRequest) String ¶
func (x *DeleteSandboxRequest) String() string
type DeleteSandboxResponse ¶
type DeleteSandboxResponse struct {
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
// contains filtered or unexported fields
}
Delete sandbox response.
func (*DeleteSandboxResponse) Descriptor
deprecated
func (*DeleteSandboxResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSandboxResponse.ProtoReflect.Descriptor instead.
func (*DeleteSandboxResponse) GetDeleted ¶
func (x *DeleteSandboxResponse) GetDeleted() bool
func (*DeleteSandboxResponse) ProtoMessage ¶
func (*DeleteSandboxResponse) ProtoMessage()
func (*DeleteSandboxResponse) ProtoReflect ¶
func (x *DeleteSandboxResponse) ProtoReflect() protoreflect.Message
func (*DeleteSandboxResponse) Reset ¶
func (x *DeleteSandboxResponse) Reset()
func (*DeleteSandboxResponse) String ¶
func (x *DeleteSandboxResponse) String() string
type DeleteServiceRequest ¶
type DeleteServiceRequest struct {
// Sandbox name.
Sandbox string `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"`
// Service name within the sandbox. Empty selects the unnamed endpoint.
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
// contains filtered or unexported fields
}
Request to delete an exposed sandbox service endpoint.
func (*DeleteServiceRequest) Descriptor
deprecated
func (*DeleteServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceRequest) GetSandbox ¶
func (x *DeleteServiceRequest) GetSandbox() string
func (*DeleteServiceRequest) GetService ¶
func (x *DeleteServiceRequest) GetService() string
func (*DeleteServiceRequest) ProtoMessage ¶
func (*DeleteServiceRequest) ProtoMessage()
func (*DeleteServiceRequest) ProtoReflect ¶
func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Message
func (*DeleteServiceRequest) Reset ¶
func (x *DeleteServiceRequest) Reset()
func (*DeleteServiceRequest) String ¶
func (x *DeleteServiceRequest) String() string
type DeleteServiceResponse ¶
type DeleteServiceResponse struct {
// True when an endpoint existed and was deleted.
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
// contains filtered or unexported fields
}
Response for deleting an exposed sandbox service endpoint.
func (*DeleteServiceResponse) Descriptor
deprecated
func (*DeleteServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServiceResponse.ProtoReflect.Descriptor instead.
func (*DeleteServiceResponse) GetDeleted ¶
func (x *DeleteServiceResponse) GetDeleted() bool
func (*DeleteServiceResponse) ProtoMessage ¶
func (*DeleteServiceResponse) ProtoMessage()
func (*DeleteServiceResponse) ProtoReflect ¶
func (x *DeleteServiceResponse) ProtoReflect() protoreflect.Message
func (*DeleteServiceResponse) Reset ¶
func (x *DeleteServiceResponse) Reset()
func (*DeleteServiceResponse) String ¶
func (x *DeleteServiceResponse) String() string
type DenialSummary ¶
type DenialSummary struct {
// Sandbox ID that produced this summary.
SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// Denied destination host.
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
// Denied destination port.
Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
// Binary that attempted the connection.
Binary string `protobuf:"bytes,4,opt,name=binary,proto3" json:"binary,omitempty"`
// Process ancestor chain.
Ancestors []string `protobuf:"bytes,5,rep,name=ancestors,proto3" json:"ancestors,omitempty"`
// Denial reason from OPA evaluation.
DenyReason string `protobuf:"bytes,6,opt,name=deny_reason,json=denyReason,proto3" json:"deny_reason,omitempty"`
// First denial timestamp (ms since epoch).
FirstSeenMs int64 `protobuf:"varint,7,opt,name=first_seen_ms,json=firstSeenMs,proto3" json:"first_seen_ms,omitempty"`
// Most recent denial timestamp (ms since epoch).
LastSeenMs int64 `protobuf:"varint,8,opt,name=last_seen_ms,json=lastSeenMs,proto3" json:"last_seen_ms,omitempty"`
// Number of denials in the current window.
Count uint32 `protobuf:"varint,9,opt,name=count,proto3" json:"count,omitempty"`
// Events dropped during aggregator cooldown.
SuppressedCount uint32 `protobuf:"varint,10,opt,name=suppressed_count,json=suppressedCount,proto3" json:"suppressed_count,omitempty"`
// Cumulative lifetime count (never resets).
TotalCount uint32 `protobuf:"varint,11,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
// Distinct cmdline strings observed (sanitized of credentials).
SampleCmdlines []string `protobuf:"bytes,12,rep,name=sample_cmdlines,json=sampleCmdlines,proto3" json:"sample_cmdlines,omitempty"`
// SHA-256 of the binary for audit trail.
BinarySha256 string `protobuf:"bytes,13,opt,name=binary_sha256,json=binarySha256,proto3" json:"binary_sha256,omitempty"`
// True if emitted by stale-flush rather than threshold.
Persistent bool `protobuf:"varint,14,opt,name=persistent,proto3" json:"persistent,omitempty"`
// Denial category: "l4_deny", "l7_deny", "l7_audit", "ssrf".
DenialStage string `protobuf:"bytes,15,opt,name=denial_stage,json=denialStage,proto3" json:"denial_stage,omitempty"`
// Observed HTTP request patterns (from L7 inspection).
L7RequestSamples []*L7RequestSample `protobuf:"bytes,16,rep,name=l7_request_samples,json=l7RequestSamples,proto3" json:"l7_request_samples,omitempty"`
// True if L7 inspection was active during observation window.
L7InspectionActive bool `protobuf:"varint,17,opt,name=l7_inspection_active,json=l7InspectionActive,proto3" json:"l7_inspection_active,omitempty"`
// contains filtered or unexported fields
}
Structured denial summary from sandbox aggregator.
func (*DenialSummary) Descriptor
deprecated
func (*DenialSummary) Descriptor() ([]byte, []int)
Deprecated: Use DenialSummary.ProtoReflect.Descriptor instead.
func (*DenialSummary) GetAncestors ¶
func (x *DenialSummary) GetAncestors() []string
func (*DenialSummary) GetBinary ¶
func (x *DenialSummary) GetBinary() string
func (*DenialSummary) GetBinarySha256 ¶
func (x *DenialSummary) GetBinarySha256() string
func (*DenialSummary) GetCount ¶
func (x *DenialSummary) GetCount() uint32
func (*DenialSummary) GetDenialStage ¶
func (x *DenialSummary) GetDenialStage() string
func (*DenialSummary) GetDenyReason ¶
func (x *DenialSummary) GetDenyReason() string
func (*DenialSummary) GetFirstSeenMs ¶
func (x *DenialSummary) GetFirstSeenMs() int64
func (*DenialSummary) GetHost ¶
func (x *DenialSummary) GetHost() string
func (*DenialSummary) GetL7InspectionActive ¶
func (x *DenialSummary) GetL7InspectionActive() bool
func (*DenialSummary) GetL7RequestSamples ¶
func (x *DenialSummary) GetL7RequestSamples() []*L7RequestSample
func (*DenialSummary) GetLastSeenMs ¶
func (x *DenialSummary) GetLastSeenMs() int64
func (*DenialSummary) GetPersistent ¶
func (x *DenialSummary) GetPersistent() bool
func (*DenialSummary) GetPort ¶
func (x *DenialSummary) GetPort() uint32
func (*DenialSummary) GetSampleCmdlines ¶
func (x *DenialSummary) GetSampleCmdlines() []string
func (*DenialSummary) GetSandboxId ¶
func (x *DenialSummary) GetSandboxId() string
func (*DenialSummary) GetSuppressedCount ¶
func (x *DenialSummary) GetSuppressedCount() uint32
func (*DenialSummary) GetTotalCount ¶
func (x *DenialSummary) GetTotalCount() uint32
func (*DenialSummary) ProtoMessage ¶
func (*DenialSummary) ProtoMessage()
func (*DenialSummary) ProtoReflect ¶
func (x *DenialSummary) ProtoReflect() protoreflect.Message
func (*DenialSummary) Reset ¶
func (x *DenialSummary) Reset()
func (*DenialSummary) String ¶
func (x *DenialSummary) String() string
type DetachSandboxProviderRequest ¶
type DetachSandboxProviderRequest struct {
// Sandbox name (canonical lookup key).
SandboxName string `protobuf:"bytes,1,opt,name=sandbox_name,json=sandboxName,proto3" json:"sandbox_name,omitempty"`
// Provider name to detach.
ProviderName string `protobuf:"bytes,2,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"`
// Expected resource version for optimistic concurrency control.
// If 0, the server uses the current version (backward compatibility).
// If non-zero, the server validates that the sandbox's current resource_version
// matches this value before applying the mutation, returning ABORTED on mismatch.
ExpectedResourceVersion uint64 `` /* 133-byte string literal not displayed */
// contains filtered or unexported fields
}
Detach provider from sandbox request.
func (*DetachSandboxProviderRequest) Descriptor
deprecated
func (*DetachSandboxProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetachSandboxProviderRequest.ProtoReflect.Descriptor instead.
func (*DetachSandboxProviderRequest) GetExpectedResourceVersion ¶
func (x *DetachSandboxProviderRequest) GetExpectedResourceVersion() uint64
func (*DetachSandboxProviderRequest) GetProviderName ¶
func (x *DetachSandboxProviderRequest) GetProviderName() string
func (*DetachSandboxProviderRequest) GetSandboxName ¶
func (x *DetachSandboxProviderRequest) GetSandboxName() string
func (*DetachSandboxProviderRequest) ProtoMessage ¶
func (*DetachSandboxProviderRequest) ProtoMessage()
func (*DetachSandboxProviderRequest) ProtoReflect ¶
func (x *DetachSandboxProviderRequest) ProtoReflect() protoreflect.Message
func (*DetachSandboxProviderRequest) Reset ¶
func (x *DetachSandboxProviderRequest) Reset()
func (*DetachSandboxProviderRequest) String ¶
func (x *DetachSandboxProviderRequest) String() string
type DetachSandboxProviderResponse ¶
type DetachSandboxProviderResponse struct {
Sandbox *Sandbox `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"`
// True when the provider was removed. False means it was not attached.
Detached bool `protobuf:"varint,2,opt,name=detached,proto3" json:"detached,omitempty"`
// contains filtered or unexported fields
}
Detach provider from sandbox response.
func (*DetachSandboxProviderResponse) Descriptor
deprecated
func (*DetachSandboxProviderResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetachSandboxProviderResponse.ProtoReflect.Descriptor instead.
func (*DetachSandboxProviderResponse) GetDetached ¶
func (x *DetachSandboxProviderResponse) GetDetached() bool
func (*DetachSandboxProviderResponse) GetSandbox ¶
func (x *DetachSandboxProviderResponse) GetSandbox() *Sandbox
func (*DetachSandboxProviderResponse) ProtoMessage ¶
func (*DetachSandboxProviderResponse) ProtoMessage()
func (*DetachSandboxProviderResponse) ProtoReflect ¶
func (x *DetachSandboxProviderResponse) ProtoReflect() protoreflect.Message
func (*DetachSandboxProviderResponse) Reset ¶
func (x *DetachSandboxProviderResponse) Reset()
func (*DetachSandboxProviderResponse) String ¶
func (x *DetachSandboxProviderResponse) String() string
type DraftChunkPayload ¶
type DraftChunkPayload struct {
// Proposed network_policies map key.
RuleName string `protobuf:"bytes,1,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
// Proposed network policy rule.
ProposedRule *sandboxv1.NetworkPolicyRule `protobuf:"bytes,2,opt,name=proposed_rule,json=proposedRule,proto3" json:"proposed_rule,omitempty"`
// Human-readable explanation of why this rule is proposed.
Rationale string `protobuf:"bytes,3,opt,name=rationale,proto3" json:"rationale,omitempty"`
// Security concerns flagged by analysis (empty if none).
SecurityNotes string `protobuf:"bytes,4,opt,name=security_notes,json=securityNotes,proto3" json:"security_notes,omitempty"`
// Analysis confidence (0.0-1.0). 0 for mechanistic mode.
Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
// When the user approved/rejected (ms since epoch). 0 if undecided.
DecidedAtMs int64 `protobuf:"varint,6,opt,name=decided_at_ms,json=decidedAtMs,proto3" json:"decided_at_ms,omitempty"`
// Denormalized endpoint host for dedup and display.
Host string `protobuf:"bytes,7,opt,name=host,proto3" json:"host,omitempty"`
// Denormalized endpoint port for dedup and display.
Port int32 `protobuf:"varint,8,opt,name=port,proto3" json:"port,omitempty"`
// Binary path that triggered the denial.
Binary string `protobuf:"bytes,9,opt,name=binary,proto3" json:"binary,omitempty"`
// Current draft version for the owning sandbox.
DraftVersion int64 `protobuf:"varint,10,opt,name=draft_version,json=draftVersion,proto3" json:"draft_version,omitempty"`
// Gateway prover verdict for this chunk; empty until prover runs.
// Mirrors PolicyChunk.validation_result.
ValidationResult string `protobuf:"bytes,11,opt,name=validation_result,json=validationResult,proto3" json:"validation_result,omitempty"`
// Operator-supplied free-form rejection text; empty for non-rejected
// chunks. Mirrors PolicyChunk.rejection_reason.
RejectionReason string `protobuf:"bytes,12,opt,name=rejection_reason,json=rejectionReason,proto3" json:"rejection_reason,omitempty"`
// contains filtered or unexported fields
}
Stored payload for a draft policy chunk row in the generic objects table.
func (*DraftChunkPayload) Descriptor
deprecated
func (*DraftChunkPayload) Descriptor() ([]byte, []int)
Deprecated: Use DraftChunkPayload.ProtoReflect.Descriptor instead.
func (*DraftChunkPayload) GetBinary ¶
func (x *DraftChunkPayload) GetBinary() string
func (*DraftChunkPayload) GetConfidence ¶
func (x *DraftChunkPayload) GetConfidence() float32
func (*DraftChunkPayload) GetDecidedAtMs ¶
func (x *DraftChunkPayload) GetDecidedAtMs() int64
func (*DraftChunkPayload) GetDraftVersion ¶
func (x *DraftChunkPayload) GetDraftVersion() int64
func (*DraftChunkPayload) GetHost ¶
func (x *DraftChunkPayload) GetHost() string
func (*DraftChunkPayload) GetPort ¶
func (x *DraftChunkPayload) GetPort() int32
func (*DraftChunkPayload) GetProposedRule ¶
func (x *DraftChunkPayload) GetProposedRule() *sandboxv1.NetworkPolicyRule
func (*DraftChunkPayload) GetRationale ¶
func (x *DraftChunkPayload) GetRationale() string
func (*DraftChunkPayload) GetRejectionReason ¶
func (x *DraftChunkPayload) GetRejectionReason() string
func (*DraftChunkPayload) GetRuleName ¶
func (x *DraftChunkPayload) GetRuleName() string
func (*DraftChunkPayload) GetSecurityNotes ¶
func (x *DraftChunkPayload) GetSecurityNotes() string
func (*DraftChunkPayload) GetValidationResult ¶
func (x *DraftChunkPayload) GetValidationResult() string
func (*DraftChunkPayload) ProtoMessage ¶
func (*DraftChunkPayload) ProtoMessage()
func (*DraftChunkPayload) ProtoReflect ¶
func (x *DraftChunkPayload) ProtoReflect() protoreflect.Message
func (*DraftChunkPayload) Reset ¶
func (x *DraftChunkPayload) Reset()
func (*DraftChunkPayload) String ¶
func (x *DraftChunkPayload) String() string
type DraftHistoryEntry ¶
type DraftHistoryEntry struct {
// Event timestamp (ms since epoch).
TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"`
// Event type: "denial_detected", "analysis_cycle", "approved",
// "rejected", "edited", "undone", "cleared".
EventType string `protobuf:"bytes,2,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
// Human-readable description.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Associated chunk ID (if applicable).
ChunkId string `protobuf:"bytes,4,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"`
// contains filtered or unexported fields
}
func (*DraftHistoryEntry) Descriptor
deprecated
func (*DraftHistoryEntry) Descriptor() ([]byte, []int)
Deprecated: Use DraftHistoryEntry.ProtoReflect.Descriptor instead.
func (*DraftHistoryEntry) GetChunkId ¶
func (x *DraftHistoryEntry) GetChunkId() string
func (*DraftHistoryEntry) GetDescription ¶
func (x *DraftHistoryEntry) GetDescription() string
func (*DraftHistoryEntry) GetEventType ¶
func (x *DraftHistoryEntry) GetEventType() string
func (*DraftHistoryEntry) GetTimestampMs ¶
func (x *DraftHistoryEntry) GetTimestampMs() int64
func (*DraftHistoryEntry) ProtoMessage ¶
func (*DraftHistoryEntry) ProtoMessage()
func (*DraftHistoryEntry) ProtoReflect ¶
func (x *DraftHistoryEntry) ProtoReflect() protoreflect.Message
func (*DraftHistoryEntry) Reset ¶
func (x *DraftHistoryEntry) Reset()
func (*DraftHistoryEntry) String ¶
func (x *DraftHistoryEntry) String() string
type DraftPolicyUpdate ¶
type DraftPolicyUpdate struct {
// Current draft version.
DraftVersion uint64 `protobuf:"varint,1,opt,name=draft_version,json=draftVersion,proto3" json:"draft_version,omitempty"`
// Number of new chunks added in this update.
NewChunks uint32 `protobuf:"varint,2,opt,name=new_chunks,json=newChunks,proto3" json:"new_chunks,omitempty"`
// Total pending chunks awaiting approval.
TotalPending uint32 `protobuf:"varint,3,opt,name=total_pending,json=totalPending,proto3" json:"total_pending,omitempty"`
// Brief description of what changed.
Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
// contains filtered or unexported fields
}
Notification that the draft policy was updated.
func (*DraftPolicyUpdate) Descriptor
deprecated
func (*DraftPolicyUpdate) Descriptor() ([]byte, []int)
Deprecated: Use DraftPolicyUpdate.ProtoReflect.Descriptor instead.
func (*DraftPolicyUpdate) GetDraftVersion ¶
func (x *DraftPolicyUpdate) GetDraftVersion() uint64
func (*DraftPolicyUpdate) GetNewChunks ¶
func (x *DraftPolicyUpdate) GetNewChunks() uint32
func (*DraftPolicyUpdate) GetSummary ¶
func (x *DraftPolicyUpdate) GetSummary() string
func (*DraftPolicyUpdate) GetTotalPending ¶
func (x *DraftPolicyUpdate) GetTotalPending() uint32
func (*DraftPolicyUpdate) ProtoMessage ¶
func (*DraftPolicyUpdate) ProtoMessage()
func (*DraftPolicyUpdate) ProtoReflect ¶
func (x *DraftPolicyUpdate) ProtoReflect() protoreflect.Message
func (*DraftPolicyUpdate) Reset ¶
func (x *DraftPolicyUpdate) Reset()
func (*DraftPolicyUpdate) String ¶
func (x *DraftPolicyUpdate) String() string
type EditDraftChunkRequest ¶
type EditDraftChunkRequest struct {
// Sandbox name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Chunk ID to edit.
ChunkId string `protobuf:"bytes,2,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"`
// The modified rule (replaces existing proposed_rule).
ProposedRule *sandboxv1.NetworkPolicyRule `protobuf:"bytes,3,opt,name=proposed_rule,json=proposedRule,proto3" json:"proposed_rule,omitempty"`
// contains filtered or unexported fields
}
Edit a pending chunk in-place.
func (*EditDraftChunkRequest) Descriptor
deprecated
func (*EditDraftChunkRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditDraftChunkRequest.ProtoReflect.Descriptor instead.
func (*EditDraftChunkRequest) GetChunkId ¶
func (x *EditDraftChunkRequest) GetChunkId() string
func (*EditDraftChunkRequest) GetName ¶
func (x *EditDraftChunkRequest) GetName() string
func (*EditDraftChunkRequest) GetProposedRule ¶
func (x *EditDraftChunkRequest) GetProposedRule() *sandboxv1.NetworkPolicyRule
func (*EditDraftChunkRequest) ProtoMessage ¶
func (*EditDraftChunkRequest) ProtoMessage()
func (*EditDraftChunkRequest) ProtoReflect ¶
func (x *EditDraftChunkRequest) ProtoReflect() protoreflect.Message
func (*EditDraftChunkRequest) Reset ¶
func (x *EditDraftChunkRequest) Reset()
func (*EditDraftChunkRequest) String ¶
func (x *EditDraftChunkRequest) String() string
type EditDraftChunkResponse ¶
type EditDraftChunkResponse struct {
// contains filtered or unexported fields
}
func (*EditDraftChunkResponse) Descriptor
deprecated
func (*EditDraftChunkResponse) Descriptor() ([]byte, []int)
Deprecated: Use EditDraftChunkResponse.ProtoReflect.Descriptor instead.
func (*EditDraftChunkResponse) ProtoMessage ¶
func (*EditDraftChunkResponse) ProtoMessage()
func (*EditDraftChunkResponse) ProtoReflect ¶
func (x *EditDraftChunkResponse) ProtoReflect() protoreflect.Message
func (*EditDraftChunkResponse) Reset ¶
func (x *EditDraftChunkResponse) Reset()
func (*EditDraftChunkResponse) String ¶
func (x *EditDraftChunkResponse) String() string
type ExecSandboxEvent ¶
type ExecSandboxEvent struct {
// Types that are valid to be assigned to Payload:
//
// *ExecSandboxEvent_Stdout
// *ExecSandboxEvent_Stderr
// *ExecSandboxEvent_Exit
Payload isExecSandboxEvent_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
One event in a sandbox exec stream.
func (*ExecSandboxEvent) Descriptor
deprecated
func (*ExecSandboxEvent) Descriptor() ([]byte, []int)
Deprecated: Use ExecSandboxEvent.ProtoReflect.Descriptor instead.
func (*ExecSandboxEvent) GetExit ¶
func (x *ExecSandboxEvent) GetExit() *ExecSandboxExit
func (*ExecSandboxEvent) GetPayload ¶
func (x *ExecSandboxEvent) GetPayload() isExecSandboxEvent_Payload
func (*ExecSandboxEvent) GetStderr ¶
func (x *ExecSandboxEvent) GetStderr() *ExecSandboxStderr
func (*ExecSandboxEvent) GetStdout ¶
func (x *ExecSandboxEvent) GetStdout() *ExecSandboxStdout
func (*ExecSandboxEvent) ProtoMessage ¶
func (*ExecSandboxEvent) ProtoMessage()
func (*ExecSandboxEvent) ProtoReflect ¶
func (x *ExecSandboxEvent) ProtoReflect() protoreflect.Message
func (*ExecSandboxEvent) Reset ¶
func (x *ExecSandboxEvent) Reset()
func (*ExecSandboxEvent) String ¶
func (x *ExecSandboxEvent) String() string
type ExecSandboxEvent_Exit ¶
type ExecSandboxEvent_Exit struct {
Exit *ExecSandboxExit `protobuf:"bytes,3,opt,name=exit,proto3,oneof"`
}
type ExecSandboxEvent_Stderr ¶
type ExecSandboxEvent_Stderr struct {
Stderr *ExecSandboxStderr `protobuf:"bytes,2,opt,name=stderr,proto3,oneof"`
}
type ExecSandboxEvent_Stdout ¶
type ExecSandboxEvent_Stdout struct {
Stdout *ExecSandboxStdout `protobuf:"bytes,1,opt,name=stdout,proto3,oneof"`
}
type ExecSandboxExit ¶
type ExecSandboxExit struct {
ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
// contains filtered or unexported fields
}
Final exit status for a sandbox exec.
func (*ExecSandboxExit) Descriptor
deprecated
func (*ExecSandboxExit) Descriptor() ([]byte, []int)
Deprecated: Use ExecSandboxExit.ProtoReflect.Descriptor instead.
func (*ExecSandboxExit) GetExitCode ¶
func (x *ExecSandboxExit) GetExitCode() int32
func (*ExecSandboxExit) ProtoMessage ¶
func (*ExecSandboxExit) ProtoMessage()
func (*ExecSandboxExit) ProtoReflect ¶
func (x *ExecSandboxExit) ProtoReflect() protoreflect.Message
func (*ExecSandboxExit) Reset ¶
func (x *ExecSandboxExit) Reset()
func (*ExecSandboxExit) String ¶
func (x *ExecSandboxExit) String() string
type ExecSandboxInput ¶
type ExecSandboxInput struct {
// Types that are valid to be assigned to Payload:
//
// *ExecSandboxInput_Start
// *ExecSandboxInput_Stdin
// *ExecSandboxInput_Resize
Payload isExecSandboxInput_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
Client-to-server message for interactive exec.
func (*ExecSandboxInput) Descriptor
deprecated
func (*ExecSandboxInput) Descriptor() ([]byte, []int)
Deprecated: Use ExecSandboxInput.ProtoReflect.Descriptor instead.
func (*ExecSandboxInput) GetPayload ¶
func (x *ExecSandboxInput) GetPayload() isExecSandboxInput_Payload
func (*ExecSandboxInput) GetResize ¶
func (x *ExecSandboxInput) GetResize() *ExecSandboxWindowResize
func (*ExecSandboxInput) GetStart ¶
func (x *ExecSandboxInput) GetStart() *ExecSandboxRequest
func (*ExecSandboxInput) GetStdin ¶
func (x *ExecSandboxInput) GetStdin() []byte
func (*ExecSandboxInput) ProtoMessage ¶
func (*ExecSandboxInput) ProtoMessage()
func (*ExecSandboxInput) ProtoReflect ¶
func (x *ExecSandboxInput) ProtoReflect() protoreflect.Message
func (*ExecSandboxInput) Reset ¶
func (x *ExecSandboxInput) Reset()
func (*ExecSandboxInput) String ¶
func (x *ExecSandboxInput) String() string
type ExecSandboxInput_Resize ¶
type ExecSandboxInput_Resize struct {
// Terminal window size change.
Resize *ExecSandboxWindowResize `protobuf:"bytes,3,opt,name=resize,proto3,oneof"`
}
type ExecSandboxInput_Start ¶
type ExecSandboxInput_Start struct {
// First message: exec request metadata.
Start *ExecSandboxRequest `protobuf:"bytes,1,opt,name=start,proto3,oneof"`
}
type ExecSandboxInput_Stdin ¶
type ExecSandboxInput_Stdin struct {
// Subsequent messages: raw stdin bytes.
Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3,oneof"`
}
type ExecSandboxRequest ¶
type ExecSandboxRequest struct {
// Sandbox id.
SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// Command and arguments.
Command []string `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"`
// Optional working directory.
Workdir string `protobuf:"bytes,3,opt,name=workdir,proto3" json:"workdir,omitempty"`
// Optional environment overrides.
Environment map[string]string `` /* 149-byte string literal not displayed */
// Optional timeout in seconds. 0 means no timeout.
TimeoutSeconds uint32 `protobuf:"varint,5,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
// Optional stdin payload passed to the command.
Stdin []byte `protobuf:"bytes,6,opt,name=stdin,proto3" json:"stdin,omitempty"`
// Request a pseudo-terminal for the remote command.
Tty bool `protobuf:"varint,7,opt,name=tty,proto3" json:"tty,omitempty"`
// Initial terminal columns (used when tty=true, 0 = use default).
Cols uint32 `protobuf:"varint,8,opt,name=cols,proto3" json:"cols,omitempty"`
// Initial terminal rows (used when tty=true, 0 = use default).
Rows uint32 `protobuf:"varint,9,opt,name=rows,proto3" json:"rows,omitempty"`
// contains filtered or unexported fields
}
Execute command request.
func (*ExecSandboxRequest) Descriptor
deprecated
func (*ExecSandboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecSandboxRequest.ProtoReflect.Descriptor instead.
func (*ExecSandboxRequest) GetCols ¶
func (x *ExecSandboxRequest) GetCols() uint32
func (*ExecSandboxRequest) GetCommand ¶
func (x *ExecSandboxRequest) GetCommand() []string
func (*ExecSandboxRequest) GetEnvironment ¶
func (x *ExecSandboxRequest) GetEnvironment() map[string]string
func (*ExecSandboxRequest) GetRows ¶
func (x *ExecSandboxRequest) GetRows() uint32
func (*ExecSandboxRequest) GetSandboxId ¶
func (x *ExecSandboxRequest) GetSandboxId() string
func (*ExecSandboxRequest) GetStdin ¶
func (x *ExecSandboxRequest) GetStdin() []byte
func (*ExecSandboxRequest) GetTimeoutSeconds ¶
func (x *ExecSandboxRequest) GetTimeoutSeconds() uint32
func (*ExecSandboxRequest) GetTty ¶
func (x *ExecSandboxRequest) GetTty() bool
func (*ExecSandboxRequest) GetWorkdir ¶
func (x *ExecSandboxRequest) GetWorkdir() string
func (*ExecSandboxRequest) ProtoMessage ¶
func (*ExecSandboxRequest) ProtoMessage()
func (*ExecSandboxRequest) ProtoReflect ¶
func (x *ExecSandboxRequest) ProtoReflect() protoreflect.Message
func (*ExecSandboxRequest) Reset ¶
func (x *ExecSandboxRequest) Reset()
func (*ExecSandboxRequest) String ¶
func (x *ExecSandboxRequest) String() string
type ExecSandboxStderr ¶
type ExecSandboxStderr struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
One stderr chunk from a sandbox exec.
func (*ExecSandboxStderr) Descriptor
deprecated
func (*ExecSandboxStderr) Descriptor() ([]byte, []int)
Deprecated: Use ExecSandboxStderr.ProtoReflect.Descriptor instead.
func (*ExecSandboxStderr) GetData ¶
func (x *ExecSandboxStderr) GetData() []byte
func (*ExecSandboxStderr) ProtoMessage ¶
func (*ExecSandboxStderr) ProtoMessage()
func (*ExecSandboxStderr) ProtoReflect ¶
func (x *ExecSandboxStderr) ProtoReflect() protoreflect.Message
func (*ExecSandboxStderr) Reset ¶
func (x *ExecSandboxStderr) Reset()
func (*ExecSandboxStderr) String ¶
func (x *ExecSandboxStderr) String() string
type ExecSandboxStdout ¶
type ExecSandboxStdout struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
One stdout chunk from a sandbox exec.
func (*ExecSandboxStdout) Descriptor
deprecated
func (*ExecSandboxStdout) Descriptor() ([]byte, []int)
Deprecated: Use ExecSandboxStdout.ProtoReflect.Descriptor instead.
func (*ExecSandboxStdout) GetData ¶
func (x *ExecSandboxStdout) GetData() []byte
func (*ExecSandboxStdout) ProtoMessage ¶
func (*ExecSandboxStdout) ProtoMessage()
func (*ExecSandboxStdout) ProtoReflect ¶
func (x *ExecSandboxStdout) ProtoReflect() protoreflect.Message
func (*ExecSandboxStdout) Reset ¶
func (x *ExecSandboxStdout) Reset()
func (*ExecSandboxStdout) String ¶
func (x *ExecSandboxStdout) String() string
type ExecSandboxWindowResize ¶
type ExecSandboxWindowResize struct {
Cols uint32 `protobuf:"varint,1,opt,name=cols,proto3" json:"cols,omitempty"`
Rows uint32 `protobuf:"varint,2,opt,name=rows,proto3" json:"rows,omitempty"`
// contains filtered or unexported fields
}
Terminal window resize event for interactive exec.
func (*ExecSandboxWindowResize) Descriptor
deprecated
func (*ExecSandboxWindowResize) Descriptor() ([]byte, []int)
Deprecated: Use ExecSandboxWindowResize.ProtoReflect.Descriptor instead.
func (*ExecSandboxWindowResize) GetCols ¶
func (x *ExecSandboxWindowResize) GetCols() uint32
func (*ExecSandboxWindowResize) GetRows ¶
func (x *ExecSandboxWindowResize) GetRows() uint32
func (*ExecSandboxWindowResize) ProtoMessage ¶
func (*ExecSandboxWindowResize) ProtoMessage()
func (*ExecSandboxWindowResize) ProtoReflect ¶
func (x *ExecSandboxWindowResize) ProtoReflect() protoreflect.Message
func (*ExecSandboxWindowResize) Reset ¶
func (x *ExecSandboxWindowResize) Reset()
func (*ExecSandboxWindowResize) String ¶
func (x *ExecSandboxWindowResize) String() string
type ExposeServiceRequest ¶
type ExposeServiceRequest struct {
// Sandbox name.
Sandbox string `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"`
// Service name within the sandbox.
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
// Loopback TCP port inside the sandbox.
TargetPort uint32 `protobuf:"varint,3,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"`
// Whether to print/use the browser-facing service URL.
Domain bool `protobuf:"varint,4,opt,name=domain,proto3" json:"domain,omitempty"`
// contains filtered or unexported fields
}
Request to expose an HTTP service running inside a sandbox.
func (*ExposeServiceRequest) Descriptor
deprecated
func (*ExposeServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExposeServiceRequest.ProtoReflect.Descriptor instead.
func (*ExposeServiceRequest) GetDomain ¶
func (x *ExposeServiceRequest) GetDomain() bool
func (*ExposeServiceRequest) GetSandbox ¶
func (x *ExposeServiceRequest) GetSandbox() string
func (*ExposeServiceRequest) GetService ¶
func (x *ExposeServiceRequest) GetService() string
func (*ExposeServiceRequest) GetTargetPort ¶
func (x *ExposeServiceRequest) GetTargetPort() uint32
func (*ExposeServiceRequest) ProtoMessage ¶
func (*ExposeServiceRequest) ProtoMessage()
func (*ExposeServiceRequest) ProtoReflect ¶
func (x *ExposeServiceRequest) ProtoReflect() protoreflect.Message
func (*ExposeServiceRequest) Reset ¶
func (x *ExposeServiceRequest) Reset()
func (*ExposeServiceRequest) String ¶
func (x *ExposeServiceRequest) String() string
type GatewayHeartbeat ¶
type GatewayHeartbeat struct {
// contains filtered or unexported fields
}
Gateway heartbeat.
func (*GatewayHeartbeat) Descriptor
deprecated
func (*GatewayHeartbeat) Descriptor() ([]byte, []int)
Deprecated: Use GatewayHeartbeat.ProtoReflect.Descriptor instead.
func (*GatewayHeartbeat) ProtoMessage ¶
func (*GatewayHeartbeat) ProtoMessage()
func (*GatewayHeartbeat) ProtoReflect ¶
func (x *GatewayHeartbeat) ProtoReflect() protoreflect.Message
func (*GatewayHeartbeat) Reset ¶
func (x *GatewayHeartbeat) Reset()
func (*GatewayHeartbeat) String ¶
func (x *GatewayHeartbeat) String() string
type GatewayMessage ¶
type GatewayMessage struct {
// Types that are valid to be assigned to Payload:
//
// *GatewayMessage_SessionAccepted
// *GatewayMessage_SessionRejected
// *GatewayMessage_Heartbeat
// *GatewayMessage_RelayOpen
// *GatewayMessage_RelayClose
Payload isGatewayMessage_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
Envelope for gateway-to-supervisor messages on the ConnectSupervisor stream.
func (*GatewayMessage) Descriptor
deprecated
func (*GatewayMessage) Descriptor() ([]byte, []int)
Deprecated: Use GatewayMessage.ProtoReflect.Descriptor instead.
func (*GatewayMessage) GetHeartbeat ¶
func (x *GatewayMessage) GetHeartbeat() *GatewayHeartbeat
func (*GatewayMessage) GetPayload ¶
func (x *GatewayMessage) GetPayload() isGatewayMessage_Payload
func (*GatewayMessage) GetRelayClose ¶
func (x *GatewayMessage) GetRelayClose() *RelayClose
func (*GatewayMessage) GetRelayOpen ¶
func (x *GatewayMessage) GetRelayOpen() *RelayOpen
func (*GatewayMessage) GetSessionAccepted ¶
func (x *GatewayMessage) GetSessionAccepted() *SessionAccepted
func (*GatewayMessage) GetSessionRejected ¶
func (x *GatewayMessage) GetSessionRejected() *SessionRejected
func (*GatewayMessage) ProtoMessage ¶
func (*GatewayMessage) ProtoMessage()
func (*GatewayMessage) ProtoReflect ¶
func (x *GatewayMessage) ProtoReflect() protoreflect.Message
func (*GatewayMessage) Reset ¶
func (x *GatewayMessage) Reset()
func (*GatewayMessage) String ¶
func (x *GatewayMessage) String() string
type GatewayMessage_Heartbeat ¶
type GatewayMessage_Heartbeat struct {
Heartbeat *GatewayHeartbeat `protobuf:"bytes,3,opt,name=heartbeat,proto3,oneof"`
}
type GatewayMessage_RelayClose ¶
type GatewayMessage_RelayClose struct {
RelayClose *RelayClose `protobuf:"bytes,5,opt,name=relay_close,json=relayClose,proto3,oneof"`
}
type GatewayMessage_RelayOpen ¶
type GatewayMessage_RelayOpen struct {
RelayOpen *RelayOpen `protobuf:"bytes,4,opt,name=relay_open,json=relayOpen,proto3,oneof"`
}
type GatewayMessage_SessionAccepted ¶
type GatewayMessage_SessionAccepted struct {
SessionAccepted *SessionAccepted `protobuf:"bytes,1,opt,name=session_accepted,json=sessionAccepted,proto3,oneof"`
}
type GatewayMessage_SessionRejected ¶
type GatewayMessage_SessionRejected struct {
SessionRejected *SessionRejected `protobuf:"bytes,2,opt,name=session_rejected,json=sessionRejected,proto3,oneof"`
}
type GetDraftHistoryRequest ¶
type GetDraftHistoryRequest struct {
// Sandbox name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Get decision history for a sandbox's draft policy.
func (*GetDraftHistoryRequest) Descriptor
deprecated
func (*GetDraftHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDraftHistoryRequest.ProtoReflect.Descriptor instead.
func (*GetDraftHistoryRequest) GetName ¶
func (x *GetDraftHistoryRequest) GetName() string
func (*GetDraftHistoryRequest) ProtoMessage ¶
func (*GetDraftHistoryRequest) ProtoMessage()
func (*GetDraftHistoryRequest) ProtoReflect ¶
func (x *GetDraftHistoryRequest) ProtoReflect() protoreflect.Message
func (*GetDraftHistoryRequest) Reset ¶
func (x *GetDraftHistoryRequest) Reset()
func (*GetDraftHistoryRequest) String ¶
func (x *GetDraftHistoryRequest) String() string
type GetDraftHistoryResponse ¶
type GetDraftHistoryResponse struct {
// Chronological decision history.
Entries []*DraftHistoryEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
// contains filtered or unexported fields
}
func (*GetDraftHistoryResponse) Descriptor
deprecated
func (*GetDraftHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDraftHistoryResponse.ProtoReflect.Descriptor instead.
func (*GetDraftHistoryResponse) GetEntries ¶
func (x *GetDraftHistoryResponse) GetEntries() []*DraftHistoryEntry
func (*GetDraftHistoryResponse) ProtoMessage ¶
func (*GetDraftHistoryResponse) ProtoMessage()
func (*GetDraftHistoryResponse) ProtoReflect ¶
func (x *GetDraftHistoryResponse) ProtoReflect() protoreflect.Message
func (*GetDraftHistoryResponse) Reset ¶
func (x *GetDraftHistoryResponse) Reset()
func (*GetDraftHistoryResponse) String ¶
func (x *GetDraftHistoryResponse) String() string
type GetDraftPolicyRequest ¶
type GetDraftPolicyRequest struct {
// Sandbox name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional status filter: "pending", "approved", "rejected", or "" for all.
StatusFilter string `protobuf:"bytes,2,opt,name=status_filter,json=statusFilter,proto3" json:"status_filter,omitempty"`
// contains filtered or unexported fields
}
Get draft policy for a sandbox.
func (*GetDraftPolicyRequest) Descriptor
deprecated
func (*GetDraftPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDraftPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetDraftPolicyRequest) GetName ¶
func (x *GetDraftPolicyRequest) GetName() string
func (*GetDraftPolicyRequest) GetStatusFilter ¶
func (x *GetDraftPolicyRequest) GetStatusFilter() string
func (*GetDraftPolicyRequest) ProtoMessage ¶
func (*GetDraftPolicyRequest) ProtoMessage()
func (*GetDraftPolicyRequest) ProtoReflect ¶
func (x *GetDraftPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetDraftPolicyRequest) Reset ¶
func (x *GetDraftPolicyRequest) Reset()
func (*GetDraftPolicyRequest) String ¶
func (x *GetDraftPolicyRequest) String() string
type GetDraftPolicyResponse ¶
type GetDraftPolicyResponse struct {
// Draft policy chunks.
Chunks []*PolicyChunk `protobuf:"bytes,1,rep,name=chunks,proto3" json:"chunks,omitempty"`
// LLM-generated summary of all analysis (empty in mechanistic mode).
RollingSummary string `protobuf:"bytes,2,opt,name=rolling_summary,json=rollingSummary,proto3" json:"rolling_summary,omitempty"`
// Current draft version.
DraftVersion uint64 `protobuf:"varint,3,opt,name=draft_version,json=draftVersion,proto3" json:"draft_version,omitempty"`
// When the last analysis completed (ms since epoch).
LastAnalyzedAtMs int64 `protobuf:"varint,4,opt,name=last_analyzed_at_ms,json=lastAnalyzedAtMs,proto3" json:"last_analyzed_at_ms,omitempty"`
// contains filtered or unexported fields
}
func (*GetDraftPolicyResponse) Descriptor
deprecated
func (*GetDraftPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDraftPolicyResponse.ProtoReflect.Descriptor instead.
func (*GetDraftPolicyResponse) GetChunks ¶
func (x *GetDraftPolicyResponse) GetChunks() []*PolicyChunk
func (*GetDraftPolicyResponse) GetDraftVersion ¶
func (x *GetDraftPolicyResponse) GetDraftVersion() uint64
func (*GetDraftPolicyResponse) GetLastAnalyzedAtMs ¶
func (x *GetDraftPolicyResponse) GetLastAnalyzedAtMs() int64
func (*GetDraftPolicyResponse) GetRollingSummary ¶
func (x *GetDraftPolicyResponse) GetRollingSummary() string
func (*GetDraftPolicyResponse) ProtoMessage ¶
func (*GetDraftPolicyResponse) ProtoMessage()
func (*GetDraftPolicyResponse) ProtoReflect ¶
func (x *GetDraftPolicyResponse) ProtoReflect() protoreflect.Message
func (*GetDraftPolicyResponse) Reset ¶
func (x *GetDraftPolicyResponse) Reset()
func (*GetDraftPolicyResponse) String ¶
func (x *GetDraftPolicyResponse) String() string
type GetProviderProfileRequest ¶
type GetProviderProfileRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
Fetch provider type profile request.
func (*GetProviderProfileRequest) Descriptor
deprecated
func (*GetProviderProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProviderProfileRequest.ProtoReflect.Descriptor instead.
func (*GetProviderProfileRequest) GetId ¶
func (x *GetProviderProfileRequest) GetId() string
func (*GetProviderProfileRequest) ProtoMessage ¶
func (*GetProviderProfileRequest) ProtoMessage()
func (*GetProviderProfileRequest) ProtoReflect ¶
func (x *GetProviderProfileRequest) ProtoReflect() protoreflect.Message
func (*GetProviderProfileRequest) Reset ¶
func (x *GetProviderProfileRequest) Reset()
func (*GetProviderProfileRequest) String ¶
func (x *GetProviderProfileRequest) String() string
type GetProviderRequest ¶
type GetProviderRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Get provider request.
func (*GetProviderRequest) Descriptor
deprecated
func (*GetProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProviderRequest.ProtoReflect.Descriptor instead.
func (*GetProviderRequest) GetName ¶
func (x *GetProviderRequest) GetName() string
func (*GetProviderRequest) ProtoMessage ¶
func (*GetProviderRequest) ProtoMessage()
func (*GetProviderRequest) ProtoReflect ¶
func (x *GetProviderRequest) ProtoReflect() protoreflect.Message
func (*GetProviderRequest) Reset ¶
func (x *GetProviderRequest) Reset()
func (*GetProviderRequest) String ¶
func (x *GetProviderRequest) String() string
type GetSandboxLogsRequest ¶
type GetSandboxLogsRequest struct {
// Sandbox id.
SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// Maximum number of log lines to return. 0 means use default (2000).
Lines uint32 `protobuf:"varint,2,opt,name=lines,proto3" json:"lines,omitempty"`
// Only include logs with timestamp >= this value (ms since epoch). 0 means no filter.
SinceMs int64 `protobuf:"varint,3,opt,name=since_ms,json=sinceMs,proto3" json:"since_ms,omitempty"`
// Filter by log source (e.g. "gateway", "sandbox"). Empty means all sources.
Sources []string `protobuf:"bytes,4,rep,name=sources,proto3" json:"sources,omitempty"`
// Minimum log level to include (e.g. "INFO", "WARN", "ERROR"). Empty means all levels.
MinLevel string `protobuf:"bytes,5,opt,name=min_level,json=minLevel,proto3" json:"min_level,omitempty"`
// contains filtered or unexported fields
}
Get sandbox logs request (one-shot fetch).
func (*GetSandboxLogsRequest) Descriptor
deprecated
func (*GetSandboxLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSandboxLogsRequest.ProtoReflect.Descriptor instead.
func (*GetSandboxLogsRequest) GetLines ¶
func (x *GetSandboxLogsRequest) GetLines() uint32
func (*GetSandboxLogsRequest) GetMinLevel ¶
func (x *GetSandboxLogsRequest) GetMinLevel() string
func (*GetSandboxLogsRequest) GetSandboxId ¶
func (x *GetSandboxLogsRequest) GetSandboxId() string
func (*GetSandboxLogsRequest) GetSinceMs ¶
func (x *GetSandboxLogsRequest) GetSinceMs() int64
func (*GetSandboxLogsRequest) GetSources ¶
func (x *GetSandboxLogsRequest) GetSources() []string
func (*GetSandboxLogsRequest) ProtoMessage ¶
func (*GetSandboxLogsRequest) ProtoMessage()
func (*GetSandboxLogsRequest) ProtoReflect ¶
func (x *GetSandboxLogsRequest) ProtoReflect() protoreflect.Message
func (*GetSandboxLogsRequest) Reset ¶
func (x *GetSandboxLogsRequest) Reset()
func (*GetSandboxLogsRequest) String ¶
func (x *GetSandboxLogsRequest) String() string
type GetSandboxLogsResponse ¶
type GetSandboxLogsResponse struct {
// Log lines in chronological order.
Logs []*SandboxLogLine `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
// Total number of lines in the server's buffer for this sandbox.
BufferTotal uint32 `protobuf:"varint,2,opt,name=buffer_total,json=bufferTotal,proto3" json:"buffer_total,omitempty"`
// contains filtered or unexported fields
}
Get sandbox logs response.
func (*GetSandboxLogsResponse) Descriptor
deprecated
func (*GetSandboxLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSandboxLogsResponse.ProtoReflect.Descriptor instead.
func (*GetSandboxLogsResponse) GetBufferTotal ¶
func (x *GetSandboxLogsResponse) GetBufferTotal() uint32
func (*GetSandboxLogsResponse) GetLogs ¶
func (x *GetSandboxLogsResponse) GetLogs() []*SandboxLogLine
func (*GetSandboxLogsResponse) ProtoMessage ¶
func (*GetSandboxLogsResponse) ProtoMessage()
func (*GetSandboxLogsResponse) ProtoReflect ¶
func (x *GetSandboxLogsResponse) ProtoReflect() protoreflect.Message
func (*GetSandboxLogsResponse) Reset ¶
func (x *GetSandboxLogsResponse) Reset()
func (*GetSandboxLogsResponse) String ¶
func (x *GetSandboxLogsResponse) String() string
type GetSandboxPolicyStatusRequest ¶
type GetSandboxPolicyStatusRequest struct {
// Sandbox name (canonical lookup key). Ignored when global is true.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The specific policy version to query. 0 means latest.
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
// Query global policy revisions instead of a sandbox-scoped one.
Global bool `protobuf:"varint,3,opt,name=global,proto3" json:"global,omitempty"`
// contains filtered or unexported fields
}
Get sandbox policy status request.
func (*GetSandboxPolicyStatusRequest) Descriptor
deprecated
func (*GetSandboxPolicyStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSandboxPolicyStatusRequest.ProtoReflect.Descriptor instead.
func (*GetSandboxPolicyStatusRequest) GetGlobal ¶
func (x *GetSandboxPolicyStatusRequest) GetGlobal() bool
func (*GetSandboxPolicyStatusRequest) GetName ¶
func (x *GetSandboxPolicyStatusRequest) GetName() string
func (*GetSandboxPolicyStatusRequest) GetVersion ¶
func (x *GetSandboxPolicyStatusRequest) GetVersion() uint32
func (*GetSandboxPolicyStatusRequest) ProtoMessage ¶
func (*GetSandboxPolicyStatusRequest) ProtoMessage()
func (*GetSandboxPolicyStatusRequest) ProtoReflect ¶
func (x *GetSandboxPolicyStatusRequest) ProtoReflect() protoreflect.Message
func (*GetSandboxPolicyStatusRequest) Reset ¶
func (x *GetSandboxPolicyStatusRequest) Reset()
func (*GetSandboxPolicyStatusRequest) String ¶
func (x *GetSandboxPolicyStatusRequest) String() string
type GetSandboxPolicyStatusResponse ¶
type GetSandboxPolicyStatusResponse struct {
// The queried policy revision.
Revision *SandboxPolicyRevision `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
// The currently active (loaded) policy version for this sandbox.
ActiveVersion uint32 `protobuf:"varint,2,opt,name=active_version,json=activeVersion,proto3" json:"active_version,omitempty"`
// contains filtered or unexported fields
}
Get sandbox policy status response.
func (*GetSandboxPolicyStatusResponse) Descriptor
deprecated
func (*GetSandboxPolicyStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSandboxPolicyStatusResponse.ProtoReflect.Descriptor instead.
func (*GetSandboxPolicyStatusResponse) GetActiveVersion ¶
func (x *GetSandboxPolicyStatusResponse) GetActiveVersion() uint32
func (*GetSandboxPolicyStatusResponse) GetRevision ¶
func (x *GetSandboxPolicyStatusResponse) GetRevision() *SandboxPolicyRevision
func (*GetSandboxPolicyStatusResponse) ProtoMessage ¶
func (*GetSandboxPolicyStatusResponse) ProtoMessage()
func (*GetSandboxPolicyStatusResponse) ProtoReflect ¶
func (x *GetSandboxPolicyStatusResponse) ProtoReflect() protoreflect.Message
func (*GetSandboxPolicyStatusResponse) Reset ¶
func (x *GetSandboxPolicyStatusResponse) Reset()
func (*GetSandboxPolicyStatusResponse) String ¶
func (x *GetSandboxPolicyStatusResponse) String() string
type GetSandboxProviderEnvironmentRequest ¶
type GetSandboxProviderEnvironmentRequest struct {
// The sandbox ID.
SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// contains filtered or unexported fields
}
Get sandbox provider environment request.
func (*GetSandboxProviderEnvironmentRequest) Descriptor
deprecated
func (*GetSandboxProviderEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSandboxProviderEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*GetSandboxProviderEnvironmentRequest) GetSandboxId ¶
func (x *GetSandboxProviderEnvironmentRequest) GetSandboxId() string
func (*GetSandboxProviderEnvironmentRequest) ProtoMessage ¶
func (*GetSandboxProviderEnvironmentRequest) ProtoMessage()
func (*GetSandboxProviderEnvironmentRequest) ProtoReflect ¶
func (x *GetSandboxProviderEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*GetSandboxProviderEnvironmentRequest) Reset ¶
func (x *GetSandboxProviderEnvironmentRequest) Reset()
func (*GetSandboxProviderEnvironmentRequest) String ¶
func (x *GetSandboxProviderEnvironmentRequest) String() string
type GetSandboxProviderEnvironmentResponse ¶
type GetSandboxProviderEnvironmentResponse struct {
// Provider credential environment variables.
Environment map[string]string `` /* 149-byte string literal not displayed */
// Fingerprint for the provider credential inputs that produced environment.
ProviderEnvRevision uint64 `protobuf:"varint,2,opt,name=provider_env_revision,json=providerEnvRevision,proto3" json:"provider_env_revision,omitempty"`
// contains filtered or unexported fields
}
Get sandbox provider environment response.
func (*GetSandboxProviderEnvironmentResponse) Descriptor
deprecated
func (*GetSandboxProviderEnvironmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSandboxProviderEnvironmentResponse.ProtoReflect.Descriptor instead.
func (*GetSandboxProviderEnvironmentResponse) GetEnvironment ¶
func (x *GetSandboxProviderEnvironmentResponse) GetEnvironment() map[string]string
func (*GetSandboxProviderEnvironmentResponse) GetProviderEnvRevision ¶
func (x *GetSandboxProviderEnvironmentResponse) GetProviderEnvRevision() uint64
func (*GetSandboxProviderEnvironmentResponse) ProtoMessage ¶
func (*GetSandboxProviderEnvironmentResponse) ProtoMessage()
func (*GetSandboxProviderEnvironmentResponse) ProtoReflect ¶
func (x *GetSandboxProviderEnvironmentResponse) ProtoReflect() protoreflect.Message
func (*GetSandboxProviderEnvironmentResponse) Reset ¶
func (x *GetSandboxProviderEnvironmentResponse) Reset()
func (*GetSandboxProviderEnvironmentResponse) String ¶
func (x *GetSandboxProviderEnvironmentResponse) String() string
type GetSandboxRequest ¶
type GetSandboxRequest struct {
// Sandbox name (canonical lookup key).
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Get sandbox request.
func (*GetSandboxRequest) Descriptor
deprecated
func (*GetSandboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSandboxRequest.ProtoReflect.Descriptor instead.
func (*GetSandboxRequest) GetName ¶
func (x *GetSandboxRequest) GetName() string
func (*GetSandboxRequest) ProtoMessage ¶
func (*GetSandboxRequest) ProtoMessage()
func (*GetSandboxRequest) ProtoReflect ¶
func (x *GetSandboxRequest) ProtoReflect() protoreflect.Message
func (*GetSandboxRequest) Reset ¶
func (x *GetSandboxRequest) Reset()
func (*GetSandboxRequest) String ¶
func (x *GetSandboxRequest) String() string
type GetServiceRequest ¶
type GetServiceRequest struct {
// Sandbox name.
Sandbox string `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"`
// Service name within the sandbox. Empty selects the unnamed endpoint.
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
// contains filtered or unexported fields
}
Request to fetch an exposed sandbox service endpoint.
func (*GetServiceRequest) Descriptor
deprecated
func (*GetServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.
func (*GetServiceRequest) GetSandbox ¶
func (x *GetServiceRequest) GetSandbox() string
func (*GetServiceRequest) GetService ¶
func (x *GetServiceRequest) GetService() string
func (*GetServiceRequest) ProtoMessage ¶
func (*GetServiceRequest) ProtoMessage()
func (*GetServiceRequest) ProtoReflect ¶
func (x *GetServiceRequest) ProtoReflect() protoreflect.Message
func (*GetServiceRequest) Reset ¶
func (x *GetServiceRequest) Reset()
func (*GetServiceRequest) String ¶
func (x *GetServiceRequest) String() string
type HealthRequest ¶
type HealthRequest struct {
// contains filtered or unexported fields
}
Health check request.
func (*HealthRequest) Descriptor
deprecated
func (*HealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
func (*HealthRequest) ProtoMessage ¶
func (*HealthRequest) ProtoMessage()
func (*HealthRequest) ProtoReflect ¶
func (x *HealthRequest) ProtoReflect() protoreflect.Message
func (*HealthRequest) Reset ¶
func (x *HealthRequest) Reset()
func (*HealthRequest) String ¶
func (x *HealthRequest) String() string
type HealthResponse ¶
type HealthResponse struct {
// Service status.
Status ServiceStatus `protobuf:"varint,1,opt,name=status,proto3,enum=openshell.v1.ServiceStatus" json:"status,omitempty"`
// Service version.
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
Health check response.
func (*HealthResponse) Descriptor
deprecated
func (*HealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
func (*HealthResponse) GetStatus ¶
func (x *HealthResponse) GetStatus() ServiceStatus
func (*HealthResponse) GetVersion ¶
func (x *HealthResponse) GetVersion() string
func (*HealthResponse) ProtoMessage ¶
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) ProtoReflect ¶
func (x *HealthResponse) ProtoReflect() protoreflect.Message
func (*HealthResponse) Reset ¶
func (x *HealthResponse) Reset()
func (*HealthResponse) String ¶
func (x *HealthResponse) String() string
type ImportProviderProfilesRequest ¶
type ImportProviderProfilesRequest struct {
Profiles []*ProviderProfileImportItem `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
// contains filtered or unexported fields
}
Import custom provider profiles request.
func (*ImportProviderProfilesRequest) Descriptor
deprecated
func (*ImportProviderProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportProviderProfilesRequest.ProtoReflect.Descriptor instead.
func (*ImportProviderProfilesRequest) GetProfiles ¶
func (x *ImportProviderProfilesRequest) GetProfiles() []*ProviderProfileImportItem
func (*ImportProviderProfilesRequest) ProtoMessage ¶
func (*ImportProviderProfilesRequest) ProtoMessage()
func (*ImportProviderProfilesRequest) ProtoReflect ¶
func (x *ImportProviderProfilesRequest) ProtoReflect() protoreflect.Message
func (*ImportProviderProfilesRequest) Reset ¶
func (x *ImportProviderProfilesRequest) Reset()
func (*ImportProviderProfilesRequest) String ¶
func (x *ImportProviderProfilesRequest) String() string
type ImportProviderProfilesResponse ¶
type ImportProviderProfilesResponse struct {
Diagnostics []*ProviderProfileDiagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
Profiles []*ProviderProfile `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty"`
Imported bool `protobuf:"varint,3,opt,name=imported,proto3" json:"imported,omitempty"`
// contains filtered or unexported fields
}
Import custom provider profiles response.
func (*ImportProviderProfilesResponse) Descriptor
deprecated
func (*ImportProviderProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportProviderProfilesResponse.ProtoReflect.Descriptor instead.
func (*ImportProviderProfilesResponse) GetDiagnostics ¶
func (x *ImportProviderProfilesResponse) GetDiagnostics() []*ProviderProfileDiagnostic
func (*ImportProviderProfilesResponse) GetImported ¶
func (x *ImportProviderProfilesResponse) GetImported() bool
func (*ImportProviderProfilesResponse) GetProfiles ¶
func (x *ImportProviderProfilesResponse) GetProfiles() []*ProviderProfile
func (*ImportProviderProfilesResponse) ProtoMessage ¶
func (*ImportProviderProfilesResponse) ProtoMessage()
func (*ImportProviderProfilesResponse) ProtoReflect ¶
func (x *ImportProviderProfilesResponse) ProtoReflect() protoreflect.Message
func (*ImportProviderProfilesResponse) Reset ¶
func (x *ImportProviderProfilesResponse) Reset()
func (*ImportProviderProfilesResponse) String ¶
func (x *ImportProviderProfilesResponse) String() string
type L7RequestSample ¶
type L7RequestSample struct {
// HTTP method: GET, POST, PUT, DELETE, etc.
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
// HTTP path: /v1/models, /repos/myorg/issues
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// L7 decision: "audit" or "deny" (allowed requests not collected).
Decision string `protobuf:"bytes,3,opt,name=decision,proto3" json:"decision,omitempty"`
// Number of times this (method, path) was observed.
Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
Observed HTTP method+path pattern from L7 inspection.
func (*L7RequestSample) Descriptor
deprecated
func (*L7RequestSample) Descriptor() ([]byte, []int)
Deprecated: Use L7RequestSample.ProtoReflect.Descriptor instead.
func (*L7RequestSample) GetCount ¶
func (x *L7RequestSample) GetCount() uint32
func (*L7RequestSample) GetDecision ¶
func (x *L7RequestSample) GetDecision() string
func (*L7RequestSample) GetMethod ¶
func (x *L7RequestSample) GetMethod() string
func (*L7RequestSample) GetPath ¶
func (x *L7RequestSample) GetPath() string
func (*L7RequestSample) ProtoMessage ¶
func (*L7RequestSample) ProtoMessage()
func (*L7RequestSample) ProtoReflect ¶
func (x *L7RequestSample) ProtoReflect() protoreflect.Message
func (*L7RequestSample) Reset ¶
func (x *L7RequestSample) Reset()
func (*L7RequestSample) String ¶
func (x *L7RequestSample) String() string
type LintProviderProfilesRequest ¶
type LintProviderProfilesRequest struct {
Profiles []*ProviderProfileImportItem `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
// contains filtered or unexported fields
}
Lint provider profiles request.
func (*LintProviderProfilesRequest) Descriptor
deprecated
func (*LintProviderProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use LintProviderProfilesRequest.ProtoReflect.Descriptor instead.
func (*LintProviderProfilesRequest) GetProfiles ¶
func (x *LintProviderProfilesRequest) GetProfiles() []*ProviderProfileImportItem
func (*LintProviderProfilesRequest) ProtoMessage ¶
func (*LintProviderProfilesRequest) ProtoMessage()
func (*LintProviderProfilesRequest) ProtoReflect ¶
func (x *LintProviderProfilesRequest) ProtoReflect() protoreflect.Message
func (*LintProviderProfilesRequest) Reset ¶
func (x *LintProviderProfilesRequest) Reset()
func (*LintProviderProfilesRequest) String ¶
func (x *LintProviderProfilesRequest) String() string
type LintProviderProfilesResponse ¶
type LintProviderProfilesResponse struct {
Diagnostics []*ProviderProfileDiagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"`
// contains filtered or unexported fields
}
Lint provider profiles response.
func (*LintProviderProfilesResponse) Descriptor
deprecated
func (*LintProviderProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use LintProviderProfilesResponse.ProtoReflect.Descriptor instead.
func (*LintProviderProfilesResponse) GetDiagnostics ¶
func (x *LintProviderProfilesResponse) GetDiagnostics() []*ProviderProfileDiagnostic
func (*LintProviderProfilesResponse) GetValid ¶
func (x *LintProviderProfilesResponse) GetValid() bool
func (*LintProviderProfilesResponse) ProtoMessage ¶
func (*LintProviderProfilesResponse) ProtoMessage()
func (*LintProviderProfilesResponse) ProtoReflect ¶
func (x *LintProviderProfilesResponse) ProtoReflect() protoreflect.Message
func (*LintProviderProfilesResponse) Reset ¶
func (x *LintProviderProfilesResponse) Reset()
func (*LintProviderProfilesResponse) String ¶
func (x *LintProviderProfilesResponse) String() string
type ListProviderProfilesRequest ¶
type ListProviderProfilesRequest struct {
Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
List provider type profiles request.
func (*ListProviderProfilesRequest) Descriptor
deprecated
func (*ListProviderProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProviderProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListProviderProfilesRequest) GetLimit ¶
func (x *ListProviderProfilesRequest) GetLimit() uint32
func (*ListProviderProfilesRequest) GetOffset ¶
func (x *ListProviderProfilesRequest) GetOffset() uint32
func (*ListProviderProfilesRequest) ProtoMessage ¶
func (*ListProviderProfilesRequest) ProtoMessage()
func (*ListProviderProfilesRequest) ProtoReflect ¶
func (x *ListProviderProfilesRequest) ProtoReflect() protoreflect.Message
func (*ListProviderProfilesRequest) Reset ¶
func (x *ListProviderProfilesRequest) Reset()
func (*ListProviderProfilesRequest) String ¶
func (x *ListProviderProfilesRequest) String() string
type ListProviderProfilesResponse ¶
type ListProviderProfilesResponse struct {
Profiles []*ProviderProfile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
// contains filtered or unexported fields
}
List provider profiles response.
func (*ListProviderProfilesResponse) Descriptor
deprecated
func (*ListProviderProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProviderProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListProviderProfilesResponse) GetProfiles ¶
func (x *ListProviderProfilesResponse) GetProfiles() []*ProviderProfile
func (*ListProviderProfilesResponse) ProtoMessage ¶
func (*ListProviderProfilesResponse) ProtoMessage()
func (*ListProviderProfilesResponse) ProtoReflect ¶
func (x *ListProviderProfilesResponse) ProtoReflect() protoreflect.Message
func (*ListProviderProfilesResponse) Reset ¶
func (x *ListProviderProfilesResponse) Reset()
func (*ListProviderProfilesResponse) String ¶
func (x *ListProviderProfilesResponse) String() string
type ListProvidersRequest ¶
type ListProvidersRequest struct {
Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
List providers request.
func (*ListProvidersRequest) Descriptor
deprecated
func (*ListProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProvidersRequest.ProtoReflect.Descriptor instead.
func (*ListProvidersRequest) GetLimit ¶
func (x *ListProvidersRequest) GetLimit() uint32
func (*ListProvidersRequest) GetOffset ¶
func (x *ListProvidersRequest) GetOffset() uint32
func (*ListProvidersRequest) ProtoMessage ¶
func (*ListProvidersRequest) ProtoMessage()
func (*ListProvidersRequest) ProtoReflect ¶
func (x *ListProvidersRequest) ProtoReflect() protoreflect.Message
func (*ListProvidersRequest) Reset ¶
func (x *ListProvidersRequest) Reset()
func (*ListProvidersRequest) String ¶
func (x *ListProvidersRequest) String() string
type ListProvidersResponse ¶
type ListProvidersResponse struct {
Providers []*datamodelv1.Provider `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
// contains filtered or unexported fields
}
List providers response.
func (*ListProvidersResponse) Descriptor
deprecated
func (*ListProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProvidersResponse.ProtoReflect.Descriptor instead.
func (*ListProvidersResponse) GetProviders ¶
func (x *ListProvidersResponse) GetProviders() []*datamodelv1.Provider
func (*ListProvidersResponse) ProtoMessage ¶
func (*ListProvidersResponse) ProtoMessage()
func (*ListProvidersResponse) ProtoReflect ¶
func (x *ListProvidersResponse) ProtoReflect() protoreflect.Message
func (*ListProvidersResponse) Reset ¶
func (x *ListProvidersResponse) Reset()
func (*ListProvidersResponse) String ¶
func (x *ListProvidersResponse) String() string
type ListSandboxPoliciesRequest ¶
type ListSandboxPoliciesRequest struct {
// Sandbox name (canonical lookup key). Ignored when global is true.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
// List global policy revisions instead of sandbox-scoped ones.
Global bool `protobuf:"varint,4,opt,name=global,proto3" json:"global,omitempty"`
// contains filtered or unexported fields
}
List sandbox policies request.
func (*ListSandboxPoliciesRequest) Descriptor
deprecated
func (*ListSandboxPoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSandboxPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListSandboxPoliciesRequest) GetGlobal ¶
func (x *ListSandboxPoliciesRequest) GetGlobal() bool
func (*ListSandboxPoliciesRequest) GetLimit ¶
func (x *ListSandboxPoliciesRequest) GetLimit() uint32
func (*ListSandboxPoliciesRequest) GetName ¶
func (x *ListSandboxPoliciesRequest) GetName() string
func (*ListSandboxPoliciesRequest) GetOffset ¶
func (x *ListSandboxPoliciesRequest) GetOffset() uint32
func (*ListSandboxPoliciesRequest) ProtoMessage ¶
func (*ListSandboxPoliciesRequest) ProtoMessage()
func (*ListSandboxPoliciesRequest) ProtoReflect ¶
func (x *ListSandboxPoliciesRequest) ProtoReflect() protoreflect.Message
func (*ListSandboxPoliciesRequest) Reset ¶
func (x *ListSandboxPoliciesRequest) Reset()
func (*ListSandboxPoliciesRequest) String ¶
func (x *ListSandboxPoliciesRequest) String() string
type ListSandboxPoliciesResponse ¶
type ListSandboxPoliciesResponse struct {
Revisions []*SandboxPolicyRevision `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"`
// contains filtered or unexported fields
}
List sandbox policies response.
func (*ListSandboxPoliciesResponse) Descriptor
deprecated
func (*ListSandboxPoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSandboxPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListSandboxPoliciesResponse) GetRevisions ¶
func (x *ListSandboxPoliciesResponse) GetRevisions() []*SandboxPolicyRevision
func (*ListSandboxPoliciesResponse) ProtoMessage ¶
func (*ListSandboxPoliciesResponse) ProtoMessage()
func (*ListSandboxPoliciesResponse) ProtoReflect ¶
func (x *ListSandboxPoliciesResponse) ProtoReflect() protoreflect.Message
func (*ListSandboxPoliciesResponse) Reset ¶
func (x *ListSandboxPoliciesResponse) Reset()
func (*ListSandboxPoliciesResponse) String ¶
func (x *ListSandboxPoliciesResponse) String() string
type ListSandboxProvidersRequest ¶
type ListSandboxProvidersRequest struct {
// Sandbox name (canonical lookup key).
SandboxName string `protobuf:"bytes,1,opt,name=sandbox_name,json=sandboxName,proto3" json:"sandbox_name,omitempty"`
// contains filtered or unexported fields
}
List providers attached to a sandbox request.
func (*ListSandboxProvidersRequest) Descriptor
deprecated
func (*ListSandboxProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSandboxProvidersRequest.ProtoReflect.Descriptor instead.
func (*ListSandboxProvidersRequest) GetSandboxName ¶
func (x *ListSandboxProvidersRequest) GetSandboxName() string
func (*ListSandboxProvidersRequest) ProtoMessage ¶
func (*ListSandboxProvidersRequest) ProtoMessage()
func (*ListSandboxProvidersRequest) ProtoReflect ¶
func (x *ListSandboxProvidersRequest) ProtoReflect() protoreflect.Message
func (*ListSandboxProvidersRequest) Reset ¶
func (x *ListSandboxProvidersRequest) Reset()
func (*ListSandboxProvidersRequest) String ¶
func (x *ListSandboxProvidersRequest) String() string
type ListSandboxProvidersResponse ¶
type ListSandboxProvidersResponse struct {
Providers []*datamodelv1.Provider `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
// contains filtered or unexported fields
}
List providers attached to a sandbox response.
func (*ListSandboxProvidersResponse) Descriptor
deprecated
func (*ListSandboxProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSandboxProvidersResponse.ProtoReflect.Descriptor instead.
func (*ListSandboxProvidersResponse) GetProviders ¶
func (x *ListSandboxProvidersResponse) GetProviders() []*datamodelv1.Provider
func (*ListSandboxProvidersResponse) ProtoMessage ¶
func (*ListSandboxProvidersResponse) ProtoMessage()
func (*ListSandboxProvidersResponse) ProtoReflect ¶
func (x *ListSandboxProvidersResponse) ProtoReflect() protoreflect.Message
func (*ListSandboxProvidersResponse) Reset ¶
func (x *ListSandboxProvidersResponse) Reset()
func (*ListSandboxProvidersResponse) String ¶
func (x *ListSandboxProvidersResponse) String() string
type ListSandboxesRequest ¶
type ListSandboxesRequest struct {
Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
// Optional label selector for filtering (format: "key1=value1,key2=value2").
LabelSelector string `protobuf:"bytes,3,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"`
// contains filtered or unexported fields
}
List sandboxes request.
func (*ListSandboxesRequest) Descriptor
deprecated
func (*ListSandboxesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSandboxesRequest.ProtoReflect.Descriptor instead.
func (*ListSandboxesRequest) GetLabelSelector ¶
func (x *ListSandboxesRequest) GetLabelSelector() string
func (*ListSandboxesRequest) GetLimit ¶
func (x *ListSandboxesRequest) GetLimit() uint32
func (*ListSandboxesRequest) GetOffset ¶
func (x *ListSandboxesRequest) GetOffset() uint32
func (*ListSandboxesRequest) ProtoMessage ¶
func (*ListSandboxesRequest) ProtoMessage()
func (*ListSandboxesRequest) ProtoReflect ¶
func (x *ListSandboxesRequest) ProtoReflect() protoreflect.Message
func (*ListSandboxesRequest) Reset ¶
func (x *ListSandboxesRequest) Reset()
func (*ListSandboxesRequest) String ¶
func (x *ListSandboxesRequest) String() string
type ListSandboxesResponse ¶
type ListSandboxesResponse struct {
Sandboxes []*Sandbox `protobuf:"bytes,1,rep,name=sandboxes,proto3" json:"sandboxes,omitempty"`
// contains filtered or unexported fields
}
List sandboxes response.
func (*ListSandboxesResponse) Descriptor
deprecated
func (*ListSandboxesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSandboxesResponse.ProtoReflect.Descriptor instead.
func (*ListSandboxesResponse) GetSandboxes ¶
func (x *ListSandboxesResponse) GetSandboxes() []*Sandbox
func (*ListSandboxesResponse) ProtoMessage ¶
func (*ListSandboxesResponse) ProtoMessage()
func (*ListSandboxesResponse) ProtoReflect ¶
func (x *ListSandboxesResponse) ProtoReflect() protoreflect.Message
func (*ListSandboxesResponse) Reset ¶
func (x *ListSandboxesResponse) Reset()
func (*ListSandboxesResponse) String ¶
func (x *ListSandboxesResponse) String() string
type ListServicesRequest ¶
type ListServicesRequest struct {
// Optional sandbox name. Empty lists endpoints for all sandboxes.
Sandbox string `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"`
// Page size. Zero uses the server default.
Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
// Page offset.
Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
Request to list exposed sandbox service endpoints.
func (*ListServicesRequest) Descriptor
deprecated
func (*ListServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.
func (*ListServicesRequest) GetLimit ¶
func (x *ListServicesRequest) GetLimit() uint32
func (*ListServicesRequest) GetOffset ¶
func (x *ListServicesRequest) GetOffset() uint32
func (*ListServicesRequest) GetSandbox ¶
func (x *ListServicesRequest) GetSandbox() string
func (*ListServicesRequest) ProtoMessage ¶
func (*ListServicesRequest) ProtoMessage()
func (*ListServicesRequest) ProtoReflect ¶
func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
func (*ListServicesRequest) Reset ¶
func (x *ListServicesRequest) Reset()
func (*ListServicesRequest) String ¶
func (x *ListServicesRequest) String() string
type ListServicesResponse ¶
type ListServicesResponse struct {
Services []*ServiceEndpointResponse `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
// contains filtered or unexported fields
}
Response containing exposed sandbox service endpoints.
func (*ListServicesResponse) Descriptor
deprecated
func (*ListServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.
func (*ListServicesResponse) GetServices ¶
func (x *ListServicesResponse) GetServices() []*ServiceEndpointResponse
func (*ListServicesResponse) ProtoMessage ¶
func (*ListServicesResponse) ProtoMessage()
func (*ListServicesResponse) ProtoReflect ¶
func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
func (*ListServicesResponse) Reset ¶
func (x *ListServicesResponse) Reset()
func (*ListServicesResponse) String ¶
func (x *ListServicesResponse) String() string
type OpenShellClient ¶
type OpenShellClient interface {
// Check the health of the service.
Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
// Create a new sandbox.
CreateSandbox(ctx context.Context, in *CreateSandboxRequest, opts ...grpc.CallOption) (*SandboxResponse, error)
// Fetch a sandbox by name.
GetSandbox(ctx context.Context, in *GetSandboxRequest, opts ...grpc.CallOption) (*SandboxResponse, error)
// List sandboxes.
ListSandboxes(ctx context.Context, in *ListSandboxesRequest, opts ...grpc.CallOption) (*ListSandboxesResponse, error)
// List provider records attached to a sandbox.
ListSandboxProviders(ctx context.Context, in *ListSandboxProvidersRequest, opts ...grpc.CallOption) (*ListSandboxProvidersResponse, error)
// Attach a provider record to an existing sandbox.
AttachSandboxProvider(ctx context.Context, in *AttachSandboxProviderRequest, opts ...grpc.CallOption) (*AttachSandboxProviderResponse, error)
// Detach a provider record from an existing sandbox.
DetachSandboxProvider(ctx context.Context, in *DetachSandboxProviderRequest, opts ...grpc.CallOption) (*DetachSandboxProviderResponse, error)
// Delete a sandbox by name.
DeleteSandbox(ctx context.Context, in *DeleteSandboxRequest, opts ...grpc.CallOption) (*DeleteSandboxResponse, error)
// Create a short-lived SSH session for a sandbox.
CreateSshSession(ctx context.Context, in *CreateSshSessionRequest, opts ...grpc.CallOption) (*CreateSshSessionResponse, error)
// Create or update a sandbox HTTP service endpoint for local routing.
ExposeService(ctx context.Context, in *ExposeServiceRequest, opts ...grpc.CallOption) (*ServiceEndpointResponse, error)
// Fetch one sandbox HTTP service endpoint.
GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*ServiceEndpointResponse, error)
// List sandbox HTTP service endpoints.
ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
// Delete one sandbox HTTP service endpoint.
DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*DeleteServiceResponse, error)
// Revoke a previously issued SSH session.
RevokeSshSession(ctx context.Context, in *RevokeSshSessionRequest, opts ...grpc.CallOption) (*RevokeSshSessionResponse, error)
// Execute a command in a ready sandbox and stream output.
ExecSandbox(ctx context.Context, in *ExecSandboxRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ExecSandboxEvent], error)
// Forward one CLI-side TCP connection to a loopback TCP target in a sandbox.
ForwardTcp(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[TcpForwardFrame, TcpForwardFrame], error)
// Execute an interactive command with bidirectional stdin/stdout streaming.
// The first client message MUST carry an ExecSandboxInput with the start
// variant. Subsequent messages carry stdin bytes or window resize events.
ExecSandboxInteractive(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ExecSandboxInput, ExecSandboxEvent], error)
// Create a provider.
CreateProvider(ctx context.Context, in *CreateProviderRequest, opts ...grpc.CallOption) (*ProviderResponse, error)
// Fetch a provider by name.
GetProvider(ctx context.Context, in *GetProviderRequest, opts ...grpc.CallOption) (*ProviderResponse, error)
// List providers.
ListProviders(ctx context.Context, in *ListProvidersRequest, opts ...grpc.CallOption) (*ListProvidersResponse, error)
// List available provider type profiles.
ListProviderProfiles(ctx context.Context, in *ListProviderProfilesRequest, opts ...grpc.CallOption) (*ListProviderProfilesResponse, error)
// Fetch one provider type profile by id.
GetProviderProfile(ctx context.Context, in *GetProviderProfileRequest, opts ...grpc.CallOption) (*ProviderProfileResponse, error)
// Import custom provider type profiles.
ImportProviderProfiles(ctx context.Context, in *ImportProviderProfilesRequest, opts ...grpc.CallOption) (*ImportProviderProfilesResponse, error)
// Validate provider type profiles without registering them.
LintProviderProfiles(ctx context.Context, in *LintProviderProfilesRequest, opts ...grpc.CallOption) (*LintProviderProfilesResponse, error)
// Update an existing provider by name.
UpdateProvider(ctx context.Context, in *UpdateProviderRequest, opts ...grpc.CallOption) (*ProviderResponse, error)
// Delete a provider by name.
DeleteProvider(ctx context.Context, in *DeleteProviderRequest, opts ...grpc.CallOption) (*DeleteProviderResponse, error)
// Delete a custom provider type profile by id.
DeleteProviderProfile(ctx context.Context, in *DeleteProviderProfileRequest, opts ...grpc.CallOption) (*DeleteProviderProfileResponse, error)
// Get sandbox settings by id (called by sandbox entrypoint and poll loop).
GetSandboxConfig(ctx context.Context, in *sandboxv1.GetSandboxConfigRequest, opts ...grpc.CallOption) (*sandboxv1.GetSandboxConfigResponse, error)
// Get gateway-global settings.
GetGatewayConfig(ctx context.Context, in *sandboxv1.GetGatewayConfigRequest, opts ...grpc.CallOption) (*sandboxv1.GetGatewayConfigResponse, error)
// Update settings or policy at sandbox or global scope.
UpdateConfig(ctx context.Context, in *UpdateConfigRequest, opts ...grpc.CallOption) (*UpdateConfigResponse, error)
// Get the load status of a specific policy version.
GetSandboxPolicyStatus(ctx context.Context, in *GetSandboxPolicyStatusRequest, opts ...grpc.CallOption) (*GetSandboxPolicyStatusResponse, error)
// List policy history for a sandbox.
ListSandboxPolicies(ctx context.Context, in *ListSandboxPoliciesRequest, opts ...grpc.CallOption) (*ListSandboxPoliciesResponse, error)
// Report policy load result (called by sandbox after reload attempt).
ReportPolicyStatus(ctx context.Context, in *ReportPolicyStatusRequest, opts ...grpc.CallOption) (*ReportPolicyStatusResponse, error)
// Get provider environment for a sandbox (called by sandbox supervisor at startup).
GetSandboxProviderEnvironment(ctx context.Context, in *GetSandboxProviderEnvironmentRequest, opts ...grpc.CallOption) (*GetSandboxProviderEnvironmentResponse, error)
// Fetch recent sandbox logs (one-shot).
GetSandboxLogs(ctx context.Context, in *GetSandboxLogsRequest, opts ...grpc.CallOption) (*GetSandboxLogsResponse, error)
// Push sandbox supervisor logs to the server (client-streaming).
PushSandboxLogs(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[PushSandboxLogsRequest, PushSandboxLogsResponse], error)
// Persistent supervisor-to-gateway session (bidirectional streaming).
//
// The supervisor opens this stream at startup and keeps it alive for the
// sandbox lifetime. The gateway uses it to coordinate relay channels for
// SSH connect, ExecSandbox, and targetable sandbox services. Raw service
// bytes flow over RelayStream calls (separate HTTP/2 streams on the same
// connection), not over this stream.
ConnectSupervisor(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[SupervisorMessage, GatewayMessage], error)
// Raw byte relay between supervisor and gateway.
//
// The supervisor initiates this call after receiving a RelayOpen message
// on its ConnectSupervisor stream. The first RelayFrame carries a
// RelayInit with the channel_id to associate the new HTTP/2 stream with
// the pending relay slot on the gateway. Subsequent frames carry raw bytes in either
// direction between the gateway-side waiter (ForwardTcp / exec handler)
// and the supervisor-side target bridge.
//
// This rides the same TCP+TLS+HTTP/2 connection as ConnectSupervisor —
// no new TLS handshake, no reverse HTTP CONNECT.
RelayStream(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[RelayFrame, RelayFrame], error)
// Watch a sandbox and stream updates.
//
// This stream can include:
// - Sandbox status snapshots (phase/status)
// - OpenShell server process logs correlated by sandbox_id
// - Platform events correlated to the sandbox
WatchSandbox(ctx context.Context, in *WatchSandboxRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SandboxStreamEvent], error)
// Submit denial analysis results from sandbox (summaries + proposed chunks).
SubmitPolicyAnalysis(ctx context.Context, in *SubmitPolicyAnalysisRequest, opts ...grpc.CallOption) (*SubmitPolicyAnalysisResponse, error)
// Get draft policy recommendations for a sandbox.
GetDraftPolicy(ctx context.Context, in *GetDraftPolicyRequest, opts ...grpc.CallOption) (*GetDraftPolicyResponse, error)
// Approve a single draft policy chunk (merges into active policy).
ApproveDraftChunk(ctx context.Context, in *ApproveDraftChunkRequest, opts ...grpc.CallOption) (*ApproveDraftChunkResponse, error)
// Reject a single draft policy chunk.
RejectDraftChunk(ctx context.Context, in *RejectDraftChunkRequest, opts ...grpc.CallOption) (*RejectDraftChunkResponse, error)
// Approve all pending draft chunks (skips security-flagged unless forced).
ApproveAllDraftChunks(ctx context.Context, in *ApproveAllDraftChunksRequest, opts ...grpc.CallOption) (*ApproveAllDraftChunksResponse, error)
// Edit a pending draft chunk in-place (e.g. narrow allowed_ips).
EditDraftChunk(ctx context.Context, in *EditDraftChunkRequest, opts ...grpc.CallOption) (*EditDraftChunkResponse, error)
// Reverse an approval (remove merged rule from active policy).
UndoDraftChunk(ctx context.Context, in *UndoDraftChunkRequest, opts ...grpc.CallOption) (*UndoDraftChunkResponse, error)
// Clear all pending draft chunks for a sandbox.
ClearDraftChunks(ctx context.Context, in *ClearDraftChunksRequest, opts ...grpc.CallOption) (*ClearDraftChunksResponse, error)
// Get decision history for a sandbox's draft policy.
GetDraftHistory(ctx context.Context, in *GetDraftHistoryRequest, opts ...grpc.CallOption) (*GetDraftHistoryResponse, error)
}
OpenShellClient is the client API for OpenShell 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.
OpenShell service provides sandbox, provider, and runtime management capabilities.
Conventions:
- This file owns the public API resource model exposed to OpenShell clients.
- `Sandbox`, `SandboxSpec`, `SandboxStatus`, and `SandboxPhase` are gateway-owned public types. Internal compute drivers must not import or return them directly.
- The gateway translates internal compute-driver observations into these public resource messages before persisting or returning them to clients.
func NewOpenShellClient ¶
func NewOpenShellClient(cc grpc.ClientConnInterface) OpenShellClient
type OpenShellServer ¶
type OpenShellServer interface {
// Check the health of the service.
Health(context.Context, *HealthRequest) (*HealthResponse, error)
// Create a new sandbox.
CreateSandbox(context.Context, *CreateSandboxRequest) (*SandboxResponse, error)
// Fetch a sandbox by name.
GetSandbox(context.Context, *GetSandboxRequest) (*SandboxResponse, error)
// List sandboxes.
ListSandboxes(context.Context, *ListSandboxesRequest) (*ListSandboxesResponse, error)
// List provider records attached to a sandbox.
ListSandboxProviders(context.Context, *ListSandboxProvidersRequest) (*ListSandboxProvidersResponse, error)
// Attach a provider record to an existing sandbox.
AttachSandboxProvider(context.Context, *AttachSandboxProviderRequest) (*AttachSandboxProviderResponse, error)
// Detach a provider record from an existing sandbox.
DetachSandboxProvider(context.Context, *DetachSandboxProviderRequest) (*DetachSandboxProviderResponse, error)
// Delete a sandbox by name.
DeleteSandbox(context.Context, *DeleteSandboxRequest) (*DeleteSandboxResponse, error)
// Create a short-lived SSH session for a sandbox.
CreateSshSession(context.Context, *CreateSshSessionRequest) (*CreateSshSessionResponse, error)
// Create or update a sandbox HTTP service endpoint for local routing.
ExposeService(context.Context, *ExposeServiceRequest) (*ServiceEndpointResponse, error)
// Fetch one sandbox HTTP service endpoint.
GetService(context.Context, *GetServiceRequest) (*ServiceEndpointResponse, error)
// List sandbox HTTP service endpoints.
ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
// Delete one sandbox HTTP service endpoint.
DeleteService(context.Context, *DeleteServiceRequest) (*DeleteServiceResponse, error)
// Revoke a previously issued SSH session.
RevokeSshSession(context.Context, *RevokeSshSessionRequest) (*RevokeSshSessionResponse, error)
// Execute a command in a ready sandbox and stream output.
ExecSandbox(*ExecSandboxRequest, grpc.ServerStreamingServer[ExecSandboxEvent]) error
// Forward one CLI-side TCP connection to a loopback TCP target in a sandbox.
ForwardTcp(grpc.BidiStreamingServer[TcpForwardFrame, TcpForwardFrame]) error
// Execute an interactive command with bidirectional stdin/stdout streaming.
// The first client message MUST carry an ExecSandboxInput with the start
// variant. Subsequent messages carry stdin bytes or window resize events.
ExecSandboxInteractive(grpc.BidiStreamingServer[ExecSandboxInput, ExecSandboxEvent]) error
// Create a provider.
CreateProvider(context.Context, *CreateProviderRequest) (*ProviderResponse, error)
// Fetch a provider by name.
GetProvider(context.Context, *GetProviderRequest) (*ProviderResponse, error)
// List providers.
ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error)
// List available provider type profiles.
ListProviderProfiles(context.Context, *ListProviderProfilesRequest) (*ListProviderProfilesResponse, error)
// Fetch one provider type profile by id.
GetProviderProfile(context.Context, *GetProviderProfileRequest) (*ProviderProfileResponse, error)
// Import custom provider type profiles.
ImportProviderProfiles(context.Context, *ImportProviderProfilesRequest) (*ImportProviderProfilesResponse, error)
// Validate provider type profiles without registering them.
LintProviderProfiles(context.Context, *LintProviderProfilesRequest) (*LintProviderProfilesResponse, error)
// Update an existing provider by name.
UpdateProvider(context.Context, *UpdateProviderRequest) (*ProviderResponse, error)
// Delete a provider by name.
DeleteProvider(context.Context, *DeleteProviderRequest) (*DeleteProviderResponse, error)
// Delete a custom provider type profile by id.
DeleteProviderProfile(context.Context, *DeleteProviderProfileRequest) (*DeleteProviderProfileResponse, error)
// Get sandbox settings by id (called by sandbox entrypoint and poll loop).
GetSandboxConfig(context.Context, *sandboxv1.GetSandboxConfigRequest) (*sandboxv1.GetSandboxConfigResponse, error)
// Get gateway-global settings.
GetGatewayConfig(context.Context, *sandboxv1.GetGatewayConfigRequest) (*sandboxv1.GetGatewayConfigResponse, error)
// Update settings or policy at sandbox or global scope.
UpdateConfig(context.Context, *UpdateConfigRequest) (*UpdateConfigResponse, error)
// Get the load status of a specific policy version.
GetSandboxPolicyStatus(context.Context, *GetSandboxPolicyStatusRequest) (*GetSandboxPolicyStatusResponse, error)
// List policy history for a sandbox.
ListSandboxPolicies(context.Context, *ListSandboxPoliciesRequest) (*ListSandboxPoliciesResponse, error)
// Report policy load result (called by sandbox after reload attempt).
ReportPolicyStatus(context.Context, *ReportPolicyStatusRequest) (*ReportPolicyStatusResponse, error)
// Get provider environment for a sandbox (called by sandbox supervisor at startup).
GetSandboxProviderEnvironment(context.Context, *GetSandboxProviderEnvironmentRequest) (*GetSandboxProviderEnvironmentResponse, error)
// Fetch recent sandbox logs (one-shot).
GetSandboxLogs(context.Context, *GetSandboxLogsRequest) (*GetSandboxLogsResponse, error)
// Push sandbox supervisor logs to the server (client-streaming).
PushSandboxLogs(grpc.ClientStreamingServer[PushSandboxLogsRequest, PushSandboxLogsResponse]) error
// Persistent supervisor-to-gateway session (bidirectional streaming).
//
// The supervisor opens this stream at startup and keeps it alive for the
// sandbox lifetime. The gateway uses it to coordinate relay channels for
// SSH connect, ExecSandbox, and targetable sandbox services. Raw service
// bytes flow over RelayStream calls (separate HTTP/2 streams on the same
// connection), not over this stream.
ConnectSupervisor(grpc.BidiStreamingServer[SupervisorMessage, GatewayMessage]) error
// Raw byte relay between supervisor and gateway.
//
// The supervisor initiates this call after receiving a RelayOpen message
// on its ConnectSupervisor stream. The first RelayFrame carries a
// RelayInit with the channel_id to associate the new HTTP/2 stream with
// the pending relay slot on the gateway. Subsequent frames carry raw bytes in either
// direction between the gateway-side waiter (ForwardTcp / exec handler)
// and the supervisor-side target bridge.
//
// This rides the same TCP+TLS+HTTP/2 connection as ConnectSupervisor —
// no new TLS handshake, no reverse HTTP CONNECT.
RelayStream(grpc.BidiStreamingServer[RelayFrame, RelayFrame]) error
// Watch a sandbox and stream updates.
//
// This stream can include:
// - Sandbox status snapshots (phase/status)
// - OpenShell server process logs correlated by sandbox_id
// - Platform events correlated to the sandbox
WatchSandbox(*WatchSandboxRequest, grpc.ServerStreamingServer[SandboxStreamEvent]) error
// Submit denial analysis results from sandbox (summaries + proposed chunks).
SubmitPolicyAnalysis(context.Context, *SubmitPolicyAnalysisRequest) (*SubmitPolicyAnalysisResponse, error)
// Get draft policy recommendations for a sandbox.
GetDraftPolicy(context.Context, *GetDraftPolicyRequest) (*GetDraftPolicyResponse, error)
// Approve a single draft policy chunk (merges into active policy).
ApproveDraftChunk(context.Context, *ApproveDraftChunkRequest) (*ApproveDraftChunkResponse, error)
// Reject a single draft policy chunk.
RejectDraftChunk(context.Context, *RejectDraftChunkRequest) (*RejectDraftChunkResponse, error)
// Approve all pending draft chunks (skips security-flagged unless forced).
ApproveAllDraftChunks(context.Context, *ApproveAllDraftChunksRequest) (*ApproveAllDraftChunksResponse, error)
// Edit a pending draft chunk in-place (e.g. narrow allowed_ips).
EditDraftChunk(context.Context, *EditDraftChunkRequest) (*EditDraftChunkResponse, error)
// Reverse an approval (remove merged rule from active policy).
UndoDraftChunk(context.Context, *UndoDraftChunkRequest) (*UndoDraftChunkResponse, error)
// Clear all pending draft chunks for a sandbox.
ClearDraftChunks(context.Context, *ClearDraftChunksRequest) (*ClearDraftChunksResponse, error)
// Get decision history for a sandbox's draft policy.
GetDraftHistory(context.Context, *GetDraftHistoryRequest) (*GetDraftHistoryResponse, error)
// contains filtered or unexported methods
}
OpenShellServer is the server API for OpenShell service. All implementations must embed UnimplementedOpenShellServer for forward compatibility.
OpenShell service provides sandbox, provider, and runtime management capabilities.
Conventions:
- This file owns the public API resource model exposed to OpenShell clients.
- `Sandbox`, `SandboxSpec`, `SandboxStatus`, and `SandboxPhase` are gateway-owned public types. Internal compute drivers must not import or return them directly.
- The gateway translates internal compute-driver observations into these public resource messages before persisting or returning them to clients.
type OpenShell_ConnectSupervisorClient ¶
type OpenShell_ConnectSupervisorClient = grpc.BidiStreamingClient[SupervisorMessage, GatewayMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_ConnectSupervisorServer ¶
type OpenShell_ConnectSupervisorServer = grpc.BidiStreamingServer[SupervisorMessage, GatewayMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_ExecSandboxClient ¶
type OpenShell_ExecSandboxClient = grpc.ServerStreamingClient[ExecSandboxEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_ExecSandboxInteractiveClient ¶
type OpenShell_ExecSandboxInteractiveClient = grpc.BidiStreamingClient[ExecSandboxInput, ExecSandboxEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_ExecSandboxInteractiveServer ¶
type OpenShell_ExecSandboxInteractiveServer = grpc.BidiStreamingServer[ExecSandboxInput, ExecSandboxEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_ExecSandboxServer ¶
type OpenShell_ExecSandboxServer = grpc.ServerStreamingServer[ExecSandboxEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_ForwardTcpClient ¶
type OpenShell_ForwardTcpClient = grpc.BidiStreamingClient[TcpForwardFrame, TcpForwardFrame]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_ForwardTcpServer ¶
type OpenShell_ForwardTcpServer = grpc.BidiStreamingServer[TcpForwardFrame, TcpForwardFrame]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_PushSandboxLogsClient ¶
type OpenShell_PushSandboxLogsClient = grpc.ClientStreamingClient[PushSandboxLogsRequest, PushSandboxLogsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_PushSandboxLogsServer ¶
type OpenShell_PushSandboxLogsServer = grpc.ClientStreamingServer[PushSandboxLogsRequest, PushSandboxLogsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_RelayStreamClient ¶
type OpenShell_RelayStreamClient = grpc.BidiStreamingClient[RelayFrame, RelayFrame]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_RelayStreamServer ¶
type OpenShell_RelayStreamServer = grpc.BidiStreamingServer[RelayFrame, RelayFrame]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_WatchSandboxClient ¶
type OpenShell_WatchSandboxClient = grpc.ServerStreamingClient[SandboxStreamEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenShell_WatchSandboxServer ¶
type OpenShell_WatchSandboxServer = grpc.ServerStreamingServer[SandboxStreamEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PlatformEvent ¶
type PlatformEvent struct {
// Event timestamp in milliseconds since epoch.
TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"`
// Event source (e.g. "kubernetes", "docker", "process").
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
// Event type/severity (e.g. "Normal", "Warning").
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
// Short reason code (e.g. "Started", "Pulled", "Failed").
Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
// Human-readable event message.
Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
// Optional metadata as key-value pairs.
Metadata map[string]string `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
Public platform event exposed on the sandbox watch stream.
func (*PlatformEvent) Descriptor
deprecated
func (*PlatformEvent) Descriptor() ([]byte, []int)
Deprecated: Use PlatformEvent.ProtoReflect.Descriptor instead.
func (*PlatformEvent) GetMessage ¶
func (x *PlatformEvent) GetMessage() string
func (*PlatformEvent) GetMetadata ¶
func (x *PlatformEvent) GetMetadata() map[string]string
func (*PlatformEvent) GetReason ¶
func (x *PlatformEvent) GetReason() string
func (*PlatformEvent) GetSource ¶
func (x *PlatformEvent) GetSource() string
func (*PlatformEvent) GetTimestampMs ¶
func (x *PlatformEvent) GetTimestampMs() int64
func (*PlatformEvent) GetType ¶
func (x *PlatformEvent) GetType() string
func (*PlatformEvent) ProtoMessage ¶
func (*PlatformEvent) ProtoMessage()
func (*PlatformEvent) ProtoReflect ¶
func (x *PlatformEvent) ProtoReflect() protoreflect.Message
func (*PlatformEvent) Reset ¶
func (x *PlatformEvent) Reset()
func (*PlatformEvent) String ¶
func (x *PlatformEvent) String() string
type PolicyChunk ¶
type PolicyChunk struct {
// Unique chunk identifier.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Approval status: "pending", "approved", "rejected".
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
// Proposed network_policies map key.
RuleName string `protobuf:"bytes,3,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
// The proposed network policy rule.
ProposedRule *sandboxv1.NetworkPolicyRule `protobuf:"bytes,4,opt,name=proposed_rule,json=proposedRule,proto3" json:"proposed_rule,omitempty"`
// Human-readable explanation of why this rule is proposed.
Rationale string `protobuf:"bytes,5,opt,name=rationale,proto3" json:"rationale,omitempty"`
// Security concerns flagged by analysis (empty if none).
SecurityNotes string `protobuf:"bytes,6,opt,name=security_notes,json=securityNotes,proto3" json:"security_notes,omitempty"`
// Analysis confidence (0.0-1.0). 0 for mechanistic mode.
Confidence float32 `protobuf:"fixed32,7,opt,name=confidence,proto3" json:"confidence,omitempty"`
// IDs of denial summaries that led to this chunk.
DenialSummaryIds []string `protobuf:"bytes,8,rep,name=denial_summary_ids,json=denialSummaryIds,proto3" json:"denial_summary_ids,omitempty"`
// Creation timestamp (ms since epoch).
CreatedAtMs int64 `protobuf:"varint,9,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
// When the user approved/rejected (ms since epoch). 0 if undecided.
DecidedAtMs int64 `protobuf:"varint,10,opt,name=decided_at_ms,json=decidedAtMs,proto3" json:"decided_at_ms,omitempty"`
// Recommendation stage: "initial" or "refined" (progressive L7 visibility).
Stage string `protobuf:"bytes,11,opt,name=stage,proto3" json:"stage,omitempty"`
// For stage="refined": the initial chunk this replaces.
SupersedesChunkId string `protobuf:"bytes,12,opt,name=supersedes_chunk_id,json=supersedesChunkId,proto3" json:"supersedes_chunk_id,omitempty"`
// How many times this endpoint has been seen across denial flush cycles.
HitCount int32 `protobuf:"varint,13,opt,name=hit_count,json=hitCount,proto3" json:"hit_count,omitempty"`
// First time this endpoint was proposed (ms since epoch).
FirstSeenMs int64 `protobuf:"varint,14,opt,name=first_seen_ms,json=firstSeenMs,proto3" json:"first_seen_ms,omitempty"`
// Most recent time this endpoint was re-proposed (ms since epoch).
LastSeenMs int64 `protobuf:"varint,15,opt,name=last_seen_ms,json=lastSeenMs,proto3" json:"last_seen_ms,omitempty"`
// Binary path that triggered the denial (denormalized for display convenience).
Binary string `protobuf:"bytes,16,opt,name=binary,proto3" json:"binary,omitempty"`
// Validation verdict from gateway-side static checks (prover output).
// Free-form summary string for human consumption in the inbox card.
// Empty until the prover has run for this chunk.
ValidationResult string `protobuf:"bytes,17,opt,name=validation_result,json=validationResult,proto3" json:"validation_result,omitempty"`
// Operator-supplied free-form text accompanying a rejection. Populated
// when the reviewer rejects via `RejectDraftChunkRequest.reason`; surfaced
// back to the in-sandbox agent so it can revise the proposal.
// Empty for non-rejected chunks.
RejectionReason string `protobuf:"bytes,18,opt,name=rejection_reason,json=rejectionReason,proto3" json:"rejection_reason,omitempty"`
// contains filtered or unexported fields
}
A proposed policy rule with rationale and approval status.
func (*PolicyChunk) Descriptor
deprecated
func (*PolicyChunk) Descriptor() ([]byte, []int)
Deprecated: Use PolicyChunk.ProtoReflect.Descriptor instead.
func (*PolicyChunk) GetBinary ¶
func (x *PolicyChunk) GetBinary() string
func (*PolicyChunk) GetConfidence ¶
func (x *PolicyChunk) GetConfidence() float32
func (*PolicyChunk) GetCreatedAtMs ¶
func (x *PolicyChunk) GetCreatedAtMs() int64
func (*PolicyChunk) GetDecidedAtMs ¶
func (x *PolicyChunk) GetDecidedAtMs() int64
func (*PolicyChunk) GetDenialSummaryIds ¶
func (x *PolicyChunk) GetDenialSummaryIds() []string
func (*PolicyChunk) GetFirstSeenMs ¶
func (x *PolicyChunk) GetFirstSeenMs() int64
func (*PolicyChunk) GetHitCount ¶
func (x *PolicyChunk) GetHitCount() int32
func (*PolicyChunk) GetId ¶
func (x *PolicyChunk) GetId() string
func (*PolicyChunk) GetLastSeenMs ¶
func (x *PolicyChunk) GetLastSeenMs() int64
func (*PolicyChunk) GetProposedRule ¶
func (x *PolicyChunk) GetProposedRule() *sandboxv1.NetworkPolicyRule
func (*PolicyChunk) GetRationale ¶
func (x *PolicyChunk) GetRationale() string
func (*PolicyChunk) GetRejectionReason ¶
func (x *PolicyChunk) GetRejectionReason() string
func (*PolicyChunk) GetRuleName ¶
func (x *PolicyChunk) GetRuleName() string
func (*PolicyChunk) GetSecurityNotes ¶
func (x *PolicyChunk) GetSecurityNotes() string
func (*PolicyChunk) GetStage ¶
func (x *PolicyChunk) GetStage() string
func (*PolicyChunk) GetStatus ¶
func (x *PolicyChunk) GetStatus() string
func (*PolicyChunk) GetSupersedesChunkId ¶
func (x *PolicyChunk) GetSupersedesChunkId() string
func (*PolicyChunk) GetValidationResult ¶
func (x *PolicyChunk) GetValidationResult() string
func (*PolicyChunk) ProtoMessage ¶
func (*PolicyChunk) ProtoMessage()
func (*PolicyChunk) ProtoReflect ¶
func (x *PolicyChunk) ProtoReflect() protoreflect.Message
func (*PolicyChunk) Reset ¶
func (x *PolicyChunk) Reset()
func (*PolicyChunk) String ¶
func (x *PolicyChunk) String() string
type PolicyMergeOperation ¶
type PolicyMergeOperation struct {
// Types that are valid to be assigned to Operation:
//
// *PolicyMergeOperation_AddRule
// *PolicyMergeOperation_RemoveEndpoint
// *PolicyMergeOperation_RemoveRule
// *PolicyMergeOperation_AddDenyRules
// *PolicyMergeOperation_AddAllowRules
// *PolicyMergeOperation_RemoveBinary
Operation isPolicyMergeOperation_Operation `protobuf_oneof:"operation"`
// contains filtered or unexported fields
}
func (*PolicyMergeOperation) Descriptor
deprecated
func (*PolicyMergeOperation) Descriptor() ([]byte, []int)
Deprecated: Use PolicyMergeOperation.ProtoReflect.Descriptor instead.
func (*PolicyMergeOperation) GetAddAllowRules ¶
func (x *PolicyMergeOperation) GetAddAllowRules() *AddAllowRules
func (*PolicyMergeOperation) GetAddDenyRules ¶
func (x *PolicyMergeOperation) GetAddDenyRules() *AddDenyRules
func (*PolicyMergeOperation) GetAddRule ¶
func (x *PolicyMergeOperation) GetAddRule() *AddNetworkRule
func (*PolicyMergeOperation) GetOperation ¶
func (x *PolicyMergeOperation) GetOperation() isPolicyMergeOperation_Operation
func (*PolicyMergeOperation) GetRemoveBinary ¶
func (x *PolicyMergeOperation) GetRemoveBinary() *RemoveNetworkBinary
func (*PolicyMergeOperation) GetRemoveEndpoint ¶
func (x *PolicyMergeOperation) GetRemoveEndpoint() *RemoveNetworkEndpoint
func (*PolicyMergeOperation) GetRemoveRule ¶
func (x *PolicyMergeOperation) GetRemoveRule() *RemoveNetworkRule
func (*PolicyMergeOperation) ProtoMessage ¶
func (*PolicyMergeOperation) ProtoMessage()
func (*PolicyMergeOperation) ProtoReflect ¶
func (x *PolicyMergeOperation) ProtoReflect() protoreflect.Message
func (*PolicyMergeOperation) Reset ¶
func (x *PolicyMergeOperation) Reset()
func (*PolicyMergeOperation) String ¶
func (x *PolicyMergeOperation) String() string
type PolicyMergeOperation_AddAllowRules ¶
type PolicyMergeOperation_AddAllowRules struct {
AddAllowRules *AddAllowRules `protobuf:"bytes,5,opt,name=add_allow_rules,json=addAllowRules,proto3,oneof"`
}
type PolicyMergeOperation_AddDenyRules ¶
type PolicyMergeOperation_AddDenyRules struct {
AddDenyRules *AddDenyRules `protobuf:"bytes,4,opt,name=add_deny_rules,json=addDenyRules,proto3,oneof"`
}
type PolicyMergeOperation_AddRule ¶
type PolicyMergeOperation_AddRule struct {
AddRule *AddNetworkRule `protobuf:"bytes,1,opt,name=add_rule,json=addRule,proto3,oneof"`
}
type PolicyMergeOperation_RemoveBinary ¶
type PolicyMergeOperation_RemoveBinary struct {
RemoveBinary *RemoveNetworkBinary `protobuf:"bytes,6,opt,name=remove_binary,json=removeBinary,proto3,oneof"`
}
type PolicyMergeOperation_RemoveEndpoint ¶
type PolicyMergeOperation_RemoveEndpoint struct {
RemoveEndpoint *RemoveNetworkEndpoint `protobuf:"bytes,2,opt,name=remove_endpoint,json=removeEndpoint,proto3,oneof"`
}
type PolicyMergeOperation_RemoveRule ¶
type PolicyMergeOperation_RemoveRule struct {
RemoveRule *RemoveNetworkRule `protobuf:"bytes,3,opt,name=remove_rule,json=removeRule,proto3,oneof"`
}
type PolicyRevisionPayload ¶
type PolicyRevisionPayload struct {
// Serialized policy contents.
Policy *sandboxv1.SandboxPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
// Deterministic hash of the policy payload.
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
// Load error reported by the sandbox, if any.
LoadError string `protobuf:"bytes,3,opt,name=load_error,json=loadError,proto3" json:"load_error,omitempty"`
// When the policy version was reported as loaded (ms since epoch). 0 if unset.
LoadedAtMs int64 `protobuf:"varint,4,opt,name=loaded_at_ms,json=loadedAtMs,proto3" json:"loaded_at_ms,omitempty"`
// contains filtered or unexported fields
}
Stored payload for a policy revision row in the generic objects table.
func (*PolicyRevisionPayload) Descriptor
deprecated
func (*PolicyRevisionPayload) Descriptor() ([]byte, []int)
Deprecated: Use PolicyRevisionPayload.ProtoReflect.Descriptor instead.
func (*PolicyRevisionPayload) GetHash ¶
func (x *PolicyRevisionPayload) GetHash() string
func (*PolicyRevisionPayload) GetLoadError ¶
func (x *PolicyRevisionPayload) GetLoadError() string
func (*PolicyRevisionPayload) GetLoadedAtMs ¶
func (x *PolicyRevisionPayload) GetLoadedAtMs() int64
func (*PolicyRevisionPayload) GetPolicy ¶
func (x *PolicyRevisionPayload) GetPolicy() *sandboxv1.SandboxPolicy
func (*PolicyRevisionPayload) ProtoMessage ¶
func (*PolicyRevisionPayload) ProtoMessage()
func (*PolicyRevisionPayload) ProtoReflect ¶
func (x *PolicyRevisionPayload) ProtoReflect() protoreflect.Message
func (*PolicyRevisionPayload) Reset ¶
func (x *PolicyRevisionPayload) Reset()
func (*PolicyRevisionPayload) String ¶
func (x *PolicyRevisionPayload) String() string
type PolicyStatus ¶
type PolicyStatus int32
Policy load status.
const ( PolicyStatus_POLICY_STATUS_UNSPECIFIED PolicyStatus = 0 // Server received the update; sandbox has not yet loaded it. PolicyStatus_POLICY_STATUS_PENDING PolicyStatus = 1 // Sandbox successfully applied this policy version. PolicyStatus_POLICY_STATUS_LOADED PolicyStatus = 2 // Sandbox attempted to apply but failed; LKG policy remains active. PolicyStatus_POLICY_STATUS_FAILED PolicyStatus = 3 // A newer version was persisted before the sandbox loaded this one. PolicyStatus_POLICY_STATUS_SUPERSEDED PolicyStatus = 4 )
func (PolicyStatus) Descriptor ¶
func (PolicyStatus) Descriptor() protoreflect.EnumDescriptor
func (PolicyStatus) Enum ¶
func (x PolicyStatus) Enum() *PolicyStatus
func (PolicyStatus) EnumDescriptor
deprecated
func (PolicyStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PolicyStatus.Descriptor instead.
func (PolicyStatus) Number ¶
func (x PolicyStatus) Number() protoreflect.EnumNumber
func (PolicyStatus) String ¶
func (x PolicyStatus) String() string
func (PolicyStatus) Type ¶
func (PolicyStatus) Type() protoreflect.EnumType
type ProviderProfile ¶
type ProviderProfile struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Category ProviderProfileCategory `protobuf:"varint,4,opt,name=category,proto3,enum=openshell.v1.ProviderProfileCategory" json:"category,omitempty"`
Credentials []*ProviderProfileCredential `protobuf:"bytes,5,rep,name=credentials,proto3" json:"credentials,omitempty"`
Endpoints []*sandboxv1.NetworkEndpoint `protobuf:"bytes,6,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
Binaries []*sandboxv1.NetworkBinary `protobuf:"bytes,7,rep,name=binaries,proto3" json:"binaries,omitempty"`
InferenceCapable bool `protobuf:"varint,8,opt,name=inference_capable,json=inferenceCapable,proto3" json:"inference_capable,omitempty"`
// contains filtered or unexported fields
}
Provider type profile metadata exposed to clients.
func (*ProviderProfile) Descriptor
deprecated
func (*ProviderProfile) Descriptor() ([]byte, []int)
Deprecated: Use ProviderProfile.ProtoReflect.Descriptor instead.
func (*ProviderProfile) GetBinaries ¶
func (x *ProviderProfile) GetBinaries() []*sandboxv1.NetworkBinary
func (*ProviderProfile) GetCategory ¶
func (x *ProviderProfile) GetCategory() ProviderProfileCategory
func (*ProviderProfile) GetCredentials ¶
func (x *ProviderProfile) GetCredentials() []*ProviderProfileCredential
func (*ProviderProfile) GetDescription ¶
func (x *ProviderProfile) GetDescription() string
func (*ProviderProfile) GetDisplayName ¶
func (x *ProviderProfile) GetDisplayName() string
func (*ProviderProfile) GetEndpoints ¶
func (x *ProviderProfile) GetEndpoints() []*sandboxv1.NetworkEndpoint
func (*ProviderProfile) GetId ¶
func (x *ProviderProfile) GetId() string
func (*ProviderProfile) GetInferenceCapable ¶
func (x *ProviderProfile) GetInferenceCapable() bool
func (*ProviderProfile) ProtoMessage ¶
func (*ProviderProfile) ProtoMessage()
func (*ProviderProfile) ProtoReflect ¶
func (x *ProviderProfile) ProtoReflect() protoreflect.Message
func (*ProviderProfile) Reset ¶
func (x *ProviderProfile) Reset()
func (*ProviderProfile) String ¶
func (x *ProviderProfile) String() string
type ProviderProfileCategory ¶
type ProviderProfileCategory int32
Stable provider profile categories used by clients for grouping and filtering.
const ( ProviderProfileCategory_PROVIDER_PROFILE_CATEGORY_UNSPECIFIED ProviderProfileCategory = 0 ProviderProfileCategory_PROVIDER_PROFILE_CATEGORY_OTHER ProviderProfileCategory = 1 ProviderProfileCategory_PROVIDER_PROFILE_CATEGORY_INFERENCE ProviderProfileCategory = 2 ProviderProfileCategory_PROVIDER_PROFILE_CATEGORY_AGENT ProviderProfileCategory = 3 ProviderProfileCategory_PROVIDER_PROFILE_CATEGORY_SOURCE_CONTROL ProviderProfileCategory = 4 ProviderProfileCategory_PROVIDER_PROFILE_CATEGORY_MESSAGING ProviderProfileCategory = 5 ProviderProfileCategory_PROVIDER_PROFILE_CATEGORY_DATA ProviderProfileCategory = 6 ProviderProfileCategory_PROVIDER_PROFILE_CATEGORY_KNOWLEDGE ProviderProfileCategory = 7 )
func (ProviderProfileCategory) Descriptor ¶
func (ProviderProfileCategory) Descriptor() protoreflect.EnumDescriptor
func (ProviderProfileCategory) Enum ¶
func (x ProviderProfileCategory) Enum() *ProviderProfileCategory
func (ProviderProfileCategory) EnumDescriptor
deprecated
func (ProviderProfileCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProviderProfileCategory.Descriptor instead.
func (ProviderProfileCategory) Number ¶
func (x ProviderProfileCategory) Number() protoreflect.EnumNumber
func (ProviderProfileCategory) String ¶
func (x ProviderProfileCategory) String() string
func (ProviderProfileCategory) Type ¶
func (ProviderProfileCategory) Type() protoreflect.EnumType
type ProviderProfileCredential ¶
type ProviderProfileCredential struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
EnvVars []string `protobuf:"bytes,3,rep,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty"`
Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"`
AuthStyle string `protobuf:"bytes,5,opt,name=auth_style,json=authStyle,proto3" json:"auth_style,omitempty"`
HeaderName string `protobuf:"bytes,6,opt,name=header_name,json=headerName,proto3" json:"header_name,omitempty"`
QueryParam string `protobuf:"bytes,7,opt,name=query_param,json=queryParam,proto3" json:"query_param,omitempty"`
// contains filtered or unexported fields
}
Provider credential declaration.
func (*ProviderProfileCredential) Descriptor
deprecated
func (*ProviderProfileCredential) Descriptor() ([]byte, []int)
Deprecated: Use ProviderProfileCredential.ProtoReflect.Descriptor instead.
func (*ProviderProfileCredential) GetAuthStyle ¶
func (x *ProviderProfileCredential) GetAuthStyle() string
func (*ProviderProfileCredential) GetDescription ¶
func (x *ProviderProfileCredential) GetDescription() string
func (*ProviderProfileCredential) GetEnvVars ¶
func (x *ProviderProfileCredential) GetEnvVars() []string
func (*ProviderProfileCredential) GetHeaderName ¶
func (x *ProviderProfileCredential) GetHeaderName() string
func (*ProviderProfileCredential) GetName ¶
func (x *ProviderProfileCredential) GetName() string
func (*ProviderProfileCredential) GetQueryParam ¶
func (x *ProviderProfileCredential) GetQueryParam() string
func (*ProviderProfileCredential) GetRequired ¶
func (x *ProviderProfileCredential) GetRequired() bool
func (*ProviderProfileCredential) ProtoMessage ¶
func (*ProviderProfileCredential) ProtoMessage()
func (*ProviderProfileCredential) ProtoReflect ¶
func (x *ProviderProfileCredential) ProtoReflect() protoreflect.Message
func (*ProviderProfileCredential) Reset ¶
func (x *ProviderProfileCredential) Reset()
func (*ProviderProfileCredential) String ¶
func (x *ProviderProfileCredential) String() string
type ProviderProfileDiagnostic ¶
type ProviderProfileDiagnostic struct {
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
ProfileId string `protobuf:"bytes,2,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
Severity string `protobuf:"bytes,5,opt,name=severity,proto3" json:"severity,omitempty"`
// contains filtered or unexported fields
}
Provider profile validation diagnostic.
func (*ProviderProfileDiagnostic) Descriptor
deprecated
func (*ProviderProfileDiagnostic) Descriptor() ([]byte, []int)
Deprecated: Use ProviderProfileDiagnostic.ProtoReflect.Descriptor instead.
func (*ProviderProfileDiagnostic) GetField ¶
func (x *ProviderProfileDiagnostic) GetField() string
func (*ProviderProfileDiagnostic) GetMessage ¶
func (x *ProviderProfileDiagnostic) GetMessage() string
func (*ProviderProfileDiagnostic) GetProfileId ¶
func (x *ProviderProfileDiagnostic) GetProfileId() string
func (*ProviderProfileDiagnostic) GetSeverity ¶
func (x *ProviderProfileDiagnostic) GetSeverity() string
func (*ProviderProfileDiagnostic) GetSource ¶
func (x *ProviderProfileDiagnostic) GetSource() string
func (*ProviderProfileDiagnostic) ProtoMessage ¶
func (*ProviderProfileDiagnostic) ProtoMessage()
func (*ProviderProfileDiagnostic) ProtoReflect ¶
func (x *ProviderProfileDiagnostic) ProtoReflect() protoreflect.Message
func (*ProviderProfileDiagnostic) Reset ¶
func (x *ProviderProfileDiagnostic) Reset()
func (*ProviderProfileDiagnostic) String ¶
func (x *ProviderProfileDiagnostic) String() string
type ProviderProfileImportItem ¶
type ProviderProfileImportItem struct {
Profile *ProviderProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
// contains filtered or unexported fields
}
Provider profile payload with optional source metadata for diagnostics.
func (*ProviderProfileImportItem) Descriptor
deprecated
func (*ProviderProfileImportItem) Descriptor() ([]byte, []int)
Deprecated: Use ProviderProfileImportItem.ProtoReflect.Descriptor instead.
func (*ProviderProfileImportItem) GetProfile ¶
func (x *ProviderProfileImportItem) GetProfile() *ProviderProfile
func (*ProviderProfileImportItem) GetSource ¶
func (x *ProviderProfileImportItem) GetSource() string
func (*ProviderProfileImportItem) ProtoMessage ¶
func (*ProviderProfileImportItem) ProtoMessage()
func (*ProviderProfileImportItem) ProtoReflect ¶
func (x *ProviderProfileImportItem) ProtoReflect() protoreflect.Message
func (*ProviderProfileImportItem) Reset ¶
func (x *ProviderProfileImportItem) Reset()
func (*ProviderProfileImportItem) String ¶
func (x *ProviderProfileImportItem) String() string
type ProviderProfileResponse ¶
type ProviderProfileResponse struct {
Profile *ProviderProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
// contains filtered or unexported fields
}
Provider profile response.
func (*ProviderProfileResponse) Descriptor
deprecated
func (*ProviderProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProviderProfileResponse.ProtoReflect.Descriptor instead.
func (*ProviderProfileResponse) GetProfile ¶
func (x *ProviderProfileResponse) GetProfile() *ProviderProfile
func (*ProviderProfileResponse) ProtoMessage ¶
func (*ProviderProfileResponse) ProtoMessage()
func (*ProviderProfileResponse) ProtoReflect ¶
func (x *ProviderProfileResponse) ProtoReflect() protoreflect.Message
func (*ProviderProfileResponse) Reset ¶
func (x *ProviderProfileResponse) Reset()
func (*ProviderProfileResponse) String ¶
func (x *ProviderProfileResponse) String() string
type ProviderResponse ¶
type ProviderResponse struct {
Provider *datamodelv1.Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
// contains filtered or unexported fields
}
Provider response.
func (*ProviderResponse) Descriptor
deprecated
func (*ProviderResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProviderResponse.ProtoReflect.Descriptor instead.
func (*ProviderResponse) GetProvider ¶
func (x *ProviderResponse) GetProvider() *datamodelv1.Provider
func (*ProviderResponse) ProtoMessage ¶
func (*ProviderResponse) ProtoMessage()
func (*ProviderResponse) ProtoReflect ¶
func (x *ProviderResponse) ProtoReflect() protoreflect.Message
func (*ProviderResponse) Reset ¶
func (x *ProviderResponse) Reset()
func (*ProviderResponse) String ¶
func (x *ProviderResponse) String() string
type PushSandboxLogsRequest ¶
type PushSandboxLogsRequest struct {
// The sandbox ID.
SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// Log lines to ingest.
Logs []*SandboxLogLine `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"`
// contains filtered or unexported fields
}
Batch of log lines pushed from sandbox to server.
func (*PushSandboxLogsRequest) Descriptor
deprecated
func (*PushSandboxLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushSandboxLogsRequest.ProtoReflect.Descriptor instead.
func (*PushSandboxLogsRequest) GetLogs ¶
func (x *PushSandboxLogsRequest) GetLogs() []*SandboxLogLine
func (*PushSandboxLogsRequest) GetSandboxId ¶
func (x *PushSandboxLogsRequest) GetSandboxId() string
func (*PushSandboxLogsRequest) ProtoMessage ¶
func (*PushSandboxLogsRequest) ProtoMessage()
func (*PushSandboxLogsRequest) ProtoReflect ¶
func (x *PushSandboxLogsRequest) ProtoReflect() protoreflect.Message
func (*PushSandboxLogsRequest) Reset ¶
func (x *PushSandboxLogsRequest) Reset()
func (*PushSandboxLogsRequest) String ¶
func (x *PushSandboxLogsRequest) String() string
type PushSandboxLogsResponse ¶
type PushSandboxLogsResponse struct {
// contains filtered or unexported fields
}
Push sandbox logs response.
func (*PushSandboxLogsResponse) Descriptor
deprecated
func (*PushSandboxLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushSandboxLogsResponse.ProtoReflect.Descriptor instead.
func (*PushSandboxLogsResponse) ProtoMessage ¶
func (*PushSandboxLogsResponse) ProtoMessage()
func (*PushSandboxLogsResponse) ProtoReflect ¶
func (x *PushSandboxLogsResponse) ProtoReflect() protoreflect.Message
func (*PushSandboxLogsResponse) Reset ¶
func (x *PushSandboxLogsResponse) Reset()
func (*PushSandboxLogsResponse) String ¶
func (x *PushSandboxLogsResponse) String() string
type RejectDraftChunkRequest ¶
type RejectDraftChunkRequest struct {
// Sandbox name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Chunk ID to reject.
ChunkId string `protobuf:"bytes,2,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"`
// Optional reason for rejection (fed to LLM context in future analysis).
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
Reject a single draft chunk.
func (*RejectDraftChunkRequest) Descriptor
deprecated
func (*RejectDraftChunkRequest) Descriptor() ([]byte, []int)
Deprecated: Use RejectDraftChunkRequest.ProtoReflect.Descriptor instead.
func (*RejectDraftChunkRequest) GetChunkId ¶
func (x *RejectDraftChunkRequest) GetChunkId() string
func (*RejectDraftChunkRequest) GetName ¶
func (x *RejectDraftChunkRequest) GetName() string
func (*RejectDraftChunkRequest) GetReason ¶
func (x *RejectDraftChunkRequest) GetReason() string
func (*RejectDraftChunkRequest) ProtoMessage ¶
func (*RejectDraftChunkRequest) ProtoMessage()
func (*RejectDraftChunkRequest) ProtoReflect ¶
func (x *RejectDraftChunkRequest) ProtoReflect() protoreflect.Message
func (*RejectDraftChunkRequest) Reset ¶
func (x *RejectDraftChunkRequest) Reset()
func (*RejectDraftChunkRequest) String ¶
func (x *RejectDraftChunkRequest) String() string
type RejectDraftChunkResponse ¶
type RejectDraftChunkResponse struct {
// contains filtered or unexported fields
}
func (*RejectDraftChunkResponse) Descriptor
deprecated
func (*RejectDraftChunkResponse) Descriptor() ([]byte, []int)
Deprecated: Use RejectDraftChunkResponse.ProtoReflect.Descriptor instead.
func (*RejectDraftChunkResponse) ProtoMessage ¶
func (*RejectDraftChunkResponse) ProtoMessage()
func (*RejectDraftChunkResponse) ProtoReflect ¶
func (x *RejectDraftChunkResponse) ProtoReflect() protoreflect.Message
func (*RejectDraftChunkResponse) Reset ¶
func (x *RejectDraftChunkResponse) Reset()
func (*RejectDraftChunkResponse) String ¶
func (x *RejectDraftChunkResponse) String() string
type RelayClose ¶
type RelayClose struct {
// Channel identifier to close.
ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
// Optional reason for closure.
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
Either side requests closure of a relay channel.
func (*RelayClose) Descriptor
deprecated
func (*RelayClose) Descriptor() ([]byte, []int)
Deprecated: Use RelayClose.ProtoReflect.Descriptor instead.
func (*RelayClose) GetChannelId ¶
func (x *RelayClose) GetChannelId() string
func (*RelayClose) GetReason ¶
func (x *RelayClose) GetReason() string
func (*RelayClose) ProtoMessage ¶
func (*RelayClose) ProtoMessage()
func (*RelayClose) ProtoReflect ¶
func (x *RelayClose) ProtoReflect() protoreflect.Message
func (*RelayClose) Reset ¶
func (x *RelayClose) Reset()
func (*RelayClose) String ¶
func (x *RelayClose) String() string
type RelayFrame ¶
type RelayFrame struct {
// Types that are valid to be assigned to Payload:
//
// *RelayFrame_Init
// *RelayFrame_Data
Payload isRelayFrame_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
A single frame on the RelayStream RPC.
The supervisor MUST send `init` as the first frame. All subsequent frames in either direction carry raw bytes in `data`.
func (*RelayFrame) Descriptor
deprecated
func (*RelayFrame) Descriptor() ([]byte, []int)
Deprecated: Use RelayFrame.ProtoReflect.Descriptor instead.
func (*RelayFrame) GetData ¶
func (x *RelayFrame) GetData() []byte
func (*RelayFrame) GetInit ¶
func (x *RelayFrame) GetInit() *RelayInit
func (*RelayFrame) GetPayload ¶
func (x *RelayFrame) GetPayload() isRelayFrame_Payload
func (*RelayFrame) ProtoMessage ¶
func (*RelayFrame) ProtoMessage()
func (*RelayFrame) ProtoReflect ¶
func (x *RelayFrame) ProtoReflect() protoreflect.Message
func (*RelayFrame) Reset ¶
func (x *RelayFrame) Reset()
func (*RelayFrame) String ¶
func (x *RelayFrame) String() string
type RelayFrame_Data ¶
type RelayFrame_Data struct {
Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type RelayFrame_Init ¶
type RelayFrame_Init struct {
Init *RelayInit `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
}
type RelayInit ¶
type RelayInit struct {
// Gateway-allocated channel identifier (UUID).
ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
// contains filtered or unexported fields
}
Initial RelayStream frame sent by the supervisor to claim a pending relay.
func (*RelayInit) Descriptor
deprecated
func (*RelayInit) GetChannelId ¶
func (*RelayInit) ProtoMessage ¶
func (*RelayInit) ProtoMessage()
func (*RelayInit) ProtoReflect ¶
func (x *RelayInit) ProtoReflect() protoreflect.Message
type RelayOpen ¶
type RelayOpen struct {
// Gateway-allocated channel identifier (UUID).
ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
// Target the supervisor should dial inside the sandbox.
// If absent, supervisors treat the relay as SSH for compatibility.
//
// Types that are valid to be assigned to Target:
//
// *RelayOpen_Ssh
// *RelayOpen_Tcp
Target isRelayOpen_Target `protobuf_oneof:"target"`
// Optional service identifier for audit/correlation.
ServiceId string `protobuf:"bytes,5,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
// contains filtered or unexported fields
}
Gateway requests the supervisor to open a relay channel.
On receiving this, the supervisor should initiate a RelayStream RPC to the gateway, sending a RelayInit in the first RelayFrame to associate the new HTTP/2 stream with the pending relay slot. The supervisor bridges that stream to the requested local target.
func (*RelayOpen) Descriptor
deprecated
func (*RelayOpen) GetChannelId ¶
func (*RelayOpen) GetServiceId ¶
func (*RelayOpen) GetSsh ¶
func (x *RelayOpen) GetSsh() *SshRelayTarget
func (*RelayOpen) GetTcp ¶
func (x *RelayOpen) GetTcp() *TcpRelayTarget
func (*RelayOpen) ProtoMessage ¶
func (*RelayOpen) ProtoMessage()
func (*RelayOpen) ProtoReflect ¶
func (x *RelayOpen) ProtoReflect() protoreflect.Message
type RelayOpenResult ¶
type RelayOpenResult struct {
// Channel identifier from the RelayOpen request.
ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
// True if the relay was successfully established.
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
// Error message if success is false.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
Supervisor reports the result of a relay open request.
func (*RelayOpenResult) Descriptor
deprecated
func (*RelayOpenResult) Descriptor() ([]byte, []int)
Deprecated: Use RelayOpenResult.ProtoReflect.Descriptor instead.
func (*RelayOpenResult) GetChannelId ¶
func (x *RelayOpenResult) GetChannelId() string
func (*RelayOpenResult) GetError ¶
func (x *RelayOpenResult) GetError() string
func (*RelayOpenResult) GetSuccess ¶
func (x *RelayOpenResult) GetSuccess() bool
func (*RelayOpenResult) ProtoMessage ¶
func (*RelayOpenResult) ProtoMessage()
func (*RelayOpenResult) ProtoReflect ¶
func (x *RelayOpenResult) ProtoReflect() protoreflect.Message
func (*RelayOpenResult) Reset ¶
func (x *RelayOpenResult) Reset()
func (*RelayOpenResult) String ¶
func (x *RelayOpenResult) String() string
type RelayOpen_Ssh ¶
type RelayOpen_Ssh struct {
Ssh *SshRelayTarget `protobuf:"bytes,2,opt,name=ssh,proto3,oneof"`
}
type RelayOpen_Tcp ¶
type RelayOpen_Tcp struct {
Tcp *TcpRelayTarget `protobuf:"bytes,3,opt,name=tcp,proto3,oneof"`
}
type RemoveNetworkBinary ¶
type RemoveNetworkBinary struct {
RuleName string `protobuf:"bytes,1,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
BinaryPath string `protobuf:"bytes,2,opt,name=binary_path,json=binaryPath,proto3" json:"binary_path,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveNetworkBinary) Descriptor
deprecated
func (*RemoveNetworkBinary) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNetworkBinary.ProtoReflect.Descriptor instead.
func (*RemoveNetworkBinary) GetBinaryPath ¶
func (x *RemoveNetworkBinary) GetBinaryPath() string
func (*RemoveNetworkBinary) GetRuleName ¶
func (x *RemoveNetworkBinary) GetRuleName() string
func (*RemoveNetworkBinary) ProtoMessage ¶
func (*RemoveNetworkBinary) ProtoMessage()
func (*RemoveNetworkBinary) ProtoReflect ¶
func (x *RemoveNetworkBinary) ProtoReflect() protoreflect.Message
func (*RemoveNetworkBinary) Reset ¶
func (x *RemoveNetworkBinary) Reset()
func (*RemoveNetworkBinary) String ¶
func (x *RemoveNetworkBinary) String() string
type RemoveNetworkEndpoint ¶
type RemoveNetworkEndpoint struct {
RuleName string `protobuf:"bytes,1,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveNetworkEndpoint) Descriptor
deprecated
func (*RemoveNetworkEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNetworkEndpoint.ProtoReflect.Descriptor instead.
func (*RemoveNetworkEndpoint) GetHost ¶
func (x *RemoveNetworkEndpoint) GetHost() string
func (*RemoveNetworkEndpoint) GetPort ¶
func (x *RemoveNetworkEndpoint) GetPort() uint32
func (*RemoveNetworkEndpoint) GetRuleName ¶
func (x *RemoveNetworkEndpoint) GetRuleName() string
func (*RemoveNetworkEndpoint) ProtoMessage ¶
func (*RemoveNetworkEndpoint) ProtoMessage()
func (*RemoveNetworkEndpoint) ProtoReflect ¶
func (x *RemoveNetworkEndpoint) ProtoReflect() protoreflect.Message
func (*RemoveNetworkEndpoint) Reset ¶
func (x *RemoveNetworkEndpoint) Reset()
func (*RemoveNetworkEndpoint) String ¶
func (x *RemoveNetworkEndpoint) String() string
type RemoveNetworkRule ¶
type RemoveNetworkRule struct {
RuleName string `protobuf:"bytes,1,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveNetworkRule) Descriptor
deprecated
func (*RemoveNetworkRule) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNetworkRule.ProtoReflect.Descriptor instead.
func (*RemoveNetworkRule) GetRuleName ¶
func (x *RemoveNetworkRule) GetRuleName() string
func (*RemoveNetworkRule) ProtoMessage ¶
func (*RemoveNetworkRule) ProtoMessage()
func (*RemoveNetworkRule) ProtoReflect ¶
func (x *RemoveNetworkRule) ProtoReflect() protoreflect.Message
func (*RemoveNetworkRule) Reset ¶
func (x *RemoveNetworkRule) Reset()
func (*RemoveNetworkRule) String ¶
func (x *RemoveNetworkRule) String() string
type ReportPolicyStatusRequest ¶
type ReportPolicyStatusRequest struct {
// Sandbox id.
SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// The policy version that was attempted.
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
// Load result status.
Status PolicyStatus `protobuf:"varint,3,opt,name=status,proto3,enum=openshell.v1.PolicyStatus" json:"status,omitempty"`
// Error message if status is FAILED.
LoadError string `protobuf:"bytes,4,opt,name=load_error,json=loadError,proto3" json:"load_error,omitempty"`
// contains filtered or unexported fields
}
Report policy load status (called by sandbox runtime after reload attempt).
func (*ReportPolicyStatusRequest) Descriptor
deprecated
func (*ReportPolicyStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportPolicyStatusRequest.ProtoReflect.Descriptor instead.
func (*ReportPolicyStatusRequest) GetLoadError ¶
func (x *ReportPolicyStatusRequest) GetLoadError() string
func (*ReportPolicyStatusRequest) GetSandboxId ¶
func (x *ReportPolicyStatusRequest) GetSandboxId() string
func (*ReportPolicyStatusRequest) GetStatus ¶
func (x *ReportPolicyStatusRequest) GetStatus() PolicyStatus
func (*ReportPolicyStatusRequest) GetVersion ¶
func (x *ReportPolicyStatusRequest) GetVersion() uint32
func (*ReportPolicyStatusRequest) ProtoMessage ¶
func (*ReportPolicyStatusRequest) ProtoMessage()
func (*ReportPolicyStatusRequest) ProtoReflect ¶
func (x *ReportPolicyStatusRequest) ProtoReflect() protoreflect.Message
func (*ReportPolicyStatusRequest) Reset ¶
func (x *ReportPolicyStatusRequest) Reset()
func (*ReportPolicyStatusRequest) String ¶
func (x *ReportPolicyStatusRequest) String() string
type ReportPolicyStatusResponse ¶
type ReportPolicyStatusResponse struct {
// contains filtered or unexported fields
}
Report policy status response.
func (*ReportPolicyStatusResponse) Descriptor
deprecated
func (*ReportPolicyStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportPolicyStatusResponse.ProtoReflect.Descriptor instead.
func (*ReportPolicyStatusResponse) ProtoMessage ¶
func (*ReportPolicyStatusResponse) ProtoMessage()
func (*ReportPolicyStatusResponse) ProtoReflect ¶
func (x *ReportPolicyStatusResponse) ProtoReflect() protoreflect.Message
func (*ReportPolicyStatusResponse) Reset ¶
func (x *ReportPolicyStatusResponse) Reset()
func (*ReportPolicyStatusResponse) String ¶
func (x *ReportPolicyStatusResponse) String() string
type RevokeSshSessionRequest ¶
type RevokeSshSessionRequest struct {
// Session token to revoke.
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
Revoke SSH session request.
func (*RevokeSshSessionRequest) Descriptor
deprecated
func (*RevokeSshSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeSshSessionRequest.ProtoReflect.Descriptor instead.
func (*RevokeSshSessionRequest) GetToken ¶
func (x *RevokeSshSessionRequest) GetToken() string
func (*RevokeSshSessionRequest) ProtoMessage ¶
func (*RevokeSshSessionRequest) ProtoMessage()
func (*RevokeSshSessionRequest) ProtoReflect ¶
func (x *RevokeSshSessionRequest) ProtoReflect() protoreflect.Message
func (*RevokeSshSessionRequest) Reset ¶
func (x *RevokeSshSessionRequest) Reset()
func (*RevokeSshSessionRequest) String ¶
func (x *RevokeSshSessionRequest) String() string
type RevokeSshSessionResponse ¶
type RevokeSshSessionResponse struct {
// True when a session was revoked.
Revoked bool `protobuf:"varint,1,opt,name=revoked,proto3" json:"revoked,omitempty"`
// contains filtered or unexported fields
}
Revoke SSH session response.
func (*RevokeSshSessionResponse) Descriptor
deprecated
func (*RevokeSshSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeSshSessionResponse.ProtoReflect.Descriptor instead.
func (*RevokeSshSessionResponse) GetRevoked ¶
func (x *RevokeSshSessionResponse) GetRevoked() bool
func (*RevokeSshSessionResponse) ProtoMessage ¶
func (*RevokeSshSessionResponse) ProtoMessage()
func (*RevokeSshSessionResponse) ProtoReflect ¶
func (x *RevokeSshSessionResponse) ProtoReflect() protoreflect.Message
func (*RevokeSshSessionResponse) Reset ¶
func (x *RevokeSshSessionResponse) Reset()
func (*RevokeSshSessionResponse) String ¶
func (x *RevokeSshSessionResponse) String() string
type Sandbox ¶
type Sandbox struct {
// Kubernetes-style metadata (id, name, labels, timestamps, resource version).
Metadata *datamodelv1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Desired sandbox configuration submitted through the API.
Spec *SandboxSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// Latest user-facing observed status derived by the gateway.
Status *SandboxStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// Gateway-derived lifecycle summary.
Phase SandboxPhase `protobuf:"varint,4,opt,name=phase,proto3,enum=openshell.v1.SandboxPhase" json:"phase,omitempty"`
// Currently active policy version (updated when sandbox reports loaded).
CurrentPolicyVersion uint32 `protobuf:"varint,5,opt,name=current_policy_version,json=currentPolicyVersion,proto3" json:"current_policy_version,omitempty"`
// contains filtered or unexported fields
}
Public sandbox resource exposed by the OpenShell API.
This is the canonical gateway-owned view of a sandbox. It merges user intent (`spec`) with gateway-managed metadata and status derived from internal compute-driver observations.
Note: The `namespace` field has been removed from the public API. It remains in the internal `DriverSandbox` message as a compute-driver implementation detail.
func (*Sandbox) Descriptor
deprecated
func (*Sandbox) GetCurrentPolicyVersion ¶
func (*Sandbox) GetMetadata ¶
func (x *Sandbox) GetMetadata() *datamodelv1.ObjectMeta
func (*Sandbox) GetPhase ¶
func (x *Sandbox) GetPhase() SandboxPhase
func (*Sandbox) GetSpec ¶
func (x *Sandbox) GetSpec() *SandboxSpec
func (*Sandbox) GetStatus ¶
func (x *Sandbox) GetStatus() *SandboxStatus
func (*Sandbox) ProtoMessage ¶
func (*Sandbox) ProtoMessage()
func (*Sandbox) ProtoReflect ¶
func (x *Sandbox) ProtoReflect() protoreflect.Message
type SandboxCondition ¶
type SandboxCondition struct {
// Condition class, typically mirroring the underlying platform condition type.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// Condition status value such as `True`, `False`, or `Unknown`.
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
// Short machine-readable reason associated with the condition.
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
// Human-readable condition message.
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// Timestamp reported by the underlying platform for the last transition.
LastTransitionTime string `protobuf:"bytes,5,opt,name=last_transition_time,json=lastTransitionTime,proto3" json:"last_transition_time,omitempty"`
// contains filtered or unexported fields
}
User-facing sandbox condition derived from driver-native conditions.
func (*SandboxCondition) Descriptor
deprecated
func (*SandboxCondition) Descriptor() ([]byte, []int)
Deprecated: Use SandboxCondition.ProtoReflect.Descriptor instead.
func (*SandboxCondition) GetLastTransitionTime ¶
func (x *SandboxCondition) GetLastTransitionTime() string
func (*SandboxCondition) GetMessage ¶
func (x *SandboxCondition) GetMessage() string
func (*SandboxCondition) GetReason ¶
func (x *SandboxCondition) GetReason() string
func (*SandboxCondition) GetStatus ¶
func (x *SandboxCondition) GetStatus() string
func (*SandboxCondition) GetType ¶
func (x *SandboxCondition) GetType() string
func (*SandboxCondition) ProtoMessage ¶
func (*SandboxCondition) ProtoMessage()
func (*SandboxCondition) ProtoReflect ¶
func (x *SandboxCondition) ProtoReflect() protoreflect.Message
func (*SandboxCondition) Reset ¶
func (x *SandboxCondition) Reset()
func (*SandboxCondition) String ¶
func (x *SandboxCondition) String() string
type SandboxLogLine ¶
type SandboxLogLine struct {
SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
TimestampMs int64 `protobuf:"varint,2,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"`
Level string `protobuf:"bytes,3,opt,name=level,proto3" json:"level,omitempty"`
Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
// Log source: "gateway" (server-side) or "sandbox" (supervisor).
// Empty is treated as "gateway" for backward compatibility.
Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
// Structured key-value fields from the tracing event (e.g. dst_host, action).
Fields map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
Log line correlated to a sandbox.
func (*SandboxLogLine) Descriptor
deprecated
func (*SandboxLogLine) Descriptor() ([]byte, []int)
Deprecated: Use SandboxLogLine.ProtoReflect.Descriptor instead.
func (*SandboxLogLine) GetFields ¶
func (x *SandboxLogLine) GetFields() map[string]string
func (*SandboxLogLine) GetLevel ¶
func (x *SandboxLogLine) GetLevel() string
func (*SandboxLogLine) GetMessage ¶
func (x *SandboxLogLine) GetMessage() string
func (*SandboxLogLine) GetSandboxId ¶
func (x *SandboxLogLine) GetSandboxId() string
func (*SandboxLogLine) GetSource ¶
func (x *SandboxLogLine) GetSource() string
func (*SandboxLogLine) GetTarget ¶
func (x *SandboxLogLine) GetTarget() string
func (*SandboxLogLine) GetTimestampMs ¶
func (x *SandboxLogLine) GetTimestampMs() int64
func (*SandboxLogLine) ProtoMessage ¶
func (*SandboxLogLine) ProtoMessage()
func (*SandboxLogLine) ProtoReflect ¶
func (x *SandboxLogLine) ProtoReflect() protoreflect.Message
func (*SandboxLogLine) Reset ¶
func (x *SandboxLogLine) Reset()
func (*SandboxLogLine) String ¶
func (x *SandboxLogLine) String() string
type SandboxPhase ¶
type SandboxPhase int32
High-level sandbox lifecycle phase derived by the gateway.
Clients should rely on this normalized lifecycle summary for readiness and deletion decisions instead of interpreting raw conditions.
const ( SandboxPhase_SANDBOX_PHASE_UNSPECIFIED SandboxPhase = 0 SandboxPhase_SANDBOX_PHASE_PROVISIONING SandboxPhase = 1 SandboxPhase_SANDBOX_PHASE_READY SandboxPhase = 2 SandboxPhase_SANDBOX_PHASE_ERROR SandboxPhase = 3 SandboxPhase_SANDBOX_PHASE_DELETING SandboxPhase = 4 SandboxPhase_SANDBOX_PHASE_UNKNOWN SandboxPhase = 5 )
func (SandboxPhase) Descriptor ¶
func (SandboxPhase) Descriptor() protoreflect.EnumDescriptor
func (SandboxPhase) Enum ¶
func (x SandboxPhase) Enum() *SandboxPhase
func (SandboxPhase) EnumDescriptor
deprecated
func (SandboxPhase) EnumDescriptor() ([]byte, []int)
Deprecated: Use SandboxPhase.Descriptor instead.
func (SandboxPhase) Number ¶
func (x SandboxPhase) Number() protoreflect.EnumNumber
func (SandboxPhase) String ¶
func (x SandboxPhase) String() string
func (SandboxPhase) Type ¶
func (SandboxPhase) Type() protoreflect.EnumType
type SandboxPolicyRevision ¶
type SandboxPolicyRevision struct {
// Policy version (monotonically increasing per sandbox).
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// SHA-256 hash of the serialized policy payload.
PolicyHash string `protobuf:"bytes,2,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"`
// Load status of this revision.
Status PolicyStatus `protobuf:"varint,3,opt,name=status,proto3,enum=openshell.v1.PolicyStatus" json:"status,omitempty"`
// Error message if status is FAILED.
LoadError string `protobuf:"bytes,4,opt,name=load_error,json=loadError,proto3" json:"load_error,omitempty"`
// Milliseconds since epoch when this revision was created.
CreatedAtMs int64 `protobuf:"varint,5,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
// Milliseconds since epoch when this revision was loaded by the sandbox.
LoadedAtMs int64 `protobuf:"varint,6,opt,name=loaded_at_ms,json=loadedAtMs,proto3" json:"loaded_at_ms,omitempty"`
// The full policy (only populated when explicitly requested).
Policy *sandboxv1.SandboxPolicy `protobuf:"bytes,7,opt,name=policy,proto3" json:"policy,omitempty"`
// contains filtered or unexported fields
}
A versioned policy revision with metadata.
func (*SandboxPolicyRevision) Descriptor
deprecated
func (*SandboxPolicyRevision) Descriptor() ([]byte, []int)
Deprecated: Use SandboxPolicyRevision.ProtoReflect.Descriptor instead.
func (*SandboxPolicyRevision) GetCreatedAtMs ¶
func (x *SandboxPolicyRevision) GetCreatedAtMs() int64
func (*SandboxPolicyRevision) GetLoadError ¶
func (x *SandboxPolicyRevision) GetLoadError() string
func (*SandboxPolicyRevision) GetLoadedAtMs ¶
func (x *SandboxPolicyRevision) GetLoadedAtMs() int64
func (*SandboxPolicyRevision) GetPolicy ¶
func (x *SandboxPolicyRevision) GetPolicy() *sandboxv1.SandboxPolicy
func (*SandboxPolicyRevision) GetPolicyHash ¶
func (x *SandboxPolicyRevision) GetPolicyHash() string
func (*SandboxPolicyRevision) GetStatus ¶
func (x *SandboxPolicyRevision) GetStatus() PolicyStatus
func (*SandboxPolicyRevision) GetVersion ¶
func (x *SandboxPolicyRevision) GetVersion() uint32
func (*SandboxPolicyRevision) ProtoMessage ¶
func (*SandboxPolicyRevision) ProtoMessage()
func (*SandboxPolicyRevision) ProtoReflect ¶
func (x *SandboxPolicyRevision) ProtoReflect() protoreflect.Message
func (*SandboxPolicyRevision) Reset ¶
func (x *SandboxPolicyRevision) Reset()
func (*SandboxPolicyRevision) String ¶
func (x *SandboxPolicyRevision) String() string
type SandboxResponse ¶
type SandboxResponse struct {
Sandbox *Sandbox `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"`
// contains filtered or unexported fields
}
Sandbox response.
func (*SandboxResponse) Descriptor
deprecated
func (*SandboxResponse) Descriptor() ([]byte, []int)
Deprecated: Use SandboxResponse.ProtoReflect.Descriptor instead.
func (*SandboxResponse) GetSandbox ¶
func (x *SandboxResponse) GetSandbox() *Sandbox
func (*SandboxResponse) ProtoMessage ¶
func (*SandboxResponse) ProtoMessage()
func (*SandboxResponse) ProtoReflect ¶
func (x *SandboxResponse) ProtoReflect() protoreflect.Message
func (*SandboxResponse) Reset ¶
func (x *SandboxResponse) Reset()
func (*SandboxResponse) String ¶
func (x *SandboxResponse) String() string
type SandboxSpec ¶
type SandboxSpec struct {
// Log level exposed to processes running inside the sandbox.
LogLevel string `protobuf:"bytes,1,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`
// Environment variables injected into the sandbox runtime.
Environment map[string]string `` /* 149-byte string literal not displayed */
// Container or VM template used to provision the sandbox.
Template *SandboxTemplate `protobuf:"bytes,6,opt,name=template,proto3" json:"template,omitempty"`
// Required sandbox policy configuration.
Policy *sandboxv1.SandboxPolicy `protobuf:"bytes,7,opt,name=policy,proto3" json:"policy,omitempty"`
// Provider names to attach to this sandbox.
Providers []string `protobuf:"bytes,8,rep,name=providers,proto3" json:"providers,omitempty"`
// Request NVIDIA GPU resources for this sandbox.
Gpu bool `protobuf:"varint,9,opt,name=gpu,proto3" json:"gpu,omitempty"`
// Optional PCI BDF address (e.g. "0000:2d:00.0") or device index
// (e.g. "0", "1"). When empty with gpu=true, the driver assigns the
// first available GPU.
GpuDevice string `protobuf:"bytes,10,opt,name=gpu_device,json=gpuDevice,proto3" json:"gpu_device,omitempty"`
// contains filtered or unexported fields
}
Desired sandbox configuration provided through the public API.
func (*SandboxSpec) Descriptor
deprecated
func (*SandboxSpec) Descriptor() ([]byte, []int)
Deprecated: Use SandboxSpec.ProtoReflect.Descriptor instead.
func (*SandboxSpec) GetEnvironment ¶
func (x *SandboxSpec) GetEnvironment() map[string]string
func (*SandboxSpec) GetGpu ¶
func (x *SandboxSpec) GetGpu() bool
func (*SandboxSpec) GetGpuDevice ¶
func (x *SandboxSpec) GetGpuDevice() string
func (*SandboxSpec) GetLogLevel ¶
func (x *SandboxSpec) GetLogLevel() string
func (*SandboxSpec) GetPolicy ¶
func (x *SandboxSpec) GetPolicy() *sandboxv1.SandboxPolicy
func (*SandboxSpec) GetProviders ¶
func (x *SandboxSpec) GetProviders() []string
func (*SandboxSpec) GetTemplate ¶
func (x *SandboxSpec) GetTemplate() *SandboxTemplate
func (*SandboxSpec) ProtoMessage ¶
func (*SandboxSpec) ProtoMessage()
func (*SandboxSpec) ProtoReflect ¶
func (x *SandboxSpec) ProtoReflect() protoreflect.Message
func (*SandboxSpec) Reset ¶
func (x *SandboxSpec) Reset()
func (*SandboxSpec) String ¶
func (x *SandboxSpec) String() string
type SandboxStatus ¶
type SandboxStatus struct {
// Compute-platform sandbox object name.
SandboxName string `protobuf:"bytes,1,opt,name=sandbox_name,json=sandboxName,proto3" json:"sandbox_name,omitempty"`
// Name of the agent pod or equivalent runtime instance.
AgentPod string `protobuf:"bytes,2,opt,name=agent_pod,json=agentPod,proto3" json:"agent_pod,omitempty"`
// File descriptor or endpoint for reaching the agent service, when available.
AgentFd string `protobuf:"bytes,3,opt,name=agent_fd,json=agentFd,proto3" json:"agent_fd,omitempty"`
// File descriptor or endpoint for reaching the sandbox service, when available.
SandboxFd string `protobuf:"bytes,4,opt,name=sandbox_fd,json=sandboxFd,proto3" json:"sandbox_fd,omitempty"`
// Latest user-facing readiness and lifecycle conditions.
Conditions []*SandboxCondition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"`
// contains filtered or unexported fields
}
User-facing sandbox status derived by the gateway from compute-driver observations.
Lifecycle summary is exposed separately as `Sandbox.phase`. Public status does not embed driver-only flags such as `deleting`.
func (*SandboxStatus) Descriptor
deprecated
func (*SandboxStatus) Descriptor() ([]byte, []int)
Deprecated: Use SandboxStatus.ProtoReflect.Descriptor instead.
func (*SandboxStatus) GetAgentFd ¶
func (x *SandboxStatus) GetAgentFd() string
func (*SandboxStatus) GetAgentPod ¶
func (x *SandboxStatus) GetAgentPod() string
func (*SandboxStatus) GetConditions ¶
func (x *SandboxStatus) GetConditions() []*SandboxCondition
func (*SandboxStatus) GetSandboxFd ¶
func (x *SandboxStatus) GetSandboxFd() string
func (*SandboxStatus) GetSandboxName ¶
func (x *SandboxStatus) GetSandboxName() string
func (*SandboxStatus) ProtoMessage ¶
func (*SandboxStatus) ProtoMessage()
func (*SandboxStatus) ProtoReflect ¶
func (x *SandboxStatus) ProtoReflect() protoreflect.Message
func (*SandboxStatus) Reset ¶
func (x *SandboxStatus) Reset()
func (*SandboxStatus) String ¶
func (x *SandboxStatus) String() string
type SandboxStreamEvent ¶
type SandboxStreamEvent struct {
// Types that are valid to be assigned to Payload:
//
// *SandboxStreamEvent_Sandbox
// *SandboxStreamEvent_Log
// *SandboxStreamEvent_Event
// *SandboxStreamEvent_Warning
// *SandboxStreamEvent_DraftPolicyUpdate
Payload isSandboxStreamEvent_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
One event in a sandbox watch stream.
func (*SandboxStreamEvent) Descriptor
deprecated
func (*SandboxStreamEvent) Descriptor() ([]byte, []int)
Deprecated: Use SandboxStreamEvent.ProtoReflect.Descriptor instead.
func (*SandboxStreamEvent) GetDraftPolicyUpdate ¶
func (x *SandboxStreamEvent) GetDraftPolicyUpdate() *DraftPolicyUpdate
func (*SandboxStreamEvent) GetEvent ¶
func (x *SandboxStreamEvent) GetEvent() *PlatformEvent
func (*SandboxStreamEvent) GetLog ¶
func (x *SandboxStreamEvent) GetLog() *SandboxLogLine
func (*SandboxStreamEvent) GetPayload ¶
func (x *SandboxStreamEvent) GetPayload() isSandboxStreamEvent_Payload
func (*SandboxStreamEvent) GetSandbox ¶
func (x *SandboxStreamEvent) GetSandbox() *Sandbox
func (*SandboxStreamEvent) GetWarning ¶
func (x *SandboxStreamEvent) GetWarning() *SandboxStreamWarning
func (*SandboxStreamEvent) ProtoMessage ¶
func (*SandboxStreamEvent) ProtoMessage()
func (*SandboxStreamEvent) ProtoReflect ¶
func (x *SandboxStreamEvent) ProtoReflect() protoreflect.Message
func (*SandboxStreamEvent) Reset ¶
func (x *SandboxStreamEvent) Reset()
func (*SandboxStreamEvent) String ¶
func (x *SandboxStreamEvent) String() string
type SandboxStreamEvent_DraftPolicyUpdate ¶
type SandboxStreamEvent_DraftPolicyUpdate struct {
// Draft policy update notification.
DraftPolicyUpdate *DraftPolicyUpdate `protobuf:"bytes,5,opt,name=draft_policy_update,json=draftPolicyUpdate,proto3,oneof"`
}
type SandboxStreamEvent_Event ¶
type SandboxStreamEvent_Event struct {
// One platform event.
Event *PlatformEvent `protobuf:"bytes,3,opt,name=event,proto3,oneof"`
}
type SandboxStreamEvent_Log ¶
type SandboxStreamEvent_Log struct {
// One server log line/event.
Log *SandboxLogLine `protobuf:"bytes,2,opt,name=log,proto3,oneof"`
}
type SandboxStreamEvent_Sandbox ¶
type SandboxStreamEvent_Sandbox struct {
// Latest sandbox snapshot.
Sandbox *Sandbox `protobuf:"bytes,1,opt,name=sandbox,proto3,oneof"`
}
type SandboxStreamEvent_Warning ¶
type SandboxStreamEvent_Warning struct {
// Warning from the server (e.g. missed messages due to lag).
Warning *SandboxStreamWarning `protobuf:"bytes,4,opt,name=warning,proto3,oneof"`
}
type SandboxStreamWarning ¶
type SandboxStreamWarning struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*SandboxStreamWarning) Descriptor
deprecated
func (*SandboxStreamWarning) Descriptor() ([]byte, []int)
Deprecated: Use SandboxStreamWarning.ProtoReflect.Descriptor instead.
func (*SandboxStreamWarning) GetMessage ¶
func (x *SandboxStreamWarning) GetMessage() string
func (*SandboxStreamWarning) ProtoMessage ¶
func (*SandboxStreamWarning) ProtoMessage()
func (*SandboxStreamWarning) ProtoReflect ¶
func (x *SandboxStreamWarning) ProtoReflect() protoreflect.Message
func (*SandboxStreamWarning) Reset ¶
func (x *SandboxStreamWarning) Reset()
func (*SandboxStreamWarning) String ¶
func (x *SandboxStreamWarning) String() string
type SandboxTemplate ¶
type SandboxTemplate struct {
// Fully-qualified OCI image reference used to boot the sandbox.
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// Optional runtime class name requested from the compute platform.
RuntimeClassName string `protobuf:"bytes,2,opt,name=runtime_class_name,json=runtimeClassName,proto3" json:"runtime_class_name,omitempty"`
// Optional agent socket path exposed to the workload.
AgentSocket string `protobuf:"bytes,3,opt,name=agent_socket,json=agentSocket,proto3" json:"agent_socket,omitempty"`
// Labels applied to compute-platform resources for this sandbox.
Labels map[string]string `` /* 139-byte string literal not displayed */
// Annotations applied to compute-platform resources for this sandbox.
Annotations map[string]string `` /* 149-byte string literal not displayed */
// Additional environment variables injected by the template.
Environment map[string]string `` /* 149-byte string literal not displayed */
// Platform-specific compute resource requirements and limits.
Resources *structpb.Struct `protobuf:"bytes,7,opt,name=resources,proto3" json:"resources,omitempty"`
// Optional platform-specific volume claim templates.
VolumeClaimTemplates *structpb.Struct `protobuf:"bytes,9,opt,name=volume_claim_templates,json=volumeClaimTemplates,proto3" json:"volume_claim_templates,omitempty"`
// Enable Kubernetes user namespace isolation (hostUsers: false).
// When true, container UID 0 maps to a non-root host UID and capabilities
// become namespaced. Requires Kubernetes 1.33+ with user namespace support
// available (beta through 1.35, GA in 1.36+) and a supporting runtime.
// When unset, the cluster-wide default is used.
UserNamespaces *bool `protobuf:"varint,10,opt,name=user_namespaces,json=userNamespaces,proto3,oneof" json:"user_namespaces,omitempty"`
// contains filtered or unexported fields
}
Public sandbox template mapped onto compute-driver template inputs.
func (*SandboxTemplate) Descriptor
deprecated
func (*SandboxTemplate) Descriptor() ([]byte, []int)
Deprecated: Use SandboxTemplate.ProtoReflect.Descriptor instead.
func (*SandboxTemplate) GetAgentSocket ¶
func (x *SandboxTemplate) GetAgentSocket() string
func (*SandboxTemplate) GetAnnotations ¶
func (x *SandboxTemplate) GetAnnotations() map[string]string
func (*SandboxTemplate) GetEnvironment ¶
func (x *SandboxTemplate) GetEnvironment() map[string]string
func (*SandboxTemplate) GetImage ¶
func (x *SandboxTemplate) GetImage() string
func (*SandboxTemplate) GetLabels ¶
func (x *SandboxTemplate) GetLabels() map[string]string
func (*SandboxTemplate) GetResources ¶
func (x *SandboxTemplate) GetResources() *structpb.Struct
func (*SandboxTemplate) GetRuntimeClassName ¶
func (x *SandboxTemplate) GetRuntimeClassName() string
func (*SandboxTemplate) GetUserNamespaces ¶
func (x *SandboxTemplate) GetUserNamespaces() bool
func (*SandboxTemplate) GetVolumeClaimTemplates ¶
func (x *SandboxTemplate) GetVolumeClaimTemplates() *structpb.Struct
func (*SandboxTemplate) ProtoMessage ¶
func (*SandboxTemplate) ProtoMessage()
func (*SandboxTemplate) ProtoReflect ¶
func (x *SandboxTemplate) ProtoReflect() protoreflect.Message
func (*SandboxTemplate) Reset ¶
func (x *SandboxTemplate) Reset()
func (*SandboxTemplate) String ¶
func (x *SandboxTemplate) String() string
type ServiceEndpoint ¶
type ServiceEndpoint struct {
// Kubernetes-style metadata.
Metadata *datamodelv1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Sandbox object ID.
SandboxId string `protobuf:"bytes,2,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// Sandbox name.
SandboxName string `protobuf:"bytes,3,opt,name=sandbox_name,json=sandboxName,proto3" json:"sandbox_name,omitempty"`
// Service name within the sandbox.
ServiceName string `protobuf:"bytes,4,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
// Loopback TCP port inside the sandbox.
TargetPort uint32 `protobuf:"varint,5,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"`
// Whether browser-facing service routing is enabled for this endpoint.
Domain bool `protobuf:"varint,6,opt,name=domain,proto3" json:"domain,omitempty"`
// contains filtered or unexported fields
}
Persisted sandbox service endpoint.
func (*ServiceEndpoint) Descriptor
deprecated
func (*ServiceEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use ServiceEndpoint.ProtoReflect.Descriptor instead.
func (*ServiceEndpoint) GetDomain ¶
func (x *ServiceEndpoint) GetDomain() bool
func (*ServiceEndpoint) GetMetadata ¶
func (x *ServiceEndpoint) GetMetadata() *datamodelv1.ObjectMeta
func (*ServiceEndpoint) GetSandboxId ¶
func (x *ServiceEndpoint) GetSandboxId() string
func (*ServiceEndpoint) GetSandboxName ¶
func (x *ServiceEndpoint) GetSandboxName() string
func (*ServiceEndpoint) GetServiceName ¶
func (x *ServiceEndpoint) GetServiceName() string
func (*ServiceEndpoint) GetTargetPort ¶
func (x *ServiceEndpoint) GetTargetPort() uint32
func (*ServiceEndpoint) ProtoMessage ¶
func (*ServiceEndpoint) ProtoMessage()
func (*ServiceEndpoint) ProtoReflect ¶
func (x *ServiceEndpoint) ProtoReflect() protoreflect.Message
func (*ServiceEndpoint) Reset ¶
func (x *ServiceEndpoint) Reset()
func (*ServiceEndpoint) String ¶
func (x *ServiceEndpoint) String() string
type ServiceEndpointResponse ¶
type ServiceEndpointResponse struct {
Endpoint *ServiceEndpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
Response containing a service endpoint and, when available, its local URL.
func (*ServiceEndpointResponse) Descriptor
deprecated
func (*ServiceEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServiceEndpointResponse.ProtoReflect.Descriptor instead.
func (*ServiceEndpointResponse) GetEndpoint ¶
func (x *ServiceEndpointResponse) GetEndpoint() *ServiceEndpoint
func (*ServiceEndpointResponse) GetUrl ¶
func (x *ServiceEndpointResponse) GetUrl() string
func (*ServiceEndpointResponse) ProtoMessage ¶
func (*ServiceEndpointResponse) ProtoMessage()
func (*ServiceEndpointResponse) ProtoReflect ¶
func (x *ServiceEndpointResponse) ProtoReflect() protoreflect.Message
func (*ServiceEndpointResponse) Reset ¶
func (x *ServiceEndpointResponse) Reset()
func (*ServiceEndpointResponse) String ¶
func (x *ServiceEndpointResponse) String() string
type ServiceStatus ¶
type ServiceStatus int32
Service status enum.
const ( ServiceStatus_SERVICE_STATUS_UNSPECIFIED ServiceStatus = 0 ServiceStatus_SERVICE_STATUS_HEALTHY ServiceStatus = 1 ServiceStatus_SERVICE_STATUS_DEGRADED ServiceStatus = 2 ServiceStatus_SERVICE_STATUS_UNHEALTHY ServiceStatus = 3 )
func (ServiceStatus) Descriptor ¶
func (ServiceStatus) Descriptor() protoreflect.EnumDescriptor
func (ServiceStatus) Enum ¶
func (x ServiceStatus) Enum() *ServiceStatus
func (ServiceStatus) EnumDescriptor
deprecated
func (ServiceStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServiceStatus.Descriptor instead.
func (ServiceStatus) Number ¶
func (x ServiceStatus) Number() protoreflect.EnumNumber
func (ServiceStatus) String ¶
func (x ServiceStatus) String() string
func (ServiceStatus) Type ¶
func (ServiceStatus) Type() protoreflect.EnumType
type SessionAccepted ¶
type SessionAccepted struct {
// Gateway-assigned session ID for this connection.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// Recommended heartbeat interval in seconds.
HeartbeatIntervalSecs uint32 `` /* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
Gateway accepts the supervisor session.
func (*SessionAccepted) Descriptor
deprecated
func (*SessionAccepted) Descriptor() ([]byte, []int)
Deprecated: Use SessionAccepted.ProtoReflect.Descriptor instead.
func (*SessionAccepted) GetHeartbeatIntervalSecs ¶
func (x *SessionAccepted) GetHeartbeatIntervalSecs() uint32
func (*SessionAccepted) GetSessionId ¶
func (x *SessionAccepted) GetSessionId() string
func (*SessionAccepted) ProtoMessage ¶
func (*SessionAccepted) ProtoMessage()
func (*SessionAccepted) ProtoReflect ¶
func (x *SessionAccepted) ProtoReflect() protoreflect.Message
func (*SessionAccepted) Reset ¶
func (x *SessionAccepted) Reset()
func (*SessionAccepted) String ¶
func (x *SessionAccepted) String() string
type SessionRejected ¶
type SessionRejected struct {
// Human-readable rejection reason.
Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
Gateway rejects the supervisor session.
func (*SessionRejected) Descriptor
deprecated
func (*SessionRejected) Descriptor() ([]byte, []int)
Deprecated: Use SessionRejected.ProtoReflect.Descriptor instead.
func (*SessionRejected) GetReason ¶
func (x *SessionRejected) GetReason() string
func (*SessionRejected) ProtoMessage ¶
func (*SessionRejected) ProtoMessage()
func (*SessionRejected) ProtoReflect ¶
func (x *SessionRejected) ProtoReflect() protoreflect.Message
func (*SessionRejected) Reset ¶
func (x *SessionRejected) Reset()
func (*SessionRejected) String ¶
func (x *SessionRejected) String() string
type SshRelayTarget ¶
type SshRelayTarget struct {
// contains filtered or unexported fields
}
Built-in SSH relay target.
func (*SshRelayTarget) Descriptor
deprecated
func (*SshRelayTarget) Descriptor() ([]byte, []int)
Deprecated: Use SshRelayTarget.ProtoReflect.Descriptor instead.
func (*SshRelayTarget) ProtoMessage ¶
func (*SshRelayTarget) ProtoMessage()
func (*SshRelayTarget) ProtoReflect ¶
func (x *SshRelayTarget) ProtoReflect() protoreflect.Message
func (*SshRelayTarget) Reset ¶
func (x *SshRelayTarget) Reset()
func (*SshRelayTarget) String ¶
func (x *SshRelayTarget) String() string
type SshSession ¶
type SshSession struct {
// Kubernetes-style metadata (id, name, labels, timestamps, resource version).
Metadata *datamodelv1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Sandbox id.
SandboxId string `protobuf:"bytes,2,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// Session token.
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
// Expiry timestamp in milliseconds since epoch. 0 means no expiry
// (backward-compatible default for sessions created before this field existed).
ExpiresAtMs int64 `protobuf:"varint,4,opt,name=expires_at_ms,json=expiresAtMs,proto3" json:"expires_at_ms,omitempty"`
// Revoked flag.
Revoked bool `protobuf:"varint,5,opt,name=revoked,proto3" json:"revoked,omitempty"`
// contains filtered or unexported fields
}
SSH session record stored in persistence.
func (*SshSession) Descriptor
deprecated
func (*SshSession) Descriptor() ([]byte, []int)
Deprecated: Use SshSession.ProtoReflect.Descriptor instead.
func (*SshSession) GetExpiresAtMs ¶
func (x *SshSession) GetExpiresAtMs() int64
func (*SshSession) GetMetadata ¶
func (x *SshSession) GetMetadata() *datamodelv1.ObjectMeta
func (*SshSession) GetRevoked ¶
func (x *SshSession) GetRevoked() bool
func (*SshSession) GetSandboxId ¶
func (x *SshSession) GetSandboxId() string
func (*SshSession) GetToken ¶
func (x *SshSession) GetToken() string
func (*SshSession) ProtoMessage ¶
func (*SshSession) ProtoMessage()
func (*SshSession) ProtoReflect ¶
func (x *SshSession) ProtoReflect() protoreflect.Message
func (*SshSession) Reset ¶
func (x *SshSession) Reset()
func (*SshSession) String ¶
func (x *SshSession) String() string
type StoredDraftChunk ¶
type StoredDraftChunk struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
SandboxId string `protobuf:"bytes,2,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
DraftVersion int64 `protobuf:"varint,3,opt,name=draft_version,json=draftVersion,proto3" json:"draft_version,omitempty"`
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
RuleName string `protobuf:"bytes,5,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
ProposedRule []byte `protobuf:"bytes,6,opt,name=proposed_rule,json=proposedRule,proto3" json:"proposed_rule,omitempty"`
Rationale string `protobuf:"bytes,7,opt,name=rationale,proto3" json:"rationale,omitempty"`
SecurityNotes string `protobuf:"bytes,8,opt,name=security_notes,json=securityNotes,proto3" json:"security_notes,omitempty"`
Confidence float64 `protobuf:"fixed64,9,opt,name=confidence,proto3" json:"confidence,omitempty"`
CreatedAtMs int64 `protobuf:"varint,10,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
DecidedAtMs *int64 `protobuf:"varint,11,opt,name=decided_at_ms,json=decidedAtMs,proto3,oneof" json:"decided_at_ms,omitempty"`
Host string `protobuf:"bytes,12,opt,name=host,proto3" json:"host,omitempty"`
Port int32 `protobuf:"varint,13,opt,name=port,proto3" json:"port,omitempty"`
Binary string `protobuf:"bytes,14,opt,name=binary,proto3" json:"binary,omitempty"`
HitCount int32 `protobuf:"varint,15,opt,name=hit_count,json=hitCount,proto3" json:"hit_count,omitempty"`
FirstSeenMs int64 `protobuf:"varint,16,opt,name=first_seen_ms,json=firstSeenMs,proto3" json:"first_seen_ms,omitempty"`
LastSeenMs int64 `protobuf:"varint,17,opt,name=last_seen_ms,json=lastSeenMs,proto3" json:"last_seen_ms,omitempty"`
// Gateway prover verdict; empty until the prover runs. See PolicyChunk.
ValidationResult string `protobuf:"bytes,18,opt,name=validation_result,json=validationResult,proto3" json:"validation_result,omitempty"`
// Operator-supplied free-form rejection text. See PolicyChunk.
RejectionReason string `protobuf:"bytes,19,opt,name=rejection_reason,json=rejectionReason,proto3" json:"rejection_reason,omitempty"`
// contains filtered or unexported fields
}
Internal stored draft chunk row materialized from the generic objects table.
func (*StoredDraftChunk) Descriptor
deprecated
func (*StoredDraftChunk) Descriptor() ([]byte, []int)
Deprecated: Use StoredDraftChunk.ProtoReflect.Descriptor instead.
func (*StoredDraftChunk) GetBinary ¶
func (x *StoredDraftChunk) GetBinary() string
func (*StoredDraftChunk) GetConfidence ¶
func (x *StoredDraftChunk) GetConfidence() float64
func (*StoredDraftChunk) GetCreatedAtMs ¶
func (x *StoredDraftChunk) GetCreatedAtMs() int64
func (*StoredDraftChunk) GetDecidedAtMs ¶
func (x *StoredDraftChunk) GetDecidedAtMs() int64
func (*StoredDraftChunk) GetDraftVersion ¶
func (x *StoredDraftChunk) GetDraftVersion() int64
func (*StoredDraftChunk) GetFirstSeenMs ¶
func (x *StoredDraftChunk) GetFirstSeenMs() int64
func (*StoredDraftChunk) GetHitCount ¶
func (x *StoredDraftChunk) GetHitCount() int32
func (*StoredDraftChunk) GetHost ¶
func (x *StoredDraftChunk) GetHost() string
func (*StoredDraftChunk) GetId ¶
func (x *StoredDraftChunk) GetId() string
func (*StoredDraftChunk) GetLastSeenMs ¶
func (x *StoredDraftChunk) GetLastSeenMs() int64
func (*StoredDraftChunk) GetPort ¶
func (x *StoredDraftChunk) GetPort() int32
func (*StoredDraftChunk) GetProposedRule ¶
func (x *StoredDraftChunk) GetProposedRule() []byte
func (*StoredDraftChunk) GetRationale ¶
func (x *StoredDraftChunk) GetRationale() string
func (*StoredDraftChunk) GetRejectionReason ¶
func (x *StoredDraftChunk) GetRejectionReason() string
func (*StoredDraftChunk) GetRuleName ¶
func (x *StoredDraftChunk) GetRuleName() string
func (*StoredDraftChunk) GetSandboxId ¶
func (x *StoredDraftChunk) GetSandboxId() string
func (*StoredDraftChunk) GetSecurityNotes ¶
func (x *StoredDraftChunk) GetSecurityNotes() string
func (*StoredDraftChunk) GetStatus ¶
func (x *StoredDraftChunk) GetStatus() string
func (*StoredDraftChunk) GetValidationResult ¶
func (x *StoredDraftChunk) GetValidationResult() string
func (*StoredDraftChunk) ProtoMessage ¶
func (*StoredDraftChunk) ProtoMessage()
func (*StoredDraftChunk) ProtoReflect ¶
func (x *StoredDraftChunk) ProtoReflect() protoreflect.Message
func (*StoredDraftChunk) Reset ¶
func (x *StoredDraftChunk) Reset()
func (*StoredDraftChunk) String ¶
func (x *StoredDraftChunk) String() string
type StoredPolicyRevision ¶
type StoredPolicyRevision struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
SandboxId string `protobuf:"bytes,2,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
PolicyPayload []byte `protobuf:"bytes,4,opt,name=policy_payload,json=policyPayload,proto3" json:"policy_payload,omitempty"`
PolicyHash string `protobuf:"bytes,5,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"`
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
LoadError *string `protobuf:"bytes,7,opt,name=load_error,json=loadError,proto3,oneof" json:"load_error,omitempty"`
CreatedAtMs int64 `protobuf:"varint,8,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
LoadedAtMs *int64 `protobuf:"varint,9,opt,name=loaded_at_ms,json=loadedAtMs,proto3,oneof" json:"loaded_at_ms,omitempty"`
// contains filtered or unexported fields
}
Internal stored policy revision row materialized from the generic objects table.
func (*StoredPolicyRevision) Descriptor
deprecated
func (*StoredPolicyRevision) Descriptor() ([]byte, []int)
Deprecated: Use StoredPolicyRevision.ProtoReflect.Descriptor instead.
func (*StoredPolicyRevision) GetCreatedAtMs ¶
func (x *StoredPolicyRevision) GetCreatedAtMs() int64
func (*StoredPolicyRevision) GetId ¶
func (x *StoredPolicyRevision) GetId() string
func (*StoredPolicyRevision) GetLoadError ¶
func (x *StoredPolicyRevision) GetLoadError() string
func (*StoredPolicyRevision) GetLoadedAtMs ¶
func (x *StoredPolicyRevision) GetLoadedAtMs() int64
func (*StoredPolicyRevision) GetPolicyHash ¶
func (x *StoredPolicyRevision) GetPolicyHash() string
func (*StoredPolicyRevision) GetPolicyPayload ¶
func (x *StoredPolicyRevision) GetPolicyPayload() []byte
func (*StoredPolicyRevision) GetSandboxId ¶
func (x *StoredPolicyRevision) GetSandboxId() string
func (*StoredPolicyRevision) GetStatus ¶
func (x *StoredPolicyRevision) GetStatus() string
func (*StoredPolicyRevision) GetVersion ¶
func (x *StoredPolicyRevision) GetVersion() int64
func (*StoredPolicyRevision) ProtoMessage ¶
func (*StoredPolicyRevision) ProtoMessage()
func (*StoredPolicyRevision) ProtoReflect ¶
func (x *StoredPolicyRevision) ProtoReflect() protoreflect.Message
func (*StoredPolicyRevision) Reset ¶
func (x *StoredPolicyRevision) Reset()
func (*StoredPolicyRevision) String ¶
func (x *StoredPolicyRevision) String() string
type StoredProviderProfile ¶
type StoredProviderProfile struct {
Metadata *datamodelv1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Profile *ProviderProfile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"`
// contains filtered or unexported fields
}
Stored custom provider profile object.
func (*StoredProviderProfile) Descriptor
deprecated
func (*StoredProviderProfile) Descriptor() ([]byte, []int)
Deprecated: Use StoredProviderProfile.ProtoReflect.Descriptor instead.
func (*StoredProviderProfile) GetMetadata ¶
func (x *StoredProviderProfile) GetMetadata() *datamodelv1.ObjectMeta
func (*StoredProviderProfile) GetProfile ¶
func (x *StoredProviderProfile) GetProfile() *ProviderProfile
func (*StoredProviderProfile) ProtoMessage ¶
func (*StoredProviderProfile) ProtoMessage()
func (*StoredProviderProfile) ProtoReflect ¶
func (x *StoredProviderProfile) ProtoReflect() protoreflect.Message
func (*StoredProviderProfile) Reset ¶
func (x *StoredProviderProfile) Reset()
func (*StoredProviderProfile) String ¶
func (x *StoredProviderProfile) String() string
type SubmitPolicyAnalysisRequest ¶
type SubmitPolicyAnalysisRequest struct {
// Aggregated denial summaries.
Summaries []*DenialSummary `protobuf:"bytes,1,rep,name=summaries,proto3" json:"summaries,omitempty"`
// Proposed policy chunks (validated by sandbox OPA engine).
ProposedChunks []*PolicyChunk `protobuf:"bytes,2,rep,name=proposed_chunks,json=proposedChunks,proto3" json:"proposed_chunks,omitempty"`
// Analysis mode. `mechanistic` is the observation-driven path from the
// denial aggregator — chunks targeting the same host|port|binary fold
// into one row with hit_count incremented. `agent_authored` is an
// intentional proposal from an in-sandbox agent — each submission lands
// as its own chunk so the redraft-after-rejection loop has a stable id
// to watch. Other values are treated as agent-style (no dedup) so a new
// mode does not silently collapse proposals.
AnalysisMode string `protobuf:"bytes,3,opt,name=analysis_mode,json=analysisMode,proto3" json:"analysis_mode,omitempty"`
// Sandbox name.
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Submit analysis results from sandbox to gateway.
func (*SubmitPolicyAnalysisRequest) Descriptor
deprecated
func (*SubmitPolicyAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitPolicyAnalysisRequest.ProtoReflect.Descriptor instead.
func (*SubmitPolicyAnalysisRequest) GetAnalysisMode ¶
func (x *SubmitPolicyAnalysisRequest) GetAnalysisMode() string
func (*SubmitPolicyAnalysisRequest) GetName ¶
func (x *SubmitPolicyAnalysisRequest) GetName() string
func (*SubmitPolicyAnalysisRequest) GetProposedChunks ¶
func (x *SubmitPolicyAnalysisRequest) GetProposedChunks() []*PolicyChunk
func (*SubmitPolicyAnalysisRequest) GetSummaries ¶
func (x *SubmitPolicyAnalysisRequest) GetSummaries() []*DenialSummary
func (*SubmitPolicyAnalysisRequest) ProtoMessage ¶
func (*SubmitPolicyAnalysisRequest) ProtoMessage()
func (*SubmitPolicyAnalysisRequest) ProtoReflect ¶
func (x *SubmitPolicyAnalysisRequest) ProtoReflect() protoreflect.Message
func (*SubmitPolicyAnalysisRequest) Reset ¶
func (x *SubmitPolicyAnalysisRequest) Reset()
func (*SubmitPolicyAnalysisRequest) String ¶
func (x *SubmitPolicyAnalysisRequest) String() string
type SubmitPolicyAnalysisResponse ¶
type SubmitPolicyAnalysisResponse struct {
// Number of chunks accepted by the gateway.
AcceptedChunks uint32 `protobuf:"varint,1,opt,name=accepted_chunks,json=acceptedChunks,proto3" json:"accepted_chunks,omitempty"`
// Number of chunks rejected by gateway validation.
RejectedChunks uint32 `protobuf:"varint,2,opt,name=rejected_chunks,json=rejectedChunks,proto3" json:"rejected_chunks,omitempty"`
// Reasons for each rejected chunk.
RejectionReasons []string `protobuf:"bytes,3,rep,name=rejection_reasons,json=rejectionReasons,proto3" json:"rejection_reasons,omitempty"`
// Server-assigned chunk IDs for the accepted chunks, in submission order.
// Agents use these to watch proposal state via policy.local's
// GET /v1/proposals/{id} and /wait endpoints.
AcceptedChunkIds []string `protobuf:"bytes,4,rep,name=accepted_chunk_ids,json=acceptedChunkIds,proto3" json:"accepted_chunk_ids,omitempty"`
// contains filtered or unexported fields
}
func (*SubmitPolicyAnalysisResponse) Descriptor
deprecated
func (*SubmitPolicyAnalysisResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitPolicyAnalysisResponse.ProtoReflect.Descriptor instead.
func (*SubmitPolicyAnalysisResponse) GetAcceptedChunkIds ¶
func (x *SubmitPolicyAnalysisResponse) GetAcceptedChunkIds() []string
func (*SubmitPolicyAnalysisResponse) GetAcceptedChunks ¶
func (x *SubmitPolicyAnalysisResponse) GetAcceptedChunks() uint32
func (*SubmitPolicyAnalysisResponse) GetRejectedChunks ¶
func (x *SubmitPolicyAnalysisResponse) GetRejectedChunks() uint32
func (*SubmitPolicyAnalysisResponse) GetRejectionReasons ¶
func (x *SubmitPolicyAnalysisResponse) GetRejectionReasons() []string
func (*SubmitPolicyAnalysisResponse) ProtoMessage ¶
func (*SubmitPolicyAnalysisResponse) ProtoMessage()
func (*SubmitPolicyAnalysisResponse) ProtoReflect ¶
func (x *SubmitPolicyAnalysisResponse) ProtoReflect() protoreflect.Message
func (*SubmitPolicyAnalysisResponse) Reset ¶
func (x *SubmitPolicyAnalysisResponse) Reset()
func (*SubmitPolicyAnalysisResponse) String ¶
func (x *SubmitPolicyAnalysisResponse) String() string
type SupervisorHeartbeat ¶
type SupervisorHeartbeat struct {
// contains filtered or unexported fields
}
Supervisor heartbeat.
func (*SupervisorHeartbeat) Descriptor
deprecated
func (*SupervisorHeartbeat) Descriptor() ([]byte, []int)
Deprecated: Use SupervisorHeartbeat.ProtoReflect.Descriptor instead.
func (*SupervisorHeartbeat) ProtoMessage ¶
func (*SupervisorHeartbeat) ProtoMessage()
func (*SupervisorHeartbeat) ProtoReflect ¶
func (x *SupervisorHeartbeat) ProtoReflect() protoreflect.Message
func (*SupervisorHeartbeat) Reset ¶
func (x *SupervisorHeartbeat) Reset()
func (*SupervisorHeartbeat) String ¶
func (x *SupervisorHeartbeat) String() string
type SupervisorHello ¶
type SupervisorHello struct {
// Sandbox ID this supervisor manages.
SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// Supervisor instance ID (e.g. boot id or process epoch).
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// contains filtered or unexported fields
}
Supervisor identifies itself and the sandbox it manages.
func (*SupervisorHello) Descriptor
deprecated
func (*SupervisorHello) Descriptor() ([]byte, []int)
Deprecated: Use SupervisorHello.ProtoReflect.Descriptor instead.
func (*SupervisorHello) GetInstanceId ¶
func (x *SupervisorHello) GetInstanceId() string
func (*SupervisorHello) GetSandboxId ¶
func (x *SupervisorHello) GetSandboxId() string
func (*SupervisorHello) ProtoMessage ¶
func (*SupervisorHello) ProtoMessage()
func (*SupervisorHello) ProtoReflect ¶
func (x *SupervisorHello) ProtoReflect() protoreflect.Message
func (*SupervisorHello) Reset ¶
func (x *SupervisorHello) Reset()
func (*SupervisorHello) String ¶
func (x *SupervisorHello) String() string
type SupervisorMessage ¶
type SupervisorMessage struct {
// Types that are valid to be assigned to Payload:
//
// *SupervisorMessage_Hello
// *SupervisorMessage_Heartbeat
// *SupervisorMessage_RelayOpenResult
// *SupervisorMessage_RelayClose
Payload isSupervisorMessage_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
Envelope for supervisor-to-gateway messages on the ConnectSupervisor stream.
func (*SupervisorMessage) Descriptor
deprecated
func (*SupervisorMessage) Descriptor() ([]byte, []int)
Deprecated: Use SupervisorMessage.ProtoReflect.Descriptor instead.
func (*SupervisorMessage) GetHeartbeat ¶
func (x *SupervisorMessage) GetHeartbeat() *SupervisorHeartbeat
func (*SupervisorMessage) GetHello ¶
func (x *SupervisorMessage) GetHello() *SupervisorHello
func (*SupervisorMessage) GetPayload ¶
func (x *SupervisorMessage) GetPayload() isSupervisorMessage_Payload
func (*SupervisorMessage) GetRelayClose ¶
func (x *SupervisorMessage) GetRelayClose() *RelayClose
func (*SupervisorMessage) GetRelayOpenResult ¶
func (x *SupervisorMessage) GetRelayOpenResult() *RelayOpenResult
func (*SupervisorMessage) ProtoMessage ¶
func (*SupervisorMessage) ProtoMessage()
func (*SupervisorMessage) ProtoReflect ¶
func (x *SupervisorMessage) ProtoReflect() protoreflect.Message
func (*SupervisorMessage) Reset ¶
func (x *SupervisorMessage) Reset()
func (*SupervisorMessage) String ¶
func (x *SupervisorMessage) String() string
type SupervisorMessage_Heartbeat ¶
type SupervisorMessage_Heartbeat struct {
Heartbeat *SupervisorHeartbeat `protobuf:"bytes,2,opt,name=heartbeat,proto3,oneof"`
}
type SupervisorMessage_Hello ¶
type SupervisorMessage_Hello struct {
Hello *SupervisorHello `protobuf:"bytes,1,opt,name=hello,proto3,oneof"`
}
type SupervisorMessage_RelayClose ¶
type SupervisorMessage_RelayClose struct {
RelayClose *RelayClose `protobuf:"bytes,4,opt,name=relay_close,json=relayClose,proto3,oneof"`
}
type SupervisorMessage_RelayOpenResult ¶
type SupervisorMessage_RelayOpenResult struct {
RelayOpenResult *RelayOpenResult `protobuf:"bytes,3,opt,name=relay_open_result,json=relayOpenResult,proto3,oneof"`
}
type TcpForwardFrame ¶
type TcpForwardFrame struct {
// Types that are valid to be assigned to Payload:
//
// *TcpForwardFrame_Init
// *TcpForwardFrame_Data
Payload isTcpForwardFrame_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
A single frame on the CLI-to-gateway TCP forward stream.
func (*TcpForwardFrame) Descriptor
deprecated
func (*TcpForwardFrame) Descriptor() ([]byte, []int)
Deprecated: Use TcpForwardFrame.ProtoReflect.Descriptor instead.
func (*TcpForwardFrame) GetData ¶
func (x *TcpForwardFrame) GetData() []byte
func (*TcpForwardFrame) GetInit ¶
func (x *TcpForwardFrame) GetInit() *TcpForwardInit
func (*TcpForwardFrame) GetPayload ¶
func (x *TcpForwardFrame) GetPayload() isTcpForwardFrame_Payload
func (*TcpForwardFrame) ProtoMessage ¶
func (*TcpForwardFrame) ProtoMessage()
func (*TcpForwardFrame) ProtoReflect ¶
func (x *TcpForwardFrame) ProtoReflect() protoreflect.Message
func (*TcpForwardFrame) Reset ¶
func (x *TcpForwardFrame) Reset()
func (*TcpForwardFrame) String ¶
func (x *TcpForwardFrame) String() string
type TcpForwardFrame_Data ¶
type TcpForwardFrame_Data struct {
Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type TcpForwardFrame_Init ¶
type TcpForwardFrame_Init struct {
Init *TcpForwardInit `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
}
type TcpForwardInit ¶
type TcpForwardInit struct {
// Sandbox id.
SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// Optional service identifier for audit/correlation.
ServiceId string `protobuf:"bytes,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
// Target the gateway should request from the supervisor.
//
// Types that are valid to be assigned to Target:
//
// *TcpForwardInit_Ssh
// *TcpForwardInit_Tcp
Target isTcpForwardInit_Target `protobuf_oneof:"target"`
// Optional target-specific authorization token. SSH targets use this as the
// short-lived SSH session token issued by CreateSshSession.
AuthorizationToken string `protobuf:"bytes,7,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"`
// contains filtered or unexported fields
}
Initial frame for one TCP forward stream.
func (*TcpForwardInit) Descriptor
deprecated
func (*TcpForwardInit) Descriptor() ([]byte, []int)
Deprecated: Use TcpForwardInit.ProtoReflect.Descriptor instead.
func (*TcpForwardInit) GetAuthorizationToken ¶
func (x *TcpForwardInit) GetAuthorizationToken() string
func (*TcpForwardInit) GetSandboxId ¶
func (x *TcpForwardInit) GetSandboxId() string
func (*TcpForwardInit) GetServiceId ¶
func (x *TcpForwardInit) GetServiceId() string
func (*TcpForwardInit) GetSsh ¶
func (x *TcpForwardInit) GetSsh() *SshRelayTarget
func (*TcpForwardInit) GetTarget ¶
func (x *TcpForwardInit) GetTarget() isTcpForwardInit_Target
func (*TcpForwardInit) GetTcp ¶
func (x *TcpForwardInit) GetTcp() *TcpRelayTarget
func (*TcpForwardInit) ProtoMessage ¶
func (*TcpForwardInit) ProtoMessage()
func (*TcpForwardInit) ProtoReflect ¶
func (x *TcpForwardInit) ProtoReflect() protoreflect.Message
func (*TcpForwardInit) Reset ¶
func (x *TcpForwardInit) Reset()
func (*TcpForwardInit) String ¶
func (x *TcpForwardInit) String() string
type TcpForwardInit_Ssh ¶
type TcpForwardInit_Ssh struct {
Ssh *SshRelayTarget `protobuf:"bytes,5,opt,name=ssh,proto3,oneof"`
}
type TcpForwardInit_Tcp ¶
type TcpForwardInit_Tcp struct {
Tcp *TcpRelayTarget `protobuf:"bytes,6,opt,name=tcp,proto3,oneof"`
}
type TcpRelayTarget ¶
type TcpRelayTarget struct {
// Phase 1 accepts loopback only: 127.0.0.1, ::1, or localhost.
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
// Target port. Must fit in u16 and be non-zero.
Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// contains filtered or unexported fields
}
TCP target dialed by the supervisor from inside the sandbox.
func (*TcpRelayTarget) Descriptor
deprecated
func (*TcpRelayTarget) Descriptor() ([]byte, []int)
Deprecated: Use TcpRelayTarget.ProtoReflect.Descriptor instead.
func (*TcpRelayTarget) GetHost ¶
func (x *TcpRelayTarget) GetHost() string
func (*TcpRelayTarget) GetPort ¶
func (x *TcpRelayTarget) GetPort() uint32
func (*TcpRelayTarget) ProtoMessage ¶
func (*TcpRelayTarget) ProtoMessage()
func (*TcpRelayTarget) ProtoReflect ¶
func (x *TcpRelayTarget) ProtoReflect() protoreflect.Message
func (*TcpRelayTarget) Reset ¶
func (x *TcpRelayTarget) Reset()
func (*TcpRelayTarget) String ¶
func (x *TcpRelayTarget) String() string
type UndoDraftChunkRequest ¶
type UndoDraftChunkRequest struct {
// Sandbox name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Chunk ID to undo.
ChunkId string `protobuf:"bytes,2,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"`
// contains filtered or unexported fields
}
Reverse an approval (remove merged rule from active policy).
func (*UndoDraftChunkRequest) Descriptor
deprecated
func (*UndoDraftChunkRequest) Descriptor() ([]byte, []int)
Deprecated: Use UndoDraftChunkRequest.ProtoReflect.Descriptor instead.
func (*UndoDraftChunkRequest) GetChunkId ¶
func (x *UndoDraftChunkRequest) GetChunkId() string
func (*UndoDraftChunkRequest) GetName ¶
func (x *UndoDraftChunkRequest) GetName() string
func (*UndoDraftChunkRequest) ProtoMessage ¶
func (*UndoDraftChunkRequest) ProtoMessage()
func (*UndoDraftChunkRequest) ProtoReflect ¶
func (x *UndoDraftChunkRequest) ProtoReflect() protoreflect.Message
func (*UndoDraftChunkRequest) Reset ¶
func (x *UndoDraftChunkRequest) Reset()
func (*UndoDraftChunkRequest) String ¶
func (x *UndoDraftChunkRequest) String() string
type UndoDraftChunkResponse ¶
type UndoDraftChunkResponse struct {
// New policy version after removal.
PolicyVersion uint32 `protobuf:"varint,1,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
// SHA-256 hash of the updated policy.
PolicyHash string `protobuf:"bytes,2,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"`
// contains filtered or unexported fields
}
func (*UndoDraftChunkResponse) Descriptor
deprecated
func (*UndoDraftChunkResponse) Descriptor() ([]byte, []int)
Deprecated: Use UndoDraftChunkResponse.ProtoReflect.Descriptor instead.
func (*UndoDraftChunkResponse) GetPolicyHash ¶
func (x *UndoDraftChunkResponse) GetPolicyHash() string
func (*UndoDraftChunkResponse) GetPolicyVersion ¶
func (x *UndoDraftChunkResponse) GetPolicyVersion() uint32
func (*UndoDraftChunkResponse) ProtoMessage ¶
func (*UndoDraftChunkResponse) ProtoMessage()
func (*UndoDraftChunkResponse) ProtoReflect ¶
func (x *UndoDraftChunkResponse) ProtoReflect() protoreflect.Message
func (*UndoDraftChunkResponse) Reset ¶
func (x *UndoDraftChunkResponse) Reset()
func (*UndoDraftChunkResponse) String ¶
func (x *UndoDraftChunkResponse) String() string
type UnimplementedOpenShellServer ¶
type UnimplementedOpenShellServer struct{}
UnimplementedOpenShellServer 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 (UnimplementedOpenShellServer) ApproveAllDraftChunks ¶
func (UnimplementedOpenShellServer) ApproveAllDraftChunks(context.Context, *ApproveAllDraftChunksRequest) (*ApproveAllDraftChunksResponse, error)
func (UnimplementedOpenShellServer) ApproveDraftChunk ¶
func (UnimplementedOpenShellServer) ApproveDraftChunk(context.Context, *ApproveDraftChunkRequest) (*ApproveDraftChunkResponse, error)
func (UnimplementedOpenShellServer) AttachSandboxProvider ¶
func (UnimplementedOpenShellServer) AttachSandboxProvider(context.Context, *AttachSandboxProviderRequest) (*AttachSandboxProviderResponse, error)
func (UnimplementedOpenShellServer) ClearDraftChunks ¶
func (UnimplementedOpenShellServer) ClearDraftChunks(context.Context, *ClearDraftChunksRequest) (*ClearDraftChunksResponse, error)
func (UnimplementedOpenShellServer) ConnectSupervisor ¶
func (UnimplementedOpenShellServer) ConnectSupervisor(grpc.BidiStreamingServer[SupervisorMessage, GatewayMessage]) error
func (UnimplementedOpenShellServer) CreateProvider ¶
func (UnimplementedOpenShellServer) CreateProvider(context.Context, *CreateProviderRequest) (*ProviderResponse, error)
func (UnimplementedOpenShellServer) CreateSandbox ¶
func (UnimplementedOpenShellServer) CreateSandbox(context.Context, *CreateSandboxRequest) (*SandboxResponse, error)
func (UnimplementedOpenShellServer) CreateSshSession ¶
func (UnimplementedOpenShellServer) CreateSshSession(context.Context, *CreateSshSessionRequest) (*CreateSshSessionResponse, error)
func (UnimplementedOpenShellServer) DeleteProvider ¶
func (UnimplementedOpenShellServer) DeleteProvider(context.Context, *DeleteProviderRequest) (*DeleteProviderResponse, error)
func (UnimplementedOpenShellServer) DeleteProviderProfile ¶
func (UnimplementedOpenShellServer) DeleteProviderProfile(context.Context, *DeleteProviderProfileRequest) (*DeleteProviderProfileResponse, error)
func (UnimplementedOpenShellServer) DeleteSandbox ¶
func (UnimplementedOpenShellServer) DeleteSandbox(context.Context, *DeleteSandboxRequest) (*DeleteSandboxResponse, error)
func (UnimplementedOpenShellServer) DeleteService ¶
func (UnimplementedOpenShellServer) DeleteService(context.Context, *DeleteServiceRequest) (*DeleteServiceResponse, error)
func (UnimplementedOpenShellServer) DetachSandboxProvider ¶
func (UnimplementedOpenShellServer) DetachSandboxProvider(context.Context, *DetachSandboxProviderRequest) (*DetachSandboxProviderResponse, error)
func (UnimplementedOpenShellServer) EditDraftChunk ¶
func (UnimplementedOpenShellServer) EditDraftChunk(context.Context, *EditDraftChunkRequest) (*EditDraftChunkResponse, error)
func (UnimplementedOpenShellServer) ExecSandbox ¶
func (UnimplementedOpenShellServer) ExecSandbox(*ExecSandboxRequest, grpc.ServerStreamingServer[ExecSandboxEvent]) error
func (UnimplementedOpenShellServer) ExecSandboxInteractive ¶
func (UnimplementedOpenShellServer) ExecSandboxInteractive(grpc.BidiStreamingServer[ExecSandboxInput, ExecSandboxEvent]) error
func (UnimplementedOpenShellServer) ExposeService ¶
func (UnimplementedOpenShellServer) ExposeService(context.Context, *ExposeServiceRequest) (*ServiceEndpointResponse, error)
func (UnimplementedOpenShellServer) ForwardTcp ¶
func (UnimplementedOpenShellServer) ForwardTcp(grpc.BidiStreamingServer[TcpForwardFrame, TcpForwardFrame]) error
func (UnimplementedOpenShellServer) GetDraftHistory ¶
func (UnimplementedOpenShellServer) GetDraftHistory(context.Context, *GetDraftHistoryRequest) (*GetDraftHistoryResponse, error)
func (UnimplementedOpenShellServer) GetDraftPolicy ¶
func (UnimplementedOpenShellServer) GetDraftPolicy(context.Context, *GetDraftPolicyRequest) (*GetDraftPolicyResponse, error)
func (UnimplementedOpenShellServer) GetGatewayConfig ¶
func (UnimplementedOpenShellServer) GetGatewayConfig(context.Context, *sandboxv1.GetGatewayConfigRequest) (*sandboxv1.GetGatewayConfigResponse, error)
func (UnimplementedOpenShellServer) GetProvider ¶
func (UnimplementedOpenShellServer) GetProvider(context.Context, *GetProviderRequest) (*ProviderResponse, error)
func (UnimplementedOpenShellServer) GetProviderProfile ¶
func (UnimplementedOpenShellServer) GetProviderProfile(context.Context, *GetProviderProfileRequest) (*ProviderProfileResponse, error)
func (UnimplementedOpenShellServer) GetSandbox ¶
func (UnimplementedOpenShellServer) GetSandbox(context.Context, *GetSandboxRequest) (*SandboxResponse, error)
func (UnimplementedOpenShellServer) GetSandboxConfig ¶
func (UnimplementedOpenShellServer) GetSandboxConfig(context.Context, *sandboxv1.GetSandboxConfigRequest) (*sandboxv1.GetSandboxConfigResponse, error)
func (UnimplementedOpenShellServer) GetSandboxLogs ¶
func (UnimplementedOpenShellServer) GetSandboxLogs(context.Context, *GetSandboxLogsRequest) (*GetSandboxLogsResponse, error)
func (UnimplementedOpenShellServer) GetSandboxPolicyStatus ¶
func (UnimplementedOpenShellServer) GetSandboxPolicyStatus(context.Context, *GetSandboxPolicyStatusRequest) (*GetSandboxPolicyStatusResponse, error)
func (UnimplementedOpenShellServer) GetSandboxProviderEnvironment ¶
func (UnimplementedOpenShellServer) GetSandboxProviderEnvironment(context.Context, *GetSandboxProviderEnvironmentRequest) (*GetSandboxProviderEnvironmentResponse, error)
func (UnimplementedOpenShellServer) GetService ¶
func (UnimplementedOpenShellServer) GetService(context.Context, *GetServiceRequest) (*ServiceEndpointResponse, error)
func (UnimplementedOpenShellServer) Health ¶
func (UnimplementedOpenShellServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
func (UnimplementedOpenShellServer) ImportProviderProfiles ¶
func (UnimplementedOpenShellServer) ImportProviderProfiles(context.Context, *ImportProviderProfilesRequest) (*ImportProviderProfilesResponse, error)
func (UnimplementedOpenShellServer) LintProviderProfiles ¶
func (UnimplementedOpenShellServer) LintProviderProfiles(context.Context, *LintProviderProfilesRequest) (*LintProviderProfilesResponse, error)
func (UnimplementedOpenShellServer) ListProviderProfiles ¶
func (UnimplementedOpenShellServer) ListProviderProfiles(context.Context, *ListProviderProfilesRequest) (*ListProviderProfilesResponse, error)
func (UnimplementedOpenShellServer) ListProviders ¶
func (UnimplementedOpenShellServer) ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error)
func (UnimplementedOpenShellServer) ListSandboxPolicies ¶
func (UnimplementedOpenShellServer) ListSandboxPolicies(context.Context, *ListSandboxPoliciesRequest) (*ListSandboxPoliciesResponse, error)
func (UnimplementedOpenShellServer) ListSandboxProviders ¶
func (UnimplementedOpenShellServer) ListSandboxProviders(context.Context, *ListSandboxProvidersRequest) (*ListSandboxProvidersResponse, error)
func (UnimplementedOpenShellServer) ListSandboxes ¶
func (UnimplementedOpenShellServer) ListSandboxes(context.Context, *ListSandboxesRequest) (*ListSandboxesResponse, error)
func (UnimplementedOpenShellServer) ListServices ¶
func (UnimplementedOpenShellServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
func (UnimplementedOpenShellServer) PushSandboxLogs ¶
func (UnimplementedOpenShellServer) PushSandboxLogs(grpc.ClientStreamingServer[PushSandboxLogsRequest, PushSandboxLogsResponse]) error
func (UnimplementedOpenShellServer) RejectDraftChunk ¶
func (UnimplementedOpenShellServer) RejectDraftChunk(context.Context, *RejectDraftChunkRequest) (*RejectDraftChunkResponse, error)
func (UnimplementedOpenShellServer) RelayStream ¶
func (UnimplementedOpenShellServer) RelayStream(grpc.BidiStreamingServer[RelayFrame, RelayFrame]) error
func (UnimplementedOpenShellServer) ReportPolicyStatus ¶
func (UnimplementedOpenShellServer) ReportPolicyStatus(context.Context, *ReportPolicyStatusRequest) (*ReportPolicyStatusResponse, error)
func (UnimplementedOpenShellServer) RevokeSshSession ¶
func (UnimplementedOpenShellServer) RevokeSshSession(context.Context, *RevokeSshSessionRequest) (*RevokeSshSessionResponse, error)
func (UnimplementedOpenShellServer) SubmitPolicyAnalysis ¶
func (UnimplementedOpenShellServer) SubmitPolicyAnalysis(context.Context, *SubmitPolicyAnalysisRequest) (*SubmitPolicyAnalysisResponse, error)
func (UnimplementedOpenShellServer) UndoDraftChunk ¶
func (UnimplementedOpenShellServer) UndoDraftChunk(context.Context, *UndoDraftChunkRequest) (*UndoDraftChunkResponse, error)
func (UnimplementedOpenShellServer) UpdateConfig ¶
func (UnimplementedOpenShellServer) UpdateConfig(context.Context, *UpdateConfigRequest) (*UpdateConfigResponse, error)
func (UnimplementedOpenShellServer) UpdateProvider ¶
func (UnimplementedOpenShellServer) UpdateProvider(context.Context, *UpdateProviderRequest) (*ProviderResponse, error)
func (UnimplementedOpenShellServer) WatchSandbox ¶
func (UnimplementedOpenShellServer) WatchSandbox(*WatchSandboxRequest, grpc.ServerStreamingServer[SandboxStreamEvent]) error
type UnsafeOpenShellServer ¶
type UnsafeOpenShellServer interface {
// contains filtered or unexported methods
}
UnsafeOpenShellServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OpenShellServer will result in compilation errors.
type UpdateConfigRequest ¶
type UpdateConfigRequest struct {
// Sandbox name (canonical lookup key). Required for sandbox-scoped updates.
// Not required when `global=true`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The new policy to apply.
//
// Sandbox scope (`global=false`):
// - only network_policies and inference fields may differ from create-time
// policy; static fields must match version 1.
//
// Global scope (`global=true`):
// - applies to all sandboxes in full (no merge).
Policy *sandboxv1.SandboxPolicy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
// Optional single setting key to mutate.
SettingKey string `protobuf:"bytes,3,opt,name=setting_key,json=settingKey,proto3" json:"setting_key,omitempty"`
// Setting value for upsert operations.
SettingValue *sandboxv1.SettingValue `protobuf:"bytes,4,opt,name=setting_value,json=settingValue,proto3" json:"setting_value,omitempty"`
// Delete the setting key from scope.
// Sandbox-scoped deletes are rejected; only global delete is supported.
DeleteSetting bool `protobuf:"varint,5,opt,name=delete_setting,json=deleteSetting,proto3" json:"delete_setting,omitempty"`
// Apply mutation at gateway-global scope.
Global bool `protobuf:"varint,6,opt,name=global,proto3" json:"global,omitempty"`
// Batched incremental policy merge operations. Sandbox-scoped only.
MergeOperations []*PolicyMergeOperation `protobuf:"bytes,7,rep,name=merge_operations,json=mergeOperations,proto3" json:"merge_operations,omitempty"`
// Expected resource version for optimistic concurrency control (sandbox-scoped only).
// If 0, the server uses the current version (backward compatibility).
// If non-zero, the server validates that the sandbox's current resource_version
// matches this value before applying the mutation, returning ABORTED on mismatch.
// Ignored for global-scoped updates.
ExpectedResourceVersion uint64 `` /* 133-byte string literal not displayed */
// contains filtered or unexported fields
}
Update sandbox policy request.
func (*UpdateConfigRequest) Descriptor
deprecated
func (*UpdateConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateConfigRequest) GetDeleteSetting ¶
func (x *UpdateConfigRequest) GetDeleteSetting() bool
func (*UpdateConfigRequest) GetExpectedResourceVersion ¶
func (x *UpdateConfigRequest) GetExpectedResourceVersion() uint64
func (*UpdateConfigRequest) GetGlobal ¶
func (x *UpdateConfigRequest) GetGlobal() bool
func (*UpdateConfigRequest) GetMergeOperations ¶
func (x *UpdateConfigRequest) GetMergeOperations() []*PolicyMergeOperation
func (*UpdateConfigRequest) GetName ¶
func (x *UpdateConfigRequest) GetName() string
func (*UpdateConfigRequest) GetPolicy ¶
func (x *UpdateConfigRequest) GetPolicy() *sandboxv1.SandboxPolicy
func (*UpdateConfigRequest) GetSettingKey ¶
func (x *UpdateConfigRequest) GetSettingKey() string
func (*UpdateConfigRequest) GetSettingValue ¶
func (x *UpdateConfigRequest) GetSettingValue() *sandboxv1.SettingValue
func (*UpdateConfigRequest) ProtoMessage ¶
func (*UpdateConfigRequest) ProtoMessage()
func (*UpdateConfigRequest) ProtoReflect ¶
func (x *UpdateConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateConfigRequest) Reset ¶
func (x *UpdateConfigRequest) Reset()
func (*UpdateConfigRequest) String ¶
func (x *UpdateConfigRequest) String() string
type UpdateConfigResponse ¶
type UpdateConfigResponse struct {
// Assigned policy version (monotonically increasing per sandbox).
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// SHA-256 hash of the serialized policy payload.
PolicyHash string `protobuf:"bytes,2,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"`
// Settings revision for the scope that was modified.
SettingsRevision uint64 `protobuf:"varint,3,opt,name=settings_revision,json=settingsRevision,proto3" json:"settings_revision,omitempty"`
// True when a setting delete operation removed an existing key.
Deleted bool `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
// contains filtered or unexported fields
}
Update sandbox policy response.
func (*UpdateConfigResponse) Descriptor
deprecated
func (*UpdateConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConfigResponse.ProtoReflect.Descriptor instead.
func (*UpdateConfigResponse) GetDeleted ¶
func (x *UpdateConfigResponse) GetDeleted() bool
func (*UpdateConfigResponse) GetPolicyHash ¶
func (x *UpdateConfigResponse) GetPolicyHash() string
func (*UpdateConfigResponse) GetSettingsRevision ¶
func (x *UpdateConfigResponse) GetSettingsRevision() uint64
func (*UpdateConfigResponse) GetVersion ¶
func (x *UpdateConfigResponse) GetVersion() uint32
func (*UpdateConfigResponse) ProtoMessage ¶
func (*UpdateConfigResponse) ProtoMessage()
func (*UpdateConfigResponse) ProtoReflect ¶
func (x *UpdateConfigResponse) ProtoReflect() protoreflect.Message
func (*UpdateConfigResponse) Reset ¶
func (x *UpdateConfigResponse) Reset()
func (*UpdateConfigResponse) String ¶
func (x *UpdateConfigResponse) String() string
type UpdateProviderRequest ¶
type UpdateProviderRequest struct {
Provider *datamodelv1.Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
// contains filtered or unexported fields
}
Update provider request.
func (*UpdateProviderRequest) Descriptor
deprecated
func (*UpdateProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProviderRequest.ProtoReflect.Descriptor instead.
func (*UpdateProviderRequest) GetProvider ¶
func (x *UpdateProviderRequest) GetProvider() *datamodelv1.Provider
func (*UpdateProviderRequest) ProtoMessage ¶
func (*UpdateProviderRequest) ProtoMessage()
func (*UpdateProviderRequest) ProtoReflect ¶
func (x *UpdateProviderRequest) ProtoReflect() protoreflect.Message
func (*UpdateProviderRequest) Reset ¶
func (x *UpdateProviderRequest) Reset()
func (*UpdateProviderRequest) String ¶
func (x *UpdateProviderRequest) String() string
type WatchSandboxRequest ¶
type WatchSandboxRequest struct {
// Sandbox id.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Stream sandbox status snapshots.
FollowStatus bool `protobuf:"varint,2,opt,name=follow_status,json=followStatus,proto3" json:"follow_status,omitempty"`
// Stream openshell-server process logs correlated to this sandbox.
FollowLogs bool `protobuf:"varint,3,opt,name=follow_logs,json=followLogs,proto3" json:"follow_logs,omitempty"`
// Stream platform events correlated to this sandbox.
FollowEvents bool `protobuf:"varint,4,opt,name=follow_events,json=followEvents,proto3" json:"follow_events,omitempty"`
// Replay the last N log lines (best-effort) before following.
LogTailLines uint32 `protobuf:"varint,5,opt,name=log_tail_lines,json=logTailLines,proto3" json:"log_tail_lines,omitempty"`
// Replay the last N platform events (best-effort) before following.
EventTail uint32 `protobuf:"varint,6,opt,name=event_tail,json=eventTail,proto3" json:"event_tail,omitempty"`
// Stop streaming once the sandbox reaches a terminal phase (READY or ERROR).
StopOnTerminal bool `protobuf:"varint,7,opt,name=stop_on_terminal,json=stopOnTerminal,proto3" json:"stop_on_terminal,omitempty"`
// Only include log lines with timestamp >= this value (milliseconds since epoch).
// 0 means no time filter. Applies to both tail replay and live streaming.
LogSinceMs int64 `protobuf:"varint,8,opt,name=log_since_ms,json=logSinceMs,proto3" json:"log_since_ms,omitempty"`
// Filter by log source (e.g. "gateway", "sandbox"). Empty means all sources.
LogSources []string `protobuf:"bytes,9,rep,name=log_sources,json=logSources,proto3" json:"log_sources,omitempty"`
// Minimum log level to include (e.g. "INFO", "WARN", "ERROR"). Empty means all levels.
LogMinLevel string `protobuf:"bytes,10,opt,name=log_min_level,json=logMinLevel,proto3" json:"log_min_level,omitempty"`
// contains filtered or unexported fields
}
Watch sandbox request.
func (*WatchSandboxRequest) Descriptor
deprecated
func (*WatchSandboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchSandboxRequest.ProtoReflect.Descriptor instead.
func (*WatchSandboxRequest) GetEventTail ¶
func (x *WatchSandboxRequest) GetEventTail() uint32
func (*WatchSandboxRequest) GetFollowEvents ¶
func (x *WatchSandboxRequest) GetFollowEvents() bool
func (*WatchSandboxRequest) GetFollowLogs ¶
func (x *WatchSandboxRequest) GetFollowLogs() bool
func (*WatchSandboxRequest) GetFollowStatus ¶
func (x *WatchSandboxRequest) GetFollowStatus() bool
func (*WatchSandboxRequest) GetId ¶
func (x *WatchSandboxRequest) GetId() string
func (*WatchSandboxRequest) GetLogMinLevel ¶
func (x *WatchSandboxRequest) GetLogMinLevel() string
func (*WatchSandboxRequest) GetLogSinceMs ¶
func (x *WatchSandboxRequest) GetLogSinceMs() int64
func (*WatchSandboxRequest) GetLogSources ¶
func (x *WatchSandboxRequest) GetLogSources() []string
func (*WatchSandboxRequest) GetLogTailLines ¶
func (x *WatchSandboxRequest) GetLogTailLines() uint32
func (*WatchSandboxRequest) GetStopOnTerminal ¶
func (x *WatchSandboxRequest) GetStopOnTerminal() bool
func (*WatchSandboxRequest) ProtoMessage ¶
func (*WatchSandboxRequest) ProtoMessage()
func (*WatchSandboxRequest) ProtoReflect ¶
func (x *WatchSandboxRequest) ProtoReflect() protoreflect.Message
func (*WatchSandboxRequest) Reset ¶
func (x *WatchSandboxRequest) Reset()
func (*WatchSandboxRequest) String ¶
func (x *WatchSandboxRequest) String() string