Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterRunnerServiceServer(s grpc.ServiceRegistrar, srv RunnerServiceServer)
- type CommandMode
- func (CommandMode) Descriptor() protoreflect.EnumDescriptor
- func (x CommandMode) Enum() *CommandMode
- func (CommandMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommandMode) Number() protoreflect.EnumNumber
- func (x CommandMode) String() string
- func (CommandMode) Type() protoreflect.EnumType
- type CreateSessionRequest
- func (*CreateSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionRequest) GetEnvStoreType() SessionEnvStoreType
- func (x *CreateSessionRequest) GetEnvs() []string
- func (x *CreateSessionRequest) GetMetadata() map[string]string
- func (x *CreateSessionRequest) GetProject() *Project
- func (*CreateSessionRequest) ProtoMessage()
- func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSessionRequest) Reset()
- func (x *CreateSessionRequest) String() string
- type CreateSessionResponse
- func (*CreateSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionResponse) GetSession() *Session
- func (*CreateSessionResponse) ProtoMessage()
- func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSessionResponse) Reset()
- func (x *CreateSessionResponse) String() string
- type DeleteSessionRequest
- func (*DeleteSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSessionRequest) GetId() string
- func (*DeleteSessionRequest) ProtoMessage()
- func (x *DeleteSessionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSessionRequest) Reset()
- func (x *DeleteSessionRequest) String() string
- type DeleteSessionResponse
- type ExecuteRequest
- func (*ExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteRequest) GetArguments() []string
- func (x *ExecuteRequest) GetBackground() bool
- func (x *ExecuteRequest) GetCommandMode() CommandMode
- func (x *ExecuteRequest) GetCommands() []string
- func (x *ExecuteRequest) GetDirectory() string
- func (x *ExecuteRequest) GetEnvs() []string
- func (x *ExecuteRequest) GetFileExtension() string
- func (x *ExecuteRequest) GetInputData() []byte
- func (x *ExecuteRequest) GetKnownId() string
- func (x *ExecuteRequest) GetKnownName() string
- func (x *ExecuteRequest) GetLanguageId() string
- func (x *ExecuteRequest) GetProgramName() string
- func (x *ExecuteRequest) GetProject() *Project
- func (x *ExecuteRequest) GetScript() string
- func (x *ExecuteRequest) GetSessionId() string
- func (x *ExecuteRequest) GetSessionStrategy() SessionStrategy
- func (x *ExecuteRequest) GetStop() ExecuteStop
- func (x *ExecuteRequest) GetStoreLastOutput() bool
- func (x *ExecuteRequest) GetTty() bool
- func (x *ExecuteRequest) GetWinsize() *Winsize
- func (*ExecuteRequest) ProtoMessage()
- func (x *ExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteRequest) Reset()
- func (x *ExecuteRequest) String() string
- type ExecuteResponse
- func (*ExecuteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteResponse) GetExitCode() *wrapperspb.UInt32Value
- func (x *ExecuteResponse) GetMimeType() string
- func (x *ExecuteResponse) GetPid() *ProcessPID
- func (x *ExecuteResponse) GetStderrData() []byte
- func (x *ExecuteResponse) GetStdoutData() []byte
- func (*ExecuteResponse) ProtoMessage()
- func (x *ExecuteResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteResponse) Reset()
- func (x *ExecuteResponse) String() string
- type ExecuteStop
- func (ExecuteStop) Descriptor() protoreflect.EnumDescriptor
- func (x ExecuteStop) Enum() *ExecuteStop
- func (ExecuteStop) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecuteStop) Number() protoreflect.EnumNumber
- func (x ExecuteStop) String() string
- func (ExecuteStop) Type() protoreflect.EnumType
- type GetSessionRequest
- type GetSessionResponse
- func (*GetSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionResponse) GetSession() *Session
- func (*GetSessionResponse) ProtoMessage()
- func (x *GetSessionResponse) ProtoReflect() protoreflect.Message
- func (x *GetSessionResponse) Reset()
- func (x *GetSessionResponse) String() string
- type ListSessionsRequest
- type ListSessionsResponse
- func (*ListSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionsResponse) GetSessions() []*Session
- func (*ListSessionsResponse) ProtoMessage()
- func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSessionsResponse) Reset()
- func (x *ListSessionsResponse) String() string
- type MonitorEnvStoreRequest
- func (*MonitorEnvStoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MonitorEnvStoreRequest) GetSession() *Session
- func (*MonitorEnvStoreRequest) ProtoMessage()
- func (x *MonitorEnvStoreRequest) ProtoReflect() protoreflect.Message
- func (x *MonitorEnvStoreRequest) Reset()
- func (x *MonitorEnvStoreRequest) String() string
- type MonitorEnvStoreResponse
- func (*MonitorEnvStoreResponse) Descriptor() ([]byte, []int)deprecated
- func (m *MonitorEnvStoreResponse) GetData() isMonitorEnvStoreResponse_Data
- func (x *MonitorEnvStoreResponse) GetSnapshot() *MonitorEnvStoreResponseSnapshot
- func (x *MonitorEnvStoreResponse) GetType() MonitorEnvStoreType
- func (*MonitorEnvStoreResponse) ProtoMessage()
- func (x *MonitorEnvStoreResponse) ProtoReflect() protoreflect.Message
- func (x *MonitorEnvStoreResponse) Reset()
- func (x *MonitorEnvStoreResponse) String() string
- type MonitorEnvStoreResponseSnapshot
- func (*MonitorEnvStoreResponseSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *MonitorEnvStoreResponseSnapshot) GetEnvs() []*MonitorEnvStoreResponseSnapshot_SnapshotEnv
- func (*MonitorEnvStoreResponseSnapshot) ProtoMessage()
- func (x *MonitorEnvStoreResponseSnapshot) ProtoReflect() protoreflect.Message
- func (x *MonitorEnvStoreResponseSnapshot) Reset()
- func (x *MonitorEnvStoreResponseSnapshot) String() string
- type MonitorEnvStoreResponseSnapshot_Error
- func (*MonitorEnvStoreResponseSnapshot_Error) Descriptor() ([]byte, []int)deprecated
- func (x *MonitorEnvStoreResponseSnapshot_Error) GetCode() uint32
- func (x *MonitorEnvStoreResponseSnapshot_Error) GetMessage() string
- func (*MonitorEnvStoreResponseSnapshot_Error) ProtoMessage()
- func (x *MonitorEnvStoreResponseSnapshot_Error) ProtoReflect() protoreflect.Message
- func (x *MonitorEnvStoreResponseSnapshot_Error) Reset()
- func (x *MonitorEnvStoreResponseSnapshot_Error) String() string
- type MonitorEnvStoreResponseSnapshot_SnapshotEnv
- func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) Descriptor() ([]byte, []int)deprecated
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetCreateTime() string
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetDescription() string
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetErrors() []*MonitorEnvStoreResponseSnapshot_Error
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetIsRequired() bool
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetName() string
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetOrigin() string
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetOriginalValue() string
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetResolvedValue() string
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetSpec() string
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetStatus() MonitorEnvStoreResponseSnapshot_Status
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetUpdateTime() string
- func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) ProtoMessage()
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) ProtoReflect() protoreflect.Message
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) Reset()
- func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) String() string
- type MonitorEnvStoreResponseSnapshot_Status
- func (MonitorEnvStoreResponseSnapshot_Status) Descriptor() protoreflect.EnumDescriptor
- func (x MonitorEnvStoreResponseSnapshot_Status) Enum() *MonitorEnvStoreResponseSnapshot_Status
- func (MonitorEnvStoreResponseSnapshot_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x MonitorEnvStoreResponseSnapshot_Status) Number() protoreflect.EnumNumber
- func (x MonitorEnvStoreResponseSnapshot_Status) String() string
- func (MonitorEnvStoreResponseSnapshot_Status) Type() protoreflect.EnumType
- type MonitorEnvStoreResponse_Snapshot
- type MonitorEnvStoreType
- func (MonitorEnvStoreType) Descriptor() protoreflect.EnumDescriptor
- func (x MonitorEnvStoreType) Enum() *MonitorEnvStoreType
- func (MonitorEnvStoreType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MonitorEnvStoreType) Number() protoreflect.EnumNumber
- func (x MonitorEnvStoreType) String() string
- func (MonitorEnvStoreType) Type() protoreflect.EnumType
- type ProcessPID
- type Project
- type ResolveProgramCommandList
- func (*ResolveProgramCommandList) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveProgramCommandList) GetLines() []string
- func (*ResolveProgramCommandList) ProtoMessage()
- func (x *ResolveProgramCommandList) ProtoReflect() protoreflect.Message
- func (x *ResolveProgramCommandList) Reset()
- func (x *ResolveProgramCommandList) String() string
- type ResolveProgramRequest
- func (*ResolveProgramRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveProgramRequest) GetCommands() *ResolveProgramCommandList
- func (x *ResolveProgramRequest) GetEnv() []string
- func (x *ResolveProgramRequest) GetLanguageId() string
- func (x *ResolveProgramRequest) GetMode() ResolveProgramRequest_Mode
- func (x *ResolveProgramRequest) GetProject() *Project
- func (x *ResolveProgramRequest) GetScript() string
- func (x *ResolveProgramRequest) GetSessionId() string
- func (x *ResolveProgramRequest) GetSessionStrategy() SessionStrategy
- func (m *ResolveProgramRequest) GetSource() isResolveProgramRequest_Source
- func (*ResolveProgramRequest) ProtoMessage()
- func (x *ResolveProgramRequest) ProtoReflect() protoreflect.Message
- func (x *ResolveProgramRequest) Reset()
- func (x *ResolveProgramRequest) String() string
- type ResolveProgramRequest_Commands
- type ResolveProgramRequest_Mode
- func (ResolveProgramRequest_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x ResolveProgramRequest_Mode) Enum() *ResolveProgramRequest_Mode
- func (ResolveProgramRequest_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResolveProgramRequest_Mode) Number() protoreflect.EnumNumber
- func (x ResolveProgramRequest_Mode) String() string
- func (ResolveProgramRequest_Mode) Type() protoreflect.EnumType
- type ResolveProgramRequest_Script
- type ResolveProgramResponse
- func (*ResolveProgramResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveProgramResponse) GetCommands() *ResolveProgramCommandList
- func (x *ResolveProgramResponse) GetScript() string
- func (x *ResolveProgramResponse) GetVars() []*ResolveProgramResponse_VarResult
- func (*ResolveProgramResponse) ProtoMessage()
- func (x *ResolveProgramResponse) ProtoReflect() protoreflect.Message
- func (x *ResolveProgramResponse) Reset()
- func (x *ResolveProgramResponse) String() string
- type ResolveProgramResponse_Status
- func (ResolveProgramResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ResolveProgramResponse_Status) Enum() *ResolveProgramResponse_Status
- func (ResolveProgramResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResolveProgramResponse_Status) Number() protoreflect.EnumNumber
- func (x ResolveProgramResponse_Status) String() string
- func (ResolveProgramResponse_Status) Type() protoreflect.EnumType
- type ResolveProgramResponse_VarResult
- func (*ResolveProgramResponse_VarResult) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveProgramResponse_VarResult) GetName() string
- func (x *ResolveProgramResponse_VarResult) GetOriginalValue() string
- func (x *ResolveProgramResponse_VarResult) GetResolvedValue() string
- func (x *ResolveProgramResponse_VarResult) GetStatus() ResolveProgramResponse_Status
- func (*ResolveProgramResponse_VarResult) ProtoMessage()
- func (x *ResolveProgramResponse_VarResult) ProtoReflect() protoreflect.Message
- func (x *ResolveProgramResponse_VarResult) Reset()
- func (x *ResolveProgramResponse_VarResult) String() string
- type RunnerServiceClient
- type RunnerServiceServer
- type RunnerService_ExecuteClient
- type RunnerService_ExecuteServer
- type RunnerService_MonitorEnvStoreClient
- type RunnerService_MonitorEnvStoreServer
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetEnvs() []string
- func (x *Session) GetId() string
- func (x *Session) GetMetadata() map[string]string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type SessionEnvStoreType
- func (SessionEnvStoreType) Descriptor() protoreflect.EnumDescriptor
- func (x SessionEnvStoreType) Enum() *SessionEnvStoreType
- func (SessionEnvStoreType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SessionEnvStoreType) Number() protoreflect.EnumNumber
- func (x SessionEnvStoreType) String() string
- func (SessionEnvStoreType) Type() protoreflect.EnumType
- type SessionStrategy
- func (SessionStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x SessionStrategy) Enum() *SessionStrategy
- func (SessionStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x SessionStrategy) Number() protoreflect.EnumNumber
- func (x SessionStrategy) String() string
- func (SessionStrategy) Type() protoreflect.EnumType
- type UnimplementedRunnerServiceServer
- func (UnimplementedRunnerServiceServer) CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error)
- func (UnimplementedRunnerServiceServer) DeleteSession(context.Context, *DeleteSessionRequest) (*DeleteSessionResponse, error)
- func (UnimplementedRunnerServiceServer) Execute(grpc.BidiStreamingServer[ExecuteRequest, ExecuteResponse]) error
- func (UnimplementedRunnerServiceServer) GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error)
- func (UnimplementedRunnerServiceServer) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
- func (UnimplementedRunnerServiceServer) MonitorEnvStore(*MonitorEnvStoreRequest, grpc.ServerStreamingServer[MonitorEnvStoreResponse]) error
- func (UnimplementedRunnerServiceServer) ResolveProgram(context.Context, *ResolveProgramRequest) (*ResolveProgramResponse, error)
- type UnsafeRunnerServiceServer
- type Winsize
- func (*Winsize) Descriptor() ([]byte, []int)deprecated
- func (x *Winsize) GetCols() uint32
- func (x *Winsize) GetRows() uint32
- func (x *Winsize) GetX() uint32
- func (x *Winsize) GetY() uint32
- func (*Winsize) ProtoMessage()
- func (x *Winsize) ProtoReflect() protoreflect.Message
- func (x *Winsize) Reset()
- func (x *Winsize) String() string
Constants ¶
const ( RunnerService_CreateSession_FullMethodName = "/runme.runner.v1.RunnerService/CreateSession" RunnerService_GetSession_FullMethodName = "/runme.runner.v1.RunnerService/GetSession" RunnerService_ListSessions_FullMethodName = "/runme.runner.v1.RunnerService/ListSessions" RunnerService_DeleteSession_FullMethodName = "/runme.runner.v1.RunnerService/DeleteSession" RunnerService_MonitorEnvStore_FullMethodName = "/runme.runner.v1.RunnerService/MonitorEnvStore" RunnerService_Execute_FullMethodName = "/runme.runner.v1.RunnerService/Execute" RunnerService_ResolveProgram_FullMethodName = "/runme.runner.v1.RunnerService/ResolveProgram" )
Variables ¶
var ( SessionEnvStoreType_name = map[int32]string{ 0: "SESSION_ENV_STORE_TYPE_UNSPECIFIED", 1: "SESSION_ENV_STORE_TYPE_OWL", } SessionEnvStoreType_value = map[string]int32{ "SESSION_ENV_STORE_TYPE_UNSPECIFIED": 0, "SESSION_ENV_STORE_TYPE_OWL": 1, } )
Enum value maps for SessionEnvStoreType.
var ( ExecuteStop_name = map[int32]string{ 0: "EXECUTE_STOP_UNSPECIFIED", 1: "EXECUTE_STOP_INTERRUPT", 2: "EXECUTE_STOP_KILL", } ExecuteStop_value = map[string]int32{ "EXECUTE_STOP_UNSPECIFIED": 0, "EXECUTE_STOP_INTERRUPT": 1, "EXECUTE_STOP_KILL": 2, } )
Enum value maps for ExecuteStop.
var ( CommandMode_name = map[int32]string{ 0: "COMMAND_MODE_UNSPECIFIED", 1: "COMMAND_MODE_INLINE_SHELL", 2: "COMMAND_MODE_TEMP_FILE", 3: "COMMAND_MODE_TERMINAL", } CommandMode_value = map[string]int32{ "COMMAND_MODE_UNSPECIFIED": 0, "COMMAND_MODE_INLINE_SHELL": 1, "COMMAND_MODE_TEMP_FILE": 2, "COMMAND_MODE_TERMINAL": 3, } )
Enum value maps for CommandMode.
var ( SessionStrategy_name = map[int32]string{ 0: "SESSION_STRATEGY_UNSPECIFIED", 1: "SESSION_STRATEGY_MOST_RECENT", } SessionStrategy_value = map[string]int32{ "SESSION_STRATEGY_UNSPECIFIED": 0, "SESSION_STRATEGY_MOST_RECENT": 1, } )
Enum value maps for SessionStrategy.
var ( MonitorEnvStoreType_name = map[int32]string{ 0: "MONITOR_ENV_STORE_TYPE_UNSPECIFIED", 1: "MONITOR_ENV_STORE_TYPE_SNAPSHOT", } MonitorEnvStoreType_value = map[string]int32{ "MONITOR_ENV_STORE_TYPE_UNSPECIFIED": 0, "MONITOR_ENV_STORE_TYPE_SNAPSHOT": 1, } )
Enum value maps for MonitorEnvStoreType.
var ( ResolveProgramRequest_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "MODE_PROMPT_ALL", 2: "MODE_SKIP_ALL", } ResolveProgramRequest_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "MODE_PROMPT_ALL": 1, "MODE_SKIP_ALL": 2, } )
Enum value maps for ResolveProgramRequest_Mode.
var ( ResolveProgramResponse_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_UNRESOLVED_WITH_MESSAGE", 2: "STATUS_UNRESOLVED_WITH_PLACEHOLDER", 3: "STATUS_RESOLVED", 4: "STATUS_UNRESOLVED_WITH_SECRET", } ResolveProgramResponse_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_UNRESOLVED_WITH_MESSAGE": 1, "STATUS_UNRESOLVED_WITH_PLACEHOLDER": 2, "STATUS_RESOLVED": 3, "STATUS_UNRESOLVED_WITH_SECRET": 4, } )
Enum value maps for ResolveProgramResponse_Status.
var ( MonitorEnvStoreResponseSnapshot_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_LITERAL", 2: "STATUS_HIDDEN", 3: "STATUS_MASKED", } MonitorEnvStoreResponseSnapshot_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_LITERAL": 1, "STATUS_HIDDEN": 2, "STATUS_MASKED": 3, } )
Enum value maps for MonitorEnvStoreResponseSnapshot_Status.
var File_runme_runner_v1_runner_proto protoreflect.FileDescriptor
var RunnerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "runme.runner.v1.RunnerService", HandlerType: (*RunnerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateSession", Handler: _RunnerService_CreateSession_Handler, }, { MethodName: "GetSession", Handler: _RunnerService_GetSession_Handler, }, { MethodName: "ListSessions", Handler: _RunnerService_ListSessions_Handler, }, { MethodName: "DeleteSession", Handler: _RunnerService_DeleteSession_Handler, }, { MethodName: "ResolveProgram", Handler: _RunnerService_ResolveProgram_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "MonitorEnvStore", Handler: _RunnerService_MonitorEnvStore_Handler, ServerStreams: true, }, { StreamName: "Execute", Handler: _RunnerService_Execute_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "runme/runner/v1/runner.proto", }
RunnerService_ServiceDesc is the grpc.ServiceDesc for RunnerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRunnerServiceServer ¶
func RegisterRunnerServiceServer(s grpc.ServiceRegistrar, srv RunnerServiceServer)
Types ¶
type CommandMode ¶
type CommandMode int32
const ( CommandMode_COMMAND_MODE_UNSPECIFIED CommandMode = 0 CommandMode_COMMAND_MODE_INLINE_SHELL CommandMode = 1 CommandMode_COMMAND_MODE_TEMP_FILE CommandMode = 2 CommandMode_COMMAND_MODE_TERMINAL CommandMode = 3 )
func (CommandMode) Descriptor ¶
func (CommandMode) Descriptor() protoreflect.EnumDescriptor
func (CommandMode) Enum ¶
func (x CommandMode) Enum() *CommandMode
func (CommandMode) EnumDescriptor
deprecated
func (CommandMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommandMode.Descriptor instead.
func (CommandMode) Number ¶
func (x CommandMode) Number() protoreflect.EnumNumber
func (CommandMode) String ¶
func (x CommandMode) String() string
func (CommandMode) Type ¶
func (CommandMode) Type() protoreflect.EnumType
type CreateSessionRequest ¶
type CreateSessionRequest struct { // metadata is a map of client specific metadata. Metadata map[string]string `` /* 157-byte string literal not displayed */ // envs field provides an initial set of environment variables // for a newly created session. Envs []string `protobuf:"bytes,2,rep,name=envs,proto3" json:"envs,omitempty"` // optional project from which to immediately load environment variables Project *Project `protobuf:"bytes,3,opt,name=project,proto3,oneof" json:"project,omitempty"` // optional selection of which env store implementation to sue EnvStoreType SessionEnvStoreType `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateSessionRequest) Descriptor
deprecated
func (*CreateSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.
func (*CreateSessionRequest) GetEnvStoreType ¶
func (x *CreateSessionRequest) GetEnvStoreType() SessionEnvStoreType
func (*CreateSessionRequest) GetEnvs ¶
func (x *CreateSessionRequest) GetEnvs() []string
func (*CreateSessionRequest) GetMetadata ¶
func (x *CreateSessionRequest) GetMetadata() map[string]string
func (*CreateSessionRequest) GetProject ¶
func (x *CreateSessionRequest) GetProject() *Project
func (*CreateSessionRequest) ProtoMessage ¶
func (*CreateSessionRequest) ProtoMessage()
func (*CreateSessionRequest) ProtoReflect ¶
func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
func (*CreateSessionRequest) Reset ¶
func (x *CreateSessionRequest) Reset()
func (*CreateSessionRequest) String ¶
func (x *CreateSessionRequest) String() string
type CreateSessionResponse ¶
type CreateSessionResponse struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
func (*CreateSessionResponse) Descriptor
deprecated
func (*CreateSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionResponse.ProtoReflect.Descriptor instead.
func (*CreateSessionResponse) GetSession ¶
func (x *CreateSessionResponse) GetSession() *Session
func (*CreateSessionResponse) ProtoMessage ¶
func (*CreateSessionResponse) ProtoMessage()
func (*CreateSessionResponse) ProtoReflect ¶
func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message
func (*CreateSessionResponse) Reset ¶
func (x *CreateSessionResponse) Reset()
func (*CreateSessionResponse) String ¶
func (x *CreateSessionResponse) String() string
type DeleteSessionRequest ¶
type DeleteSessionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSessionRequest) Descriptor
deprecated
func (*DeleteSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSessionRequest.ProtoReflect.Descriptor instead.
func (*DeleteSessionRequest) GetId ¶
func (x *DeleteSessionRequest) GetId() string
func (*DeleteSessionRequest) ProtoMessage ¶
func (*DeleteSessionRequest) ProtoMessage()
func (*DeleteSessionRequest) ProtoReflect ¶
func (x *DeleteSessionRequest) ProtoReflect() protoreflect.Message
func (*DeleteSessionRequest) Reset ¶
func (x *DeleteSessionRequest) Reset()
func (*DeleteSessionRequest) String ¶
func (x *DeleteSessionRequest) String() string
type DeleteSessionResponse ¶
type DeleteSessionResponse struct {
// contains filtered or unexported fields
}
func (*DeleteSessionResponse) Descriptor
deprecated
func (*DeleteSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSessionResponse.ProtoReflect.Descriptor instead.
func (*DeleteSessionResponse) ProtoMessage ¶
func (*DeleteSessionResponse) ProtoMessage()
func (*DeleteSessionResponse) ProtoReflect ¶
func (x *DeleteSessionResponse) ProtoReflect() protoreflect.Message
func (*DeleteSessionResponse) Reset ¶
func (x *DeleteSessionResponse) Reset()
func (*DeleteSessionResponse) String ¶
func (x *DeleteSessionResponse) String() string
type ExecuteRequest ¶
type ExecuteRequest struct { // program_name is a name of the program to execute. // If it's not a path (relative or absolute), the runner // will try to resolve the name. // For example: "sh", "/bin/bash". ProgramName string `protobuf:"bytes,1,opt,name=program_name,json=programName,proto3" json:"program_name,omitempty"` // arguments is a list of arguments passed to the program. Arguments []string `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` // directory to execute the program in. Directory string `protobuf:"bytes,3,opt,name=directory,proto3" json:"directory,omitempty"` // envs is a list of additional environment variables // that will be injected to the executed program. Envs []string `protobuf:"bytes,4,rep,name=envs,proto3" json:"envs,omitempty"` // commands are commands to be executed by the program. // The commands are joined and executed as a script. // For example: "echo 'Hello, World'", "ls -l /etc". // This is mutually exclusive with the script field. Commands []string `protobuf:"bytes,5,rep,name=commands,proto3" json:"commands,omitempty"` // script is code to be executed by the program. // Individual lines are joined with the new line character. // This is mutually exclusive with the commands field. Script string `protobuf:"bytes,6,opt,name=script,proto3" json:"script,omitempty"` // tty when true allocates a pseudo-TTY. Tty bool `protobuf:"varint,7,opt,name=tty,proto3" json:"tty,omitempty"` // input_data is a byte array that will be send as input // to the program. InputData []byte `protobuf:"bytes,8,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` // stop requests the running process to be stopped. // It is allowed only in the consecutive calls. Stop ExecuteStop `protobuf:"varint,9,opt,name=stop,proto3,enum=runme.runner.v1.ExecuteStop" json:"stop,omitempty"` // sets pty winsize // has no effect in non-interactive mode Winsize *Winsize `protobuf:"bytes,10,opt,name=winsize,proto3,oneof" json:"winsize,omitempty"` // background indicates a background process // this will send the process' PID as a first response Background bool `protobuf:"varint,11,opt,name=background,proto3" json:"background,omitempty"` // session_id indicates in which Session the program should execute. // Executing in a Session might provide additional context like // environment variables. SessionId string `protobuf:"bytes,20,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // strategy for selecting session SessionStrategy SessionStrategy `` /* 145-byte string literal not displayed */ // project for this runner // used to load environment variables from .env files Project *Project `protobuf:"bytes,22,opt,name=project,proto3,oneof" json:"project,omitempty"` // whether to store the stdout of the last ran // block in the environment variable `__` StoreLastOutput bool `protobuf:"varint,23,opt,name=store_last_output,json=storeLastOutput,proto3" json:"store_last_output,omitempty"` CommandMode CommandMode `` /* 129-byte string literal not displayed */ // language id associated with script LanguageId string `protobuf:"bytes,25,opt,name=language_id,json=languageId,proto3" json:"language_id,omitempty"` // file extension associated with script FileExtension string `protobuf:"bytes,26,opt,name=file_extension,json=fileExtension,proto3" json:"file_extension,omitempty"` // optional well known id for cell/block. "know" meaning that // CLI/notebook UX have id/name for cells/blocks that contain commands. // While the runner doesn't require the name to work, it is useful for // auxiliary concerns (e.g. tracing, logging, etc). KnownId string `protobuf:"bytes,27,opt,name=known_id,json=knownId,proto3" json:"known_id,omitempty"` // optional well known name for cell/block. "know" meaning that // CLI/notebook UX have id/name for cells/blocks that contain commands. // While the runner doesn't require the name to work, it is useful for // auxiliary concerns (e.g. tracing, logging, etc). KnownName string `protobuf:"bytes,28,opt,name=known_name,json=knownName,proto3" json:"known_name,omitempty"` // contains filtered or unexported fields }
func (*ExecuteRequest) Descriptor
deprecated
func (*ExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.
func (*ExecuteRequest) GetArguments ¶
func (x *ExecuteRequest) GetArguments() []string
func (*ExecuteRequest) GetBackground ¶
func (x *ExecuteRequest) GetBackground() bool
func (*ExecuteRequest) GetCommandMode ¶
func (x *ExecuteRequest) GetCommandMode() CommandMode
func (*ExecuteRequest) GetCommands ¶
func (x *ExecuteRequest) GetCommands() []string
func (*ExecuteRequest) GetDirectory ¶
func (x *ExecuteRequest) GetDirectory() string
func (*ExecuteRequest) GetEnvs ¶
func (x *ExecuteRequest) GetEnvs() []string
func (*ExecuteRequest) GetFileExtension ¶
func (x *ExecuteRequest) GetFileExtension() string
func (*ExecuteRequest) GetInputData ¶
func (x *ExecuteRequest) GetInputData() []byte
func (*ExecuteRequest) GetKnownId ¶
func (x *ExecuteRequest) GetKnownId() string
func (*ExecuteRequest) GetKnownName ¶
func (x *ExecuteRequest) GetKnownName() string
func (*ExecuteRequest) GetLanguageId ¶
func (x *ExecuteRequest) GetLanguageId() string
func (*ExecuteRequest) GetProgramName ¶
func (x *ExecuteRequest) GetProgramName() string
func (*ExecuteRequest) GetProject ¶
func (x *ExecuteRequest) GetProject() *Project
func (*ExecuteRequest) GetScript ¶
func (x *ExecuteRequest) GetScript() string
func (*ExecuteRequest) GetSessionId ¶
func (x *ExecuteRequest) GetSessionId() string
func (*ExecuteRequest) GetSessionStrategy ¶
func (x *ExecuteRequest) GetSessionStrategy() SessionStrategy
func (*ExecuteRequest) GetStop ¶
func (x *ExecuteRequest) GetStop() ExecuteStop
func (*ExecuteRequest) GetStoreLastOutput ¶
func (x *ExecuteRequest) GetStoreLastOutput() bool
func (*ExecuteRequest) GetTty ¶
func (x *ExecuteRequest) GetTty() bool
func (*ExecuteRequest) GetWinsize ¶
func (x *ExecuteRequest) GetWinsize() *Winsize
func (*ExecuteRequest) ProtoMessage ¶
func (*ExecuteRequest) ProtoMessage()
func (*ExecuteRequest) ProtoReflect ¶
func (x *ExecuteRequest) ProtoReflect() protoreflect.Message
func (*ExecuteRequest) Reset ¶
func (x *ExecuteRequest) Reset()
func (*ExecuteRequest) String ¶
func (x *ExecuteRequest) String() string
type ExecuteResponse ¶
type ExecuteResponse struct { // exit_code is sent only in the final message. ExitCode *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` // stdout_data contains bytes from stdout since the last response. StdoutData []byte `protobuf:"bytes,2,opt,name=stdout_data,json=stdoutData,proto3" json:"stdout_data,omitempty"` // stderr_data contains bytes from stderr since the last response. StderrData []byte `protobuf:"bytes,3,opt,name=stderr_data,json=stderrData,proto3" json:"stderr_data,omitempty"` // pid contains the process' PID // this is only sent once in an initial response for background processes. Pid *ProcessPID `protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"` // mime_type is a detected MIME type of the stdout_data. // // This is only sent once in the first response containing stdout_data. MimeType string `protobuf:"bytes,5,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // contains filtered or unexported fields }
func (*ExecuteResponse) Descriptor
deprecated
func (*ExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.
func (*ExecuteResponse) GetExitCode ¶
func (x *ExecuteResponse) GetExitCode() *wrapperspb.UInt32Value
func (*ExecuteResponse) GetMimeType ¶
func (x *ExecuteResponse) GetMimeType() string
func (*ExecuteResponse) GetPid ¶
func (x *ExecuteResponse) GetPid() *ProcessPID
func (*ExecuteResponse) GetStderrData ¶
func (x *ExecuteResponse) GetStderrData() []byte
func (*ExecuteResponse) GetStdoutData ¶
func (x *ExecuteResponse) GetStdoutData() []byte
func (*ExecuteResponse) ProtoMessage ¶
func (*ExecuteResponse) ProtoMessage()
func (*ExecuteResponse) ProtoReflect ¶
func (x *ExecuteResponse) ProtoReflect() protoreflect.Message
func (*ExecuteResponse) Reset ¶
func (x *ExecuteResponse) Reset()
func (*ExecuteResponse) String ¶
func (x *ExecuteResponse) String() string
type ExecuteStop ¶
type ExecuteStop int32
const ( ExecuteStop_EXECUTE_STOP_UNSPECIFIED ExecuteStop = 0 ExecuteStop_EXECUTE_STOP_INTERRUPT ExecuteStop = 1 ExecuteStop_EXECUTE_STOP_KILL ExecuteStop = 2 )
func (ExecuteStop) Descriptor ¶
func (ExecuteStop) Descriptor() protoreflect.EnumDescriptor
func (ExecuteStop) Enum ¶
func (x ExecuteStop) Enum() *ExecuteStop
func (ExecuteStop) EnumDescriptor
deprecated
func (ExecuteStop) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecuteStop.Descriptor instead.
func (ExecuteStop) Number ¶
func (x ExecuteStop) Number() protoreflect.EnumNumber
func (ExecuteStop) String ¶
func (x ExecuteStop) String() string
func (ExecuteStop) Type ¶
func (ExecuteStop) Type() protoreflect.EnumType
type GetSessionRequest ¶
type GetSessionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetSessionRequest) Descriptor
deprecated
func (*GetSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionRequest.ProtoReflect.Descriptor instead.
func (*GetSessionRequest) GetId ¶
func (x *GetSessionRequest) GetId() string
func (*GetSessionRequest) ProtoMessage ¶
func (*GetSessionRequest) ProtoMessage()
func (*GetSessionRequest) ProtoReflect ¶
func (x *GetSessionRequest) ProtoReflect() protoreflect.Message
func (*GetSessionRequest) Reset ¶
func (x *GetSessionRequest) Reset()
func (*GetSessionRequest) String ¶
func (x *GetSessionRequest) String() string
type GetSessionResponse ¶
type GetSessionResponse struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
func (*GetSessionResponse) Descriptor
deprecated
func (*GetSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionResponse.ProtoReflect.Descriptor instead.
func (*GetSessionResponse) GetSession ¶
func (x *GetSessionResponse) GetSession() *Session
func (*GetSessionResponse) ProtoMessage ¶
func (*GetSessionResponse) ProtoMessage()
func (*GetSessionResponse) ProtoReflect ¶
func (x *GetSessionResponse) ProtoReflect() protoreflect.Message
func (*GetSessionResponse) Reset ¶
func (x *GetSessionResponse) Reset()
func (*GetSessionResponse) String ¶
func (x *GetSessionResponse) String() string
type ListSessionsRequest ¶
type ListSessionsRequest struct {
// contains filtered or unexported fields
}
func (*ListSessionsRequest) Descriptor
deprecated
func (*ListSessionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.
func (*ListSessionsRequest) ProtoMessage ¶
func (*ListSessionsRequest) ProtoMessage()
func (*ListSessionsRequest) ProtoReflect ¶
func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message
func (*ListSessionsRequest) Reset ¶
func (x *ListSessionsRequest) Reset()
func (*ListSessionsRequest) String ¶
func (x *ListSessionsRequest) String() string
type ListSessionsResponse ¶
type ListSessionsResponse struct { Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"` // contains filtered or unexported fields }
func (*ListSessionsResponse) Descriptor
deprecated
func (*ListSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListSessionsResponse) GetSessions ¶
func (x *ListSessionsResponse) GetSessions() []*Session
func (*ListSessionsResponse) ProtoMessage ¶
func (*ListSessionsResponse) ProtoMessage()
func (*ListSessionsResponse) ProtoReflect ¶
func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
func (*ListSessionsResponse) Reset ¶
func (x *ListSessionsResponse) Reset()
func (*ListSessionsResponse) String ¶
func (x *ListSessionsResponse) String() string
type MonitorEnvStoreRequest ¶
type MonitorEnvStoreRequest struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
func (*MonitorEnvStoreRequest) Descriptor
deprecated
func (*MonitorEnvStoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use MonitorEnvStoreRequest.ProtoReflect.Descriptor instead.
func (*MonitorEnvStoreRequest) GetSession ¶
func (x *MonitorEnvStoreRequest) GetSession() *Session
func (*MonitorEnvStoreRequest) ProtoMessage ¶
func (*MonitorEnvStoreRequest) ProtoMessage()
func (*MonitorEnvStoreRequest) ProtoReflect ¶
func (x *MonitorEnvStoreRequest) ProtoReflect() protoreflect.Message
func (*MonitorEnvStoreRequest) Reset ¶
func (x *MonitorEnvStoreRequest) Reset()
func (*MonitorEnvStoreRequest) String ¶
func (x *MonitorEnvStoreRequest) String() string
type MonitorEnvStoreResponse ¶
type MonitorEnvStoreResponse struct { Type MonitorEnvStoreType `protobuf:"varint,1,opt,name=type,proto3,enum=runme.runner.v1.MonitorEnvStoreType" json:"type,omitempty"` // Types that are assignable to Data: // // *MonitorEnvStoreResponse_Snapshot Data isMonitorEnvStoreResponse_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*MonitorEnvStoreResponse) Descriptor
deprecated
func (*MonitorEnvStoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use MonitorEnvStoreResponse.ProtoReflect.Descriptor instead.
func (*MonitorEnvStoreResponse) GetData ¶
func (m *MonitorEnvStoreResponse) GetData() isMonitorEnvStoreResponse_Data
func (*MonitorEnvStoreResponse) GetSnapshot ¶
func (x *MonitorEnvStoreResponse) GetSnapshot() *MonitorEnvStoreResponseSnapshot
func (*MonitorEnvStoreResponse) GetType ¶
func (x *MonitorEnvStoreResponse) GetType() MonitorEnvStoreType
func (*MonitorEnvStoreResponse) ProtoMessage ¶
func (*MonitorEnvStoreResponse) ProtoMessage()
func (*MonitorEnvStoreResponse) ProtoReflect ¶
func (x *MonitorEnvStoreResponse) ProtoReflect() protoreflect.Message
func (*MonitorEnvStoreResponse) Reset ¶
func (x *MonitorEnvStoreResponse) Reset()
func (*MonitorEnvStoreResponse) String ¶
func (x *MonitorEnvStoreResponse) String() string
type MonitorEnvStoreResponseSnapshot ¶
type MonitorEnvStoreResponseSnapshot struct { Envs []*MonitorEnvStoreResponseSnapshot_SnapshotEnv `protobuf:"bytes,1,rep,name=envs,proto3" json:"envs,omitempty"` // contains filtered or unexported fields }
func (*MonitorEnvStoreResponseSnapshot) Descriptor
deprecated
func (*MonitorEnvStoreResponseSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use MonitorEnvStoreResponseSnapshot.ProtoReflect.Descriptor instead.
func (*MonitorEnvStoreResponseSnapshot) GetEnvs ¶
func (x *MonitorEnvStoreResponseSnapshot) GetEnvs() []*MonitorEnvStoreResponseSnapshot_SnapshotEnv
func (*MonitorEnvStoreResponseSnapshot) ProtoMessage ¶
func (*MonitorEnvStoreResponseSnapshot) ProtoMessage()
func (*MonitorEnvStoreResponseSnapshot) ProtoReflect ¶
func (x *MonitorEnvStoreResponseSnapshot) ProtoReflect() protoreflect.Message
func (*MonitorEnvStoreResponseSnapshot) Reset ¶
func (x *MonitorEnvStoreResponseSnapshot) Reset()
func (*MonitorEnvStoreResponseSnapshot) String ¶
func (x *MonitorEnvStoreResponseSnapshot) String() string
type MonitorEnvStoreResponseSnapshot_Error ¶
type MonitorEnvStoreResponseSnapshot_Error struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*MonitorEnvStoreResponseSnapshot_Error) Descriptor
deprecated
func (*MonitorEnvStoreResponseSnapshot_Error) Descriptor() ([]byte, []int)
Deprecated: Use MonitorEnvStoreResponseSnapshot_Error.ProtoReflect.Descriptor instead.
func (*MonitorEnvStoreResponseSnapshot_Error) GetCode ¶
func (x *MonitorEnvStoreResponseSnapshot_Error) GetCode() uint32
func (*MonitorEnvStoreResponseSnapshot_Error) GetMessage ¶
func (x *MonitorEnvStoreResponseSnapshot_Error) GetMessage() string
func (*MonitorEnvStoreResponseSnapshot_Error) ProtoMessage ¶
func (*MonitorEnvStoreResponseSnapshot_Error) ProtoMessage()
func (*MonitorEnvStoreResponseSnapshot_Error) ProtoReflect ¶
func (x *MonitorEnvStoreResponseSnapshot_Error) ProtoReflect() protoreflect.Message
func (*MonitorEnvStoreResponseSnapshot_Error) Reset ¶
func (x *MonitorEnvStoreResponseSnapshot_Error) Reset()
func (*MonitorEnvStoreResponseSnapshot_Error) String ¶
func (x *MonitorEnvStoreResponseSnapshot_Error) String() string
type MonitorEnvStoreResponseSnapshot_SnapshotEnv ¶
type MonitorEnvStoreResponseSnapshot_SnapshotEnv struct { Status MonitorEnvStoreResponseSnapshot_Status `` /* 126-byte string literal not displayed */ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Spec string `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` Origin string `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"` OriginalValue string `protobuf:"bytes,5,opt,name=original_value,json=originalValue,proto3" json:"original_value,omitempty"` ResolvedValue string `protobuf:"bytes,6,opt,name=resolved_value,json=resolvedValue,proto3" json:"resolved_value,omitempty"` CreateTime string `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` UpdateTime string `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` Errors []*MonitorEnvStoreResponseSnapshot_Error `protobuf:"bytes,9,rep,name=errors,proto3" json:"errors,omitempty"` IsRequired bool `protobuf:"varint,10,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"` Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) Descriptor
deprecated
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) Descriptor() ([]byte, []int)
Deprecated: Use MonitorEnvStoreResponseSnapshot_SnapshotEnv.ProtoReflect.Descriptor instead.
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetCreateTime ¶
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetCreateTime() string
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetDescription ¶ added in v3.9.2
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetDescription() string
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetErrors ¶
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetErrors() []*MonitorEnvStoreResponseSnapshot_Error
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetIsRequired ¶ added in v3.5.0
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetIsRequired() bool
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetName ¶
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetName() string
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetOrigin ¶
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetOrigin() string
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetOriginalValue ¶
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetOriginalValue() string
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetResolvedValue ¶
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetResolvedValue() string
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetSpec ¶
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetSpec() string
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetStatus ¶
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetStatus() MonitorEnvStoreResponseSnapshot_Status
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetUpdateTime ¶
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) GetUpdateTime() string
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) ProtoMessage ¶
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) ProtoMessage()
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) ProtoReflect ¶
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) ProtoReflect() protoreflect.Message
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) Reset ¶
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) Reset()
func (*MonitorEnvStoreResponseSnapshot_SnapshotEnv) String ¶
func (x *MonitorEnvStoreResponseSnapshot_SnapshotEnv) String() string
type MonitorEnvStoreResponseSnapshot_Status ¶
type MonitorEnvStoreResponseSnapshot_Status int32
const ( MonitorEnvStoreResponseSnapshot_STATUS_UNSPECIFIED MonitorEnvStoreResponseSnapshot_Status = 0 MonitorEnvStoreResponseSnapshot_STATUS_LITERAL MonitorEnvStoreResponseSnapshot_Status = 1 MonitorEnvStoreResponseSnapshot_STATUS_HIDDEN MonitorEnvStoreResponseSnapshot_Status = 2 MonitorEnvStoreResponseSnapshot_STATUS_MASKED MonitorEnvStoreResponseSnapshot_Status = 3 )
func (MonitorEnvStoreResponseSnapshot_Status) Descriptor ¶
func (MonitorEnvStoreResponseSnapshot_Status) Descriptor() protoreflect.EnumDescriptor
func (MonitorEnvStoreResponseSnapshot_Status) EnumDescriptor
deprecated
func (MonitorEnvStoreResponseSnapshot_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use MonitorEnvStoreResponseSnapshot_Status.Descriptor instead.
func (MonitorEnvStoreResponseSnapshot_Status) Number ¶
func (x MonitorEnvStoreResponseSnapshot_Status) Number() protoreflect.EnumNumber
func (MonitorEnvStoreResponseSnapshot_Status) String ¶
func (x MonitorEnvStoreResponseSnapshot_Status) String() string
func (MonitorEnvStoreResponseSnapshot_Status) Type ¶
func (MonitorEnvStoreResponseSnapshot_Status) Type() protoreflect.EnumType
type MonitorEnvStoreResponse_Snapshot ¶
type MonitorEnvStoreResponse_Snapshot struct {
Snapshot *MonitorEnvStoreResponseSnapshot `protobuf:"bytes,2,opt,name=snapshot,proto3,oneof"`
}
type MonitorEnvStoreType ¶
type MonitorEnvStoreType int32
const ( MonitorEnvStoreType_MONITOR_ENV_STORE_TYPE_UNSPECIFIED MonitorEnvStoreType = 0 MonitorEnvStoreType_MONITOR_ENV_STORE_TYPE_SNAPSHOT MonitorEnvStoreType = 1 )
func (MonitorEnvStoreType) Descriptor ¶
func (MonitorEnvStoreType) Descriptor() protoreflect.EnumDescriptor
func (MonitorEnvStoreType) Enum ¶
func (x MonitorEnvStoreType) Enum() *MonitorEnvStoreType
func (MonitorEnvStoreType) EnumDescriptor
deprecated
func (MonitorEnvStoreType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MonitorEnvStoreType.Descriptor instead.
func (MonitorEnvStoreType) Number ¶
func (x MonitorEnvStoreType) Number() protoreflect.EnumNumber
func (MonitorEnvStoreType) String ¶
func (x MonitorEnvStoreType) String() string
func (MonitorEnvStoreType) Type ¶
func (MonitorEnvStoreType) Type() protoreflect.EnumType
type ProcessPID ¶
type ProcessPID struct { Pid int64 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*ProcessPID) Descriptor
deprecated
func (*ProcessPID) Descriptor() ([]byte, []int)
Deprecated: Use ProcessPID.ProtoReflect.Descriptor instead.
func (*ProcessPID) GetPid ¶
func (x *ProcessPID) GetPid() int64
func (*ProcessPID) ProtoMessage ¶
func (*ProcessPID) ProtoMessage()
func (*ProcessPID) ProtoReflect ¶
func (x *ProcessPID) ProtoReflect() protoreflect.Message
func (*ProcessPID) Reset ¶
func (x *ProcessPID) Reset()
func (*ProcessPID) String ¶
func (x *ProcessPID) String() string
type Project ¶
type Project struct { // project root folder Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` // list of environment files to try and load // start with EnvLoadOrder []string `protobuf:"bytes,2,rep,name=env_load_order,json=envLoadOrder,proto3" json:"env_load_order,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
func (*Project) GetEnvLoadOrder ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ResolveProgramCommandList ¶
type ResolveProgramCommandList struct { // commands are commands to be executed by the program. // The commands are joined and executed as a script. // For example: ["echo 'Hello, World'", "ls -l /etc"]. Lines []string `protobuf:"bytes,1,rep,name=lines,proto3" json:"lines,omitempty"` // contains filtered or unexported fields }
func (*ResolveProgramCommandList) Descriptor
deprecated
func (*ResolveProgramCommandList) Descriptor() ([]byte, []int)
Deprecated: Use ResolveProgramCommandList.ProtoReflect.Descriptor instead.
func (*ResolveProgramCommandList) GetLines ¶
func (x *ResolveProgramCommandList) GetLines() []string
func (*ResolveProgramCommandList) ProtoMessage ¶
func (*ResolveProgramCommandList) ProtoMessage()
func (*ResolveProgramCommandList) ProtoReflect ¶
func (x *ResolveProgramCommandList) ProtoReflect() protoreflect.Message
func (*ResolveProgramCommandList) Reset ¶
func (x *ResolveProgramCommandList) Reset()
func (*ResolveProgramCommandList) String ¶
func (x *ResolveProgramCommandList) String() string
type ResolveProgramRequest ¶
type ResolveProgramRequest struct { // use script for unnormalized cell content // whereas commands is for normalized shell commands // // Types that are assignable to Source: // // *ResolveProgramRequest_Commands // *ResolveProgramRequest_Script Source isResolveProgramRequest_Source `protobuf_oneof:"source"` // mode determines how variables resolution occurs. // It is usually based on document or cell annotation config. Mode ResolveProgramRequest_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=runme.runner.v1.ResolveProgramRequest_Mode" json:"mode,omitempty"` // env is a list of explicit environment variables that will be used // to resolve the environment variables found in the source. Env []string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"` // session_id indicates which session is the source of // environment variables. If not provided, the most recent // session can be used using session_strategy. SessionId string `protobuf:"bytes,5,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // session_strategy is a strategy for selecting the session. SessionStrategy SessionStrategy `` /* 144-byte string literal not displayed */ // project used to load environment variables from .env files. Project *Project `protobuf:"bytes,7,opt,name=project,proto3,oneof" json:"project,omitempty"` // language id associated with script LanguageId string `protobuf:"bytes,8,opt,name=language_id,json=languageId,proto3" json:"language_id,omitempty"` // contains filtered or unexported fields }
func (*ResolveProgramRequest) Descriptor
deprecated
func (*ResolveProgramRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolveProgramRequest.ProtoReflect.Descriptor instead.
func (*ResolveProgramRequest) GetCommands ¶
func (x *ResolveProgramRequest) GetCommands() *ResolveProgramCommandList
func (*ResolveProgramRequest) GetEnv ¶
func (x *ResolveProgramRequest) GetEnv() []string
func (*ResolveProgramRequest) GetLanguageId ¶ added in v3.8.0
func (x *ResolveProgramRequest) GetLanguageId() string
func (*ResolveProgramRequest) GetMode ¶
func (x *ResolveProgramRequest) GetMode() ResolveProgramRequest_Mode
func (*ResolveProgramRequest) GetProject ¶
func (x *ResolveProgramRequest) GetProject() *Project
func (*ResolveProgramRequest) GetScript ¶
func (x *ResolveProgramRequest) GetScript() string
func (*ResolveProgramRequest) GetSessionId ¶
func (x *ResolveProgramRequest) GetSessionId() string
func (*ResolveProgramRequest) GetSessionStrategy ¶
func (x *ResolveProgramRequest) GetSessionStrategy() SessionStrategy
func (*ResolveProgramRequest) GetSource ¶
func (m *ResolveProgramRequest) GetSource() isResolveProgramRequest_Source
func (*ResolveProgramRequest) ProtoMessage ¶
func (*ResolveProgramRequest) ProtoMessage()
func (*ResolveProgramRequest) ProtoReflect ¶
func (x *ResolveProgramRequest) ProtoReflect() protoreflect.Message
func (*ResolveProgramRequest) Reset ¶
func (x *ResolveProgramRequest) Reset()
func (*ResolveProgramRequest) String ¶
func (x *ResolveProgramRequest) String() string
type ResolveProgramRequest_Commands ¶
type ResolveProgramRequest_Commands struct { // commands are commands to be executed by the program. // The commands are joined and executed as a script. Commands *ResolveProgramCommandList `protobuf:"bytes,1,opt,name=commands,proto3,oneof"` }
type ResolveProgramRequest_Mode ¶
type ResolveProgramRequest_Mode int32
const ( // unspecified is auto (default) which prompts for all // unresolved environment variables. // Subsequent runs will likely resolve via the session. ResolveProgramRequest_MODE_UNSPECIFIED ResolveProgramRequest_Mode = 0 // prompt always means to prompt for all environment variables. ResolveProgramRequest_MODE_PROMPT_ALL ResolveProgramRequest_Mode = 1 // skip means to not prompt for any environment variables. // All variables will be marked as resolved. ResolveProgramRequest_MODE_SKIP_ALL ResolveProgramRequest_Mode = 2 )
func (ResolveProgramRequest_Mode) Descriptor ¶
func (ResolveProgramRequest_Mode) Descriptor() protoreflect.EnumDescriptor
func (ResolveProgramRequest_Mode) Enum ¶
func (x ResolveProgramRequest_Mode) Enum() *ResolveProgramRequest_Mode
func (ResolveProgramRequest_Mode) EnumDescriptor
deprecated
func (ResolveProgramRequest_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResolveProgramRequest_Mode.Descriptor instead.
func (ResolveProgramRequest_Mode) Number ¶
func (x ResolveProgramRequest_Mode) Number() protoreflect.EnumNumber
func (ResolveProgramRequest_Mode) String ¶
func (x ResolveProgramRequest_Mode) String() string
func (ResolveProgramRequest_Mode) Type ¶
func (ResolveProgramRequest_Mode) Type() protoreflect.EnumType
type ResolveProgramRequest_Script ¶
type ResolveProgramRequest_Script struct { // script is code to be executed by the program. // Individual lines are joined with the new line character. Script string `protobuf:"bytes,2,opt,name=script,proto3,oneof"` }
type ResolveProgramResponse ¶
type ResolveProgramResponse struct { Script string `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` // use script until commands normalization is implemented Commands *ResolveProgramCommandList `protobuf:"bytes,2,opt,name=commands,proto3" json:"commands,omitempty"` Vars []*ResolveProgramResponse_VarResult `protobuf:"bytes,3,rep,name=vars,proto3" json:"vars,omitempty"` // contains filtered or unexported fields }
func (*ResolveProgramResponse) Descriptor
deprecated
func (*ResolveProgramResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResolveProgramResponse.ProtoReflect.Descriptor instead.
func (*ResolveProgramResponse) GetCommands ¶
func (x *ResolveProgramResponse) GetCommands() *ResolveProgramCommandList
func (*ResolveProgramResponse) GetScript ¶
func (x *ResolveProgramResponse) GetScript() string
func (*ResolveProgramResponse) GetVars ¶
func (x *ResolveProgramResponse) GetVars() []*ResolveProgramResponse_VarResult
func (*ResolveProgramResponse) ProtoMessage ¶
func (*ResolveProgramResponse) ProtoMessage()
func (*ResolveProgramResponse) ProtoReflect ¶
func (x *ResolveProgramResponse) ProtoReflect() protoreflect.Message
func (*ResolveProgramResponse) Reset ¶
func (x *ResolveProgramResponse) Reset()
func (*ResolveProgramResponse) String ¶
func (x *ResolveProgramResponse) String() string
type ResolveProgramResponse_Status ¶
type ResolveProgramResponse_Status int32
const ( // unspecified is the default value and it means unresolved. ResolveProgramResponse_STATUS_UNSPECIFIED ResolveProgramResponse_Status = 0 // unresolved with message means that the variable is unresolved // but it contains a message. E.g. FOO=this is message ResolveProgramResponse_STATUS_UNRESOLVED_WITH_MESSAGE ResolveProgramResponse_Status = 1 // unresolved with placeholder means that the variable is unresolved // but it contains a placeholder. E.g. FOO="this is placeholder" ResolveProgramResponse_STATUS_UNRESOLVED_WITH_PLACEHOLDER ResolveProgramResponse_Status = 2 // resolved means that the variable is resolved. ResolveProgramResponse_STATUS_RESOLVED ResolveProgramResponse_Status = 3 // unresolved with secret means that the variable is unresolved // and it requires treatment as a secret. ResolveProgramResponse_STATUS_UNRESOLVED_WITH_SECRET ResolveProgramResponse_Status = 4 )
func (ResolveProgramResponse_Status) Descriptor ¶
func (ResolveProgramResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (ResolveProgramResponse_Status) Enum ¶
func (x ResolveProgramResponse_Status) Enum() *ResolveProgramResponse_Status
func (ResolveProgramResponse_Status) EnumDescriptor
deprecated
func (ResolveProgramResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResolveProgramResponse_Status.Descriptor instead.
func (ResolveProgramResponse_Status) Number ¶
func (x ResolveProgramResponse_Status) Number() protoreflect.EnumNumber
func (ResolveProgramResponse_Status) String ¶
func (x ResolveProgramResponse_Status) String() string
func (ResolveProgramResponse_Status) Type ¶
func (ResolveProgramResponse_Status) Type() protoreflect.EnumType
type ResolveProgramResponse_VarResult ¶
type ResolveProgramResponse_VarResult struct { // prompt indicates the resolution status of the env variable. Status ResolveProgramResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=runme.runner.v1.ResolveProgramResponse_Status" json:"status,omitempty"` // name is the name of the environment variable. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // original_value is a default value of the environment variable. // It might be a value that is assigned to the variable in the script, // like FOO=bar or FOO=${FOO:-bar}. // If the variable is not assigned, it is an empty string. OriginalValue string `protobuf:"bytes,3,opt,name=original_value,json=originalValue,proto3" json:"original_value,omitempty"` // resolved_value is a value of the environment variable resolved from a source. // If it is an empty string, it means that the environment variable is not resolved. ResolvedValue string `protobuf:"bytes,4,opt,name=resolved_value,json=resolvedValue,proto3" json:"resolved_value,omitempty"` // contains filtered or unexported fields }
func (*ResolveProgramResponse_VarResult) Descriptor
deprecated
func (*ResolveProgramResponse_VarResult) Descriptor() ([]byte, []int)
Deprecated: Use ResolveProgramResponse_VarResult.ProtoReflect.Descriptor instead.
func (*ResolveProgramResponse_VarResult) GetName ¶
func (x *ResolveProgramResponse_VarResult) GetName() string
func (*ResolveProgramResponse_VarResult) GetOriginalValue ¶
func (x *ResolveProgramResponse_VarResult) GetOriginalValue() string
func (*ResolveProgramResponse_VarResult) GetResolvedValue ¶
func (x *ResolveProgramResponse_VarResult) GetResolvedValue() string
func (*ResolveProgramResponse_VarResult) GetStatus ¶
func (x *ResolveProgramResponse_VarResult) GetStatus() ResolveProgramResponse_Status
func (*ResolveProgramResponse_VarResult) ProtoMessage ¶
func (*ResolveProgramResponse_VarResult) ProtoMessage()
func (*ResolveProgramResponse_VarResult) ProtoReflect ¶
func (x *ResolveProgramResponse_VarResult) ProtoReflect() protoreflect.Message
func (*ResolveProgramResponse_VarResult) Reset ¶
func (x *ResolveProgramResponse_VarResult) Reset()
func (*ResolveProgramResponse_VarResult) String ¶
func (x *ResolveProgramResponse_VarResult) String() string
type RunnerServiceClient ¶
type RunnerServiceClient interface { CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*CreateSessionResponse, error) GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*GetSessionResponse, error) ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error) DeleteSession(ctx context.Context, in *DeleteSessionRequest, opts ...grpc.CallOption) (*DeleteSessionResponse, error) MonitorEnvStore(ctx context.Context, in *MonitorEnvStoreRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[MonitorEnvStoreResponse], error) // Execute executes a program. Examine "ExecuteRequest" to explore // configuration options. // // It's a bidirectional stream RPC method. It expects the first // "ExecuteRequest" to contain details of a program to execute. // Subsequent "ExecuteRequest" should only contain "input_data" as // other fields will be ignored. Execute(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ExecuteRequest, ExecuteResponse], error) // ResolveProgram resolves variables from a script or a list of commands // using the provided sources, which can be a list of environment variables, // a session, or a project. // For now, the resolved variables are only the exported ones using `export`. ResolveProgram(ctx context.Context, in *ResolveProgramRequest, opts ...grpc.CallOption) (*ResolveProgramResponse, error) }
RunnerServiceClient is the client API for RunnerService 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 NewRunnerServiceClient ¶
func NewRunnerServiceClient(cc grpc.ClientConnInterface) RunnerServiceClient
type RunnerServiceServer ¶
type RunnerServiceServer interface { CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error) GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error) DeleteSession(context.Context, *DeleteSessionRequest) (*DeleteSessionResponse, error) MonitorEnvStore(*MonitorEnvStoreRequest, grpc.ServerStreamingServer[MonitorEnvStoreResponse]) error // Execute executes a program. Examine "ExecuteRequest" to explore // configuration options. // // It's a bidirectional stream RPC method. It expects the first // "ExecuteRequest" to contain details of a program to execute. // Subsequent "ExecuteRequest" should only contain "input_data" as // other fields will be ignored. Execute(grpc.BidiStreamingServer[ExecuteRequest, ExecuteResponse]) error // ResolveProgram resolves variables from a script or a list of commands // using the provided sources, which can be a list of environment variables, // a session, or a project. // For now, the resolved variables are only the exported ones using `export`. ResolveProgram(context.Context, *ResolveProgramRequest) (*ResolveProgramResponse, error) // contains filtered or unexported methods }
RunnerServiceServer is the server API for RunnerService service. All implementations must embed UnimplementedRunnerServiceServer for forward compatibility.
type RunnerService_ExecuteClient ¶
type RunnerService_ExecuteClient = grpc.BidiStreamingClient[ExecuteRequest, ExecuteResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type RunnerService_ExecuteServer ¶
type RunnerService_ExecuteServer = grpc.BidiStreamingServer[ExecuteRequest, ExecuteResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type RunnerService_MonitorEnvStoreClient ¶
type RunnerService_MonitorEnvStoreClient = grpc.ServerStreamingClient[MonitorEnvStoreResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type RunnerService_MonitorEnvStoreServer ¶
type RunnerService_MonitorEnvStoreServer = grpc.ServerStreamingServer[MonitorEnvStoreResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Session ¶
type Session struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // envs keeps track of session environment variables. // They can be modified by executing programs which // alter them through "export" and "unset" commands. Envs []string `protobuf:"bytes,2,rep,name=envs,proto3" json:"envs,omitempty"` // metadata is a map of client specific metadata. Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Session) Descriptor
deprecated
func (*Session) GetMetadata ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type SessionEnvStoreType ¶
type SessionEnvStoreType int32
env store implementation
const ( // uses default env store SessionEnvStoreType_SESSION_ENV_STORE_TYPE_UNSPECIFIED SessionEnvStoreType = 0 // uses owl store SessionEnvStoreType_SESSION_ENV_STORE_TYPE_OWL SessionEnvStoreType = 1 )
func (SessionEnvStoreType) Descriptor ¶
func (SessionEnvStoreType) Descriptor() protoreflect.EnumDescriptor
func (SessionEnvStoreType) Enum ¶
func (x SessionEnvStoreType) Enum() *SessionEnvStoreType
func (SessionEnvStoreType) EnumDescriptor
deprecated
func (SessionEnvStoreType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SessionEnvStoreType.Descriptor instead.
func (SessionEnvStoreType) Number ¶
func (x SessionEnvStoreType) Number() protoreflect.EnumNumber
func (SessionEnvStoreType) String ¶
func (x SessionEnvStoreType) String() string
func (SessionEnvStoreType) Type ¶
func (SessionEnvStoreType) Type() protoreflect.EnumType
type SessionStrategy ¶
type SessionStrategy int32
strategy for selecting a session in an initial execute request
const ( // uses session_id field to determine session // if none is present, a new session is created SessionStrategy_SESSION_STRATEGY_UNSPECIFIED SessionStrategy = 0 // uses most recently used session on the grpc server // if there is none, a new one is created SessionStrategy_SESSION_STRATEGY_MOST_RECENT SessionStrategy = 1 )
func (SessionStrategy) Descriptor ¶
func (SessionStrategy) Descriptor() protoreflect.EnumDescriptor
func (SessionStrategy) Enum ¶
func (x SessionStrategy) Enum() *SessionStrategy
func (SessionStrategy) EnumDescriptor
deprecated
func (SessionStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use SessionStrategy.Descriptor instead.
func (SessionStrategy) Number ¶
func (x SessionStrategy) Number() protoreflect.EnumNumber
func (SessionStrategy) String ¶
func (x SessionStrategy) String() string
func (SessionStrategy) Type ¶
func (SessionStrategy) Type() protoreflect.EnumType
type UnimplementedRunnerServiceServer ¶
type UnimplementedRunnerServiceServer struct{}
UnimplementedRunnerServiceServer 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 (UnimplementedRunnerServiceServer) CreateSession ¶
func (UnimplementedRunnerServiceServer) CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error)
func (UnimplementedRunnerServiceServer) DeleteSession ¶
func (UnimplementedRunnerServiceServer) DeleteSession(context.Context, *DeleteSessionRequest) (*DeleteSessionResponse, error)
func (UnimplementedRunnerServiceServer) Execute ¶
func (UnimplementedRunnerServiceServer) Execute(grpc.BidiStreamingServer[ExecuteRequest, ExecuteResponse]) error
func (UnimplementedRunnerServiceServer) GetSession ¶
func (UnimplementedRunnerServiceServer) GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error)
func (UnimplementedRunnerServiceServer) ListSessions ¶
func (UnimplementedRunnerServiceServer) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
func (UnimplementedRunnerServiceServer) MonitorEnvStore ¶
func (UnimplementedRunnerServiceServer) MonitorEnvStore(*MonitorEnvStoreRequest, grpc.ServerStreamingServer[MonitorEnvStoreResponse]) error
func (UnimplementedRunnerServiceServer) ResolveProgram ¶
func (UnimplementedRunnerServiceServer) ResolveProgram(context.Context, *ResolveProgramRequest) (*ResolveProgramResponse, error)
type UnsafeRunnerServiceServer ¶
type UnsafeRunnerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRunnerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RunnerServiceServer will result in compilation errors.
type Winsize ¶
type Winsize struct { // number of rows (in cells) Rows uint32 `protobuf:"varint,1,opt,name=rows,proto3" json:"rows,omitempty"` // number of columns (in cells) Cols uint32 `protobuf:"varint,2,opt,name=cols,proto3" json:"cols,omitempty"` // width in pixels X uint32 `protobuf:"varint,3,opt,name=x,proto3" json:"x,omitempty"` // height in pixels Y uint32 `protobuf:"varint,4,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
func (*Winsize) Descriptor
deprecated
func (*Winsize) ProtoMessage ¶
func (*Winsize) ProtoMessage()
func (*Winsize) ProtoReflect ¶
func (x *Winsize) ProtoReflect() protoreflect.Message