Documentation ¶
Index ¶
- Variables
- func RegisterDaemonServer(s *grpc.Server, srv DaemonServer)
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequest) GetAppRoot() string
- func (x *CheckRequest) GetWorkingDir() string
- func (*CheckRequest) ProtoMessage()
- func (x *CheckRequest) ProtoReflect() protoreflect.Message
- func (x *CheckRequest) Reset()
- func (x *CheckRequest) String() string
- type CommandExit
- type CommandMessage
- func (*CommandMessage) Descriptor() ([]byte, []int)deprecated
- func (x *CommandMessage) GetExit() *CommandExit
- func (m *CommandMessage) GetMsg() isCommandMessage_Msg
- func (x *CommandMessage) GetOutput() *CommandOutput
- func (*CommandMessage) ProtoMessage()
- func (x *CommandMessage) ProtoReflect() protoreflect.Message
- func (x *CommandMessage) Reset()
- func (x *CommandMessage) String() string
- type CommandMessage_Exit
- type CommandMessage_Output
- type CommandOutput
- func (*CommandOutput) Descriptor() ([]byte, []int)deprecated
- func (x *CommandOutput) GetStderr() []byte
- func (x *CommandOutput) GetStdout() []byte
- func (*CommandOutput) ProtoMessage()
- func (x *CommandOutput) ProtoReflect() protoreflect.Message
- func (x *CommandOutput) Reset()
- func (x *CommandOutput) String() string
- type DBConnectRequest
- func (*DBConnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DBConnectRequest) GetAppRoot() string
- func (x *DBConnectRequest) GetEnvName() string
- func (x *DBConnectRequest) GetSvcName() string
- func (*DBConnectRequest) ProtoMessage()
- func (x *DBConnectRequest) ProtoReflect() protoreflect.Message
- func (x *DBConnectRequest) Reset()
- func (x *DBConnectRequest) String() string
- type DBConnectResponse
- type DBProxyRequest
- func (*DBProxyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DBProxyRequest) GetAppRoot() string
- func (x *DBProxyRequest) GetEnvName() string
- func (x *DBProxyRequest) GetPort() int32
- func (*DBProxyRequest) ProtoMessage()
- func (x *DBProxyRequest) ProtoReflect() protoreflect.Message
- func (x *DBProxyRequest) Reset()
- func (x *DBProxyRequest) String() string
- type DBResetRequest
- func (*DBResetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DBResetRequest) GetAppRoot() string
- func (x *DBResetRequest) GetServices() []string
- func (*DBResetRequest) ProtoMessage()
- func (x *DBResetRequest) ProtoReflect() protoreflect.Message
- func (x *DBResetRequest) Reset()
- func (x *DBResetRequest) String() string
- type DaemonClient
- type DaemonServer
- type Daemon_CheckClient
- type Daemon_CheckServer
- type Daemon_DBProxyClient
- type Daemon_DBProxyServer
- type Daemon_DBResetClient
- type Daemon_DBResetServer
- type Daemon_LogsClient
- type Daemon_LogsServer
- type Daemon_RunClient
- type Daemon_RunServer
- type Daemon_TestClient
- type Daemon_TestServer
- type GenClientRequest
- func (*GenClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenClientRequest) GetAppId() string
- func (x *GenClientRequest) GetEnvName() string
- func (x *GenClientRequest) GetFilepath() string
- func (x *GenClientRequest) GetLang() string
- func (*GenClientRequest) ProtoMessage()
- func (x *GenClientRequest) ProtoReflect() protoreflect.Message
- func (x *GenClientRequest) Reset()
- func (x *GenClientRequest) String() string
- type GenClientResponse
- type LogsMessage
- func (*LogsMessage) Descriptor() ([]byte, []int)deprecated
- func (x *LogsMessage) GetDropNotice() bool
- func (x *LogsMessage) GetLines() [][]byte
- func (*LogsMessage) ProtoMessage()
- func (x *LogsMessage) ProtoReflect() protoreflect.Message
- func (x *LogsMessage) Reset()
- func (x *LogsMessage) String() string
- type LogsRequest
- func (*LogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogsRequest) GetAppRoot() string
- func (x *LogsRequest) GetEnvName() string
- func (*LogsRequest) ProtoMessage()
- func (x *LogsRequest) ProtoReflect() protoreflect.Message
- func (x *LogsRequest) Reset()
- func (x *LogsRequest) String() string
- type ResetDBRequest
- func (*ResetDBRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetDBRequest) GetAppRoot() string
- func (x *ResetDBRequest) GetServices() []string
- func (*ResetDBRequest) ProtoMessage()
- func (x *ResetDBRequest) ProtoReflect() protoreflect.Message
- func (x *ResetDBRequest) Reset()
- func (x *ResetDBRequest) String() string
- type RunRequest
- func (*RunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunRequest) GetAppRoot() string
- func (x *RunRequest) GetDebug() bool
- func (x *RunRequest) GetTunnel() bool
- func (x *RunRequest) GetWatch() bool
- func (x *RunRequest) GetWorkingDir() string
- func (*RunRequest) ProtoMessage()
- func (x *RunRequest) ProtoReflect() protoreflect.Message
- func (x *RunRequest) Reset()
- func (x *RunRequest) String() string
- type SetSecretRequest
- func (*SetSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetSecretRequest) GetAppRoot() string
- func (x *SetSecretRequest) GetKey() string
- func (x *SetSecretRequest) GetType() SetSecretRequest_Type
- func (x *SetSecretRequest) GetValue() string
- func (*SetSecretRequest) ProtoMessage()
- func (x *SetSecretRequest) ProtoReflect() protoreflect.Message
- func (x *SetSecretRequest) Reset()
- func (x *SetSecretRequest) String() string
- type SetSecretRequest_Type
- func (SetSecretRequest_Type) Descriptor() protoreflect.EnumDescriptor
- func (x SetSecretRequest_Type) Enum() *SetSecretRequest_Type
- func (SetSecretRequest_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetSecretRequest_Type) Number() protoreflect.EnumNumber
- func (x SetSecretRequest_Type) String() string
- func (SetSecretRequest_Type) Type() protoreflect.EnumType
- type SetSecretResponse
- type TestRequest
- func (*TestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestRequest) GetAppRoot() string
- func (x *TestRequest) GetArgs() []string
- func (x *TestRequest) GetWorkingDir() string
- func (*TestRequest) ProtoMessage()
- func (x *TestRequest) ProtoReflect() protoreflect.Message
- func (x *TestRequest) Reset()
- func (x *TestRequest) String() string
- type UnimplementedDaemonServer
- func (*UnimplementedDaemonServer) Check(*CheckRequest, Daemon_CheckServer) error
- func (*UnimplementedDaemonServer) DBConnect(context.Context, *DBConnectRequest) (*DBConnectResponse, error)
- func (*UnimplementedDaemonServer) DBProxy(*DBProxyRequest, Daemon_DBProxyServer) error
- func (*UnimplementedDaemonServer) DBReset(*DBResetRequest, Daemon_DBResetServer) error
- func (*UnimplementedDaemonServer) GenClient(context.Context, *GenClientRequest) (*GenClientResponse, error)
- func (*UnimplementedDaemonServer) Logs(*LogsRequest, Daemon_LogsServer) error
- func (*UnimplementedDaemonServer) Run(*RunRequest, Daemon_RunServer) error
- func (*UnimplementedDaemonServer) SetSecret(context.Context, *SetSecretRequest) (*SetSecretResponse, error)
- func (*UnimplementedDaemonServer) Test(*TestRequest, Daemon_TestServer) error
- func (*UnimplementedDaemonServer) Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
- type VersionResponse
Constants ¶
This section is empty.
Variables ¶
var ( SetSecretRequest_Type_name = map[int32]string{ 0: "DEVELOPMENT", 1: "PRODUCTION", } SetSecretRequest_Type_value = map[string]int32{ "DEVELOPMENT": 0, "PRODUCTION": 1, } )
Enum value maps for SetSecretRequest_Type.
var File_encore_daemon_daemon_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDaemonServer ¶
func RegisterDaemonServer(s *grpc.Server, srv DaemonServer)
Types ¶
type CheckRequest ¶
type CheckRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` WorkingDir string `protobuf:"bytes,2,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` // contains filtered or unexported fields }
func (*CheckRequest) Descriptor
deprecated
func (*CheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
func (*CheckRequest) GetAppRoot ¶
func (x *CheckRequest) GetAppRoot() string
func (*CheckRequest) GetWorkingDir ¶
func (x *CheckRequest) GetWorkingDir() string
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) ProtoReflect ¶
func (x *CheckRequest) ProtoReflect() protoreflect.Message
func (*CheckRequest) Reset ¶
func (x *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (x *CheckRequest) String() string
type CommandExit ¶
type CommandExit struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // exit code // contains filtered or unexported fields }
func (*CommandExit) Descriptor
deprecated
func (*CommandExit) Descriptor() ([]byte, []int)
Deprecated: Use CommandExit.ProtoReflect.Descriptor instead.
func (*CommandExit) GetCode ¶
func (x *CommandExit) GetCode() int32
func (*CommandExit) ProtoMessage ¶
func (*CommandExit) ProtoMessage()
func (*CommandExit) ProtoReflect ¶
func (x *CommandExit) ProtoReflect() protoreflect.Message
func (*CommandExit) Reset ¶
func (x *CommandExit) Reset()
func (*CommandExit) String ¶
func (x *CommandExit) String() string
type CommandMessage ¶
type CommandMessage struct { // Types that are assignable to Msg: // *CommandMessage_Output // *CommandMessage_Exit Msg isCommandMessage_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*CommandMessage) Descriptor
deprecated
func (*CommandMessage) Descriptor() ([]byte, []int)
Deprecated: Use CommandMessage.ProtoReflect.Descriptor instead.
func (*CommandMessage) GetExit ¶
func (x *CommandMessage) GetExit() *CommandExit
func (*CommandMessage) GetMsg ¶
func (m *CommandMessage) GetMsg() isCommandMessage_Msg
func (*CommandMessage) GetOutput ¶
func (x *CommandMessage) GetOutput() *CommandOutput
func (*CommandMessage) ProtoMessage ¶
func (*CommandMessage) ProtoMessage()
func (*CommandMessage) ProtoReflect ¶
func (x *CommandMessage) ProtoReflect() protoreflect.Message
func (*CommandMessage) Reset ¶
func (x *CommandMessage) Reset()
func (*CommandMessage) String ¶
func (x *CommandMessage) String() string
type CommandMessage_Exit ¶
type CommandMessage_Exit struct {
Exit *CommandExit `protobuf:"bytes,2,opt,name=exit,proto3,oneof"`
}
type CommandMessage_Output ¶
type CommandMessage_Output struct {
Output *CommandOutput `protobuf:"bytes,1,opt,name=output,proto3,oneof"`
}
type CommandOutput ¶
type CommandOutput struct { Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // contains filtered or unexported fields }
func (*CommandOutput) Descriptor
deprecated
func (*CommandOutput) Descriptor() ([]byte, []int)
Deprecated: Use CommandOutput.ProtoReflect.Descriptor instead.
func (*CommandOutput) GetStderr ¶
func (x *CommandOutput) GetStderr() []byte
func (*CommandOutput) GetStdout ¶
func (x *CommandOutput) GetStdout() []byte
func (*CommandOutput) ProtoMessage ¶
func (*CommandOutput) ProtoMessage()
func (*CommandOutput) ProtoReflect ¶
func (x *CommandOutput) ProtoReflect() protoreflect.Message
func (*CommandOutput) Reset ¶
func (x *CommandOutput) Reset()
func (*CommandOutput) String ¶
func (x *CommandOutput) String() string
type DBConnectRequest ¶
type DBConnectRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` SvcName string `protobuf:"bytes,2,opt,name=svc_name,json=svcName,proto3" json:"svc_name,omitempty"` EnvName string `protobuf:"bytes,3,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` // optional // contains filtered or unexported fields }
func (*DBConnectRequest) Descriptor
deprecated
func (*DBConnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DBConnectRequest.ProtoReflect.Descriptor instead.
func (*DBConnectRequest) GetAppRoot ¶
func (x *DBConnectRequest) GetAppRoot() string
func (*DBConnectRequest) GetEnvName ¶
func (x *DBConnectRequest) GetEnvName() string
func (*DBConnectRequest) GetSvcName ¶
func (x *DBConnectRequest) GetSvcName() string
func (*DBConnectRequest) ProtoMessage ¶
func (*DBConnectRequest) ProtoMessage()
func (*DBConnectRequest) ProtoReflect ¶
func (x *DBConnectRequest) ProtoReflect() protoreflect.Message
func (*DBConnectRequest) Reset ¶
func (x *DBConnectRequest) Reset()
func (*DBConnectRequest) String ¶
func (x *DBConnectRequest) String() string
type DBConnectResponse ¶
type DBConnectResponse struct { Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` // contains filtered or unexported fields }
func (*DBConnectResponse) Descriptor
deprecated
func (*DBConnectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DBConnectResponse.ProtoReflect.Descriptor instead.
func (*DBConnectResponse) GetDsn ¶
func (x *DBConnectResponse) GetDsn() string
func (*DBConnectResponse) ProtoMessage ¶
func (*DBConnectResponse) ProtoMessage()
func (*DBConnectResponse) ProtoReflect ¶
func (x *DBConnectResponse) ProtoReflect() protoreflect.Message
func (*DBConnectResponse) Reset ¶
func (x *DBConnectResponse) Reset()
func (*DBConnectResponse) String ¶
func (x *DBConnectResponse) String() string
type DBProxyRequest ¶
type DBProxyRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` EnvName string `protobuf:"bytes,2,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` // optional Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` // optional // contains filtered or unexported fields }
func (*DBProxyRequest) Descriptor
deprecated
func (*DBProxyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DBProxyRequest.ProtoReflect.Descriptor instead.
func (*DBProxyRequest) GetAppRoot ¶
func (x *DBProxyRequest) GetAppRoot() string
func (*DBProxyRequest) GetEnvName ¶
func (x *DBProxyRequest) GetEnvName() string
func (*DBProxyRequest) GetPort ¶
func (x *DBProxyRequest) GetPort() int32
func (*DBProxyRequest) ProtoMessage ¶
func (*DBProxyRequest) ProtoMessage()
func (*DBProxyRequest) ProtoReflect ¶
func (x *DBProxyRequest) ProtoReflect() protoreflect.Message
func (*DBProxyRequest) Reset ¶
func (x *DBProxyRequest) Reset()
func (*DBProxyRequest) String ¶
func (x *DBProxyRequest) String() string
type DBResetRequest ¶
type DBResetRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` Services []string `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` // services to reset // contains filtered or unexported fields }
func (*DBResetRequest) Descriptor
deprecated
func (*DBResetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DBResetRequest.ProtoReflect.Descriptor instead.
func (*DBResetRequest) GetAppRoot ¶
func (x *DBResetRequest) GetAppRoot() string
func (*DBResetRequest) GetServices ¶
func (x *DBResetRequest) GetServices() []string
func (*DBResetRequest) ProtoMessage ¶
func (*DBResetRequest) ProtoMessage()
func (*DBResetRequest) ProtoReflect ¶
func (x *DBResetRequest) ProtoReflect() protoreflect.Message
func (*DBResetRequest) Reset ¶
func (x *DBResetRequest) Reset()
func (*DBResetRequest) String ¶
func (x *DBResetRequest) String() string
type DaemonClient ¶
type DaemonClient interface { // Run runs the application. Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (Daemon_RunClient, error) // Test runs tests. Test(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (Daemon_TestClient, error) // Check checks the app for compilation errors. Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (Daemon_CheckClient, error) // Logs streams logs from the encore.dev platform. Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Daemon_LogsClient, error) // DBConnect starts the database and returns the DSN for connecting to it. DBConnect(ctx context.Context, in *DBConnectRequest, opts ...grpc.CallOption) (*DBConnectResponse, error) // DBProxy starts a local database proxy for connecting to remote databases // on the encore.dev platform. DBProxy(ctx context.Context, in *DBProxyRequest, opts ...grpc.CallOption) (Daemon_DBProxyClient, error) // DBReset resets the given databases, recreating them from scratch. DBReset(ctx context.Context, in *DBResetRequest, opts ...grpc.CallOption) (Daemon_DBResetClient, error) // GenClient generates a client based on the app's API. GenClient(ctx context.Context, in *GenClientRequest, opts ...grpc.CallOption) (*GenClientResponse, error) // SetSecret sets a secret key on the encore.dev platform. SetSecret(ctx context.Context, in *SetSecretRequest, opts ...grpc.CallOption) (*SetSecretResponse, error) // Version reports the daemon version. Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error) }
DaemonClient is the client API for Daemon 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 NewDaemonClient ¶
func NewDaemonClient(cc grpc.ClientConnInterface) DaemonClient
type DaemonServer ¶
type DaemonServer interface { // Run runs the application. Run(*RunRequest, Daemon_RunServer) error // Test runs tests. Test(*TestRequest, Daemon_TestServer) error // Check checks the app for compilation errors. Check(*CheckRequest, Daemon_CheckServer) error // Logs streams logs from the encore.dev platform. Logs(*LogsRequest, Daemon_LogsServer) error // DBConnect starts the database and returns the DSN for connecting to it. DBConnect(context.Context, *DBConnectRequest) (*DBConnectResponse, error) // DBProxy starts a local database proxy for connecting to remote databases // on the encore.dev platform. DBProxy(*DBProxyRequest, Daemon_DBProxyServer) error // DBReset resets the given databases, recreating them from scratch. DBReset(*DBResetRequest, Daemon_DBResetServer) error // GenClient generates a client based on the app's API. GenClient(context.Context, *GenClientRequest) (*GenClientResponse, error) // SetSecret sets a secret key on the encore.dev platform. SetSecret(context.Context, *SetSecretRequest) (*SetSecretResponse, error) // Version reports the daemon version. Version(context.Context, *emptypb.Empty) (*VersionResponse, error) // contains filtered or unexported methods }
DaemonServer is the server API for Daemon service. All implementations must embed UnimplementedDaemonServer for forward compatibility
type Daemon_CheckClient ¶
type Daemon_CheckClient interface { Recv() (*CommandMessage, error) grpc.ClientStream }
type Daemon_CheckServer ¶
type Daemon_CheckServer interface { Send(*CommandMessage) error grpc.ServerStream }
type Daemon_DBProxyClient ¶
type Daemon_DBProxyClient interface { Recv() (*CommandMessage, error) grpc.ClientStream }
type Daemon_DBProxyServer ¶
type Daemon_DBProxyServer interface { Send(*CommandMessage) error grpc.ServerStream }
type Daemon_DBResetClient ¶
type Daemon_DBResetClient interface { Recv() (*CommandMessage, error) grpc.ClientStream }
type Daemon_DBResetServer ¶
type Daemon_DBResetServer interface { Send(*CommandMessage) error grpc.ServerStream }
type Daemon_LogsClient ¶
type Daemon_LogsClient interface { Recv() (*LogsMessage, error) grpc.ClientStream }
type Daemon_LogsServer ¶
type Daemon_LogsServer interface { Send(*LogsMessage) error grpc.ServerStream }
type Daemon_RunClient ¶
type Daemon_RunClient interface { Recv() (*CommandMessage, error) grpc.ClientStream }
type Daemon_RunServer ¶
type Daemon_RunServer interface { Send(*CommandMessage) error grpc.ServerStream }
type Daemon_TestClient ¶
type Daemon_TestClient interface { Recv() (*CommandMessage, error) grpc.ClientStream }
type Daemon_TestServer ¶
type Daemon_TestServer interface { Send(*CommandMessage) error grpc.ServerStream }
type GenClientRequest ¶
type GenClientRequest struct { AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` EnvName string `protobuf:"bytes,2,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` Lang string `protobuf:"bytes,3,opt,name=lang,proto3" json:"lang,omitempty"` Filepath string `protobuf:"bytes,4,opt,name=filepath,proto3" json:"filepath,omitempty"` // contains filtered or unexported fields }
func (*GenClientRequest) Descriptor
deprecated
func (*GenClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenClientRequest.ProtoReflect.Descriptor instead.
func (*GenClientRequest) GetAppId ¶
func (x *GenClientRequest) GetAppId() string
func (*GenClientRequest) GetEnvName ¶
func (x *GenClientRequest) GetEnvName() string
func (*GenClientRequest) GetFilepath ¶
func (x *GenClientRequest) GetFilepath() string
func (*GenClientRequest) GetLang ¶
func (x *GenClientRequest) GetLang() string
func (*GenClientRequest) ProtoMessage ¶
func (*GenClientRequest) ProtoMessage()
func (*GenClientRequest) ProtoReflect ¶
func (x *GenClientRequest) ProtoReflect() protoreflect.Message
func (*GenClientRequest) Reset ¶
func (x *GenClientRequest) Reset()
func (*GenClientRequest) String ¶
func (x *GenClientRequest) String() string
type GenClientResponse ¶
type GenClientResponse struct { Code []byte `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*GenClientResponse) Descriptor
deprecated
func (*GenClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenClientResponse.ProtoReflect.Descriptor instead.
func (*GenClientResponse) GetCode ¶
func (x *GenClientResponse) GetCode() []byte
func (*GenClientResponse) ProtoMessage ¶
func (*GenClientResponse) ProtoMessage()
func (*GenClientResponse) ProtoReflect ¶
func (x *GenClientResponse) ProtoReflect() protoreflect.Message
func (*GenClientResponse) Reset ¶
func (x *GenClientResponse) Reset()
func (*GenClientResponse) String ¶
func (x *GenClientResponse) String() string
type LogsMessage ¶
type LogsMessage struct { Lines [][]byte `protobuf:"bytes,1,rep,name=lines,proto3" json:"lines,omitempty"` DropNotice bool `protobuf:"varint,2,opt,name=drop_notice,json=dropNotice,proto3" json:"drop_notice,omitempty"` // contains filtered or unexported fields }
func (*LogsMessage) Descriptor
deprecated
func (*LogsMessage) Descriptor() ([]byte, []int)
Deprecated: Use LogsMessage.ProtoReflect.Descriptor instead.
func (*LogsMessage) GetDropNotice ¶
func (x *LogsMessage) GetDropNotice() bool
func (*LogsMessage) GetLines ¶
func (x *LogsMessage) GetLines() [][]byte
func (*LogsMessage) ProtoMessage ¶
func (*LogsMessage) ProtoMessage()
func (*LogsMessage) ProtoReflect ¶
func (x *LogsMessage) ProtoReflect() protoreflect.Message
func (*LogsMessage) Reset ¶
func (x *LogsMessage) Reset()
func (*LogsMessage) String ¶
func (x *LogsMessage) String() string
type LogsRequest ¶
type LogsRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` EnvName string `protobuf:"bytes,2,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` // contains filtered or unexported fields }
func (*LogsRequest) Descriptor
deprecated
func (*LogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.
func (*LogsRequest) GetAppRoot ¶
func (x *LogsRequest) GetAppRoot() string
func (*LogsRequest) GetEnvName ¶
func (x *LogsRequest) GetEnvName() string
func (*LogsRequest) ProtoMessage ¶
func (*LogsRequest) ProtoMessage()
func (*LogsRequest) ProtoReflect ¶
func (x *LogsRequest) ProtoReflect() protoreflect.Message
func (*LogsRequest) Reset ¶
func (x *LogsRequest) Reset()
func (*LogsRequest) String ¶
func (x *LogsRequest) String() string
type ResetDBRequest ¶
type ResetDBRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` Services []string `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` // services to reset // contains filtered or unexported fields }
func (*ResetDBRequest) Descriptor
deprecated
func (*ResetDBRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetDBRequest.ProtoReflect.Descriptor instead.
func (*ResetDBRequest) GetAppRoot ¶
func (x *ResetDBRequest) GetAppRoot() string
func (*ResetDBRequest) GetServices ¶
func (x *ResetDBRequest) GetServices() []string
func (*ResetDBRequest) ProtoMessage ¶
func (*ResetDBRequest) ProtoMessage()
func (*ResetDBRequest) ProtoReflect ¶
func (x *ResetDBRequest) ProtoReflect() protoreflect.Message
func (*ResetDBRequest) Reset ¶
func (x *ResetDBRequest) Reset()
func (*ResetDBRequest) String ¶
func (x *ResetDBRequest) String() string
type RunRequest ¶
type RunRequest struct { // app_root is the absolute filesystem path to the Encore app root. AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` // working_dir is the working directory relative to the app_root, // for formatting relative paths in error messages. WorkingDir string `protobuf:"bytes,2,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` // tunnel, if true, creates a tunnel environment on the encore.dev platform // that forwards requests to the running app. Tunnel bool `protobuf:"varint,3,opt,name=tunnel,proto3" json:"tunnel,omitempty"` // debug, if true, compiles the app with flags that improve the debugging experience. Debug bool `protobuf:"varint,4,opt,name=debug,proto3" json:"debug,omitempty"` // watch, if true, enables live reloading of the app whenever the source changes. Watch bool `protobuf:"varint,5,opt,name=watch,proto3" json:"watch,omitempty"` // contains filtered or unexported fields }
func (*RunRequest) Descriptor
deprecated
func (*RunRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.
func (*RunRequest) GetAppRoot ¶
func (x *RunRequest) GetAppRoot() string
func (*RunRequest) GetDebug ¶
func (x *RunRequest) GetDebug() bool
func (*RunRequest) GetTunnel ¶
func (x *RunRequest) GetTunnel() bool
func (*RunRequest) GetWatch ¶
func (x *RunRequest) GetWatch() bool
func (*RunRequest) GetWorkingDir ¶
func (x *RunRequest) GetWorkingDir() string
func (*RunRequest) ProtoMessage ¶
func (*RunRequest) ProtoMessage()
func (*RunRequest) ProtoReflect ¶
func (x *RunRequest) ProtoReflect() protoreflect.Message
func (*RunRequest) Reset ¶
func (x *RunRequest) Reset()
func (*RunRequest) String ¶
func (x *RunRequest) String() string
type SetSecretRequest ¶
type SetSecretRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Type SetSecretRequest_Type `protobuf:"varint,4,opt,name=type,proto3,enum=encore.daemon.SetSecretRequest_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*SetSecretRequest) Descriptor
deprecated
func (*SetSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSecretRequest.ProtoReflect.Descriptor instead.
func (*SetSecretRequest) GetAppRoot ¶
func (x *SetSecretRequest) GetAppRoot() string
func (*SetSecretRequest) GetKey ¶
func (x *SetSecretRequest) GetKey() string
func (*SetSecretRequest) GetType ¶
func (x *SetSecretRequest) GetType() SetSecretRequest_Type
func (*SetSecretRequest) GetValue ¶
func (x *SetSecretRequest) GetValue() string
func (*SetSecretRequest) ProtoMessage ¶
func (*SetSecretRequest) ProtoMessage()
func (*SetSecretRequest) ProtoReflect ¶
func (x *SetSecretRequest) ProtoReflect() protoreflect.Message
func (*SetSecretRequest) Reset ¶
func (x *SetSecretRequest) Reset()
func (*SetSecretRequest) String ¶
func (x *SetSecretRequest) String() string
type SetSecretRequest_Type ¶
type SetSecretRequest_Type int32
const ( SetSecretRequest_DEVELOPMENT SetSecretRequest_Type = 0 SetSecretRequest_PRODUCTION SetSecretRequest_Type = 1 )
func (SetSecretRequest_Type) Descriptor ¶
func (SetSecretRequest_Type) Descriptor() protoreflect.EnumDescriptor
func (SetSecretRequest_Type) Enum ¶
func (x SetSecretRequest_Type) Enum() *SetSecretRequest_Type
func (SetSecretRequest_Type) EnumDescriptor
deprecated
func (SetSecretRequest_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetSecretRequest_Type.Descriptor instead.
func (SetSecretRequest_Type) Number ¶
func (x SetSecretRequest_Type) Number() protoreflect.EnumNumber
func (SetSecretRequest_Type) String ¶
func (x SetSecretRequest_Type) String() string
func (SetSecretRequest_Type) Type ¶
func (SetSecretRequest_Type) Type() protoreflect.EnumType
type SetSecretResponse ¶
type SetSecretResponse struct { Created bool `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"` // whether or not the secret was created (as opposed to updated) // contains filtered or unexported fields }
func (*SetSecretResponse) Descriptor
deprecated
func (*SetSecretResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetSecretResponse.ProtoReflect.Descriptor instead.
func (*SetSecretResponse) GetCreated ¶
func (x *SetSecretResponse) GetCreated() bool
func (*SetSecretResponse) ProtoMessage ¶
func (*SetSecretResponse) ProtoMessage()
func (*SetSecretResponse) ProtoReflect ¶
func (x *SetSecretResponse) ProtoReflect() protoreflect.Message
func (*SetSecretResponse) Reset ¶
func (x *SetSecretResponse) Reset()
func (*SetSecretResponse) String ¶
func (x *SetSecretResponse) String() string
type TestRequest ¶
type TestRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` WorkingDir string `protobuf:"bytes,2,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*TestRequest) Descriptor
deprecated
func (*TestRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestRequest.ProtoReflect.Descriptor instead.
func (*TestRequest) GetAppRoot ¶
func (x *TestRequest) GetAppRoot() string
func (*TestRequest) GetArgs ¶
func (x *TestRequest) GetArgs() []string
func (*TestRequest) GetWorkingDir ¶
func (x *TestRequest) GetWorkingDir() string
func (*TestRequest) ProtoMessage ¶
func (*TestRequest) ProtoMessage()
func (*TestRequest) ProtoReflect ¶
func (x *TestRequest) ProtoReflect() protoreflect.Message
func (*TestRequest) Reset ¶
func (x *TestRequest) Reset()
func (*TestRequest) String ¶
func (x *TestRequest) String() string
type UnimplementedDaemonServer ¶
type UnimplementedDaemonServer struct { }
UnimplementedDaemonServer must be embedded to have forward compatible implementations.
func (*UnimplementedDaemonServer) Check ¶
func (*UnimplementedDaemonServer) Check(*CheckRequest, Daemon_CheckServer) error
func (*UnimplementedDaemonServer) DBConnect ¶
func (*UnimplementedDaemonServer) DBConnect(context.Context, *DBConnectRequest) (*DBConnectResponse, error)
func (*UnimplementedDaemonServer) DBProxy ¶
func (*UnimplementedDaemonServer) DBProxy(*DBProxyRequest, Daemon_DBProxyServer) error
func (*UnimplementedDaemonServer) DBReset ¶
func (*UnimplementedDaemonServer) DBReset(*DBResetRequest, Daemon_DBResetServer) error
func (*UnimplementedDaemonServer) GenClient ¶
func (*UnimplementedDaemonServer) GenClient(context.Context, *GenClientRequest) (*GenClientResponse, error)
func (*UnimplementedDaemonServer) Logs ¶
func (*UnimplementedDaemonServer) Logs(*LogsRequest, Daemon_LogsServer) error
func (*UnimplementedDaemonServer) Run ¶
func (*UnimplementedDaemonServer) Run(*RunRequest, Daemon_RunServer) error
func (*UnimplementedDaemonServer) SetSecret ¶
func (*UnimplementedDaemonServer) SetSecret(context.Context, *SetSecretRequest) (*SetSecretResponse, error)
func (*UnimplementedDaemonServer) Test ¶
func (*UnimplementedDaemonServer) Test(*TestRequest, Daemon_TestServer) error
func (*UnimplementedDaemonServer) Version ¶
func (*UnimplementedDaemonServer) Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
type VersionResponse ¶
type VersionResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetVersion ¶
func (x *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (x *VersionResponse) String() string