Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDaemonServer(s grpc.ServiceRegistrar, srv DaemonServer)
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequest) GetAppRoot() string
- func (x *CheckRequest) GetCodegenDebug() bool
- func (x *CheckRequest) GetEnviron() []string
- func (x *CheckRequest) GetParseTests() bool
- func (x *CheckRequest) GetWorkingDir() string
- func (*CheckRequest) ProtoMessage()
- func (x *CheckRequest) ProtoReflect() protoreflect.Message
- func (x *CheckRequest) Reset()
- func (x *CheckRequest) String() string
- type CommandDisplayErrors
- func (*CommandDisplayErrors) Descriptor() ([]byte, []int)deprecated
- func (x *CommandDisplayErrors) GetErrinsrc() []byte
- func (*CommandDisplayErrors) ProtoMessage()
- func (x *CommandDisplayErrors) ProtoReflect() protoreflect.Message
- func (x *CommandDisplayErrors) Reset()
- func (x *CommandDisplayErrors) String() string
- type CommandExit
- type CommandMessage
- func (*CommandMessage) Descriptor() ([]byte, []int)deprecated
- func (x *CommandMessage) GetErrors() *CommandDisplayErrors
- 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_Errors
- 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 CreateNamespaceRequest
- func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNamespaceRequest) GetAppRoot() string
- func (x *CreateNamespaceRequest) GetName() string
- func (*CreateNamespaceRequest) ProtoMessage()
- func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNamespaceRequest) Reset()
- func (x *CreateNamespaceRequest) String() string
- type DBConnectRequest
- func (*DBConnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DBConnectRequest) GetAppRoot() string
- func (x *DBConnectRequest) GetDbName() string
- func (x *DBConnectRequest) GetEnvName() string
- func (x *DBConnectRequest) GetNamespace() string
- func (x *DBConnectRequest) GetTest() bool
- 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) GetNamespace() string
- func (x *DBProxyRequest) GetPort() int32
- func (x *DBProxyRequest) GetTest() bool
- 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) GetDatabaseNames() []string
- func (x *DBResetRequest) GetNamespace() string
- func (x *DBResetRequest) GetTest() bool
- 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_ExecScriptClient
- type Daemon_ExecScriptServer
- type Daemon_ExportClient
- type Daemon_ExportServer
- type Daemon_RunClient
- type Daemon_RunServer
- type Daemon_TestClient
- type Daemon_TestServer
- type DeleteNamespaceRequest
- func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNamespaceRequest) GetAppRoot() string
- func (x *DeleteNamespaceRequest) GetName() string
- func (*DeleteNamespaceRequest) ProtoMessage()
- func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNamespaceRequest) Reset()
- func (x *DeleteNamespaceRequest) String() string
- type DockerExportParams
- func (*DockerExportParams) Descriptor() ([]byte, []int)deprecated
- func (x *DockerExportParams) GetBaseImageTag() string
- func (x *DockerExportParams) GetLocalDaemonTag() string
- func (x *DockerExportParams) GetPushDestinationTag() string
- func (*DockerExportParams) ProtoMessage()
- func (x *DockerExportParams) ProtoReflect() protoreflect.Message
- func (x *DockerExportParams) Reset()
- func (x *DockerExportParams) String() string
- type ExecScriptRequest
- func (*ExecScriptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecScriptRequest) GetAppRoot() string
- func (x *ExecScriptRequest) GetCommandRelPath() string
- func (x *ExecScriptRequest) GetEnviron() []string
- func (x *ExecScriptRequest) GetNamespace() string
- func (x *ExecScriptRequest) GetScriptArgs() []string
- func (x *ExecScriptRequest) GetTraceFile() string
- func (x *ExecScriptRequest) GetWorkingDir() string
- func (*ExecScriptRequest) ProtoMessage()
- func (x *ExecScriptRequest) ProtoReflect() protoreflect.Message
- func (x *ExecScriptRequest) Reset()
- func (x *ExecScriptRequest) String() string
- type ExportRequest
- func (*ExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportRequest) GetAppRoot() string
- func (x *ExportRequest) GetCgoEnabled() bool
- func (x *ExportRequest) GetDocker() *DockerExportParams
- func (x *ExportRequest) GetEnviron() []string
- func (m *ExportRequest) GetFormat() isExportRequest_Format
- func (x *ExportRequest) GetGoarch() string
- func (x *ExportRequest) GetGoos() string
- func (*ExportRequest) ProtoMessage()
- func (x *ExportRequest) ProtoReflect() protoreflect.Message
- func (x *ExportRequest) Reset()
- func (x *ExportRequest) String() string
- type ExportRequest_Docker
- 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 (x *GenClientRequest) GetServices() []string
- func (*GenClientRequest) ProtoMessage()
- func (x *GenClientRequest) ProtoReflect() protoreflect.Message
- func (x *GenClientRequest) Reset()
- func (x *GenClientRequest) String() string
- type GenClientResponse
- type GenWrappersRequest
- func (*GenWrappersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenWrappersRequest) GetAppRoot() string
- func (*GenWrappersRequest) ProtoMessage()
- func (x *GenWrappersRequest) ProtoReflect() protoreflect.Message
- func (x *GenWrappersRequest) Reset()
- func (x *GenWrappersRequest) String() string
- type GenWrappersResponse
- type ListNamespacesRequest
- func (*ListNamespacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespacesRequest) GetAppRoot() string
- func (*ListNamespacesRequest) ProtoMessage()
- func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message
- func (x *ListNamespacesRequest) Reset()
- func (x *ListNamespacesRequest) String() string
- type ListNamespacesResponse
- func (*ListNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
- func (*ListNamespacesResponse) ProtoMessage()
- func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *ListNamespacesResponse) Reset()
- func (x *ListNamespacesResponse) String() string
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetActive() bool
- func (x *Namespace) GetCreatedAt() string
- func (x *Namespace) GetId() string
- func (x *Namespace) GetLastActiveAt() string
- func (x *Namespace) GetName() string
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- type RunRequest
- func (*RunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunRequest) GetAppRoot() string
- func (x *RunRequest) GetDebug() bool
- func (x *RunRequest) GetEnviron() []string
- func (x *RunRequest) GetListenAddr() string
- func (x *RunRequest) GetNamespace() string
- func (x *RunRequest) GetTraceFile() string
- 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 SecretsRefreshRequest
- func (*SecretsRefreshRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsRefreshRequest) GetAppRoot() string
- func (x *SecretsRefreshRequest) GetKey() string
- func (x *SecretsRefreshRequest) GetValue() string
- func (*SecretsRefreshRequest) ProtoMessage()
- func (x *SecretsRefreshRequest) ProtoReflect() protoreflect.Message
- func (x *SecretsRefreshRequest) Reset()
- func (x *SecretsRefreshRequest) String() string
- type SecretsRefreshResponse
- type SwitchNamespaceRequest
- func (*SwitchNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchNamespaceRequest) GetAppRoot() string
- func (x *SwitchNamespaceRequest) GetCreate() bool
- func (x *SwitchNamespaceRequest) GetName() string
- func (*SwitchNamespaceRequest) ProtoMessage()
- func (x *SwitchNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *SwitchNamespaceRequest) Reset()
- func (x *SwitchNamespaceRequest) String() string
- type TestRequest
- func (*TestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestRequest) GetAppRoot() string
- func (x *TestRequest) GetArgs() []string
- func (x *TestRequest) GetCodegenDebug() bool
- func (x *TestRequest) GetEnviron() []string
- func (x *TestRequest) GetTraceFile() 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) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, 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) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error)
- func (UnimplementedDaemonServer) ExecScript(*ExecScriptRequest, Daemon_ExecScriptServer) error
- func (UnimplementedDaemonServer) Export(*ExportRequest, Daemon_ExportServer) error
- func (UnimplementedDaemonServer) GenClient(context.Context, *GenClientRequest) (*GenClientResponse, error)
- func (UnimplementedDaemonServer) GenWrappers(context.Context, *GenWrappersRequest) (*GenWrappersResponse, error)
- func (UnimplementedDaemonServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
- func (UnimplementedDaemonServer) Run(*RunRequest, Daemon_RunServer) error
- func (UnimplementedDaemonServer) SecretsRefresh(context.Context, *SecretsRefreshRequest) (*SecretsRefreshResponse, error)
- func (UnimplementedDaemonServer) SwitchNamespace(context.Context, *SwitchNamespaceRequest) (*Namespace, error)
- func (UnimplementedDaemonServer) Test(*TestRequest, Daemon_TestServer) error
- func (UnimplementedDaemonServer) Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
- type UnsafeDaemonServer
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VersionResponse) GetConfigHash() string
- func (x *VersionResponse) GetVersion() string
- func (*VersionResponse) ProtoMessage()
- func (x *VersionResponse) ProtoReflect() protoreflect.Message
- func (x *VersionResponse) Reset()
- func (x *VersionResponse) String() string
Constants ¶
const ( Daemon_Run_FullMethodName = "/encore.daemon.Daemon/Run" Daemon_Test_FullMethodName = "/encore.daemon.Daemon/Test" Daemon_ExecScript_FullMethodName = "/encore.daemon.Daemon/ExecScript" Daemon_Check_FullMethodName = "/encore.daemon.Daemon/Check" Daemon_Export_FullMethodName = "/encore.daemon.Daemon/Export" Daemon_DBConnect_FullMethodName = "/encore.daemon.Daemon/DBConnect" Daemon_DBProxy_FullMethodName = "/encore.daemon.Daemon/DBProxy" Daemon_DBReset_FullMethodName = "/encore.daemon.Daemon/DBReset" Daemon_GenClient_FullMethodName = "/encore.daemon.Daemon/GenClient" Daemon_GenWrappers_FullMethodName = "/encore.daemon.Daemon/GenWrappers" Daemon_SecretsRefresh_FullMethodName = "/encore.daemon.Daemon/SecretsRefresh" Daemon_Version_FullMethodName = "/encore.daemon.Daemon/Version" Daemon_CreateNamespace_FullMethodName = "/encore.daemon.Daemon/CreateNamespace" Daemon_SwitchNamespace_FullMethodName = "/encore.daemon.Daemon/SwitchNamespace" Daemon_ListNamespaces_FullMethodName = "/encore.daemon.Daemon/ListNamespaces" Daemon_DeleteNamespace_FullMethodName = "/encore.daemon.Daemon/DeleteNamespace" )
Variables ¶
var Daemon_ServiceDesc = grpc.ServiceDesc{ ServiceName: "encore.daemon.Daemon", HandlerType: (*DaemonServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DBConnect", Handler: _Daemon_DBConnect_Handler, }, { MethodName: "GenClient", Handler: _Daemon_GenClient_Handler, }, { MethodName: "GenWrappers", Handler: _Daemon_GenWrappers_Handler, }, { MethodName: "SecretsRefresh", Handler: _Daemon_SecretsRefresh_Handler, }, { MethodName: "Version", Handler: _Daemon_Version_Handler, }, { MethodName: "CreateNamespace", Handler: _Daemon_CreateNamespace_Handler, }, { MethodName: "SwitchNamespace", Handler: _Daemon_SwitchNamespace_Handler, }, { MethodName: "ListNamespaces", Handler: _Daemon_ListNamespaces_Handler, }, { MethodName: "DeleteNamespace", Handler: _Daemon_DeleteNamespace_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Run", Handler: _Daemon_Run_Handler, ServerStreams: true, }, { StreamName: "Test", Handler: _Daemon_Test_Handler, ServerStreams: true, }, { StreamName: "ExecScript", Handler: _Daemon_ExecScript_Handler, ServerStreams: true, }, { StreamName: "Check", Handler: _Daemon_Check_Handler, ServerStreams: true, }, { StreamName: "Export", Handler: _Daemon_Export_Handler, ServerStreams: true, }, { StreamName: "DBProxy", Handler: _Daemon_DBProxy_Handler, ServerStreams: true, }, { StreamName: "DBReset", Handler: _Daemon_DBReset_Handler, ServerStreams: true, }, }, Metadata: "encore/daemon/daemon.proto", }
Daemon_ServiceDesc is the grpc.ServiceDesc for Daemon service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_encore_daemon_daemon_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDaemonServer ¶
func RegisterDaemonServer(s grpc.ServiceRegistrar, 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"` // codegen_debug, if true, dumps the generated code and prints where it is located. CodegenDebug bool `protobuf:"varint,3,opt,name=codegen_debug,json=codegenDebug,proto3" json:"codegen_debug,omitempty"` // parse_tests, if true, exercises test parsing and codegen as well. ParseTests bool `protobuf:"varint,4,opt,name=parse_tests,json=parseTests,proto3" json:"parse_tests,omitempty"` // environ is the environment to set for the running command. // Each entry is a string in the format "KEY=VALUE", identical to os.Environ(). Environ []string `protobuf:"bytes,5,rep,name=environ,proto3" json:"environ,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) GetCodegenDebug ¶ added in v0.17.2
func (x *CheckRequest) GetCodegenDebug() bool
func (*CheckRequest) GetEnviron ¶ added in v1.14.5
func (x *CheckRequest) GetEnviron() []string
func (*CheckRequest) GetParseTests ¶ added in v1.14.5
func (x *CheckRequest) GetParseTests() bool
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 CommandDisplayErrors ¶ added in v1.8.0
type CommandDisplayErrors struct { Errinsrc []byte `protobuf:"bytes,1,opt,name=errinsrc,proto3" json:"errinsrc,omitempty"` // error messages in source code // contains filtered or unexported fields }
func (*CommandDisplayErrors) Descriptor
deprecated
added in
v1.8.0
func (*CommandDisplayErrors) Descriptor() ([]byte, []int)
Deprecated: Use CommandDisplayErrors.ProtoReflect.Descriptor instead.
func (*CommandDisplayErrors) GetErrinsrc ¶ added in v1.8.0
func (x *CommandDisplayErrors) GetErrinsrc() []byte
func (*CommandDisplayErrors) ProtoMessage ¶ added in v1.8.0
func (*CommandDisplayErrors) ProtoMessage()
func (*CommandDisplayErrors) ProtoReflect ¶ added in v1.8.0
func (x *CommandDisplayErrors) ProtoReflect() protoreflect.Message
func (*CommandDisplayErrors) Reset ¶ added in v1.8.0
func (x *CommandDisplayErrors) Reset()
func (*CommandDisplayErrors) String ¶ added in v1.8.0
func (x *CommandDisplayErrors) 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 // *CommandMessage_Errors 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) GetErrors ¶ added in v1.8.0
func (x *CommandMessage) GetErrors() *CommandDisplayErrors
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_Errors ¶ added in v1.8.0
type CommandMessage_Errors struct {
Errors *CommandDisplayErrors `protobuf:"bytes,3,opt,name=errors,proto3,oneof"`
}
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 CreateNamespaceRequest ¶ added in v1.23.0
type CreateNamespaceRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateNamespaceRequest) Descriptor
deprecated
added in
v1.23.0
func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.
func (*CreateNamespaceRequest) GetAppRoot ¶ added in v1.23.0
func (x *CreateNamespaceRequest) GetAppRoot() string
func (*CreateNamespaceRequest) GetName ¶ added in v1.23.0
func (x *CreateNamespaceRequest) GetName() string
func (*CreateNamespaceRequest) ProtoMessage ¶ added in v1.23.0
func (*CreateNamespaceRequest) ProtoMessage()
func (*CreateNamespaceRequest) ProtoReflect ¶ added in v1.23.0
func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
func (*CreateNamespaceRequest) Reset ¶ added in v1.23.0
func (x *CreateNamespaceRequest) Reset()
func (*CreateNamespaceRequest) String ¶ added in v1.23.0
func (x *CreateNamespaceRequest) String() string
type DBConnectRequest ¶
type DBConnectRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` EnvName string `protobuf:"bytes,3,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` // optional Test bool `protobuf:"varint,4,opt,name=test,proto3" json:"test,omitempty"` // local test cluster // namespace is the infrastructure namespace to use. // If empty the active namespace is used. Namespace *string `protobuf:"bytes,5,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` // 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) GetDbName ¶ added in v0.18.0
func (x *DBConnectRequest) GetDbName() string
func (*DBConnectRequest) GetEnvName ¶
func (x *DBConnectRequest) GetEnvName() string
func (*DBConnectRequest) GetNamespace ¶ added in v1.23.0
func (x *DBConnectRequest) GetNamespace() string
func (*DBConnectRequest) GetTest ¶ added in v1.17.0
func (x *DBConnectRequest) GetTest() bool
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 Test bool `protobuf:"varint,4,opt,name=test,proto3" json:"test,omitempty"` // local test cluster // namespace is the infrastructure namespace to use. // If empty the active namespace is used. Namespace *string `protobuf:"bytes,5,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` // 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) GetNamespace ¶ added in v1.23.0
func (x *DBProxyRequest) GetNamespace() string
func (*DBProxyRequest) GetPort ¶
func (x *DBProxyRequest) GetPort() int32
func (*DBProxyRequest) GetTest ¶ added in v1.17.0
func (x *DBProxyRequest) GetTest() bool
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"` DatabaseNames []string `protobuf:"bytes,2,rep,name=database_names,json=databaseNames,proto3" json:"database_names,omitempty"` // database names to reset Test bool `protobuf:"varint,3,opt,name=test,proto3" json:"test,omitempty"` // local test cluster // namespace is the infrastructure namespace to use. // If empty the active namespace is used. Namespace *string `protobuf:"bytes,4,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` // 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) GetDatabaseNames ¶ added in v1.16.3
func (x *DBResetRequest) GetDatabaseNames() []string
func (*DBResetRequest) GetNamespace ¶ added in v1.23.0
func (x *DBResetRequest) GetNamespace() string
func (*DBResetRequest) GetTest ¶ added in v1.17.0
func (x *DBResetRequest) GetTest() bool
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) // ExecScript executes a one-off script. ExecScript(ctx context.Context, in *ExecScriptRequest, opts ...grpc.CallOption) (Daemon_ExecScriptClient, error) // Check checks the app for compilation errors. Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (Daemon_CheckClient, error) // Export exports the app in various formats. Export(ctx context.Context, in *ExportRequest, opts ...grpc.CallOption) (Daemon_ExportClient, 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) // GenWrappers generates user-facing wrapper code. GenWrappers(ctx context.Context, in *GenWrappersRequest, opts ...grpc.CallOption) (*GenWrappersResponse, error) // SecretsRefresh tells the daemon to refresh the local development secrets // for the given application. SecretsRefresh(ctx context.Context, in *SecretsRefreshRequest, opts ...grpc.CallOption) (*SecretsRefreshResponse, error) // Version reports the daemon version. Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error) // CreateNamespace creates a new infra namespace. CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) // SwitchNamespace switches the active infra namespace. SwitchNamespace(ctx context.Context, in *SwitchNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) // ListNamespaces lists all namespaces for the given app. ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error) // DeleteNamespace deletes an infra namespace. DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, 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 // ExecScript executes a one-off script. ExecScript(*ExecScriptRequest, Daemon_ExecScriptServer) error // Check checks the app for compilation errors. Check(*CheckRequest, Daemon_CheckServer) error // Export exports the app in various formats. Export(*ExportRequest, Daemon_ExportServer) 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) // GenWrappers generates user-facing wrapper code. GenWrappers(context.Context, *GenWrappersRequest) (*GenWrappersResponse, error) // SecretsRefresh tells the daemon to refresh the local development secrets // for the given application. SecretsRefresh(context.Context, *SecretsRefreshRequest) (*SecretsRefreshResponse, error) // Version reports the daemon version. Version(context.Context, *emptypb.Empty) (*VersionResponse, error) // CreateNamespace creates a new infra namespace. CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error) // SwitchNamespace switches the active infra namespace. SwitchNamespace(context.Context, *SwitchNamespaceRequest) (*Namespace, error) // ListNamespaces lists all namespaces for the given app. ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) // DeleteNamespace deletes an infra namespace. DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, 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_ExecScriptClient ¶ added in v1.11.0
type Daemon_ExecScriptClient interface { Recv() (*CommandMessage, error) grpc.ClientStream }
type Daemon_ExecScriptServer ¶ added in v1.11.0
type Daemon_ExecScriptServer interface { Send(*CommandMessage) error grpc.ServerStream }
type Daemon_ExportClient ¶ added in v1.2.0
type Daemon_ExportClient interface { Recv() (*CommandMessage, error) grpc.ClientStream }
type Daemon_ExportServer ¶ added in v1.2.0
type Daemon_ExportServer interface { Send(*CommandMessage) 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 DeleteNamespaceRequest ¶ added in v1.23.0
type DeleteNamespaceRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteNamespaceRequest) Descriptor
deprecated
added in
v1.23.0
func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceRequest) GetAppRoot ¶ added in v1.23.0
func (x *DeleteNamespaceRequest) GetAppRoot() string
func (*DeleteNamespaceRequest) GetName ¶ added in v1.23.0
func (x *DeleteNamespaceRequest) GetName() string
func (*DeleteNamespaceRequest) ProtoMessage ¶ added in v1.23.0
func (*DeleteNamespaceRequest) ProtoMessage()
func (*DeleteNamespaceRequest) ProtoReflect ¶ added in v1.23.0
func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceRequest) Reset ¶ added in v1.23.0
func (x *DeleteNamespaceRequest) Reset()
func (*DeleteNamespaceRequest) String ¶ added in v1.23.0
func (x *DeleteNamespaceRequest) String() string
type DockerExportParams ¶ added in v1.2.0
type DockerExportParams struct { // local_daemon_tag specifies what to tag the image as // in the local Docker daemon. If empty the export does not // interact with (or require) the local docker daemon at all. LocalDaemonTag string `protobuf:"bytes,1,opt,name=local_daemon_tag,json=localDaemonTag,proto3" json:"local_daemon_tag,omitempty"` // push_destination_tag specifies the remote registry tag // to push the exported image to. If empty the built image // is not pushed anywhere. PushDestinationTag string `protobuf:"bytes,2,opt,name=push_destination_tag,json=pushDestinationTag,proto3" json:"push_destination_tag,omitempty"` // base_image_tag is the base image to build the image from. BaseImageTag string `protobuf:"bytes,3,opt,name=base_image_tag,json=baseImageTag,proto3" json:"base_image_tag,omitempty"` // contains filtered or unexported fields }
func (*DockerExportParams) Descriptor
deprecated
added in
v1.2.0
func (*DockerExportParams) Descriptor() ([]byte, []int)
Deprecated: Use DockerExportParams.ProtoReflect.Descriptor instead.
func (*DockerExportParams) GetBaseImageTag ¶ added in v1.3.0
func (x *DockerExportParams) GetBaseImageTag() string
func (*DockerExportParams) GetLocalDaemonTag ¶ added in v1.2.0
func (x *DockerExportParams) GetLocalDaemonTag() string
func (*DockerExportParams) GetPushDestinationTag ¶ added in v1.2.0
func (x *DockerExportParams) GetPushDestinationTag() string
func (*DockerExportParams) ProtoMessage ¶ added in v1.2.0
func (*DockerExportParams) ProtoMessage()
func (*DockerExportParams) ProtoReflect ¶ added in v1.2.0
func (x *DockerExportParams) ProtoReflect() protoreflect.Message
func (*DockerExportParams) Reset ¶ added in v1.2.0
func (x *DockerExportParams) Reset()
func (*DockerExportParams) String ¶ added in v1.2.0
func (x *DockerExportParams) String() string
type ExecScriptRequest ¶ added in v1.11.0
type ExecScriptRequest 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"` // command_rel_path is the slash-separated relative path to the command to run, // from the app root. CommandRelPath string `protobuf:"bytes,3,opt,name=command_rel_path,json=commandRelPath,proto3" json:"command_rel_path,omitempty"` ScriptArgs []string `protobuf:"bytes,4,rep,name=script_args,json=scriptArgs,proto3" json:"script_args,omitempty"` // environ is the environment to set for the running command. // Each entry is a string in the format "KEY=VALUE", identical to os.Environ(). Environ []string `protobuf:"bytes,5,rep,name=environ,proto3" json:"environ,omitempty"` // trace_file, if set specifies a trace file to write trace information // about the parse and compilation process to. TraceFile *string `protobuf:"bytes,6,opt,name=trace_file,json=traceFile,proto3,oneof" json:"trace_file,omitempty"` // namespace is the infrastructure namespace to use. // If empty the active namespace is used. Namespace *string `protobuf:"bytes,7,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*ExecScriptRequest) Descriptor
deprecated
added in
v1.11.0
func (*ExecScriptRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecScriptRequest.ProtoReflect.Descriptor instead.
func (*ExecScriptRequest) GetAppRoot ¶ added in v1.11.0
func (x *ExecScriptRequest) GetAppRoot() string
func (*ExecScriptRequest) GetCommandRelPath ¶ added in v1.14.5
func (x *ExecScriptRequest) GetCommandRelPath() string
func (*ExecScriptRequest) GetEnviron ¶ added in v1.11.0
func (x *ExecScriptRequest) GetEnviron() []string
func (*ExecScriptRequest) GetNamespace ¶ added in v1.23.0
func (x *ExecScriptRequest) GetNamespace() string
func (*ExecScriptRequest) GetScriptArgs ¶ added in v1.11.0
func (x *ExecScriptRequest) GetScriptArgs() []string
func (*ExecScriptRequest) GetTraceFile ¶ added in v1.14.5
func (x *ExecScriptRequest) GetTraceFile() string
func (*ExecScriptRequest) GetWorkingDir ¶ added in v1.11.0
func (x *ExecScriptRequest) GetWorkingDir() string
func (*ExecScriptRequest) ProtoMessage ¶ added in v1.11.0
func (*ExecScriptRequest) ProtoMessage()
func (*ExecScriptRequest) ProtoReflect ¶ added in v1.11.0
func (x *ExecScriptRequest) ProtoReflect() protoreflect.Message
func (*ExecScriptRequest) Reset ¶ added in v1.11.0
func (x *ExecScriptRequest) Reset()
func (*ExecScriptRequest) String ¶ added in v1.11.0
func (x *ExecScriptRequest) String() string
type ExportRequest ¶ added in v1.2.0
type ExportRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` // goos and goarch specify the platform configuration to compile // the application for. The values must be valid GOOS/GOARCH values. Goos string `protobuf:"bytes,2,opt,name=goos,proto3" json:"goos,omitempty"` Goarch string `protobuf:"bytes,3,opt,name=goarch,proto3" json:"goarch,omitempty"` // cgo_enabled specifies whether to build with cgo enabled. // The host must have a valid C compiler for the target platform // if true. CgoEnabled bool `protobuf:"varint,4,opt,name=cgo_enabled,json=cgoEnabled,proto3" json:"cgo_enabled,omitempty"` // environ is the environment to set for the running command. // Each entry is a string in the format "KEY=VALUE", identical to os.Environ(). Environ []string `protobuf:"bytes,5,rep,name=environ,proto3" json:"environ,omitempty"` // Types that are assignable to Format: // // *ExportRequest_Docker Format isExportRequest_Format `protobuf_oneof:"format"` // contains filtered or unexported fields }
func (*ExportRequest) Descriptor
deprecated
added in
v1.2.0
func (*ExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportRequest.ProtoReflect.Descriptor instead.
func (*ExportRequest) GetAppRoot ¶ added in v1.2.0
func (x *ExportRequest) GetAppRoot() string
func (*ExportRequest) GetCgoEnabled ¶ added in v1.2.0
func (x *ExportRequest) GetCgoEnabled() bool
func (*ExportRequest) GetDocker ¶ added in v1.2.0
func (x *ExportRequest) GetDocker() *DockerExportParams
func (*ExportRequest) GetEnviron ¶ added in v1.14.5
func (x *ExportRequest) GetEnviron() []string
func (*ExportRequest) GetFormat ¶ added in v1.2.0
func (m *ExportRequest) GetFormat() isExportRequest_Format
func (*ExportRequest) GetGoarch ¶ added in v1.2.0
func (x *ExportRequest) GetGoarch() string
func (*ExportRequest) GetGoos ¶ added in v1.2.0
func (x *ExportRequest) GetGoos() string
func (*ExportRequest) ProtoMessage ¶ added in v1.2.0
func (*ExportRequest) ProtoMessage()
func (*ExportRequest) ProtoReflect ¶ added in v1.2.0
func (x *ExportRequest) ProtoReflect() protoreflect.Message
func (*ExportRequest) Reset ¶ added in v1.2.0
func (x *ExportRequest) Reset()
func (*ExportRequest) String ¶ added in v1.2.0
func (x *ExportRequest) String() string
type ExportRequest_Docker ¶ added in v1.2.0
type ExportRequest_Docker struct { // docker specifies to export the app as a docker image. Docker *DockerExportParams `protobuf:"bytes,6,opt,name=docker,proto3,oneof"` }
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"` // Services to include in the output. // If the string "*" is present all services are included. Services []string `protobuf:"bytes,5,rep,name=services,proto3" json:"services,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) GetServices ¶ added in v1.17.0
func (x *GenClientRequest) GetServices() []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 GenWrappersRequest ¶ added in v1.5.0
type GenWrappersRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` // contains filtered or unexported fields }
func (*GenWrappersRequest) Descriptor
deprecated
added in
v1.5.0
func (*GenWrappersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenWrappersRequest.ProtoReflect.Descriptor instead.
func (*GenWrappersRequest) GetAppRoot ¶ added in v1.5.0
func (x *GenWrappersRequest) GetAppRoot() string
func (*GenWrappersRequest) ProtoMessage ¶ added in v1.5.0
func (*GenWrappersRequest) ProtoMessage()
func (*GenWrappersRequest) ProtoReflect ¶ added in v1.5.0
func (x *GenWrappersRequest) ProtoReflect() protoreflect.Message
func (*GenWrappersRequest) Reset ¶ added in v1.5.0
func (x *GenWrappersRequest) Reset()
func (*GenWrappersRequest) String ¶ added in v1.5.0
func (x *GenWrappersRequest) String() string
type GenWrappersResponse ¶ added in v1.5.0
type GenWrappersResponse struct {
// contains filtered or unexported fields
}
func (*GenWrappersResponse) Descriptor
deprecated
added in
v1.5.0
func (*GenWrappersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenWrappersResponse.ProtoReflect.Descriptor instead.
func (*GenWrappersResponse) ProtoMessage ¶ added in v1.5.0
func (*GenWrappersResponse) ProtoMessage()
func (*GenWrappersResponse) ProtoReflect ¶ added in v1.5.0
func (x *GenWrappersResponse) ProtoReflect() protoreflect.Message
func (*GenWrappersResponse) Reset ¶ added in v1.5.0
func (x *GenWrappersResponse) Reset()
func (*GenWrappersResponse) String ¶ added in v1.5.0
func (x *GenWrappersResponse) String() string
type ListNamespacesRequest ¶ added in v1.23.0
type ListNamespacesRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` // contains filtered or unexported fields }
func (*ListNamespacesRequest) Descriptor
deprecated
added in
v1.23.0
func (*ListNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead.
func (*ListNamespacesRequest) GetAppRoot ¶ added in v1.23.0
func (x *ListNamespacesRequest) GetAppRoot() string
func (*ListNamespacesRequest) ProtoMessage ¶ added in v1.23.0
func (*ListNamespacesRequest) ProtoMessage()
func (*ListNamespacesRequest) ProtoReflect ¶ added in v1.23.0
func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message
func (*ListNamespacesRequest) Reset ¶ added in v1.23.0
func (x *ListNamespacesRequest) Reset()
func (*ListNamespacesRequest) String ¶ added in v1.23.0
func (x *ListNamespacesRequest) String() string
type ListNamespacesResponse ¶ added in v1.23.0
type ListNamespacesResponse struct { Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*ListNamespacesResponse) Descriptor
deprecated
added in
v1.23.0
func (*ListNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.
func (*ListNamespacesResponse) GetNamespaces ¶ added in v1.23.0
func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
func (*ListNamespacesResponse) ProtoMessage ¶ added in v1.23.0
func (*ListNamespacesResponse) ProtoMessage()
func (*ListNamespacesResponse) ProtoReflect ¶ added in v1.23.0
func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
func (*ListNamespacesResponse) Reset ¶ added in v1.23.0
func (x *ListNamespacesResponse) Reset()
func (*ListNamespacesResponse) String ¶ added in v1.23.0
func (x *ListNamespacesResponse) String() string
type Namespace ¶ added in v1.23.0
type Namespace struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` LastActiveAt *string `protobuf:"bytes,5,opt,name=last_active_at,json=lastActiveAt,proto3,oneof" json:"last_active_at,omitempty"` // contains filtered or unexported fields }
func (*Namespace) Descriptor
deprecated
added in
v1.23.0
func (*Namespace) GetCreatedAt ¶ added in v1.23.0
func (*Namespace) GetLastActiveAt ¶ added in v1.23.0
func (*Namespace) ProtoMessage ¶ added in v1.23.0
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶ added in v1.23.0
func (x *Namespace) ProtoReflect() protoreflect.Message
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"` // listen_addr is the address to listen on. ListenAddr string `protobuf:"bytes,6,opt,name=listen_addr,json=listenAddr,proto3" json:"listen_addr,omitempty"` // environ is the environment to set for the running command. // Each entry is a string in the format "KEY=VALUE", identical to os.Environ(). Environ []string `protobuf:"bytes,7,rep,name=environ,proto3" json:"environ,omitempty"` // trace_file, if set specifies a trace file to write trace information // about the parse and compilation process to. TraceFile *string `protobuf:"bytes,8,opt,name=trace_file,json=traceFile,proto3,oneof" json:"trace_file,omitempty"` // namespace is the infrastructure namespace to use. // If empty the active namespace is used. Namespace *string `protobuf:"bytes,9,opt,name=namespace,proto3,oneof" json:"namespace,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) GetEnviron ¶ added in v1.0.0
func (x *RunRequest) GetEnviron() []string
func (*RunRequest) GetListenAddr ¶ added in v0.17.2
func (x *RunRequest) GetListenAddr() string
func (*RunRequest) GetNamespace ¶ added in v1.23.0
func (x *RunRequest) GetNamespace() string
func (*RunRequest) GetTraceFile ¶ added in v1.14.5
func (x *RunRequest) GetTraceFile() string
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 SecretsRefreshRequest ¶ added in v1.13.0
type SecretsRefreshRequest 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"` // contains filtered or unexported fields }
func (*SecretsRefreshRequest) Descriptor
deprecated
added in
v1.13.0
func (*SecretsRefreshRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecretsRefreshRequest.ProtoReflect.Descriptor instead.
func (*SecretsRefreshRequest) GetAppRoot ¶ added in v1.13.0
func (x *SecretsRefreshRequest) GetAppRoot() string
func (*SecretsRefreshRequest) GetKey ¶ added in v1.13.0
func (x *SecretsRefreshRequest) GetKey() string
func (*SecretsRefreshRequest) GetValue ¶ added in v1.13.0
func (x *SecretsRefreshRequest) GetValue() string
func (*SecretsRefreshRequest) ProtoMessage ¶ added in v1.13.0
func (*SecretsRefreshRequest) ProtoMessage()
func (*SecretsRefreshRequest) ProtoReflect ¶ added in v1.13.0
func (x *SecretsRefreshRequest) ProtoReflect() protoreflect.Message
func (*SecretsRefreshRequest) Reset ¶ added in v1.13.0
func (x *SecretsRefreshRequest) Reset()
func (*SecretsRefreshRequest) String ¶ added in v1.13.0
func (x *SecretsRefreshRequest) String() string
type SecretsRefreshResponse ¶ added in v1.13.0
type SecretsRefreshResponse struct {
// contains filtered or unexported fields
}
func (*SecretsRefreshResponse) Descriptor
deprecated
added in
v1.13.0
func (*SecretsRefreshResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecretsRefreshResponse.ProtoReflect.Descriptor instead.
func (*SecretsRefreshResponse) ProtoMessage ¶ added in v1.13.0
func (*SecretsRefreshResponse) ProtoMessage()
func (*SecretsRefreshResponse) ProtoReflect ¶ added in v1.13.0
func (x *SecretsRefreshResponse) ProtoReflect() protoreflect.Message
func (*SecretsRefreshResponse) Reset ¶ added in v1.13.0
func (x *SecretsRefreshResponse) Reset()
func (*SecretsRefreshResponse) String ¶ added in v1.13.0
func (x *SecretsRefreshResponse) String() string
type SwitchNamespaceRequest ¶ added in v1.23.0
type SwitchNamespaceRequest struct { AppRoot string `protobuf:"bytes,1,opt,name=app_root,json=appRoot,proto3" json:"app_root,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Create bool `protobuf:"varint,3,opt,name=create,proto3" json:"create,omitempty"` // contains filtered or unexported fields }
func (*SwitchNamespaceRequest) Descriptor
deprecated
added in
v1.23.0
func (*SwitchNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SwitchNamespaceRequest.ProtoReflect.Descriptor instead.
func (*SwitchNamespaceRequest) GetAppRoot ¶ added in v1.23.0
func (x *SwitchNamespaceRequest) GetAppRoot() string
func (*SwitchNamespaceRequest) GetCreate ¶ added in v1.23.0
func (x *SwitchNamespaceRequest) GetCreate() bool
func (*SwitchNamespaceRequest) GetName ¶ added in v1.23.0
func (x *SwitchNamespaceRequest) GetName() string
func (*SwitchNamespaceRequest) ProtoMessage ¶ added in v1.23.0
func (*SwitchNamespaceRequest) ProtoMessage()
func (*SwitchNamespaceRequest) ProtoReflect ¶ added in v1.23.0
func (x *SwitchNamespaceRequest) ProtoReflect() protoreflect.Message
func (*SwitchNamespaceRequest) Reset ¶ added in v1.23.0
func (x *SwitchNamespaceRequest) Reset()
func (*SwitchNamespaceRequest) String ¶ added in v1.23.0
func (x *SwitchNamespaceRequest) 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"` // environ is the environment to set for the running command. // Each entry is a string in the format "KEY=VALUE", identical to os.Environ(). Environ []string `protobuf:"bytes,4,rep,name=environ,proto3" json:"environ,omitempty"` // trace_file, if set specifies a trace file to write trace information // about the parse and compilation process to. TraceFile *string `protobuf:"bytes,6,opt,name=trace_file,json=traceFile,proto3,oneof" json:"trace_file,omitempty"` // codegen_debug, if true, dumps the generated code and prints where it is located. CodegenDebug bool `protobuf:"varint,7,opt,name=codegen_debug,json=codegenDebug,proto3" json:"codegen_debug,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) GetCodegenDebug ¶ added in v1.22.2
func (x *TestRequest) GetCodegenDebug() bool
func (*TestRequest) GetEnviron ¶ added in v1.0.0
func (x *TestRequest) GetEnviron() []string
func (*TestRequest) GetTraceFile ¶ added in v1.14.5
func (x *TestRequest) GetTraceFile() 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) CreateNamespace ¶ added in v1.23.0
func (UnimplementedDaemonServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, 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) DeleteNamespace ¶ added in v1.23.0
func (UnimplementedDaemonServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error)
func (UnimplementedDaemonServer) ExecScript ¶ added in v1.11.0
func (UnimplementedDaemonServer) ExecScript(*ExecScriptRequest, Daemon_ExecScriptServer) error
func (UnimplementedDaemonServer) Export ¶ added in v1.2.0
func (UnimplementedDaemonServer) Export(*ExportRequest, Daemon_ExportServer) error
func (UnimplementedDaemonServer) GenClient ¶
func (UnimplementedDaemonServer) GenClient(context.Context, *GenClientRequest) (*GenClientResponse, error)
func (UnimplementedDaemonServer) GenWrappers ¶ added in v1.5.0
func (UnimplementedDaemonServer) GenWrappers(context.Context, *GenWrappersRequest) (*GenWrappersResponse, error)
func (UnimplementedDaemonServer) ListNamespaces ¶ added in v1.23.0
func (UnimplementedDaemonServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
func (UnimplementedDaemonServer) Run ¶
func (UnimplementedDaemonServer) Run(*RunRequest, Daemon_RunServer) error
func (UnimplementedDaemonServer) SecretsRefresh ¶ added in v1.13.0
func (UnimplementedDaemonServer) SecretsRefresh(context.Context, *SecretsRefreshRequest) (*SecretsRefreshResponse, error)
func (UnimplementedDaemonServer) SwitchNamespace ¶ added in v1.23.0
func (UnimplementedDaemonServer) SwitchNamespace(context.Context, *SwitchNamespaceRequest) (*Namespace, error)
func (UnimplementedDaemonServer) Test ¶
func (UnimplementedDaemonServer) Test(*TestRequest, Daemon_TestServer) error
func (UnimplementedDaemonServer) Version ¶
func (UnimplementedDaemonServer) Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
type UnsafeDaemonServer ¶ added in v0.18.0
type UnsafeDaemonServer interface {
// contains filtered or unexported methods
}
UnsafeDaemonServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DaemonServer will result in compilation errors.
type VersionResponse ¶
type VersionResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` ConfigHash string `protobuf:"bytes,2,opt,name=config_hash,json=configHash,proto3" json:"config_hash,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetConfigHash ¶ added in v0.18.0
func (x *VersionResponse) GetConfigHash() string
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