Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDispatcherServiceServer(s grpc.ServiceRegistrar, srv DispatcherServiceServer)
- func RegisterExecutorServiceServer(s grpc.ServiceRegistrar, srv ExecutorServiceServer)
- type AbortRequest
- func (*AbortRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AbortRequest) GetDebugletId() string
- func (x *AbortRequest) GetReason() string
- func (*AbortRequest) ProtoMessage()
- func (x *AbortRequest) ProtoReflect() protoreflect.Message
- func (x *AbortRequest) Reset()
- func (x *AbortRequest) String() string
- type AbortResponse
- type BandwidthRequest
- func (*BandwidthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BandwidthRequest) GetLimits() []*DestinationLimit
- func (*BandwidthRequest) ProtoMessage()
- func (x *BandwidthRequest) ProtoReflect() protoreflect.Message
- func (x *BandwidthRequest) Reset()
- func (x *BandwidthRequest) String() string
- type BandwidthResponse
- type BindSessionRequest
- func (*BindSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindSessionRequest) GetExecutorId() string
- func (*BindSessionRequest) ProtoMessage()
- func (x *BindSessionRequest) ProtoReflect() protoreflect.Message
- func (x *BindSessionRequest) Reset()
- func (x *BindSessionRequest) String() string
- type BindSessionResponse
- func (*BindSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BindSessionResponse) GetLeaseDurationMs() int64
- func (*BindSessionResponse) ProtoMessage()
- func (x *BindSessionResponse) ProtoReflect() protoreflect.Message
- func (x *BindSessionResponse) Reset()
- func (x *BindSessionResponse) String() string
- type ControlBinding
- func (*ControlBinding) Descriptor() ([]byte, []int)deprecated
- func (x *ControlBinding) GetDispatcherIncarnation() string
- func (x *ControlBinding) GetSessionId() string
- func (*ControlBinding) ProtoMessage()
- func (x *ControlBinding) ProtoReflect() protoreflect.Message
- func (x *ControlBinding) Reset()
- func (x *ControlBinding) String() string
- type DebugletAllocateRequest
- func (*DebugletAllocateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DebugletAllocateRequest) GetDebugletId() string
- func (x *DebugletAllocateRequest) GetExecutorId() string
- func (x *DebugletAllocateRequest) GetPolicy() *DebugletPolicy
- func (x *DebugletAllocateRequest) GetTransactionId() string
- func (*DebugletAllocateRequest) ProtoMessage()
- func (x *DebugletAllocateRequest) ProtoReflect() protoreflect.Message
- func (x *DebugletAllocateRequest) Reset()
- func (x *DebugletAllocateRequest) String() string
- type DebugletAllocateResponse
- func (*DebugletAllocateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DebugletAllocateResponse) GetAllocatedLimits() []*DestinationLimit
- func (*DebugletAllocateResponse) ProtoMessage()
- func (x *DebugletAllocateResponse) ProtoReflect() protoreflect.Message
- func (x *DebugletAllocateResponse) Reset()
- func (x *DebugletAllocateResponse) String() string
- type DebugletExitRequest
- func (*DebugletExitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DebugletExitRequest) GetDebugletId() string
- func (x *DebugletExitRequest) GetErrorMessage() string
- func (x *DebugletExitRequest) GetExitCode() int32
- func (*DebugletExitRequest) ProtoMessage()
- func (x *DebugletExitRequest) ProtoReflect() protoreflect.Message
- func (x *DebugletExitRequest) Reset()
- func (x *DebugletExitRequest) String() string
- type DebugletExitResponse
- type DebugletIdent
- func (*DebugletIdent) Descriptor() ([]byte, []int)deprecated
- func (x *DebugletIdent) GetDebugletId() string
- func (x *DebugletIdent) GetExecutorId() string
- func (*DebugletIdent) ProtoMessage()
- func (x *DebugletIdent) ProtoReflect() protoreflect.Message
- func (x *DebugletIdent) Reset()
- func (x *DebugletIdent) String() string
- type DebugletOutput
- func (*DebugletOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DebugletOutput) GetOutput() []byte
- func (x *DebugletOutput) GetTimestamp() *timestamppb.Timestamp
- func (*DebugletOutput) ProtoMessage()
- func (x *DebugletOutput) ProtoReflect() protoreflect.Message
- func (x *DebugletOutput) Reset()
- func (x *DebugletOutput) String() string
- type DebugletPolicy
- func (*DebugletPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *DebugletPolicy) GetAddresses() []string
- func (x *DebugletPolicy) GetCeilBw() int64
- func (x *DebugletPolicy) GetFloorBw() int64
- func (x *DebugletPolicy) GetListenScion() bool
- func (x *DebugletPolicy) GetListenTcp() bool
- func (x *DebugletPolicy) GetListenUdp() bool
- func (x *DebugletPolicy) GetRequireIcmp() bool
- func (x *DebugletPolicy) GetTimeoutMs() int64
- func (*DebugletPolicy) ProtoMessage()
- func (x *DebugletPolicy) ProtoReflect() protoreflect.Message
- func (x *DebugletPolicy) Reset()
- func (x *DebugletPolicy) String() string
- type DebugletStateRequest
- func (*DebugletStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DebugletStateRequest) GetDebugletId() string
- func (x *DebugletStateRequest) GetExecutorId() string
- func (x *DebugletStateRequest) GetState() RunState
- func (*DebugletStateRequest) ProtoMessage()
- func (x *DebugletStateRequest) ProtoReflect() protoreflect.Message
- func (x *DebugletStateRequest) Reset()
- func (x *DebugletStateRequest) String() string
- type DebugletStateResponse
- type DebugletStreamRequest
- func (*DebugletStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DebugletStreamRequest) GetIdent() *DebugletIdent
- func (x *DebugletStreamRequest) GetMsg() isDebugletStreamRequest_Msg
- func (x *DebugletStreamRequest) GetOutput() *DebugletOutput
- func (*DebugletStreamRequest) ProtoMessage()
- func (x *DebugletStreamRequest) ProtoReflect() protoreflect.Message
- func (x *DebugletStreamRequest) Reset()
- func (x *DebugletStreamRequest) String() string
- type DebugletStreamRequest_Ident
- type DebugletStreamRequest_Output
- type DebugletStreamResponse
- type DestinationLimit
- func (*DestinationLimit) Descriptor() ([]byte, []int)deprecated
- func (x *DestinationLimit) GetAddress() string
- func (x *DestinationLimit) GetBitsLimit() int64
- func (*DestinationLimit) ProtoMessage()
- func (x *DestinationLimit) ProtoReflect() protoreflect.Message
- func (x *DestinationLimit) Reset()
- func (x *DestinationLimit) String() string
- type DispatcherServiceClient
- type DispatcherServiceServer
- type DispatcherService_DebugletStreamClient
- type DispatcherService_DebugletStreamServer
- type ExecutorServiceClient
- type ExecutorServiceServer
- type HeartbeatRequest
- func (*HeartbeatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HeartbeatRequest) GetExecutorId() string
- func (x *HeartbeatRequest) GetTeslaKey() []byte
- func (x *HeartbeatRequest) GetTeslaKeyEpoch() int64
- func (x *HeartbeatRequest) GetTimestampNs() int64
- func (*HeartbeatRequest) ProtoMessage()
- func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
- func (x *HeartbeatRequest) Reset()
- func (x *HeartbeatRequest) String() string
- type HeartbeatResponse
- type HelloRequest
- func (*HelloRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HelloRequest) GetControlVersion() uint32
- func (x *HelloRequest) GetDispatcherIncarnation() string
- func (x *HelloRequest) GetLeaseDurationMs() int64
- func (x *HelloRequest) GetSessionId() string
- func (x *HelloRequest) GetSessionToken() []byte
- func (*HelloRequest) ProtoMessage()
- func (x *HelloRequest) ProtoReflect() protoreflect.Message
- func (x *HelloRequest) Reset()
- func (x *HelloRequest) String() string
- type HelloResponse
- func (*HelloResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HelloResponse) GetControlVersion() uint32
- func (x *HelloResponse) GetCurrency() string
- func (x *HelloResponse) GetDispatcherIncarnation() string
- func (x *HelloResponse) GetEnrollmentToken() string
- func (x *HelloResponse) GetExecutorId() string
- func (x *HelloResponse) GetIcmpEnabled() bool
- func (x *HelloResponse) GetLeaseDurationMs() int64
- func (x *HelloResponse) GetPricePerBwS() int64
- func (x *HelloResponse) GetPublicHost() string
- func (x *HelloResponse) GetSessionId() string
- func (x *HelloResponse) GetSourceIp() string
- func (x *HelloResponse) GetSuiWallet() string
- func (x *HelloResponse) GetTeslaAnchorKey() []byte
- func (x *HelloResponse) GetTeslaAnchorTimestampNs() int64
- func (x *HelloResponse) GetTeslaDelaySec() int64
- func (x *HelloResponse) GetVersion() string
- func (*HelloResponse) ProtoMessage()
- func (x *HelloResponse) ProtoReflect() protoreflect.Message
- func (x *HelloResponse) Reset()
- func (x *HelloResponse) String() string
- type InspectRetainedRunRequest
- func (*InspectRetainedRunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InspectRetainedRunRequest) GetControlBinding() *ControlBinding
- func (x *InspectRetainedRunRequest) GetDebugletId() string
- func (*InspectRetainedRunRequest) ProtoMessage()
- func (x *InspectRetainedRunRequest) ProtoReflect() protoreflect.Message
- func (x *InspectRetainedRunRequest) Reset()
- func (x *InspectRetainedRunRequest) String() string
- type InspectRetainedRunResponse
- func (*InspectRetainedRunResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InspectRetainedRunResponse) GetRun() *RetainedRun
- func (x *InspectRetainedRunResponse) GetStatus() RetainedRunStatus
- func (*InspectRetainedRunResponse) ProtoMessage()
- func (x *InspectRetainedRunResponse) ProtoReflect() protoreflect.Message
- func (x *InspectRetainedRunResponse) Reset()
- func (x *InspectRetainedRunResponse) String() string
- type ProbeSessionRequest
- func (*ProbeSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProbeSessionRequest) GetSequence() uint64
- func (*ProbeSessionRequest) ProtoMessage()
- func (x *ProbeSessionRequest) ProtoReflect() protoreflect.Message
- func (x *ProbeSessionRequest) Reset()
- func (x *ProbeSessionRequest) String() string
- type ProbeSessionResponse
- func (*ProbeSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProbeSessionResponse) GetSequence() uint64
- func (*ProbeSessionResponse) ProtoMessage()
- func (x *ProbeSessionResponse) ProtoReflect() protoreflect.Message
- func (x *ProbeSessionResponse) Reset()
- func (x *ProbeSessionResponse) String() string
- type RenewLeaseRequest
- type RenewLeaseResponse
- func (*RenewLeaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenewLeaseResponse) GetLeaseDurationMs() int64
- func (x *RenewLeaseResponse) GetSequence() uint64
- func (*RenewLeaseResponse) ProtoMessage()
- func (x *RenewLeaseResponse) ProtoReflect() protoreflect.Message
- func (x *RenewLeaseResponse) Reset()
- func (x *RenewLeaseResponse) String() string
- type ResourcesRequest
- func (*ResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcesRequest) GetBandwidthCapacity() int64
- func (x *ResourcesRequest) GetExecutorId() string
- func (*ResourcesRequest) ProtoMessage()
- func (x *ResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *ResourcesRequest) Reset()
- func (x *ResourcesRequest) String() string
- type ResourcesResponse
- type RetainedRun
- func (*RetainedRun) Descriptor() ([]byte, []int)deprecated
- func (x *RetainedRun) GetDebugletId() string
- func (x *RetainedRun) GetOriginalBinding() *ControlBinding
- func (x *RetainedRun) GetStartTime() *timestamppb.Timestamp
- func (x *RetainedRun) GetStarted() bool
- func (x *RetainedRun) GetStartedAt() *timestamppb.Timestamp
- func (x *RetainedRun) GetTransactionId() string
- func (*RetainedRun) ProtoMessage()
- func (x *RetainedRun) ProtoReflect() protoreflect.Message
- func (x *RetainedRun) Reset()
- func (x *RetainedRun) String() string
- type RetainedRunStatus
- func (RetainedRunStatus) Descriptor() protoreflect.EnumDescriptor
- func (x RetainedRunStatus) Enum() *RetainedRunStatus
- func (RetainedRunStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x RetainedRunStatus) Number() protoreflect.EnumNumber
- func (x RetainedRunStatus) String() string
- func (RetainedRunStatus) Type() protoreflect.EnumType
- type RunState
- type UnimplementedDispatcherServiceServer
- func (UnimplementedDispatcherServiceServer) BindSession(context.Context, *BindSessionRequest) (*BindSessionResponse, error)
- func (UnimplementedDispatcherServiceServer) DebugletAllocate(context.Context, *DebugletAllocateRequest) (*DebugletAllocateResponse, error)
- func (UnimplementedDispatcherServiceServer) DebugletExit(context.Context, *DebugletExitRequest) (*DebugletExitResponse, error)
- func (UnimplementedDispatcherServiceServer) DebugletState(context.Context, *DebugletStateRequest) (*DebugletStateResponse, error)
- func (UnimplementedDispatcherServiceServer) DebugletStream(grpc.BidiStreamingServer[DebugletStreamRequest, DebugletStreamResponse]) error
- func (UnimplementedDispatcherServiceServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
- func (UnimplementedDispatcherServiceServer) RenewLease(context.Context, *RenewLeaseRequest) (*RenewLeaseResponse, error)
- func (UnimplementedDispatcherServiceServer) Resources(context.Context, *ResourcesRequest) (*ResourcesResponse, error)
- type UnimplementedExecutorServiceServer
- func (UnimplementedExecutorServiceServer) Abort(context.Context, *AbortRequest) (*AbortResponse, error)
- func (UnimplementedExecutorServiceServer) Bandwidth(context.Context, *BandwidthRequest) (*BandwidthResponse, error)
- func (UnimplementedExecutorServiceServer) Hello(context.Context, *HelloRequest) (*HelloResponse, error)
- func (UnimplementedExecutorServiceServer) InspectRetainedRun(context.Context, *InspectRetainedRunRequest) (*InspectRetainedRunResponse, error)
- func (UnimplementedExecutorServiceServer) ProbeSession(context.Context, *ProbeSessionRequest) (*ProbeSessionResponse, error)
- func (UnimplementedExecutorServiceServer) Upload(context.Context, *UploadRequest) (*UploadResponse, error)
- type UnsafeDispatcherServiceServer
- type UnsafeExecutorServiceServer
- type UploadRequest
- func (*UploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadRequest) GetArgs() []string
- func (x *UploadRequest) GetControlBinding() *ControlBinding
- func (x *UploadRequest) GetId() string
- func (x *UploadRequest) GetPolicy() *DebugletPolicy
- func (x *UploadRequest) GetStartTime() *timestamppb.Timestamp
- func (x *UploadRequest) GetTransactionId() string
- func (x *UploadRequest) GetWasm() []byte
- func (*UploadRequest) ProtoMessage()
- func (x *UploadRequest) ProtoReflect() protoreflect.Message
- func (x *UploadRequest) Reset()
- func (x *UploadRequest) String() string
- type UploadResponse
Constants ¶
const ( DispatcherService_Heartbeat_FullMethodName = "/debuglet.protocol.DispatcherService/Heartbeat" DispatcherService_Resources_FullMethodName = "/debuglet.protocol.DispatcherService/Resources" DispatcherService_DebugletState_FullMethodName = "/debuglet.protocol.DispatcherService/DebugletState" DispatcherService_DebugletAllocate_FullMethodName = "/debuglet.protocol.DispatcherService/DebugletAllocate" DispatcherService_DebugletExit_FullMethodName = "/debuglet.protocol.DispatcherService/DebugletExit" DispatcherService_DebugletStream_FullMethodName = "/debuglet.protocol.DispatcherService/DebugletStream" DispatcherService_BindSession_FullMethodName = "/debuglet.protocol.DispatcherService/BindSession" DispatcherService_RenewLease_FullMethodName = "/debuglet.protocol.DispatcherService/RenewLease" )
const ( ExecutorService_Hello_FullMethodName = "/debuglet.protocol.ExecutorService/Hello" ExecutorService_Upload_FullMethodName = "/debuglet.protocol.ExecutorService/Upload" ExecutorService_Abort_FullMethodName = "/debuglet.protocol.ExecutorService/Abort" ExecutorService_Bandwidth_FullMethodName = "/debuglet.protocol.ExecutorService/Bandwidth" ExecutorService_ProbeSession_FullMethodName = "/debuglet.protocol.ExecutorService/ProbeSession" ExecutorService_InspectRetainedRun_FullMethodName = "/debuglet.protocol.ExecutorService/InspectRetainedRun" )
Variables ¶
var ( RunState_name = map[int32]string{ 0: "RUN_STATE_UNSPECIFIED", 1: "RUN_STATE_INITIALIZING", 2: "RUN_STATE_STARTED", } RunState_value = map[string]int32{ "RUN_STATE_UNSPECIFIED": 0, "RUN_STATE_INITIALIZING": 1, "RUN_STATE_STARTED": 2, } )
Enum value maps for RunState.
var ( RetainedRunStatus_name = map[int32]string{ 0: "RETAINED_RUN_STATUS_UNSPECIFIED", 1: "RETAINED_RUN_STATUS_FOUND", 2: "RETAINED_RUN_STATUS_FILTERED", 3: "RETAINED_RUN_STATUS_ABSENT", } RetainedRunStatus_value = map[string]int32{ "RETAINED_RUN_STATUS_UNSPECIFIED": 0, "RETAINED_RUN_STATUS_FOUND": 1, "RETAINED_RUN_STATUS_FILTERED": 2, "RETAINED_RUN_STATUS_ABSENT": 3, } )
Enum value maps for RetainedRunStatus.
var DispatcherService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "debuglet.protocol.DispatcherService", HandlerType: (*DispatcherServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Heartbeat", Handler: _DispatcherService_Heartbeat_Handler, }, { MethodName: "Resources", Handler: _DispatcherService_Resources_Handler, }, { MethodName: "DebugletState", Handler: _DispatcherService_DebugletState_Handler, }, { MethodName: "DebugletAllocate", Handler: _DispatcherService_DebugletAllocate_Handler, }, { MethodName: "DebugletExit", Handler: _DispatcherService_DebugletExit_Handler, }, { MethodName: "BindSession", Handler: _DispatcherService_BindSession_Handler, }, { MethodName: "RenewLease", Handler: _DispatcherService_RenewLease_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "DebugletStream", Handler: _DispatcherService_DebugletStream_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "protocol/protocol.proto", }
DispatcherService_ServiceDesc is the grpc.ServiceDesc for DispatcherService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ExecutorService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "debuglet.protocol.ExecutorService", HandlerType: (*ExecutorServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Hello", Handler: _ExecutorService_Hello_Handler, }, { MethodName: "Upload", Handler: _ExecutorService_Upload_Handler, }, { MethodName: "Abort", Handler: _ExecutorService_Abort_Handler, }, { MethodName: "Bandwidth", Handler: _ExecutorService_Bandwidth_Handler, }, { MethodName: "ProbeSession", Handler: _ExecutorService_ProbeSession_Handler, }, { MethodName: "InspectRetainedRun", Handler: _ExecutorService_InspectRetainedRun_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protocol/protocol.proto", }
ExecutorService_ServiceDesc is the grpc.ServiceDesc for ExecutorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_protocol_protocol_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDispatcherServiceServer ¶
func RegisterDispatcherServiceServer(s grpc.ServiceRegistrar, srv DispatcherServiceServer)
func RegisterExecutorServiceServer ¶
func RegisterExecutorServiceServer(s grpc.ServiceRegistrar, srv ExecutorServiceServer)
Types ¶
type AbortRequest ¶
type AbortRequest struct {
DebugletId string `protobuf:"bytes,1,opt,name=debuglet_id,json=debugletId,proto3" json:"debuglet_id,omitempty"`
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
func (*AbortRequest) Descriptor
deprecated
func (*AbortRequest) Descriptor() ([]byte, []int)
Deprecated: Use AbortRequest.ProtoReflect.Descriptor instead.
func (*AbortRequest) GetDebugletId ¶
func (x *AbortRequest) GetDebugletId() string
func (*AbortRequest) GetReason ¶
func (x *AbortRequest) GetReason() string
func (*AbortRequest) ProtoMessage ¶
func (*AbortRequest) ProtoMessage()
func (*AbortRequest) ProtoReflect ¶
func (x *AbortRequest) ProtoReflect() protoreflect.Message
func (*AbortRequest) Reset ¶
func (x *AbortRequest) Reset()
func (*AbortRequest) String ¶
func (x *AbortRequest) String() string
type AbortResponse ¶
type AbortResponse struct {
// contains filtered or unexported fields
}
func (*AbortResponse) Descriptor
deprecated
func (*AbortResponse) Descriptor() ([]byte, []int)
Deprecated: Use AbortResponse.ProtoReflect.Descriptor instead.
func (*AbortResponse) ProtoMessage ¶
func (*AbortResponse) ProtoMessage()
func (*AbortResponse) ProtoReflect ¶
func (x *AbortResponse) ProtoReflect() protoreflect.Message
func (*AbortResponse) Reset ¶
func (x *AbortResponse) Reset()
func (*AbortResponse) String ¶
func (x *AbortResponse) String() string
type BandwidthRequest ¶
type BandwidthRequest struct {
Limits []*DestinationLimit `protobuf:"bytes,1,rep,name=limits,proto3" json:"limits,omitempty"`
// contains filtered or unexported fields
}
func (*BandwidthRequest) Descriptor
deprecated
func (*BandwidthRequest) Descriptor() ([]byte, []int)
Deprecated: Use BandwidthRequest.ProtoReflect.Descriptor instead.
func (*BandwidthRequest) GetLimits ¶
func (x *BandwidthRequest) GetLimits() []*DestinationLimit
func (*BandwidthRequest) ProtoMessage ¶
func (*BandwidthRequest) ProtoMessage()
func (*BandwidthRequest) ProtoReflect ¶
func (x *BandwidthRequest) ProtoReflect() protoreflect.Message
func (*BandwidthRequest) Reset ¶
func (x *BandwidthRequest) Reset()
func (*BandwidthRequest) String ¶
func (x *BandwidthRequest) String() string
type BandwidthResponse ¶
type BandwidthResponse struct {
// contains filtered or unexported fields
}
func (*BandwidthResponse) Descriptor
deprecated
func (*BandwidthResponse) Descriptor() ([]byte, []int)
Deprecated: Use BandwidthResponse.ProtoReflect.Descriptor instead.
func (*BandwidthResponse) ProtoMessage ¶
func (*BandwidthResponse) ProtoMessage()
func (*BandwidthResponse) ProtoReflect ¶
func (x *BandwidthResponse) ProtoReflect() protoreflect.Message
func (*BandwidthResponse) Reset ¶
func (x *BandwidthResponse) Reset()
func (*BandwidthResponse) String ¶
func (x *BandwidthResponse) String() string
type BindSessionRequest ¶
type BindSessionRequest struct {
ExecutorId string `protobuf:"bytes,1,opt,name=executor_id,json=executorId,proto3" json:"executor_id,omitempty"`
// contains filtered or unexported fields
}
Confirmation uses binding metadata on the separate direct channel.
func (*BindSessionRequest) Descriptor
deprecated
func (*BindSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindSessionRequest.ProtoReflect.Descriptor instead.
func (*BindSessionRequest) GetExecutorId ¶
func (x *BindSessionRequest) GetExecutorId() string
func (*BindSessionRequest) ProtoMessage ¶
func (*BindSessionRequest) ProtoMessage()
func (*BindSessionRequest) ProtoReflect ¶
func (x *BindSessionRequest) ProtoReflect() protoreflect.Message
func (*BindSessionRequest) Reset ¶
func (x *BindSessionRequest) Reset()
func (*BindSessionRequest) String ¶
func (x *BindSessionRequest) String() string
type BindSessionResponse ¶
type BindSessionResponse struct {
LeaseDurationMs int64 `protobuf:"varint,1,opt,name=lease_duration_ms,json=leaseDurationMs,proto3" json:"lease_duration_ms,omitempty"` // Original initial lease; repeats never rearm it.
// contains filtered or unexported fields
}
func (*BindSessionResponse) Descriptor
deprecated
func (*BindSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use BindSessionResponse.ProtoReflect.Descriptor instead.
func (*BindSessionResponse) GetLeaseDurationMs ¶
func (x *BindSessionResponse) GetLeaseDurationMs() int64
func (*BindSessionResponse) ProtoMessage ¶
func (*BindSessionResponse) ProtoMessage()
func (*BindSessionResponse) ProtoReflect ¶
func (x *BindSessionResponse) ProtoReflect() protoreflect.Message
func (*BindSessionResponse) Reset ¶
func (x *BindSessionResponse) Reset()
func (*BindSessionResponse) String ¶
func (x *BindSessionResponse) String() string
type ControlBinding ¶
type ControlBinding struct {
DispatcherIncarnation string `protobuf:"bytes,1,opt,name=dispatcher_incarnation,json=dispatcherIncarnation,proto3" json:"dispatcher_incarnation,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
Nonsecret immutable run ownership. The bearer token stays in transport state.
func (*ControlBinding) Descriptor
deprecated
func (*ControlBinding) Descriptor() ([]byte, []int)
Deprecated: Use ControlBinding.ProtoReflect.Descriptor instead.
func (*ControlBinding) GetDispatcherIncarnation ¶
func (x *ControlBinding) GetDispatcherIncarnation() string
func (*ControlBinding) GetSessionId ¶
func (x *ControlBinding) GetSessionId() string
func (*ControlBinding) ProtoMessage ¶
func (*ControlBinding) ProtoMessage()
func (*ControlBinding) ProtoReflect ¶
func (x *ControlBinding) ProtoReflect() protoreflect.Message
func (*ControlBinding) Reset ¶
func (x *ControlBinding) Reset()
func (*ControlBinding) String ¶
func (x *ControlBinding) String() string
type DebugletAllocateRequest ¶
type DebugletAllocateRequest struct {
DebugletId string `protobuf:"bytes,1,opt,name=debuglet_id,json=debugletId,proto3" json:"debuglet_id,omitempty"`
ExecutorId string `protobuf:"bytes,2,opt,name=executor_id,json=executorId,proto3" json:"executor_id,omitempty"`
TransactionId string `protobuf:"bytes,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
Policy *DebugletPolicy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
// contains filtered or unexported fields
}
func (*DebugletAllocateRequest) Descriptor
deprecated
func (*DebugletAllocateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DebugletAllocateRequest.ProtoReflect.Descriptor instead.
func (*DebugletAllocateRequest) GetDebugletId ¶
func (x *DebugletAllocateRequest) GetDebugletId() string
func (*DebugletAllocateRequest) GetExecutorId ¶
func (x *DebugletAllocateRequest) GetExecutorId() string
func (*DebugletAllocateRequest) GetPolicy ¶
func (x *DebugletAllocateRequest) GetPolicy() *DebugletPolicy
func (*DebugletAllocateRequest) GetTransactionId ¶
func (x *DebugletAllocateRequest) GetTransactionId() string
func (*DebugletAllocateRequest) ProtoMessage ¶
func (*DebugletAllocateRequest) ProtoMessage()
func (*DebugletAllocateRequest) ProtoReflect ¶
func (x *DebugletAllocateRequest) ProtoReflect() protoreflect.Message
func (*DebugletAllocateRequest) Reset ¶
func (x *DebugletAllocateRequest) Reset()
func (*DebugletAllocateRequest) String ¶
func (x *DebugletAllocateRequest) String() string
type DebugletAllocateResponse ¶
type DebugletAllocateResponse struct {
AllocatedLimits []*DestinationLimit `protobuf:"bytes,1,rep,name=allocated_limits,json=allocatedLimits,proto3" json:"allocated_limits,omitempty"`
// contains filtered or unexported fields
}
The dispatcher may directly respond with updated limits
func (*DebugletAllocateResponse) Descriptor
deprecated
func (*DebugletAllocateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DebugletAllocateResponse.ProtoReflect.Descriptor instead.
func (*DebugletAllocateResponse) GetAllocatedLimits ¶
func (x *DebugletAllocateResponse) GetAllocatedLimits() []*DestinationLimit
func (*DebugletAllocateResponse) ProtoMessage ¶
func (*DebugletAllocateResponse) ProtoMessage()
func (*DebugletAllocateResponse) ProtoReflect ¶
func (x *DebugletAllocateResponse) ProtoReflect() protoreflect.Message
func (*DebugletAllocateResponse) Reset ¶
func (x *DebugletAllocateResponse) Reset()
func (*DebugletAllocateResponse) String ¶
func (x *DebugletAllocateResponse) String() string
type DebugletExitRequest ¶
type DebugletExitRequest struct {
DebugletId string `protobuf:"bytes,1,opt,name=debuglet_id,json=debugletId,proto3" json:"debuglet_id,omitempty"`
ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
ErrorMessage *string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3,oneof" json:"error_message,omitempty"`
// contains filtered or unexported fields
}
func (*DebugletExitRequest) Descriptor
deprecated
func (*DebugletExitRequest) Descriptor() ([]byte, []int)
Deprecated: Use DebugletExitRequest.ProtoReflect.Descriptor instead.
func (*DebugletExitRequest) GetDebugletId ¶
func (x *DebugletExitRequest) GetDebugletId() string
func (*DebugletExitRequest) GetErrorMessage ¶
func (x *DebugletExitRequest) GetErrorMessage() string
func (*DebugletExitRequest) GetExitCode ¶
func (x *DebugletExitRequest) GetExitCode() int32
func (*DebugletExitRequest) ProtoMessage ¶
func (*DebugletExitRequest) ProtoMessage()
func (*DebugletExitRequest) ProtoReflect ¶
func (x *DebugletExitRequest) ProtoReflect() protoreflect.Message
func (*DebugletExitRequest) Reset ¶
func (x *DebugletExitRequest) Reset()
func (*DebugletExitRequest) String ¶
func (x *DebugletExitRequest) String() string
type DebugletExitResponse ¶
type DebugletExitResponse struct {
// contains filtered or unexported fields
}
func (*DebugletExitResponse) Descriptor
deprecated
func (*DebugletExitResponse) Descriptor() ([]byte, []int)
Deprecated: Use DebugletExitResponse.ProtoReflect.Descriptor instead.
func (*DebugletExitResponse) ProtoMessage ¶
func (*DebugletExitResponse) ProtoMessage()
func (*DebugletExitResponse) ProtoReflect ¶
func (x *DebugletExitResponse) ProtoReflect() protoreflect.Message
func (*DebugletExitResponse) Reset ¶
func (x *DebugletExitResponse) Reset()
func (*DebugletExitResponse) String ¶
func (x *DebugletExitResponse) String() string
type DebugletIdent ¶
type DebugletIdent struct {
DebugletId string `protobuf:"bytes,1,opt,name=debuglet_id,json=debugletId,proto3" json:"debuglet_id,omitempty"`
ExecutorId string `protobuf:"bytes,2,opt,name=executor_id,json=executorId,proto3" json:"executor_id,omitempty"`
// contains filtered or unexported fields
}
Initially sent through a debuglet stream to identify the debuglet and executor. After that, the debuglet can send output messages through the same stream.
func (*DebugletIdent) Descriptor
deprecated
func (*DebugletIdent) Descriptor() ([]byte, []int)
Deprecated: Use DebugletIdent.ProtoReflect.Descriptor instead.
func (*DebugletIdent) GetDebugletId ¶
func (x *DebugletIdent) GetDebugletId() string
func (*DebugletIdent) GetExecutorId ¶
func (x *DebugletIdent) GetExecutorId() string
func (*DebugletIdent) ProtoMessage ¶
func (*DebugletIdent) ProtoMessage()
func (*DebugletIdent) ProtoReflect ¶
func (x *DebugletIdent) ProtoReflect() protoreflect.Message
func (*DebugletIdent) Reset ¶
func (x *DebugletIdent) Reset()
func (*DebugletIdent) String ¶
func (x *DebugletIdent) String() string
type DebugletOutput ¶
type DebugletOutput struct {
Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*DebugletOutput) Descriptor
deprecated
func (*DebugletOutput) Descriptor() ([]byte, []int)
Deprecated: Use DebugletOutput.ProtoReflect.Descriptor instead.
func (*DebugletOutput) GetOutput ¶
func (x *DebugletOutput) GetOutput() []byte
func (*DebugletOutput) GetTimestamp ¶
func (x *DebugletOutput) GetTimestamp() *timestamppb.Timestamp
func (*DebugletOutput) ProtoMessage ¶
func (*DebugletOutput) ProtoMessage()
func (*DebugletOutput) ProtoReflect ¶
func (x *DebugletOutput) ProtoReflect() protoreflect.Message
func (*DebugletOutput) Reset ¶
func (x *DebugletOutput) Reset()
func (*DebugletOutput) String ¶
func (x *DebugletOutput) String() string
type DebugletPolicy ¶
type DebugletPolicy struct {
FloorBw int64 `protobuf:"varint,1,opt,name=floor_bw,json=floorBw,proto3" json:"floor_bw,omitempty"` // min bits/s required
CeilBw int64 `protobuf:"varint,2,opt,name=ceil_bw,json=ceilBw,proto3" json:"ceil_bw,omitempty"` // max bits/s it could use
TimeoutMs int64 `protobuf:"varint,3,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"` // timeout in ms
Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` // e.g., SCION or network endpoints
RequireIcmp bool `protobuf:"varint,5,opt,name=require_icmp,json=requireIcmp,proto3" json:"require_icmp,omitempty"` // whether ICMP is required
ListenUdp bool `protobuf:"varint,6,opt,name=listen_udp,json=listenUdp,proto3" json:"listen_udp,omitempty"` // whether the debuglet should setup a UDP listening server
ListenTcp bool `protobuf:"varint,7,opt,name=listen_tcp,json=listenTcp,proto3" json:"listen_tcp,omitempty"` // whether the debuglet should setup a TCP listening server
ListenScion bool `protobuf:"varint,8,opt,name=listen_scion,json=listenScion,proto3" json:"listen_scion,omitempty"` // whether the debuglet should setup a SCION listening server
// contains filtered or unexported fields
}
func (*DebugletPolicy) Descriptor
deprecated
func (*DebugletPolicy) Descriptor() ([]byte, []int)
Deprecated: Use DebugletPolicy.ProtoReflect.Descriptor instead.
func (*DebugletPolicy) GetAddresses ¶
func (x *DebugletPolicy) GetAddresses() []string
func (*DebugletPolicy) GetCeilBw ¶
func (x *DebugletPolicy) GetCeilBw() int64
func (*DebugletPolicy) GetFloorBw ¶
func (x *DebugletPolicy) GetFloorBw() int64
func (*DebugletPolicy) GetListenScion ¶
func (x *DebugletPolicy) GetListenScion() bool
func (*DebugletPolicy) GetListenTcp ¶
func (x *DebugletPolicy) GetListenTcp() bool
func (*DebugletPolicy) GetListenUdp ¶
func (x *DebugletPolicy) GetListenUdp() bool
func (*DebugletPolicy) GetRequireIcmp ¶
func (x *DebugletPolicy) GetRequireIcmp() bool
func (*DebugletPolicy) GetTimeoutMs ¶
func (x *DebugletPolicy) GetTimeoutMs() int64
func (*DebugletPolicy) ProtoMessage ¶
func (*DebugletPolicy) ProtoMessage()
func (*DebugletPolicy) ProtoReflect ¶
func (x *DebugletPolicy) ProtoReflect() protoreflect.Message
func (*DebugletPolicy) Reset ¶
func (x *DebugletPolicy) Reset()
func (*DebugletPolicy) String ¶
func (x *DebugletPolicy) String() string
type DebugletStateRequest ¶
type DebugletStateRequest struct {
DebugletId string `protobuf:"bytes,1,opt,name=debuglet_id,json=debugletId,proto3" json:"debuglet_id,omitempty"`
ExecutorId string `protobuf:"bytes,2,opt,name=executor_id,json=executorId,proto3" json:"executor_id,omitempty"`
State RunState `protobuf:"varint,3,opt,name=state,proto3,enum=debuglet.protocol.RunState" json:"state,omitempty"`
// contains filtered or unexported fields
}
func (*DebugletStateRequest) Descriptor
deprecated
func (*DebugletStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DebugletStateRequest.ProtoReflect.Descriptor instead.
func (*DebugletStateRequest) GetDebugletId ¶
func (x *DebugletStateRequest) GetDebugletId() string
func (*DebugletStateRequest) GetExecutorId ¶
func (x *DebugletStateRequest) GetExecutorId() string
func (*DebugletStateRequest) GetState ¶
func (x *DebugletStateRequest) GetState() RunState
func (*DebugletStateRequest) ProtoMessage ¶
func (*DebugletStateRequest) ProtoMessage()
func (*DebugletStateRequest) ProtoReflect ¶
func (x *DebugletStateRequest) ProtoReflect() protoreflect.Message
func (*DebugletStateRequest) Reset ¶
func (x *DebugletStateRequest) Reset()
func (*DebugletStateRequest) String ¶
func (x *DebugletStateRequest) String() string
type DebugletStateResponse ¶
type DebugletStateResponse struct {
// contains filtered or unexported fields
}
func (*DebugletStateResponse) Descriptor
deprecated
func (*DebugletStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DebugletStateResponse.ProtoReflect.Descriptor instead.
func (*DebugletStateResponse) ProtoMessage ¶
func (*DebugletStateResponse) ProtoMessage()
func (*DebugletStateResponse) ProtoReflect ¶
func (x *DebugletStateResponse) ProtoReflect() protoreflect.Message
func (*DebugletStateResponse) Reset ¶
func (x *DebugletStateResponse) Reset()
func (*DebugletStateResponse) String ¶
func (x *DebugletStateResponse) String() string
type DebugletStreamRequest ¶
type DebugletStreamRequest struct {
// Types that are valid to be assigned to Msg:
//
// *DebugletStreamRequest_Ident
// *DebugletStreamRequest_Output
Msg isDebugletStreamRequest_Msg `protobuf_oneof:"msg"`
// contains filtered or unexported fields
}
func (*DebugletStreamRequest) Descriptor
deprecated
func (*DebugletStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use DebugletStreamRequest.ProtoReflect.Descriptor instead.
func (*DebugletStreamRequest) GetIdent ¶
func (x *DebugletStreamRequest) GetIdent() *DebugletIdent
func (*DebugletStreamRequest) GetMsg ¶
func (x *DebugletStreamRequest) GetMsg() isDebugletStreamRequest_Msg
func (*DebugletStreamRequest) GetOutput ¶
func (x *DebugletStreamRequest) GetOutput() *DebugletOutput
func (*DebugletStreamRequest) ProtoMessage ¶
func (*DebugletStreamRequest) ProtoMessage()
func (*DebugletStreamRequest) ProtoReflect ¶
func (x *DebugletStreamRequest) ProtoReflect() protoreflect.Message
func (*DebugletStreamRequest) Reset ¶
func (x *DebugletStreamRequest) Reset()
func (*DebugletStreamRequest) String ¶
func (x *DebugletStreamRequest) String() string
type DebugletStreamRequest_Ident ¶
type DebugletStreamRequest_Ident struct {
Ident *DebugletIdent `protobuf:"bytes,1,opt,name=ident,proto3,oneof"`
}
type DebugletStreamRequest_Output ¶
type DebugletStreamRequest_Output struct {
Output *DebugletOutput `protobuf:"bytes,2,opt,name=output,proto3,oneof"`
}
type DebugletStreamResponse ¶
type DebugletStreamResponse struct {
// contains filtered or unexported fields
}
func (*DebugletStreamResponse) Descriptor
deprecated
func (*DebugletStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use DebugletStreamResponse.ProtoReflect.Descriptor instead.
func (*DebugletStreamResponse) ProtoMessage ¶
func (*DebugletStreamResponse) ProtoMessage()
func (*DebugletStreamResponse) ProtoReflect ¶
func (x *DebugletStreamResponse) ProtoReflect() protoreflect.Message
func (*DebugletStreamResponse) Reset ¶
func (x *DebugletStreamResponse) Reset()
func (*DebugletStreamResponse) String ¶
func (x *DebugletStreamResponse) String() string
type DestinationLimit ¶
type DestinationLimit struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
BitsLimit int64 `protobuf:"varint,2,opt,name=bits_limit,json=bitsLimit,proto3" json:"bits_limit,omitempty"`
// contains filtered or unexported fields
}
func (*DestinationLimit) Descriptor
deprecated
func (*DestinationLimit) Descriptor() ([]byte, []int)
Deprecated: Use DestinationLimit.ProtoReflect.Descriptor instead.
func (*DestinationLimit) GetAddress ¶
func (x *DestinationLimit) GetAddress() string
func (*DestinationLimit) GetBitsLimit ¶
func (x *DestinationLimit) GetBitsLimit() int64
func (*DestinationLimit) ProtoMessage ¶
func (*DestinationLimit) ProtoMessage()
func (*DestinationLimit) ProtoReflect ¶
func (x *DestinationLimit) ProtoReflect() protoreflect.Message
func (*DestinationLimit) Reset ¶
func (x *DestinationLimit) Reset()
func (*DestinationLimit) String ¶
func (x *DestinationLimit) String() string
type DispatcherServiceClient ¶
type DispatcherServiceClient interface {
Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error)
Resources(ctx context.Context, in *ResourcesRequest, opts ...grpc.CallOption) (*ResourcesResponse, error)
DebugletState(ctx context.Context, in *DebugletStateRequest, opts ...grpc.CallOption) (*DebugletStateResponse, error)
// Request resource allocation before a debuglet starts. The dispatcher can then have the caller wait until the resources have been allocated.
DebugletAllocate(ctx context.Context, in *DebugletAllocateRequest, opts ...grpc.CallOption) (*DebugletAllocateResponse, error)
DebugletExit(ctx context.Context, in *DebugletExitRequest, opts ...grpc.CallOption) (*DebugletExitResponse, error)
DebugletStream(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[DebugletStreamRequest, DebugletStreamResponse], error)
BindSession(ctx context.Context, in *BindSessionRequest, opts ...grpc.CallOption) (*BindSessionResponse, error)
RenewLease(ctx context.Context, in *RenewLeaseRequest, opts ...grpc.CallOption) (*RenewLeaseResponse, error)
}
DispatcherServiceClient is the client API for DispatcherService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDispatcherServiceClient ¶
func NewDispatcherServiceClient(cc grpc.ClientConnInterface) DispatcherServiceClient
type DispatcherServiceServer ¶
type DispatcherServiceServer interface {
Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
Resources(context.Context, *ResourcesRequest) (*ResourcesResponse, error)
DebugletState(context.Context, *DebugletStateRequest) (*DebugletStateResponse, error)
// Request resource allocation before a debuglet starts. The dispatcher can then have the caller wait until the resources have been allocated.
DebugletAllocate(context.Context, *DebugletAllocateRequest) (*DebugletAllocateResponse, error)
DebugletExit(context.Context, *DebugletExitRequest) (*DebugletExitResponse, error)
DebugletStream(grpc.BidiStreamingServer[DebugletStreamRequest, DebugletStreamResponse]) error
BindSession(context.Context, *BindSessionRequest) (*BindSessionResponse, error)
RenewLease(context.Context, *RenewLeaseRequest) (*RenewLeaseResponse, error)
// contains filtered or unexported methods
}
DispatcherServiceServer is the server API for DispatcherService service. All implementations must embed UnimplementedDispatcherServiceServer for forward compatibility.
type DispatcherService_DebugletStreamClient ¶
type DispatcherService_DebugletStreamClient = grpc.BidiStreamingClient[DebugletStreamRequest, DebugletStreamResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DispatcherService_DebugletStreamServer ¶
type DispatcherService_DebugletStreamServer = grpc.BidiStreamingServer[DebugletStreamRequest, DebugletStreamResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ExecutorServiceClient ¶
type ExecutorServiceClient interface {
Hello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloResponse, error)
Upload(ctx context.Context, in *UploadRequest, opts ...grpc.CallOption) (*UploadResponse, error)
Abort(ctx context.Context, in *AbortRequest, opts ...grpc.CallOption) (*AbortResponse, error)
Bandwidth(ctx context.Context, in *BandwidthRequest, opts ...grpc.CallOption) (*BandwidthResponse, error)
ProbeSession(ctx context.Context, in *ProbeSessionRequest, opts ...grpc.CallOption) (*ProbeSessionResponse, error)
// Optional. Reads one retained run without scheduling, starting, finalizing
// or deleting it. An executor without inspection answers UNIMPLEMENTED,
// which is never a missing-row answer.
InspectRetainedRun(ctx context.Context, in *InspectRetainedRunRequest, opts ...grpc.CallOption) (*InspectRetainedRunResponse, error)
}
ExecutorServiceClient is the client API for ExecutorService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewExecutorServiceClient ¶
func NewExecutorServiceClient(cc grpc.ClientConnInterface) ExecutorServiceClient
type ExecutorServiceServer ¶
type ExecutorServiceServer interface {
Hello(context.Context, *HelloRequest) (*HelloResponse, error)
Upload(context.Context, *UploadRequest) (*UploadResponse, error)
Abort(context.Context, *AbortRequest) (*AbortResponse, error)
Bandwidth(context.Context, *BandwidthRequest) (*BandwidthResponse, error)
ProbeSession(context.Context, *ProbeSessionRequest) (*ProbeSessionResponse, error)
// Optional. Reads one retained run without scheduling, starting, finalizing
// or deleting it. An executor without inspection answers UNIMPLEMENTED,
// which is never a missing-row answer.
InspectRetainedRun(context.Context, *InspectRetainedRunRequest) (*InspectRetainedRunResponse, error)
// contains filtered or unexported methods
}
ExecutorServiceServer is the server API for ExecutorService service. All implementations must embed UnimplementedExecutorServiceServer for forward compatibility.
type HeartbeatRequest ¶
type HeartbeatRequest struct {
ExecutorId string `protobuf:"bytes,1,opt,name=executor_id,json=executorId,proto3" json:"executor_id,omitempty"`
TimestampNs int64 `protobuf:"varint,2,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"`
TeslaKeyEpoch int64 `protobuf:"varint,3,opt,name=tesla_key_epoch,json=teslaKeyEpoch,proto3" json:"tesla_key_epoch,omitempty"`
TeslaKey []byte `protobuf:"bytes,4,opt,name=tesla_key,json=teslaKey,proto3" json:"tesla_key,omitempty"`
// contains filtered or unexported fields
}
func (*HeartbeatRequest) Descriptor
deprecated
func (*HeartbeatRequest) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead.
func (*HeartbeatRequest) GetExecutorId ¶
func (x *HeartbeatRequest) GetExecutorId() string
func (*HeartbeatRequest) GetTeslaKey ¶
func (x *HeartbeatRequest) GetTeslaKey() []byte
func (*HeartbeatRequest) GetTeslaKeyEpoch ¶
func (x *HeartbeatRequest) GetTeslaKeyEpoch() int64
func (*HeartbeatRequest) GetTimestampNs ¶
func (x *HeartbeatRequest) GetTimestampNs() int64
func (*HeartbeatRequest) ProtoMessage ¶
func (*HeartbeatRequest) ProtoMessage()
func (*HeartbeatRequest) ProtoReflect ¶
func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
func (*HeartbeatRequest) Reset ¶
func (x *HeartbeatRequest) Reset()
func (*HeartbeatRequest) String ¶
func (x *HeartbeatRequest) String() string
type HeartbeatResponse ¶
type HeartbeatResponse struct {
// contains filtered or unexported fields
}
func (*HeartbeatResponse) Descriptor
deprecated
func (*HeartbeatResponse) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead.
func (*HeartbeatResponse) ProtoMessage ¶
func (*HeartbeatResponse) ProtoMessage()
func (*HeartbeatResponse) ProtoReflect ¶
func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message
func (*HeartbeatResponse) Reset ¶
func (x *HeartbeatResponse) Reset()
func (*HeartbeatResponse) String ¶
func (x *HeartbeatResponse) String() string
type HelloRequest ¶
type HelloRequest struct {
ControlVersion uint32 `protobuf:"varint,1,opt,name=control_version,json=controlVersion,proto3" json:"control_version,omitempty"`
DispatcherIncarnation string `protobuf:"bytes,2,opt,name=dispatcher_incarnation,json=dispatcherIncarnation,proto3" json:"dispatcher_incarnation,omitempty"`
SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
SessionToken []byte `protobuf:"bytes,4,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` // Private offer token; never persist or log.
LeaseDurationMs int64 `protobuf:"varint,5,opt,name=lease_duration_ms,json=leaseDurationMs,proto3" json:"lease_duration_ms,omitempty"` // Strict v3 control lease; receiver clocks only.
// contains filtered or unexported fields
}
func (*HelloRequest) Descriptor
deprecated
func (*HelloRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.
func (*HelloRequest) GetControlVersion ¶
func (x *HelloRequest) GetControlVersion() uint32
func (*HelloRequest) GetDispatcherIncarnation ¶
func (x *HelloRequest) GetDispatcherIncarnation() string
func (*HelloRequest) GetLeaseDurationMs ¶
func (x *HelloRequest) GetLeaseDurationMs() int64
func (*HelloRequest) GetSessionId ¶
func (x *HelloRequest) GetSessionId() string
func (*HelloRequest) GetSessionToken ¶
func (x *HelloRequest) GetSessionToken() []byte
func (*HelloRequest) ProtoMessage ¶
func (*HelloRequest) ProtoMessage()
func (*HelloRequest) ProtoReflect ¶
func (x *HelloRequest) ProtoReflect() protoreflect.Message
func (*HelloRequest) Reset ¶
func (x *HelloRequest) Reset()
func (*HelloRequest) String ¶
func (x *HelloRequest) String() string
type HelloResponse ¶
type HelloResponse struct {
ExecutorId string `protobuf:"bytes,1,opt,name=executor_id,json=executorId,proto3" json:"executor_id,omitempty"` // Unique ID for this executor instance
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Optional: software version or capabilities
SourceIp string `protobuf:"bytes,3,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"` // Source IP for packet attribution
TeslaDelaySec int64 `protobuf:"varint,4,opt,name=tesla_delay_sec,json=teslaDelaySec,proto3" json:"tesla_delay_sec,omitempty"` // TESLA epoch delay in seconds
TeslaAnchorTimestampNs int64 `` // Reference wall-clock time for epoch 0
/* 132-byte string literal not displayed */
TeslaAnchorKey []byte `protobuf:"bytes,6,opt,name=tesla_anchor_key,json=teslaAnchorKey,proto3" json:"tesla_anchor_key,omitempty"` // Public anchor k_0 = H^L(seed); used to verify disclosed keys
IcmpEnabled bool `protobuf:"varint,7,opt,name=icmp_enabled,json=icmpEnabled,proto3" json:"icmp_enabled,omitempty"` // Whether the executor can handle ICMP packets
PricePerBwS int64 `protobuf:"varint,8,opt,name=price_per_bw_s,json=pricePerBwS,proto3" json:"price_per_bw_s,omitempty"` // Price per bit/s of bandwidth
Currency string `protobuf:"bytes,9,opt,name=currency,proto3" json:"currency,omitempty"`
PublicHost *string `protobuf:"bytes,10,opt,name=public_host,json=publicHost,proto3,oneof" json:"public_host,omitempty"` // Optional: public host for the executor at which debuglet listeners can be contacted
SuiWallet *string `protobuf:"bytes,11,opt,name=sui_wallet,json=suiWallet,proto3,oneof" json:"sui_wallet,omitempty"`
ControlVersion uint32 `protobuf:"varint,12,opt,name=control_version,json=controlVersion,proto3" json:"control_version,omitempty"` // Selected control protocol version
DispatcherIncarnation string `protobuf:"bytes,13,opt,name=dispatcher_incarnation,json=dispatcherIncarnation,proto3" json:"dispatcher_incarnation,omitempty"` // Echoed dispatcher identity
SessionId string `protobuf:"bytes,14,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Echoed session identity
LeaseDurationMs int64 `protobuf:"varint,15,opt,name=lease_duration_ms,json=leaseDurationMs,proto3" json:"lease_duration_ms,omitempty"` // Exact echo of the offered duration.
// Single-use enrollment credential, presented only until this node's
// certificate is bound to its executor ID. Never persist or log it.
EnrollmentToken *string `protobuf:"bytes,16,opt,name=enrollment_token,json=enrollmentToken,proto3,oneof" json:"enrollment_token,omitempty"`
// contains filtered or unexported fields
}
func (*HelloResponse) Descriptor
deprecated
func (*HelloResponse) Descriptor() ([]byte, []int)
Deprecated: Use HelloResponse.ProtoReflect.Descriptor instead.
func (*HelloResponse) GetControlVersion ¶
func (x *HelloResponse) GetControlVersion() uint32
func (*HelloResponse) GetCurrency ¶
func (x *HelloResponse) GetCurrency() string
func (*HelloResponse) GetDispatcherIncarnation ¶
func (x *HelloResponse) GetDispatcherIncarnation() string
func (*HelloResponse) GetEnrollmentToken ¶
func (x *HelloResponse) GetEnrollmentToken() string
func (*HelloResponse) GetExecutorId ¶
func (x *HelloResponse) GetExecutorId() string
func (*HelloResponse) GetIcmpEnabled ¶
func (x *HelloResponse) GetIcmpEnabled() bool
func (*HelloResponse) GetLeaseDurationMs ¶
func (x *HelloResponse) GetLeaseDurationMs() int64
func (*HelloResponse) GetPricePerBwS ¶
func (x *HelloResponse) GetPricePerBwS() int64
func (*HelloResponse) GetPublicHost ¶
func (x *HelloResponse) GetPublicHost() string
func (*HelloResponse) GetSessionId ¶
func (x *HelloResponse) GetSessionId() string
func (*HelloResponse) GetSourceIp ¶
func (x *HelloResponse) GetSourceIp() string
func (*HelloResponse) GetSuiWallet ¶
func (x *HelloResponse) GetSuiWallet() string
func (*HelloResponse) GetTeslaAnchorKey ¶
func (x *HelloResponse) GetTeslaAnchorKey() []byte
func (*HelloResponse) GetTeslaAnchorTimestampNs ¶
func (x *HelloResponse) GetTeslaAnchorTimestampNs() int64
func (*HelloResponse) GetTeslaDelaySec ¶
func (x *HelloResponse) GetTeslaDelaySec() int64
func (*HelloResponse) GetVersion ¶
func (x *HelloResponse) GetVersion() string
func (*HelloResponse) ProtoMessage ¶
func (*HelloResponse) ProtoMessage()
func (*HelloResponse) ProtoReflect ¶
func (x *HelloResponse) ProtoReflect() protoreflect.Message
func (*HelloResponse) Reset ¶
func (x *HelloResponse) Reset()
func (*HelloResponse) String ¶
func (x *HelloResponse) String() string
type InspectRetainedRunRequest ¶
type InspectRetainedRunRequest struct {
DebugletId string `protobuf:"bytes,1,opt,name=debuglet_id,json=debugletId,proto3" json:"debuglet_id,omitempty"`
ControlBinding *ControlBinding `protobuf:"bytes,2,opt,name=control_binding,json=controlBinding,proto3" json:"control_binding,omitempty"` // The caller's own current session.
// contains filtered or unexported fields
}
func (*InspectRetainedRunRequest) Descriptor
deprecated
func (*InspectRetainedRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use InspectRetainedRunRequest.ProtoReflect.Descriptor instead.
func (*InspectRetainedRunRequest) GetControlBinding ¶
func (x *InspectRetainedRunRequest) GetControlBinding() *ControlBinding
func (*InspectRetainedRunRequest) GetDebugletId ¶
func (x *InspectRetainedRunRequest) GetDebugletId() string
func (*InspectRetainedRunRequest) ProtoMessage ¶
func (*InspectRetainedRunRequest) ProtoMessage()
func (*InspectRetainedRunRequest) ProtoReflect ¶
func (x *InspectRetainedRunRequest) ProtoReflect() protoreflect.Message
func (*InspectRetainedRunRequest) Reset ¶
func (x *InspectRetainedRunRequest) Reset()
func (*InspectRetainedRunRequest) String ¶
func (x *InspectRetainedRunRequest) String() string
type InspectRetainedRunResponse ¶
type InspectRetainedRunResponse struct {
Status RetainedRunStatus `protobuf:"varint,1,opt,name=status,proto3,enum=debuglet.protocol.RetainedRunStatus" json:"status,omitempty"`
Run *RetainedRun `protobuf:"bytes,2,opt,name=run,proto3,oneof" json:"run,omitempty"` // Present exactly when status is FOUND.
// contains filtered or unexported fields
}
func (*InspectRetainedRunResponse) Descriptor
deprecated
func (*InspectRetainedRunResponse) Descriptor() ([]byte, []int)
Deprecated: Use InspectRetainedRunResponse.ProtoReflect.Descriptor instead.
func (*InspectRetainedRunResponse) GetRun ¶
func (x *InspectRetainedRunResponse) GetRun() *RetainedRun
func (*InspectRetainedRunResponse) GetStatus ¶
func (x *InspectRetainedRunResponse) GetStatus() RetainedRunStatus
func (*InspectRetainedRunResponse) ProtoMessage ¶
func (*InspectRetainedRunResponse) ProtoMessage()
func (*InspectRetainedRunResponse) ProtoReflect ¶
func (x *InspectRetainedRunResponse) ProtoReflect() protoreflect.Message
func (*InspectRetainedRunResponse) Reset ¶
func (x *InspectRetainedRunResponse) Reset()
func (*InspectRetainedRunResponse) String ¶
func (x *InspectRetainedRunResponse) String() string
type ProbeSessionRequest ¶
type ProbeSessionRequest struct {
Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
// contains filtered or unexported fields
}
func (*ProbeSessionRequest) Descriptor
deprecated
func (*ProbeSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProbeSessionRequest.ProtoReflect.Descriptor instead.
func (*ProbeSessionRequest) GetSequence ¶
func (x *ProbeSessionRequest) GetSequence() uint64
func (*ProbeSessionRequest) ProtoMessage ¶
func (*ProbeSessionRequest) ProtoMessage()
func (*ProbeSessionRequest) ProtoReflect ¶
func (x *ProbeSessionRequest) ProtoReflect() protoreflect.Message
func (*ProbeSessionRequest) Reset ¶
func (x *ProbeSessionRequest) Reset()
func (*ProbeSessionRequest) String ¶
func (x *ProbeSessionRequest) String() string
type ProbeSessionResponse ¶
type ProbeSessionResponse struct {
Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
// contains filtered or unexported fields
}
func (*ProbeSessionResponse) Descriptor
deprecated
func (*ProbeSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProbeSessionResponse.ProtoReflect.Descriptor instead.
func (*ProbeSessionResponse) GetSequence ¶
func (x *ProbeSessionResponse) GetSequence() uint64
func (*ProbeSessionResponse) ProtoMessage ¶
func (*ProbeSessionResponse) ProtoMessage()
func (*ProbeSessionResponse) ProtoReflect ¶
func (x *ProbeSessionResponse) ProtoReflect() protoreflect.Message
func (*ProbeSessionResponse) Reset ¶
func (x *ProbeSessionResponse) Reset()
func (*ProbeSessionResponse) String ¶
func (x *ProbeSessionResponse) String() string
type RenewLeaseRequest ¶
type RenewLeaseRequest struct {
Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
// contains filtered or unexported fields
}
Binding metadata selects the executor/session. Zero is reserved for Bind; ordinary renewal sequences strictly increase within that session.
func (*RenewLeaseRequest) Descriptor
deprecated
func (*RenewLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenewLeaseRequest.ProtoReflect.Descriptor instead.
func (*RenewLeaseRequest) GetSequence ¶
func (x *RenewLeaseRequest) GetSequence() uint64
func (*RenewLeaseRequest) ProtoMessage ¶
func (*RenewLeaseRequest) ProtoMessage()
func (*RenewLeaseRequest) ProtoReflect ¶
func (x *RenewLeaseRequest) ProtoReflect() protoreflect.Message
func (*RenewLeaseRequest) Reset ¶
func (x *RenewLeaseRequest) Reset()
func (*RenewLeaseRequest) String ¶
func (x *RenewLeaseRequest) String() string
type RenewLeaseResponse ¶
type RenewLeaseResponse struct {
Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
LeaseDurationMs int64 `protobuf:"varint,2,opt,name=lease_duration_ms,json=leaseDurationMs,proto3" json:"lease_duration_ms,omitempty"`
// contains filtered or unexported fields
}
func (*RenewLeaseResponse) Descriptor
deprecated
func (*RenewLeaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenewLeaseResponse.ProtoReflect.Descriptor instead.
func (*RenewLeaseResponse) GetLeaseDurationMs ¶
func (x *RenewLeaseResponse) GetLeaseDurationMs() int64
func (*RenewLeaseResponse) GetSequence ¶
func (x *RenewLeaseResponse) GetSequence() uint64
func (*RenewLeaseResponse) ProtoMessage ¶
func (*RenewLeaseResponse) ProtoMessage()
func (*RenewLeaseResponse) ProtoReflect ¶
func (x *RenewLeaseResponse) ProtoReflect() protoreflect.Message
func (*RenewLeaseResponse) Reset ¶
func (x *RenewLeaseResponse) Reset()
func (*RenewLeaseResponse) String ¶
func (x *RenewLeaseResponse) String() string
type ResourcesRequest ¶
type ResourcesRequest struct {
ExecutorId string `protobuf:"bytes,1,opt,name=executor_id,json=executorId,proto3" json:"executor_id,omitempty"`
BandwidthCapacity int64 `protobuf:"varint,2,opt,name=bandwidth_capacity,json=bandwidthCapacity,proto3" json:"bandwidth_capacity,omitempty"` // Bandwidth capacity (bits/s) the executor can handle
// contains filtered or unexported fields
}
func (*ResourcesRequest) Descriptor
deprecated
func (*ResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourcesRequest.ProtoReflect.Descriptor instead.
func (*ResourcesRequest) GetBandwidthCapacity ¶
func (x *ResourcesRequest) GetBandwidthCapacity() int64
func (*ResourcesRequest) GetExecutorId ¶
func (x *ResourcesRequest) GetExecutorId() string
func (*ResourcesRequest) ProtoMessage ¶
func (*ResourcesRequest) ProtoMessage()
func (*ResourcesRequest) ProtoReflect ¶
func (x *ResourcesRequest) ProtoReflect() protoreflect.Message
func (*ResourcesRequest) Reset ¶
func (x *ResourcesRequest) Reset()
func (*ResourcesRequest) String ¶
func (x *ResourcesRequest) String() string
type ResourcesResponse ¶
type ResourcesResponse struct {
// contains filtered or unexported fields
}
func (*ResourcesResponse) Descriptor
deprecated
func (*ResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourcesResponse.ProtoReflect.Descriptor instead.
func (*ResourcesResponse) ProtoMessage ¶
func (*ResourcesResponse) ProtoMessage()
func (*ResourcesResponse) ProtoReflect ¶
func (x *ResourcesResponse) ProtoReflect() protoreflect.Message
func (*ResourcesResponse) Reset ¶
func (x *ResourcesResponse) Reset()
func (*ResourcesResponse) String ¶
func (x *ResourcesResponse) String() string
type RetainedRun ¶
type RetainedRun struct {
DebugletId string `protobuf:"bytes,1,opt,name=debuglet_id,json=debugletId,proto3" json:"debuglet_id,omitempty"`
OriginalBinding *ControlBinding `protobuf:"bytes,2,opt,name=original_binding,json=originalBinding,proto3" json:"original_binding,omitempty"` // Empty fields for rows stored before run bindings existed.
TransactionId string `protobuf:"bytes,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
Started bool `protobuf:"varint,4,opt,name=started,proto3" json:"started,omitempty"`
StartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"`
StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"`
// contains filtered or unexported fields
}
Identity, original ownership and start marker of one stored run. Inspection never reads the stored program or its arguments.
func (*RetainedRun) Descriptor
deprecated
func (*RetainedRun) Descriptor() ([]byte, []int)
Deprecated: Use RetainedRun.ProtoReflect.Descriptor instead.
func (*RetainedRun) GetDebugletId ¶
func (x *RetainedRun) GetDebugletId() string
func (*RetainedRun) GetOriginalBinding ¶
func (x *RetainedRun) GetOriginalBinding() *ControlBinding
func (*RetainedRun) GetStartTime ¶
func (x *RetainedRun) GetStartTime() *timestamppb.Timestamp
func (*RetainedRun) GetStarted ¶
func (x *RetainedRun) GetStarted() bool
func (*RetainedRun) GetStartedAt ¶
func (x *RetainedRun) GetStartedAt() *timestamppb.Timestamp
func (*RetainedRun) GetTransactionId ¶
func (x *RetainedRun) GetTransactionId() string
func (*RetainedRun) ProtoMessage ¶
func (*RetainedRun) ProtoMessage()
func (*RetainedRun) ProtoReflect ¶
func (x *RetainedRun) ProtoReflect() protoreflect.Message
func (*RetainedRun) Reset ¶
func (x *RetainedRun) Reset()
func (*RetainedRun) String ¶
func (x *RetainedRun) String() string
type RetainedRunStatus ¶
type RetainedRunStatus int32
Why a retained-run lookup produced no metadata. A filtered miss means the executor holds a row it deliberately excluded; it is not proof that the requested work never existed.
const ( RetainedRunStatus_RETAINED_RUN_STATUS_UNSPECIFIED RetainedRunStatus = 0 RetainedRunStatus_RETAINED_RUN_STATUS_FOUND RetainedRunStatus = 1 RetainedRunStatus_RETAINED_RUN_STATUS_FILTERED RetainedRunStatus = 2 RetainedRunStatus_RETAINED_RUN_STATUS_ABSENT RetainedRunStatus = 3 )
func (RetainedRunStatus) Descriptor ¶
func (RetainedRunStatus) Descriptor() protoreflect.EnumDescriptor
func (RetainedRunStatus) Enum ¶
func (x RetainedRunStatus) Enum() *RetainedRunStatus
func (RetainedRunStatus) EnumDescriptor
deprecated
func (RetainedRunStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use RetainedRunStatus.Descriptor instead.
func (RetainedRunStatus) Number ¶
func (x RetainedRunStatus) Number() protoreflect.EnumNumber
func (RetainedRunStatus) String ¶
func (x RetainedRunStatus) String() string
func (RetainedRunStatus) Type ¶
func (RetainedRunStatus) Type() protoreflect.EnumType
type RunState ¶
type RunState int32
The states of a debuglet from when a debuglet is set to start until before it exits
func (RunState) Descriptor ¶
func (RunState) Descriptor() protoreflect.EnumDescriptor
func (RunState) EnumDescriptor
deprecated
func (RunState) Number ¶
func (x RunState) Number() protoreflect.EnumNumber
func (RunState) Type ¶
func (RunState) Type() protoreflect.EnumType
type UnimplementedDispatcherServiceServer ¶
type UnimplementedDispatcherServiceServer struct{}
UnimplementedDispatcherServiceServer 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 (UnimplementedDispatcherServiceServer) BindSession ¶
func (UnimplementedDispatcherServiceServer) BindSession(context.Context, *BindSessionRequest) (*BindSessionResponse, error)
func (UnimplementedDispatcherServiceServer) DebugletAllocate ¶
func (UnimplementedDispatcherServiceServer) DebugletAllocate(context.Context, *DebugletAllocateRequest) (*DebugletAllocateResponse, error)
func (UnimplementedDispatcherServiceServer) DebugletExit ¶
func (UnimplementedDispatcherServiceServer) DebugletExit(context.Context, *DebugletExitRequest) (*DebugletExitResponse, error)
func (UnimplementedDispatcherServiceServer) DebugletState ¶
func (UnimplementedDispatcherServiceServer) DebugletState(context.Context, *DebugletStateRequest) (*DebugletStateResponse, error)
func (UnimplementedDispatcherServiceServer) DebugletStream ¶
func (UnimplementedDispatcherServiceServer) DebugletStream(grpc.BidiStreamingServer[DebugletStreamRequest, DebugletStreamResponse]) error
func (UnimplementedDispatcherServiceServer) Heartbeat ¶
func (UnimplementedDispatcherServiceServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
func (UnimplementedDispatcherServiceServer) RenewLease ¶
func (UnimplementedDispatcherServiceServer) RenewLease(context.Context, *RenewLeaseRequest) (*RenewLeaseResponse, error)
func (UnimplementedDispatcherServiceServer) Resources ¶
func (UnimplementedDispatcherServiceServer) Resources(context.Context, *ResourcesRequest) (*ResourcesResponse, error)
type UnimplementedExecutorServiceServer ¶
type UnimplementedExecutorServiceServer struct{}
UnimplementedExecutorServiceServer 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 (UnimplementedExecutorServiceServer) Abort ¶
func (UnimplementedExecutorServiceServer) Abort(context.Context, *AbortRequest) (*AbortResponse, error)
func (UnimplementedExecutorServiceServer) Bandwidth ¶
func (UnimplementedExecutorServiceServer) Bandwidth(context.Context, *BandwidthRequest) (*BandwidthResponse, error)
func (UnimplementedExecutorServiceServer) Hello ¶
func (UnimplementedExecutorServiceServer) Hello(context.Context, *HelloRequest) (*HelloResponse, error)
func (UnimplementedExecutorServiceServer) InspectRetainedRun ¶
func (UnimplementedExecutorServiceServer) InspectRetainedRun(context.Context, *InspectRetainedRunRequest) (*InspectRetainedRunResponse, error)
func (UnimplementedExecutorServiceServer) ProbeSession ¶
func (UnimplementedExecutorServiceServer) ProbeSession(context.Context, *ProbeSessionRequest) (*ProbeSessionResponse, error)
func (UnimplementedExecutorServiceServer) Upload ¶
func (UnimplementedExecutorServiceServer) Upload(context.Context, *UploadRequest) (*UploadResponse, error)
type UnsafeDispatcherServiceServer ¶
type UnsafeDispatcherServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDispatcherServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DispatcherServiceServer will result in compilation errors.
type UnsafeExecutorServiceServer ¶
type UnsafeExecutorServiceServer interface {
// contains filtered or unexported methods
}
UnsafeExecutorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExecutorServiceServer will result in compilation errors.
type UploadRequest ¶
type UploadRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"`
Wasm []byte `protobuf:"bytes,3,opt,name=wasm,proto3" json:"wasm,omitempty"`
Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
Policy *DebugletPolicy `protobuf:"bytes,5,opt,name=policy,proto3" json:"policy,omitempty"`
TransactionId string `protobuf:"bytes,6,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
ControlBinding *ControlBinding `protobuf:"bytes,7,opt,name=control_binding,json=controlBinding,proto3" json:"control_binding,omitempty"`
// contains filtered or unexported fields
}
func (*UploadRequest) Descriptor
deprecated
func (*UploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadRequest.ProtoReflect.Descriptor instead.
func (*UploadRequest) GetArgs ¶
func (x *UploadRequest) GetArgs() []string
func (*UploadRequest) GetControlBinding ¶
func (x *UploadRequest) GetControlBinding() *ControlBinding
func (*UploadRequest) GetId ¶
func (x *UploadRequest) GetId() string
func (*UploadRequest) GetPolicy ¶
func (x *UploadRequest) GetPolicy() *DebugletPolicy
func (*UploadRequest) GetStartTime ¶
func (x *UploadRequest) GetStartTime() *timestamppb.Timestamp
func (*UploadRequest) GetTransactionId ¶
func (x *UploadRequest) GetTransactionId() string
func (*UploadRequest) GetWasm ¶
func (x *UploadRequest) GetWasm() []byte
func (*UploadRequest) ProtoMessage ¶
func (*UploadRequest) ProtoMessage()
func (*UploadRequest) ProtoReflect ¶
func (x *UploadRequest) ProtoReflect() protoreflect.Message
func (*UploadRequest) Reset ¶
func (x *UploadRequest) Reset()
func (*UploadRequest) String ¶
func (x *UploadRequest) String() string
type UploadResponse ¶
type UploadResponse struct {
// contains filtered or unexported fields
}
func (*UploadResponse) Descriptor
deprecated
func (*UploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadResponse.ProtoReflect.Descriptor instead.
func (*UploadResponse) ProtoMessage ¶
func (*UploadResponse) ProtoMessage()
func (*UploadResponse) ProtoReflect ¶
func (x *UploadResponse) ProtoReflect() protoreflect.Message
func (*UploadResponse) Reset ¶
func (x *UploadResponse) Reset()
func (*UploadResponse) String ¶
func (x *UploadResponse) String() string