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 CreateAppRequest
- func (*CreateAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAppRequest) GetAppRoot() string
- func (x *CreateAppRequest) GetTemplate() string
- func (x *CreateAppRequest) GetTutorial() bool
- func (*CreateAppRequest) ProtoMessage()
- func (x *CreateAppRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAppRequest) Reset()
- func (x *CreateAppRequest) String() string
- type CreateAppResponse
- 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 DBClusterType
- func (DBClusterType) Descriptor() protoreflect.EnumDescriptor
- func (x DBClusterType) Enum() *DBClusterType
- func (DBClusterType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DBClusterType) Number() protoreflect.EnumNumber
- func (x DBClusterType) String() string
- func (DBClusterType) Type() protoreflect.EnumType
- type DBConnectRequest
- func (*DBConnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DBConnectRequest) GetAppRoot() string
- func (x *DBConnectRequest) GetClusterType() DBClusterType
- func (x *DBConnectRequest) GetDbName() string
- func (x *DBConnectRequest) GetEnvName() string
- func (x *DBConnectRequest) GetNamespace() string
- func (x *DBConnectRequest) GetRole() DBRole
- 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) GetClusterType() DBClusterType
- func (x *DBProxyRequest) GetEnvName() string
- func (x *DBProxyRequest) GetNamespace() string
- func (x *DBProxyRequest) GetPort() int32
- func (x *DBProxyRequest) GetRole() DBRole
- 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) GetClusterType() DBClusterType
- func (x *DBResetRequest) GetDatabaseNames() []string
- func (x *DBResetRequest) GetNamespace() string
- func (*DBResetRequest) ProtoMessage()
- func (x *DBResetRequest) ProtoReflect() protoreflect.Message
- func (x *DBResetRequest) Reset()
- func (x *DBResetRequest) String() string
- type DBRole
- 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 DumpMetaRequest
- func (*DumpMetaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DumpMetaRequest) GetAppRoot() string
- func (x *DumpMetaRequest) GetEnviron() []string
- func (x *DumpMetaRequest) GetFormat() DumpMetaRequest_Format
- func (x *DumpMetaRequest) GetParseTests() bool
- func (x *DumpMetaRequest) GetWorkingDir() string
- func (*DumpMetaRequest) ProtoMessage()
- func (x *DumpMetaRequest) ProtoReflect() protoreflect.Message
- func (x *DumpMetaRequest) Reset()
- func (x *DumpMetaRequest) String() string
- type DumpMetaRequest_Format
- func (DumpMetaRequest_Format) Descriptor() protoreflect.EnumDescriptor
- func (x DumpMetaRequest_Format) Enum() *DumpMetaRequest_Format
- func (DumpMetaRequest_Format) EnumDescriptor() ([]byte, []int)deprecated
- func (x DumpMetaRequest_Format) Number() protoreflect.EnumNumber
- func (x DumpMetaRequest_Format) String() string
- func (DumpMetaRequest_Format) Type() protoreflect.EnumType
- type DumpMetaResponse
- type ExecScriptRequest
- func (*ExecScriptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecScriptRequest) GetAppRoot() 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) GetGateways() []string
- func (x *ExportRequest) GetGoarch() string
- func (x *ExportRequest) GetGoos() string
- func (x *ExportRequest) GetInfraConfPath() string
- func (x *ExportRequest) GetServices() []string
- func (x *ExportRequest) GetSkipInfraConf() bool
- func (x *ExportRequest) GetWorkspaceRoot() 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) GetEndpointTags() []string
- func (x *GenClientRequest) GetEnvName() string
- func (x *GenClientRequest) GetExcludedEndpointTags() []string
- func (x *GenClientRequest) GetExcludedServices() []string
- func (x *GenClientRequest) GetFilepath() string
- func (x *GenClientRequest) GetLang() string
- func (x *GenClientRequest) GetOpenapiExcludePrivateEndpoints() bool
- func (x *GenClientRequest) GetServices() []string
- func (x *GenClientRequest) GetTsClientTarget() string
- func (x *GenClientRequest) GetTsSharedTypes() bool
- 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) GetBrowser() RunRequest_BrowserMode
- func (x *RunRequest) GetDebugMode() RunRequest_DebugMode
- func (x *RunRequest) GetEnviron() []string
- func (x *RunRequest) GetListenAddr() string
- func (x *RunRequest) GetNamespace() string
- func (x *RunRequest) GetTraceFile() string
- 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 RunRequest_BrowserMode
- func (RunRequest_BrowserMode) Descriptor() protoreflect.EnumDescriptor
- func (x RunRequest_BrowserMode) Enum() *RunRequest_BrowserMode
- func (RunRequest_BrowserMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x RunRequest_BrowserMode) Number() protoreflect.EnumNumber
- func (x RunRequest_BrowserMode) String() string
- func (RunRequest_BrowserMode) Type() protoreflect.EnumType
- type RunRequest_DebugMode
- func (RunRequest_DebugMode) Descriptor() protoreflect.EnumDescriptor
- func (x RunRequest_DebugMode) Enum() *RunRequest_DebugMode
- func (RunRequest_DebugMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x RunRequest_DebugMode) Number() protoreflect.EnumNumber
- func (x RunRequest_DebugMode) String() string
- func (RunRequest_DebugMode) Type() protoreflect.EnumType
- type SQLCPlugin
- type SQLCPlugin_Catalog
- func (*SQLCPlugin_Catalog) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_Catalog) GetComment() string
- func (x *SQLCPlugin_Catalog) GetDefaultSchema() string
- func (x *SQLCPlugin_Catalog) GetName() string
- func (x *SQLCPlugin_Catalog) GetSchemas() []*SQLCPlugin_Schema
- func (*SQLCPlugin_Catalog) ProtoMessage()
- func (x *SQLCPlugin_Catalog) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_Catalog) Reset()
- func (x *SQLCPlugin_Catalog) String() string
- type SQLCPlugin_Codegen
- func (*SQLCPlugin_Codegen) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_Codegen) GetEnv() []string
- func (x *SQLCPlugin_Codegen) GetOptions() []byte
- func (x *SQLCPlugin_Codegen) GetOut() string
- func (x *SQLCPlugin_Codegen) GetPlugin() string
- func (x *SQLCPlugin_Codegen) GetProcess() *SQLCPlugin_Codegen_Process
- func (x *SQLCPlugin_Codegen) GetWasm() *SQLCPlugin_Codegen_WASM
- func (*SQLCPlugin_Codegen) ProtoMessage()
- func (x *SQLCPlugin_Codegen) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_Codegen) Reset()
- func (x *SQLCPlugin_Codegen) String() string
- type SQLCPlugin_Codegen_Process
- func (*SQLCPlugin_Codegen_Process) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_Codegen_Process) GetCmd() string
- func (*SQLCPlugin_Codegen_Process) ProtoMessage()
- func (x *SQLCPlugin_Codegen_Process) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_Codegen_Process) Reset()
- func (x *SQLCPlugin_Codegen_Process) String() string
- type SQLCPlugin_Codegen_WASM
- func (*SQLCPlugin_Codegen_WASM) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_Codegen_WASM) GetSha256() string
- func (x *SQLCPlugin_Codegen_WASM) GetUrl() string
- func (*SQLCPlugin_Codegen_WASM) ProtoMessage()
- func (x *SQLCPlugin_Codegen_WASM) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_Codegen_WASM) Reset()
- func (x *SQLCPlugin_Codegen_WASM) String() string
- type SQLCPlugin_Column
- func (*SQLCPlugin_Column) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_Column) GetArrayDims() int32
- func (x *SQLCPlugin_Column) GetComment() string
- func (x *SQLCPlugin_Column) GetEmbedTable() *SQLCPlugin_Identifier
- func (x *SQLCPlugin_Column) GetIsArray() bool
- func (x *SQLCPlugin_Column) GetIsFuncCall() bool
- func (x *SQLCPlugin_Column) GetIsNamedParam() bool
- func (x *SQLCPlugin_Column) GetIsSqlcSlice() bool
- func (x *SQLCPlugin_Column) GetLength() int32
- func (x *SQLCPlugin_Column) GetName() string
- func (x *SQLCPlugin_Column) GetNotNull() bool
- func (x *SQLCPlugin_Column) GetOriginalName() string
- func (x *SQLCPlugin_Column) GetScope() string
- func (x *SQLCPlugin_Column) GetTable() *SQLCPlugin_Identifier
- func (x *SQLCPlugin_Column) GetTableAlias() string
- func (x *SQLCPlugin_Column) GetType() *SQLCPlugin_Identifier
- func (x *SQLCPlugin_Column) GetUnsigned() bool
- func (*SQLCPlugin_Column) ProtoMessage()
- func (x *SQLCPlugin_Column) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_Column) Reset()
- func (x *SQLCPlugin_Column) String() string
- type SQLCPlugin_CompositeType
- func (*SQLCPlugin_CompositeType) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_CompositeType) GetComment() string
- func (x *SQLCPlugin_CompositeType) GetName() string
- func (*SQLCPlugin_CompositeType) ProtoMessage()
- func (x *SQLCPlugin_CompositeType) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_CompositeType) Reset()
- func (x *SQLCPlugin_CompositeType) String() string
- type SQLCPlugin_Enum
- func (*SQLCPlugin_Enum) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_Enum) GetComment() string
- func (x *SQLCPlugin_Enum) GetName() string
- func (x *SQLCPlugin_Enum) GetVals() []string
- func (*SQLCPlugin_Enum) ProtoMessage()
- func (x *SQLCPlugin_Enum) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_Enum) Reset()
- func (x *SQLCPlugin_Enum) String() string
- type SQLCPlugin_File
- func (*SQLCPlugin_File) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_File) GetContents() []byte
- func (x *SQLCPlugin_File) GetName() string
- func (*SQLCPlugin_File) ProtoMessage()
- func (x *SQLCPlugin_File) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_File) Reset()
- func (x *SQLCPlugin_File) String() string
- type SQLCPlugin_GenerateRequest
- func (*SQLCPlugin_GenerateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_GenerateRequest) GetCatalog() *SQLCPlugin_Catalog
- func (x *SQLCPlugin_GenerateRequest) GetGlobalOptions() []byte
- func (x *SQLCPlugin_GenerateRequest) GetPluginOptions() []byte
- func (x *SQLCPlugin_GenerateRequest) GetQueries() []*SQLCPlugin_Query
- func (x *SQLCPlugin_GenerateRequest) GetSettings() *SQLCPlugin_Settings
- func (x *SQLCPlugin_GenerateRequest) GetSqlcVersion() string
- func (*SQLCPlugin_GenerateRequest) ProtoMessage()
- func (x *SQLCPlugin_GenerateRequest) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_GenerateRequest) Reset()
- func (x *SQLCPlugin_GenerateRequest) String() string
- type SQLCPlugin_GenerateResponse
- func (*SQLCPlugin_GenerateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_GenerateResponse) GetFiles() []*SQLCPlugin_File
- func (*SQLCPlugin_GenerateResponse) ProtoMessage()
- func (x *SQLCPlugin_GenerateResponse) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_GenerateResponse) Reset()
- func (x *SQLCPlugin_GenerateResponse) String() string
- type SQLCPlugin_Identifier
- func (*SQLCPlugin_Identifier) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_Identifier) GetCatalog() string
- func (x *SQLCPlugin_Identifier) GetName() string
- func (x *SQLCPlugin_Identifier) GetSchema() string
- func (*SQLCPlugin_Identifier) ProtoMessage()
- func (x *SQLCPlugin_Identifier) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_Identifier) Reset()
- func (x *SQLCPlugin_Identifier) String() string
- type SQLCPlugin_Parameter
- func (*SQLCPlugin_Parameter) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_Parameter) GetColumn() *SQLCPlugin_Column
- func (x *SQLCPlugin_Parameter) GetNumber() int32
- func (*SQLCPlugin_Parameter) ProtoMessage()
- func (x *SQLCPlugin_Parameter) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_Parameter) Reset()
- func (x *SQLCPlugin_Parameter) String() string
- type SQLCPlugin_Query
- func (*SQLCPlugin_Query) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_Query) GetCmd() string
- func (x *SQLCPlugin_Query) GetColumns() []*SQLCPlugin_Column
- func (x *SQLCPlugin_Query) GetComments() []string
- func (x *SQLCPlugin_Query) GetFilename() string
- func (x *SQLCPlugin_Query) GetInsertIntoTable() *SQLCPlugin_Identifier
- func (x *SQLCPlugin_Query) GetName() string
- func (x *SQLCPlugin_Query) GetParams() []*SQLCPlugin_Parameter
- func (x *SQLCPlugin_Query) GetText() string
- func (*SQLCPlugin_Query) ProtoMessage()
- func (x *SQLCPlugin_Query) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_Query) Reset()
- func (x *SQLCPlugin_Query) String() string
- type SQLCPlugin_Schema
- func (*SQLCPlugin_Schema) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_Schema) GetComment() string
- func (x *SQLCPlugin_Schema) GetCompositeTypes() []*SQLCPlugin_CompositeType
- func (x *SQLCPlugin_Schema) GetEnums() []*SQLCPlugin_Enum
- func (x *SQLCPlugin_Schema) GetName() string
- func (x *SQLCPlugin_Schema) GetTables() []*SQLCPlugin_Table
- func (*SQLCPlugin_Schema) ProtoMessage()
- func (x *SQLCPlugin_Schema) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_Schema) Reset()
- func (x *SQLCPlugin_Schema) String() string
- type SQLCPlugin_Settings
- func (*SQLCPlugin_Settings) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_Settings) GetCodegen() *SQLCPlugin_Codegen
- func (x *SQLCPlugin_Settings) GetEngine() string
- func (x *SQLCPlugin_Settings) GetQueries() []string
- func (x *SQLCPlugin_Settings) GetSchema() []string
- func (x *SQLCPlugin_Settings) GetVersion() string
- func (*SQLCPlugin_Settings) ProtoMessage()
- func (x *SQLCPlugin_Settings) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_Settings) Reset()
- func (x *SQLCPlugin_Settings) String() string
- type SQLCPlugin_Table
- func (*SQLCPlugin_Table) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCPlugin_Table) GetColumns() []*SQLCPlugin_Column
- func (x *SQLCPlugin_Table) GetComment() string
- func (x *SQLCPlugin_Table) GetRel() *SQLCPlugin_Identifier
- func (*SQLCPlugin_Table) ProtoMessage()
- func (x *SQLCPlugin_Table) ProtoReflect() protoreflect.Message
- func (x *SQLCPlugin_Table) Reset()
- func (x *SQLCPlugin_Table) 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 TelemetryConfig
- func (*TelemetryConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TelemetryConfig) GetAnonId() string
- func (x *TelemetryConfig) GetDebug() bool
- func (x *TelemetryConfig) GetEnabled() bool
- func (*TelemetryConfig) ProtoMessage()
- func (x *TelemetryConfig) ProtoReflect() protoreflect.Message
- func (x *TelemetryConfig) Reset()
- func (x *TelemetryConfig) 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 TestSpecRequest
- func (*TestSpecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestSpecRequest) GetAppRoot() string
- func (x *TestSpecRequest) GetArgs() []string
- func (x *TestSpecRequest) GetEnviron() []string
- func (x *TestSpecRequest) GetWorkingDir() string
- func (*TestSpecRequest) ProtoMessage()
- func (x *TestSpecRequest) ProtoReflect() protoreflect.Message
- func (x *TestSpecRequest) Reset()
- func (x *TestSpecRequest) String() string
- type TestSpecResponse
- func (*TestSpecResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestSpecResponse) GetArgs() []string
- func (x *TestSpecResponse) GetCommand() string
- func (x *TestSpecResponse) GetEnviron() []string
- func (*TestSpecResponse) ProtoMessage()
- func (x *TestSpecResponse) ProtoReflect() protoreflect.Message
- func (x *TestSpecResponse) Reset()
- func (x *TestSpecResponse) String() string
- type UnimplementedDaemonServer
- func (UnimplementedDaemonServer) Check(*CheckRequest, Daemon_CheckServer) error
- func (UnimplementedDaemonServer) CreateApp(context.Context, *CreateAppRequest) (*CreateAppResponse, 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) DumpMeta(context.Context, *DumpMetaRequest) (*DumpMetaResponse, 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) Telemetry(context.Context, *TelemetryConfig) (*emptypb.Empty, error)
- func (UnimplementedDaemonServer) Test(*TestRequest, Daemon_TestServer) error
- func (UnimplementedDaemonServer) TestSpec(context.Context, *TestSpecRequest) (*TestSpecResponse, 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_TestSpec_FullMethodName = "/encore.daemon.Daemon/TestSpec" 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" Daemon_DumpMeta_FullMethodName = "/encore.daemon.Daemon/DumpMeta" Daemon_Telemetry_FullMethodName = "/encore.daemon.Daemon/Telemetry" Daemon_CreateApp_FullMethodName = "/encore.daemon.Daemon/CreateApp" )
Variables ¶
var ( DBRole_name = map[int32]string{ 0: "DB_ROLE_UNSPECIFIED", 1: "DB_ROLE_SUPERUSER", 2: "DB_ROLE_ADMIN", 3: "DB_ROLE_WRITE", 4: "DB_ROLE_READ", } DBRole_value = map[string]int32{ "DB_ROLE_UNSPECIFIED": 0, "DB_ROLE_SUPERUSER": 1, "DB_ROLE_ADMIN": 2, "DB_ROLE_WRITE": 3, "DB_ROLE_READ": 4, } )
Enum value maps for DBRole.
var ( DBClusterType_name = map[int32]string{ 0: "DB_CLUSTER_TYPE_UNSPECIFIED", 1: "DB_CLUSTER_TYPE_RUN", 2: "DB_CLUSTER_TYPE_TEST", 3: "DB_CLUSTER_TYPE_SHADOW", } DBClusterType_value = map[string]int32{ "DB_CLUSTER_TYPE_UNSPECIFIED": 0, "DB_CLUSTER_TYPE_RUN": 1, "DB_CLUSTER_TYPE_TEST": 2, "DB_CLUSTER_TYPE_SHADOW": 3, } )
Enum value maps for DBClusterType.
var ( RunRequest_BrowserMode_name = map[int32]string{ 0: "BROWSER_AUTO", 1: "BROWSER_NEVER", 2: "BROWSER_ALWAYS", } RunRequest_BrowserMode_value = map[string]int32{ "BROWSER_AUTO": 0, "BROWSER_NEVER": 1, "BROWSER_ALWAYS": 2, } )
Enum value maps for RunRequest_BrowserMode.
var ( RunRequest_DebugMode_name = map[int32]string{ 0: "DEBUG_DISABLED", 1: "DEBUG_ENABLED", 2: "DEBUG_BREAK", } RunRequest_DebugMode_value = map[string]int32{ "DEBUG_DISABLED": 0, "DEBUG_ENABLED": 1, "DEBUG_BREAK": 2, } )
Enum value maps for RunRequest_DebugMode.
var ( DumpMetaRequest_Format_name = map[int32]string{ 0: "FORMAT_UNSPECIFIED", 1: "FORMAT_JSON", 2: "FORMAT_PROTO", } DumpMetaRequest_Format_value = map[string]int32{ "FORMAT_UNSPECIFIED": 0, "FORMAT_JSON": 1, "FORMAT_PROTO": 2, } )
Enum value maps for DumpMetaRequest_Format.
var Daemon_ServiceDesc = grpc.ServiceDesc{ ServiceName: "encore.daemon.Daemon", HandlerType: (*DaemonServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "TestSpec", Handler: _Daemon_TestSpec_Handler, }, { 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, }, { MethodName: "DumpMeta", Handler: _Daemon_DumpMeta_Handler, }, { MethodName: "Telemetry", Handler: _Daemon_Telemetry_Handler, }, { MethodName: "CreateApp", Handler: _Daemon_CreateApp_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 ¶
func (x *CheckRequest) GetCodegenDebug() bool
func (*CheckRequest) GetEnviron ¶
func (x *CheckRequest) GetEnviron() []string
func (*CheckRequest) GetParseTests ¶
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 ¶
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
func (*CommandDisplayErrors) Descriptor() ([]byte, []int)
Deprecated: Use CommandDisplayErrors.ProtoReflect.Descriptor instead.
func (*CommandDisplayErrors) GetErrinsrc ¶
func (x *CommandDisplayErrors) GetErrinsrc() []byte
func (*CommandDisplayErrors) ProtoMessage ¶
func (*CommandDisplayErrors) ProtoMessage()
func (*CommandDisplayErrors) ProtoReflect ¶
func (x *CommandDisplayErrors) ProtoReflect() protoreflect.Message
func (*CommandDisplayErrors) Reset ¶
func (x *CommandDisplayErrors) Reset()
func (*CommandDisplayErrors) String ¶
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 ¶
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 ¶
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 CreateAppRequest ¶
type CreateAppRequest 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"`
// template is the template used to create the app
Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
// tutorial is a flag to indicate if the app is a tutorial app
Tutorial bool `protobuf:"varint,3,opt,name=tutorial,proto3" json:"tutorial,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAppRequest) Descriptor
deprecated
func (*CreateAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAppRequest.ProtoReflect.Descriptor instead.
func (*CreateAppRequest) GetAppRoot ¶
func (x *CreateAppRequest) GetAppRoot() string
func (*CreateAppRequest) GetTemplate ¶
func (x *CreateAppRequest) GetTemplate() string
func (*CreateAppRequest) GetTutorial ¶
func (x *CreateAppRequest) GetTutorial() bool
func (*CreateAppRequest) ProtoMessage ¶
func (*CreateAppRequest) ProtoMessage()
func (*CreateAppRequest) ProtoReflect ¶
func (x *CreateAppRequest) ProtoReflect() protoreflect.Message
func (*CreateAppRequest) Reset ¶
func (x *CreateAppRequest) Reset()
func (*CreateAppRequest) String ¶
func (x *CreateAppRequest) String() string
type CreateAppResponse ¶
type CreateAppResponse struct {
AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAppResponse) Descriptor
deprecated
func (*CreateAppResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAppResponse.ProtoReflect.Descriptor instead.
func (*CreateAppResponse) GetAppId ¶
func (x *CreateAppResponse) GetAppId() string
func (*CreateAppResponse) ProtoMessage ¶
func (*CreateAppResponse) ProtoMessage()
func (*CreateAppResponse) ProtoReflect ¶
func (x *CreateAppResponse) ProtoReflect() protoreflect.Message
func (*CreateAppResponse) Reset ¶
func (x *CreateAppResponse) Reset()
func (*CreateAppResponse) String ¶
func (x *CreateAppResponse) String() string
type CreateNamespaceRequest ¶
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
func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.
func (*CreateNamespaceRequest) GetAppRoot ¶
func (x *CreateNamespaceRequest) GetAppRoot() string
func (*CreateNamespaceRequest) GetName ¶
func (x *CreateNamespaceRequest) GetName() string
func (*CreateNamespaceRequest) ProtoMessage ¶
func (*CreateNamespaceRequest) ProtoMessage()
func (*CreateNamespaceRequest) ProtoReflect ¶
func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
func (*CreateNamespaceRequest) Reset ¶
func (x *CreateNamespaceRequest) Reset()
func (*CreateNamespaceRequest) String ¶
func (x *CreateNamespaceRequest) String() string
type DBClusterType ¶
type DBClusterType int32
const ( DBClusterType_DB_CLUSTER_TYPE_UNSPECIFIED DBClusterType = 0 DBClusterType_DB_CLUSTER_TYPE_RUN DBClusterType = 1 DBClusterType_DB_CLUSTER_TYPE_TEST DBClusterType = 2 DBClusterType_DB_CLUSTER_TYPE_SHADOW DBClusterType = 3 )
func (DBClusterType) Descriptor ¶
func (DBClusterType) Descriptor() protoreflect.EnumDescriptor
func (DBClusterType) Enum ¶
func (x DBClusterType) Enum() *DBClusterType
func (DBClusterType) EnumDescriptor
deprecated
func (DBClusterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DBClusterType.Descriptor instead.
func (DBClusterType) Number ¶
func (x DBClusterType) Number() protoreflect.EnumNumber
func (DBClusterType) String ¶
func (x DBClusterType) String() string
func (DBClusterType) Type ¶
func (DBClusterType) Type() protoreflect.EnumType
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
ClusterType DBClusterType `` /* 128-byte string literal not displayed */
// 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"`
Role DBRole `protobuf:"varint,6,opt,name=role,proto3,enum=encore.daemon.DBRole" json:"role,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) GetClusterType ¶
func (x *DBConnectRequest) GetClusterType() DBClusterType
func (*DBConnectRequest) GetDbName ¶
func (x *DBConnectRequest) GetDbName() string
func (*DBConnectRequest) GetEnvName ¶
func (x *DBConnectRequest) GetEnvName() string
func (*DBConnectRequest) GetNamespace ¶
func (x *DBConnectRequest) GetNamespace() string
func (*DBConnectRequest) GetRole ¶
func (x *DBConnectRequest) GetRole() DBRole
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
ClusterType DBClusterType `` /* 128-byte string literal not displayed */
// 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"`
Role DBRole `protobuf:"varint,6,opt,name=role,proto3,enum=encore.daemon.DBRole" json:"role,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) GetClusterType ¶
func (x *DBProxyRequest) GetClusterType() DBClusterType
func (*DBProxyRequest) GetEnvName ¶
func (x *DBProxyRequest) GetEnvName() string
func (*DBProxyRequest) GetNamespace ¶
func (x *DBProxyRequest) GetNamespace() string
func (*DBProxyRequest) GetPort ¶
func (x *DBProxyRequest) GetPort() int32
func (*DBProxyRequest) GetRole ¶
func (x *DBProxyRequest) GetRole() DBRole
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
ClusterType DBClusterType `` /* 128-byte string literal not displayed */
// 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) GetClusterType ¶
func (x *DBResetRequest) GetClusterType() DBClusterType
func (*DBResetRequest) GetDatabaseNames ¶
func (x *DBResetRequest) GetDatabaseNames() []string
func (*DBResetRequest) GetNamespace ¶
func (x *DBResetRequest) GetNamespace() 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 DBRole ¶
type DBRole int32
func (DBRole) Descriptor ¶
func (DBRole) Descriptor() protoreflect.EnumDescriptor
func (DBRole) EnumDescriptor
deprecated
func (DBRole) Number ¶
func (x DBRole) Number() protoreflect.EnumNumber
func (DBRole) Type ¶
func (DBRole) Type() protoreflect.EnumType
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)
// TestSpec returns the specification for how to run tests.
TestSpec(ctx context.Context, in *TestSpecRequest, opts ...grpc.CallOption) (*TestSpecResponse, 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)
DumpMeta(ctx context.Context, in *DumpMetaRequest, opts ...grpc.CallOption) (*DumpMetaResponse, error)
// Telemetry enables or disables telemetry.
Telemetry(ctx context.Context, in *TelemetryConfig, opts ...grpc.CallOption) (*emptypb.Empty, error)
// InitTutorial sets the tutorial flag of the app
CreateApp(ctx context.Context, in *CreateAppRequest, opts ...grpc.CallOption) (*CreateAppResponse, 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
// TestSpec returns the specification for how to run tests.
TestSpec(context.Context, *TestSpecRequest) (*TestSpecResponse, 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)
DumpMeta(context.Context, *DumpMetaRequest) (*DumpMetaResponse, error)
// Telemetry enables or disables telemetry.
Telemetry(context.Context, *TelemetryConfig) (*emptypb.Empty, error)
// InitTutorial sets the tutorial flag of the app
CreateApp(context.Context, *CreateAppRequest) (*CreateAppResponse, 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 ¶
type Daemon_ExecScriptClient interface {
Recv() (*CommandMessage, error)
grpc.ClientStream
}
type Daemon_ExecScriptServer ¶
type Daemon_ExecScriptServer interface {
Send(*CommandMessage) error
grpc.ServerStream
}
type Daemon_ExportClient ¶
type Daemon_ExportClient interface {
Recv() (*CommandMessage, error)
grpc.ClientStream
}
type Daemon_ExportServer ¶
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 ¶
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
func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceRequest) GetAppRoot ¶
func (x *DeleteNamespaceRequest) GetAppRoot() string
func (*DeleteNamespaceRequest) GetName ¶
func (x *DeleteNamespaceRequest) GetName() string
func (*DeleteNamespaceRequest) ProtoMessage ¶
func (*DeleteNamespaceRequest) ProtoMessage()
func (*DeleteNamespaceRequest) ProtoReflect ¶
func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceRequest) Reset ¶
func (x *DeleteNamespaceRequest) Reset()
func (*DeleteNamespaceRequest) String ¶
func (x *DeleteNamespaceRequest) String() string
type DockerExportParams ¶
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
func (*DockerExportParams) Descriptor() ([]byte, []int)
Deprecated: Use DockerExportParams.ProtoReflect.Descriptor instead.
func (*DockerExportParams) GetBaseImageTag ¶
func (x *DockerExportParams) GetBaseImageTag() string
func (*DockerExportParams) GetLocalDaemonTag ¶
func (x *DockerExportParams) GetLocalDaemonTag() string
func (*DockerExportParams) GetPushDestinationTag ¶
func (x *DockerExportParams) GetPushDestinationTag() string
func (*DockerExportParams) ProtoMessage ¶
func (*DockerExportParams) ProtoMessage()
func (*DockerExportParams) ProtoReflect ¶
func (x *DockerExportParams) ProtoReflect() protoreflect.Message
func (*DockerExportParams) Reset ¶
func (x *DockerExportParams) Reset()
func (*DockerExportParams) String ¶
func (x *DockerExportParams) String() string
type DumpMetaRequest ¶
type DumpMetaRequest 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"` // for error reporting
// 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,3,rep,name=environ,proto3" json:"environ,omitempty"`
// Whether or not to parse tests.
ParseTests bool `protobuf:"varint,4,opt,name=parse_tests,json=parseTests,proto3" json:"parse_tests,omitempty"`
Format DumpMetaRequest_Format `protobuf:"varint,5,opt,name=format,proto3,enum=encore.daemon.DumpMetaRequest_Format" json:"format,omitempty"`
// contains filtered or unexported fields
}
func (*DumpMetaRequest) Descriptor
deprecated
func (*DumpMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use DumpMetaRequest.ProtoReflect.Descriptor instead.
func (*DumpMetaRequest) GetAppRoot ¶
func (x *DumpMetaRequest) GetAppRoot() string
func (*DumpMetaRequest) GetEnviron ¶
func (x *DumpMetaRequest) GetEnviron() []string
func (*DumpMetaRequest) GetFormat ¶
func (x *DumpMetaRequest) GetFormat() DumpMetaRequest_Format
func (*DumpMetaRequest) GetParseTests ¶
func (x *DumpMetaRequest) GetParseTests() bool
func (*DumpMetaRequest) GetWorkingDir ¶
func (x *DumpMetaRequest) GetWorkingDir() string
func (*DumpMetaRequest) ProtoMessage ¶
func (*DumpMetaRequest) ProtoMessage()
func (*DumpMetaRequest) ProtoReflect ¶
func (x *DumpMetaRequest) ProtoReflect() protoreflect.Message
func (*DumpMetaRequest) Reset ¶
func (x *DumpMetaRequest) Reset()
func (*DumpMetaRequest) String ¶
func (x *DumpMetaRequest) String() string
type DumpMetaRequest_Format ¶
type DumpMetaRequest_Format int32
const ( DumpMetaRequest_FORMAT_UNSPECIFIED DumpMetaRequest_Format = 0 DumpMetaRequest_FORMAT_JSON DumpMetaRequest_Format = 1 DumpMetaRequest_FORMAT_PROTO DumpMetaRequest_Format = 2 )
func (DumpMetaRequest_Format) Descriptor ¶
func (DumpMetaRequest_Format) Descriptor() protoreflect.EnumDescriptor
func (DumpMetaRequest_Format) Enum ¶
func (x DumpMetaRequest_Format) Enum() *DumpMetaRequest_Format
func (DumpMetaRequest_Format) EnumDescriptor
deprecated
func (DumpMetaRequest_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use DumpMetaRequest_Format.Descriptor instead.
func (DumpMetaRequest_Format) Number ¶
func (x DumpMetaRequest_Format) Number() protoreflect.EnumNumber
func (DumpMetaRequest_Format) String ¶
func (x DumpMetaRequest_Format) String() string
func (DumpMetaRequest_Format) Type ¶
func (DumpMetaRequest_Format) Type() protoreflect.EnumType
type DumpMetaResponse ¶
type DumpMetaResponse struct {
Meta []byte `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*DumpMetaResponse) Descriptor
deprecated
func (*DumpMetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use DumpMetaResponse.ProtoReflect.Descriptor instead.
func (*DumpMetaResponse) GetMeta ¶
func (x *DumpMetaResponse) GetMeta() []byte
func (*DumpMetaResponse) ProtoMessage ¶
func (*DumpMetaResponse) ProtoMessage()
func (*DumpMetaResponse) ProtoReflect ¶
func (x *DumpMetaResponse) ProtoReflect() protoreflect.Message
func (*DumpMetaResponse) Reset ¶
func (x *DumpMetaResponse) Reset()
func (*DumpMetaResponse) String ¶
func (x *DumpMetaResponse) String() string
type ExecScriptRequest ¶
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"`
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
func (*ExecScriptRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecScriptRequest.ProtoReflect.Descriptor instead.
func (*ExecScriptRequest) GetAppRoot ¶
func (x *ExecScriptRequest) GetAppRoot() string
func (*ExecScriptRequest) GetEnviron ¶
func (x *ExecScriptRequest) GetEnviron() []string
func (*ExecScriptRequest) GetNamespace ¶
func (x *ExecScriptRequest) GetNamespace() string
func (*ExecScriptRequest) GetScriptArgs ¶
func (x *ExecScriptRequest) GetScriptArgs() []string
func (*ExecScriptRequest) GetTraceFile ¶
func (x *ExecScriptRequest) GetTraceFile() string
func (*ExecScriptRequest) GetWorkingDir ¶
func (x *ExecScriptRequest) GetWorkingDir() string
func (*ExecScriptRequest) ProtoMessage ¶
func (*ExecScriptRequest) ProtoMessage()
func (*ExecScriptRequest) ProtoReflect ¶
func (x *ExecScriptRequest) ProtoReflect() protoreflect.Message
func (*ExecScriptRequest) Reset ¶
func (x *ExecScriptRequest) Reset()
func (*ExecScriptRequest) String ¶
func (x *ExecScriptRequest) String() string
type ExportRequest ¶
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"`
InfraConfPath string `protobuf:"bytes,7,opt,name=infra_conf_path,json=infraConfPath,proto3" json:"infra_conf_path,omitempty"`
Services []string `protobuf:"bytes,8,rep,name=services,proto3" json:"services,omitempty"`
Gateways []string `protobuf:"bytes,9,rep,name=gateways,proto3" json:"gateways,omitempty"`
SkipInfraConf bool `protobuf:"varint,10,opt,name=skip_infra_conf,json=skipInfraConf,proto3" json:"skip_infra_conf,omitempty"`
// A parent path to app_root containing the .git, or the same as app_root
WorkspaceRoot string `protobuf:"bytes,11,opt,name=workspace_root,json=workspaceRoot,proto3" json:"workspace_root,omitempty"`
// contains filtered or unexported fields
}
func (*ExportRequest) Descriptor
deprecated
func (*ExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportRequest.ProtoReflect.Descriptor instead.
func (*ExportRequest) GetAppRoot ¶
func (x *ExportRequest) GetAppRoot() string
func (*ExportRequest) GetCgoEnabled ¶
func (x *ExportRequest) GetCgoEnabled() bool
func (*ExportRequest) GetDocker ¶
func (x *ExportRequest) GetDocker() *DockerExportParams
func (*ExportRequest) GetEnviron ¶
func (x *ExportRequest) GetEnviron() []string
func (*ExportRequest) GetFormat ¶
func (m *ExportRequest) GetFormat() isExportRequest_Format
func (*ExportRequest) GetGateways ¶
func (x *ExportRequest) GetGateways() []string
func (*ExportRequest) GetGoarch ¶
func (x *ExportRequest) GetGoarch() string
func (*ExportRequest) GetGoos ¶
func (x *ExportRequest) GetGoos() string
func (*ExportRequest) GetInfraConfPath ¶
func (x *ExportRequest) GetInfraConfPath() string
func (*ExportRequest) GetServices ¶
func (x *ExportRequest) GetServices() []string
func (*ExportRequest) GetSkipInfraConf ¶
func (x *ExportRequest) GetSkipInfraConf() bool
func (*ExportRequest) GetWorkspaceRoot ¶
func (x *ExportRequest) GetWorkspaceRoot() string
func (*ExportRequest) ProtoMessage ¶
func (*ExportRequest) ProtoMessage()
func (*ExportRequest) ProtoReflect ¶
func (x *ExportRequest) ProtoReflect() protoreflect.Message
func (*ExportRequest) Reset ¶
func (x *ExportRequest) Reset()
func (*ExportRequest) String ¶
func (x *ExportRequest) String() string
type ExportRequest_Docker ¶
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"`
// Services to exclude from the output.
// Takes precedence over 'services' above.
ExcludedServices []string `protobuf:"bytes,6,rep,name=excluded_services,json=excludedServices,proto3" json:"excluded_services,omitempty"`
// Tags of endpoints to include in the output.
// Only includes endpoints from services included in 'services' above.
EndpointTags []string `protobuf:"bytes,7,rep,name=endpoint_tags,json=endpointTags,proto3" json:"endpoint_tags,omitempty"`
// Tags of endpoints to exclude from the output.
// Takes precedence over 'endpoint_tags' above.
ExcludedEndpointTags []string `protobuf:"bytes,8,rep,name=excluded_endpoint_tags,json=excludedEndpointTags,proto3" json:"excluded_endpoint_tags,omitempty"`
// The OpenAPI spec generator by default includes private endpoints.
// If this is set to `true`, private endpoints will not be included
// in the generated OpenAPI spec.
OpenapiExcludePrivateEndpoints *bool `` /* 162-byte string literal not displayed */
// If this is set to `true`, the types will be imported and shared between
// the client and the server. It assumes "~backend" is available in the
// import path.
TsSharedTypes *bool `protobuf:"varint,10,opt,name=ts_shared_types,json=tsSharedTypes,proto3,oneof" json:"ts_shared_types,omitempty"`
// If set, the default export of the generate TypeScript client will be
// an instantiated client with the given target. The target can be e.g.
// a variable, e.g. "import.meta.env.VITE_CLIENT_TARGET" or a string literal.
TsClientTarget *string `protobuf:"bytes,11,opt,name=ts_client_target,json=tsClientTarget,proto3,oneof" json:"ts_client_target,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) GetEndpointTags ¶
func (x *GenClientRequest) GetEndpointTags() []string
func (*GenClientRequest) GetEnvName ¶
func (x *GenClientRequest) GetEnvName() string
func (*GenClientRequest) GetExcludedEndpointTags ¶
func (x *GenClientRequest) GetExcludedEndpointTags() []string
func (*GenClientRequest) GetExcludedServices ¶
func (x *GenClientRequest) GetExcludedServices() []string
func (*GenClientRequest) GetFilepath ¶
func (x *GenClientRequest) GetFilepath() string
func (*GenClientRequest) GetLang ¶
func (x *GenClientRequest) GetLang() string
func (*GenClientRequest) GetOpenapiExcludePrivateEndpoints ¶
func (x *GenClientRequest) GetOpenapiExcludePrivateEndpoints() bool
func (*GenClientRequest) GetServices ¶
func (x *GenClientRequest) GetServices() []string
func (*GenClientRequest) GetTsClientTarget ¶
func (x *GenClientRequest) GetTsClientTarget() string
func (*GenClientRequest) GetTsSharedTypes ¶
func (x *GenClientRequest) GetTsSharedTypes() bool
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 ¶
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
func (*GenWrappersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenWrappersRequest.ProtoReflect.Descriptor instead.
func (*GenWrappersRequest) GetAppRoot ¶
func (x *GenWrappersRequest) GetAppRoot() string
func (*GenWrappersRequest) ProtoMessage ¶
func (*GenWrappersRequest) ProtoMessage()
func (*GenWrappersRequest) ProtoReflect ¶
func (x *GenWrappersRequest) ProtoReflect() protoreflect.Message
func (*GenWrappersRequest) Reset ¶
func (x *GenWrappersRequest) Reset()
func (*GenWrappersRequest) String ¶
func (x *GenWrappersRequest) String() string
type GenWrappersResponse ¶
type GenWrappersResponse struct {
// contains filtered or unexported fields
}
func (*GenWrappersResponse) Descriptor
deprecated
func (*GenWrappersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenWrappersResponse.ProtoReflect.Descriptor instead.
func (*GenWrappersResponse) ProtoMessage ¶
func (*GenWrappersResponse) ProtoMessage()
func (*GenWrappersResponse) ProtoReflect ¶
func (x *GenWrappersResponse) ProtoReflect() protoreflect.Message
func (*GenWrappersResponse) Reset ¶
func (x *GenWrappersResponse) Reset()
func (*GenWrappersResponse) String ¶
func (x *GenWrappersResponse) String() string
type ListNamespacesRequest ¶
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
func (*ListNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead.
func (*ListNamespacesRequest) GetAppRoot ¶
func (x *ListNamespacesRequest) GetAppRoot() string
func (*ListNamespacesRequest) ProtoMessage ¶
func (*ListNamespacesRequest) ProtoMessage()
func (*ListNamespacesRequest) ProtoReflect ¶
func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message
func (*ListNamespacesRequest) Reset ¶
func (x *ListNamespacesRequest) Reset()
func (*ListNamespacesRequest) String ¶
func (x *ListNamespacesRequest) String() string
type ListNamespacesResponse ¶
type ListNamespacesResponse struct {
Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
// contains filtered or unexported fields
}
func (*ListNamespacesResponse) Descriptor
deprecated
func (*ListNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.
func (*ListNamespacesResponse) GetNamespaces ¶
func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
func (*ListNamespacesResponse) ProtoMessage ¶
func (*ListNamespacesResponse) ProtoMessage()
func (*ListNamespacesResponse) ProtoReflect ¶
func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
func (*ListNamespacesResponse) Reset ¶
func (x *ListNamespacesResponse) Reset()
func (*ListNamespacesResponse) String ¶
func (x *ListNamespacesResponse) String() string
type Namespace ¶
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
func (*Namespace) GetCreatedAt ¶
func (*Namespace) GetLastActiveAt ¶
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
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"`
// 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"`
// browser specifies whether and how to open the browser on startup.
Browser RunRequest_BrowserMode `protobuf:"varint,10,opt,name=browser,proto3,enum=encore.daemon.RunRequest_BrowserMode" json:"browser,omitempty"`
// debug_mode specifies the debug mode to use.
DebugMode RunRequest_DebugMode `` /* 130-byte string literal not displayed */
// 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) GetBrowser ¶
func (x *RunRequest) GetBrowser() RunRequest_BrowserMode
func (*RunRequest) GetDebugMode ¶
func (x *RunRequest) GetDebugMode() RunRequest_DebugMode
func (*RunRequest) GetEnviron ¶
func (x *RunRequest) GetEnviron() []string
func (*RunRequest) GetListenAddr ¶
func (x *RunRequest) GetListenAddr() string
func (*RunRequest) GetNamespace ¶
func (x *RunRequest) GetNamespace() string
func (*RunRequest) GetTraceFile ¶
func (x *RunRequest) GetTraceFile() string
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 RunRequest_BrowserMode ¶
type RunRequest_BrowserMode int32
const ( RunRequest_BROWSER_AUTO RunRequest_BrowserMode = 0 RunRequest_BROWSER_NEVER RunRequest_BrowserMode = 1 RunRequest_BROWSER_ALWAYS RunRequest_BrowserMode = 2 )
func (RunRequest_BrowserMode) Descriptor ¶
func (RunRequest_BrowserMode) Descriptor() protoreflect.EnumDescriptor
func (RunRequest_BrowserMode) Enum ¶
func (x RunRequest_BrowserMode) Enum() *RunRequest_BrowserMode
func (RunRequest_BrowserMode) EnumDescriptor
deprecated
func (RunRequest_BrowserMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use RunRequest_BrowserMode.Descriptor instead.
func (RunRequest_BrowserMode) Number ¶
func (x RunRequest_BrowserMode) Number() protoreflect.EnumNumber
func (RunRequest_BrowserMode) String ¶
func (x RunRequest_BrowserMode) String() string
func (RunRequest_BrowserMode) Type ¶
func (RunRequest_BrowserMode) Type() protoreflect.EnumType
type RunRequest_DebugMode ¶
type RunRequest_DebugMode int32
const ( RunRequest_DEBUG_DISABLED RunRequest_DebugMode = 0 RunRequest_DEBUG_ENABLED RunRequest_DebugMode = 1 RunRequest_DEBUG_BREAK RunRequest_DebugMode = 2 )
func (RunRequest_DebugMode) Descriptor ¶
func (RunRequest_DebugMode) Descriptor() protoreflect.EnumDescriptor
func (RunRequest_DebugMode) Enum ¶
func (x RunRequest_DebugMode) Enum() *RunRequest_DebugMode
func (RunRequest_DebugMode) EnumDescriptor
deprecated
func (RunRequest_DebugMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use RunRequest_DebugMode.Descriptor instead.
func (RunRequest_DebugMode) Number ¶
func (x RunRequest_DebugMode) Number() protoreflect.EnumNumber
func (RunRequest_DebugMode) String ¶
func (x RunRequest_DebugMode) String() string
func (RunRequest_DebugMode) Type ¶
func (RunRequest_DebugMode) Type() protoreflect.EnumType
type SQLCPlugin ¶
type SQLCPlugin struct {
// contains filtered or unexported fields
}
The following messages are used for sqlc plugin integration.
func (*SQLCPlugin) Descriptor
deprecated
func (*SQLCPlugin) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin.ProtoReflect.Descriptor instead.
func (*SQLCPlugin) ProtoMessage ¶
func (*SQLCPlugin) ProtoMessage()
func (*SQLCPlugin) ProtoReflect ¶
func (x *SQLCPlugin) ProtoReflect() protoreflect.Message
func (*SQLCPlugin) Reset ¶
func (x *SQLCPlugin) Reset()
func (*SQLCPlugin) String ¶
func (x *SQLCPlugin) String() string
type SQLCPlugin_Catalog ¶
type SQLCPlugin_Catalog struct {
Comment string `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
DefaultSchema string `protobuf:"bytes,2,opt,name=default_schema,json=defaultSchema,proto3" json:"default_schema,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Schemas []*SQLCPlugin_Schema `protobuf:"bytes,4,rep,name=schemas,proto3" json:"schemas,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_Catalog) Descriptor
deprecated
func (*SQLCPlugin_Catalog) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_Catalog.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_Catalog) GetComment ¶
func (x *SQLCPlugin_Catalog) GetComment() string
func (*SQLCPlugin_Catalog) GetDefaultSchema ¶
func (x *SQLCPlugin_Catalog) GetDefaultSchema() string
func (*SQLCPlugin_Catalog) GetName ¶
func (x *SQLCPlugin_Catalog) GetName() string
func (*SQLCPlugin_Catalog) GetSchemas ¶
func (x *SQLCPlugin_Catalog) GetSchemas() []*SQLCPlugin_Schema
func (*SQLCPlugin_Catalog) ProtoMessage ¶
func (*SQLCPlugin_Catalog) ProtoMessage()
func (*SQLCPlugin_Catalog) ProtoReflect ¶
func (x *SQLCPlugin_Catalog) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_Catalog) Reset ¶
func (x *SQLCPlugin_Catalog) Reset()
func (*SQLCPlugin_Catalog) String ¶
func (x *SQLCPlugin_Catalog) String() string
type SQLCPlugin_Codegen ¶
type SQLCPlugin_Codegen struct {
Out string `protobuf:"bytes,1,opt,name=out,proto3" json:"out,omitempty"`
Plugin string `protobuf:"bytes,2,opt,name=plugin,proto3" json:"plugin,omitempty"`
Options []byte `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
Env []string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
Process *SQLCPlugin_Codegen_Process `protobuf:"bytes,5,opt,name=process,proto3" json:"process,omitempty"`
Wasm *SQLCPlugin_Codegen_WASM `protobuf:"bytes,6,opt,name=wasm,proto3" json:"wasm,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_Codegen) Descriptor
deprecated
func (*SQLCPlugin_Codegen) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_Codegen.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_Codegen) GetEnv ¶
func (x *SQLCPlugin_Codegen) GetEnv() []string
func (*SQLCPlugin_Codegen) GetOptions ¶
func (x *SQLCPlugin_Codegen) GetOptions() []byte
func (*SQLCPlugin_Codegen) GetOut ¶
func (x *SQLCPlugin_Codegen) GetOut() string
func (*SQLCPlugin_Codegen) GetPlugin ¶
func (x *SQLCPlugin_Codegen) GetPlugin() string
func (*SQLCPlugin_Codegen) GetProcess ¶
func (x *SQLCPlugin_Codegen) GetProcess() *SQLCPlugin_Codegen_Process
func (*SQLCPlugin_Codegen) GetWasm ¶
func (x *SQLCPlugin_Codegen) GetWasm() *SQLCPlugin_Codegen_WASM
func (*SQLCPlugin_Codegen) ProtoMessage ¶
func (*SQLCPlugin_Codegen) ProtoMessage()
func (*SQLCPlugin_Codegen) ProtoReflect ¶
func (x *SQLCPlugin_Codegen) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_Codegen) Reset ¶
func (x *SQLCPlugin_Codegen) Reset()
func (*SQLCPlugin_Codegen) String ¶
func (x *SQLCPlugin_Codegen) String() string
type SQLCPlugin_Codegen_Process ¶
type SQLCPlugin_Codegen_Process struct {
Cmd string `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_Codegen_Process) Descriptor
deprecated
func (*SQLCPlugin_Codegen_Process) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_Codegen_Process.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_Codegen_Process) GetCmd ¶
func (x *SQLCPlugin_Codegen_Process) GetCmd() string
func (*SQLCPlugin_Codegen_Process) ProtoMessage ¶
func (*SQLCPlugin_Codegen_Process) ProtoMessage()
func (*SQLCPlugin_Codegen_Process) ProtoReflect ¶
func (x *SQLCPlugin_Codegen_Process) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_Codegen_Process) Reset ¶
func (x *SQLCPlugin_Codegen_Process) Reset()
func (*SQLCPlugin_Codegen_Process) String ¶
func (x *SQLCPlugin_Codegen_Process) String() string
type SQLCPlugin_Codegen_WASM ¶
type SQLCPlugin_Codegen_WASM struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_Codegen_WASM) Descriptor
deprecated
func (*SQLCPlugin_Codegen_WASM) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_Codegen_WASM.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_Codegen_WASM) GetSha256 ¶
func (x *SQLCPlugin_Codegen_WASM) GetSha256() string
func (*SQLCPlugin_Codegen_WASM) GetUrl ¶
func (x *SQLCPlugin_Codegen_WASM) GetUrl() string
func (*SQLCPlugin_Codegen_WASM) ProtoMessage ¶
func (*SQLCPlugin_Codegen_WASM) ProtoMessage()
func (*SQLCPlugin_Codegen_WASM) ProtoReflect ¶
func (x *SQLCPlugin_Codegen_WASM) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_Codegen_WASM) Reset ¶
func (x *SQLCPlugin_Codegen_WASM) Reset()
func (*SQLCPlugin_Codegen_WASM) String ¶
func (x *SQLCPlugin_Codegen_WASM) String() string
type SQLCPlugin_Column ¶
type SQLCPlugin_Column struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
NotNull bool `protobuf:"varint,3,opt,name=not_null,json=notNull,proto3" json:"not_null,omitempty"`
IsArray bool `protobuf:"varint,4,opt,name=is_array,json=isArray,proto3" json:"is_array,omitempty"`
Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`
Length int32 `protobuf:"varint,6,opt,name=length,proto3" json:"length,omitempty"`
IsNamedParam bool `protobuf:"varint,7,opt,name=is_named_param,json=isNamedParam,proto3" json:"is_named_param,omitempty"`
IsFuncCall bool `protobuf:"varint,8,opt,name=is_func_call,json=isFuncCall,proto3" json:"is_func_call,omitempty"`
// XXX: Figure out what PostgreSQL calls `foo.id`
Scope string `protobuf:"bytes,9,opt,name=scope,proto3" json:"scope,omitempty"`
Table *SQLCPlugin_Identifier `protobuf:"bytes,10,opt,name=table,proto3" json:"table,omitempty"`
TableAlias string `protobuf:"bytes,11,opt,name=table_alias,json=tableAlias,proto3" json:"table_alias,omitempty"`
Type *SQLCPlugin_Identifier `protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty"`
IsSqlcSlice bool `protobuf:"varint,13,opt,name=is_sqlc_slice,json=isSqlcSlice,proto3" json:"is_sqlc_slice,omitempty"`
EmbedTable *SQLCPlugin_Identifier `protobuf:"bytes,14,opt,name=embed_table,json=embedTable,proto3" json:"embed_table,omitempty"`
OriginalName string `protobuf:"bytes,15,opt,name=original_name,json=originalName,proto3" json:"original_name,omitempty"`
Unsigned bool `protobuf:"varint,16,opt,name=unsigned,proto3" json:"unsigned,omitempty"`
ArrayDims int32 `protobuf:"varint,17,opt,name=array_dims,json=arrayDims,proto3" json:"array_dims,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_Column) Descriptor
deprecated
func (*SQLCPlugin_Column) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_Column.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_Column) GetArrayDims ¶
func (x *SQLCPlugin_Column) GetArrayDims() int32
func (*SQLCPlugin_Column) GetComment ¶
func (x *SQLCPlugin_Column) GetComment() string
func (*SQLCPlugin_Column) GetEmbedTable ¶
func (x *SQLCPlugin_Column) GetEmbedTable() *SQLCPlugin_Identifier
func (*SQLCPlugin_Column) GetIsArray ¶
func (x *SQLCPlugin_Column) GetIsArray() bool
func (*SQLCPlugin_Column) GetIsFuncCall ¶
func (x *SQLCPlugin_Column) GetIsFuncCall() bool
func (*SQLCPlugin_Column) GetIsNamedParam ¶
func (x *SQLCPlugin_Column) GetIsNamedParam() bool
func (*SQLCPlugin_Column) GetIsSqlcSlice ¶
func (x *SQLCPlugin_Column) GetIsSqlcSlice() bool
func (*SQLCPlugin_Column) GetLength ¶
func (x *SQLCPlugin_Column) GetLength() int32
func (*SQLCPlugin_Column) GetName ¶
func (x *SQLCPlugin_Column) GetName() string
func (*SQLCPlugin_Column) GetNotNull ¶
func (x *SQLCPlugin_Column) GetNotNull() bool
func (*SQLCPlugin_Column) GetOriginalName ¶
func (x *SQLCPlugin_Column) GetOriginalName() string
func (*SQLCPlugin_Column) GetScope ¶
func (x *SQLCPlugin_Column) GetScope() string
func (*SQLCPlugin_Column) GetTable ¶
func (x *SQLCPlugin_Column) GetTable() *SQLCPlugin_Identifier
func (*SQLCPlugin_Column) GetTableAlias ¶
func (x *SQLCPlugin_Column) GetTableAlias() string
func (*SQLCPlugin_Column) GetType ¶
func (x *SQLCPlugin_Column) GetType() *SQLCPlugin_Identifier
func (*SQLCPlugin_Column) GetUnsigned ¶
func (x *SQLCPlugin_Column) GetUnsigned() bool
func (*SQLCPlugin_Column) ProtoMessage ¶
func (*SQLCPlugin_Column) ProtoMessage()
func (*SQLCPlugin_Column) ProtoReflect ¶
func (x *SQLCPlugin_Column) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_Column) Reset ¶
func (x *SQLCPlugin_Column) Reset()
func (*SQLCPlugin_Column) String ¶
func (x *SQLCPlugin_Column) String() string
type SQLCPlugin_CompositeType ¶
type SQLCPlugin_CompositeType struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_CompositeType) Descriptor
deprecated
func (*SQLCPlugin_CompositeType) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_CompositeType.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_CompositeType) GetComment ¶
func (x *SQLCPlugin_CompositeType) GetComment() string
func (*SQLCPlugin_CompositeType) GetName ¶
func (x *SQLCPlugin_CompositeType) GetName() string
func (*SQLCPlugin_CompositeType) ProtoMessage ¶
func (*SQLCPlugin_CompositeType) ProtoMessage()
func (*SQLCPlugin_CompositeType) ProtoReflect ¶
func (x *SQLCPlugin_CompositeType) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_CompositeType) Reset ¶
func (x *SQLCPlugin_CompositeType) Reset()
func (*SQLCPlugin_CompositeType) String ¶
func (x *SQLCPlugin_CompositeType) String() string
type SQLCPlugin_Enum ¶
type SQLCPlugin_Enum struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Vals []string `protobuf:"bytes,2,rep,name=vals,proto3" json:"vals,omitempty"`
Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_Enum) Descriptor
deprecated
func (*SQLCPlugin_Enum) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_Enum.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_Enum) GetComment ¶
func (x *SQLCPlugin_Enum) GetComment() string
func (*SQLCPlugin_Enum) GetName ¶
func (x *SQLCPlugin_Enum) GetName() string
func (*SQLCPlugin_Enum) GetVals ¶
func (x *SQLCPlugin_Enum) GetVals() []string
func (*SQLCPlugin_Enum) ProtoMessage ¶
func (*SQLCPlugin_Enum) ProtoMessage()
func (*SQLCPlugin_Enum) ProtoReflect ¶
func (x *SQLCPlugin_Enum) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_Enum) Reset ¶
func (x *SQLCPlugin_Enum) Reset()
func (*SQLCPlugin_Enum) String ¶
func (x *SQLCPlugin_Enum) String() string
type SQLCPlugin_File ¶
type SQLCPlugin_File struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_File) Descriptor
deprecated
func (*SQLCPlugin_File) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_File.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_File) GetContents ¶
func (x *SQLCPlugin_File) GetContents() []byte
func (*SQLCPlugin_File) GetName ¶
func (x *SQLCPlugin_File) GetName() string
func (*SQLCPlugin_File) ProtoMessage ¶
func (*SQLCPlugin_File) ProtoMessage()
func (*SQLCPlugin_File) ProtoReflect ¶
func (x *SQLCPlugin_File) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_File) Reset ¶
func (x *SQLCPlugin_File) Reset()
func (*SQLCPlugin_File) String ¶
func (x *SQLCPlugin_File) String() string
type SQLCPlugin_GenerateRequest ¶
type SQLCPlugin_GenerateRequest struct {
Settings *SQLCPlugin_Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
Catalog *SQLCPlugin_Catalog `protobuf:"bytes,2,opt,name=catalog,proto3" json:"catalog,omitempty"`
Queries []*SQLCPlugin_Query `protobuf:"bytes,3,rep,name=queries,proto3" json:"queries,omitempty"`
SqlcVersion string `protobuf:"bytes,4,opt,name=sqlc_version,proto3" json:"sqlc_version,omitempty"`
PluginOptions []byte `protobuf:"bytes,5,opt,name=plugin_options,proto3" json:"plugin_options,omitempty"`
GlobalOptions []byte `protobuf:"bytes,6,opt,name=global_options,proto3" json:"global_options,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_GenerateRequest) Descriptor
deprecated
func (*SQLCPlugin_GenerateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_GenerateRequest.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_GenerateRequest) GetCatalog ¶
func (x *SQLCPlugin_GenerateRequest) GetCatalog() *SQLCPlugin_Catalog
func (*SQLCPlugin_GenerateRequest) GetGlobalOptions ¶
func (x *SQLCPlugin_GenerateRequest) GetGlobalOptions() []byte
func (*SQLCPlugin_GenerateRequest) GetPluginOptions ¶
func (x *SQLCPlugin_GenerateRequest) GetPluginOptions() []byte
func (*SQLCPlugin_GenerateRequest) GetQueries ¶
func (x *SQLCPlugin_GenerateRequest) GetQueries() []*SQLCPlugin_Query
func (*SQLCPlugin_GenerateRequest) GetSettings ¶
func (x *SQLCPlugin_GenerateRequest) GetSettings() *SQLCPlugin_Settings
func (*SQLCPlugin_GenerateRequest) GetSqlcVersion ¶
func (x *SQLCPlugin_GenerateRequest) GetSqlcVersion() string
func (*SQLCPlugin_GenerateRequest) ProtoMessage ¶
func (*SQLCPlugin_GenerateRequest) ProtoMessage()
func (*SQLCPlugin_GenerateRequest) ProtoReflect ¶
func (x *SQLCPlugin_GenerateRequest) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_GenerateRequest) Reset ¶
func (x *SQLCPlugin_GenerateRequest) Reset()
func (*SQLCPlugin_GenerateRequest) String ¶
func (x *SQLCPlugin_GenerateRequest) String() string
type SQLCPlugin_GenerateResponse ¶
type SQLCPlugin_GenerateResponse struct {
Files []*SQLCPlugin_File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_GenerateResponse) Descriptor
deprecated
func (*SQLCPlugin_GenerateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_GenerateResponse.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_GenerateResponse) GetFiles ¶
func (x *SQLCPlugin_GenerateResponse) GetFiles() []*SQLCPlugin_File
func (*SQLCPlugin_GenerateResponse) ProtoMessage ¶
func (*SQLCPlugin_GenerateResponse) ProtoMessage()
func (*SQLCPlugin_GenerateResponse) ProtoReflect ¶
func (x *SQLCPlugin_GenerateResponse) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_GenerateResponse) Reset ¶
func (x *SQLCPlugin_GenerateResponse) Reset()
func (*SQLCPlugin_GenerateResponse) String ¶
func (x *SQLCPlugin_GenerateResponse) String() string
type SQLCPlugin_Identifier ¶
type SQLCPlugin_Identifier struct {
Catalog string `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_Identifier) Descriptor
deprecated
func (*SQLCPlugin_Identifier) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_Identifier.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_Identifier) GetCatalog ¶
func (x *SQLCPlugin_Identifier) GetCatalog() string
func (*SQLCPlugin_Identifier) GetName ¶
func (x *SQLCPlugin_Identifier) GetName() string
func (*SQLCPlugin_Identifier) GetSchema ¶
func (x *SQLCPlugin_Identifier) GetSchema() string
func (*SQLCPlugin_Identifier) ProtoMessage ¶
func (*SQLCPlugin_Identifier) ProtoMessage()
func (*SQLCPlugin_Identifier) ProtoReflect ¶
func (x *SQLCPlugin_Identifier) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_Identifier) Reset ¶
func (x *SQLCPlugin_Identifier) Reset()
func (*SQLCPlugin_Identifier) String ¶
func (x *SQLCPlugin_Identifier) String() string
type SQLCPlugin_Parameter ¶
type SQLCPlugin_Parameter struct {
Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
Column *SQLCPlugin_Column `protobuf:"bytes,2,opt,name=column,proto3" json:"column,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_Parameter) Descriptor
deprecated
func (*SQLCPlugin_Parameter) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_Parameter.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_Parameter) GetColumn ¶
func (x *SQLCPlugin_Parameter) GetColumn() *SQLCPlugin_Column
func (*SQLCPlugin_Parameter) GetNumber ¶
func (x *SQLCPlugin_Parameter) GetNumber() int32
func (*SQLCPlugin_Parameter) ProtoMessage ¶
func (*SQLCPlugin_Parameter) ProtoMessage()
func (*SQLCPlugin_Parameter) ProtoReflect ¶
func (x *SQLCPlugin_Parameter) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_Parameter) Reset ¶
func (x *SQLCPlugin_Parameter) Reset()
func (*SQLCPlugin_Parameter) String ¶
func (x *SQLCPlugin_Parameter) String() string
type SQLCPlugin_Query ¶
type SQLCPlugin_Query struct {
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Cmd string `protobuf:"bytes,3,opt,name=cmd,proto3" json:"cmd,omitempty"`
Columns []*SQLCPlugin_Column `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns,omitempty"`
Params []*SQLCPlugin_Parameter `protobuf:"bytes,5,rep,name=params,json=parameters,proto3" json:"params,omitempty"`
Comments []string `protobuf:"bytes,6,rep,name=comments,proto3" json:"comments,omitempty"`
Filename string `protobuf:"bytes,7,opt,name=filename,proto3" json:"filename,omitempty"`
InsertIntoTable *SQLCPlugin_Identifier `protobuf:"bytes,8,opt,name=insert_into_table,proto3" json:"insert_into_table,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_Query) Descriptor
deprecated
func (*SQLCPlugin_Query) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_Query.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_Query) GetCmd ¶
func (x *SQLCPlugin_Query) GetCmd() string
func (*SQLCPlugin_Query) GetColumns ¶
func (x *SQLCPlugin_Query) GetColumns() []*SQLCPlugin_Column
func (*SQLCPlugin_Query) GetComments ¶
func (x *SQLCPlugin_Query) GetComments() []string
func (*SQLCPlugin_Query) GetFilename ¶
func (x *SQLCPlugin_Query) GetFilename() string
func (*SQLCPlugin_Query) GetInsertIntoTable ¶
func (x *SQLCPlugin_Query) GetInsertIntoTable() *SQLCPlugin_Identifier
func (*SQLCPlugin_Query) GetName ¶
func (x *SQLCPlugin_Query) GetName() string
func (*SQLCPlugin_Query) GetParams ¶
func (x *SQLCPlugin_Query) GetParams() []*SQLCPlugin_Parameter
func (*SQLCPlugin_Query) GetText ¶
func (x *SQLCPlugin_Query) GetText() string
func (*SQLCPlugin_Query) ProtoMessage ¶
func (*SQLCPlugin_Query) ProtoMessage()
func (*SQLCPlugin_Query) ProtoReflect ¶
func (x *SQLCPlugin_Query) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_Query) Reset ¶
func (x *SQLCPlugin_Query) Reset()
func (*SQLCPlugin_Query) String ¶
func (x *SQLCPlugin_Query) String() string
type SQLCPlugin_Schema ¶
type SQLCPlugin_Schema struct {
Comment string `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Tables []*SQLCPlugin_Table `protobuf:"bytes,3,rep,name=tables,proto3" json:"tables,omitempty"`
Enums []*SQLCPlugin_Enum `protobuf:"bytes,4,rep,name=enums,proto3" json:"enums,omitempty"`
CompositeTypes []*SQLCPlugin_CompositeType `protobuf:"bytes,5,rep,name=composite_types,json=compositeTypes,proto3" json:"composite_types,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_Schema) Descriptor
deprecated
func (*SQLCPlugin_Schema) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_Schema.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_Schema) GetComment ¶
func (x *SQLCPlugin_Schema) GetComment() string
func (*SQLCPlugin_Schema) GetCompositeTypes ¶
func (x *SQLCPlugin_Schema) GetCompositeTypes() []*SQLCPlugin_CompositeType
func (*SQLCPlugin_Schema) GetEnums ¶
func (x *SQLCPlugin_Schema) GetEnums() []*SQLCPlugin_Enum
func (*SQLCPlugin_Schema) GetName ¶
func (x *SQLCPlugin_Schema) GetName() string
func (*SQLCPlugin_Schema) GetTables ¶
func (x *SQLCPlugin_Schema) GetTables() []*SQLCPlugin_Table
func (*SQLCPlugin_Schema) ProtoMessage ¶
func (*SQLCPlugin_Schema) ProtoMessage()
func (*SQLCPlugin_Schema) ProtoReflect ¶
func (x *SQLCPlugin_Schema) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_Schema) Reset ¶
func (x *SQLCPlugin_Schema) Reset()
func (*SQLCPlugin_Schema) String ¶
func (x *SQLCPlugin_Schema) String() string
type SQLCPlugin_Settings ¶
type SQLCPlugin_Settings struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
Engine string `protobuf:"bytes,2,opt,name=engine,proto3" json:"engine,omitempty"`
Schema []string `protobuf:"bytes,3,rep,name=schema,proto3" json:"schema,omitempty"`
Queries []string `protobuf:"bytes,4,rep,name=queries,proto3" json:"queries,omitempty"`
Codegen *SQLCPlugin_Codegen `protobuf:"bytes,12,opt,name=codegen,proto3" json:"codegen,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_Settings) Descriptor
deprecated
func (*SQLCPlugin_Settings) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_Settings.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_Settings) GetCodegen ¶
func (x *SQLCPlugin_Settings) GetCodegen() *SQLCPlugin_Codegen
func (*SQLCPlugin_Settings) GetEngine ¶
func (x *SQLCPlugin_Settings) GetEngine() string
func (*SQLCPlugin_Settings) GetQueries ¶
func (x *SQLCPlugin_Settings) GetQueries() []string
func (*SQLCPlugin_Settings) GetSchema ¶
func (x *SQLCPlugin_Settings) GetSchema() []string
func (*SQLCPlugin_Settings) GetVersion ¶
func (x *SQLCPlugin_Settings) GetVersion() string
func (*SQLCPlugin_Settings) ProtoMessage ¶
func (*SQLCPlugin_Settings) ProtoMessage()
func (*SQLCPlugin_Settings) ProtoReflect ¶
func (x *SQLCPlugin_Settings) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_Settings) Reset ¶
func (x *SQLCPlugin_Settings) Reset()
func (*SQLCPlugin_Settings) String ¶
func (x *SQLCPlugin_Settings) String() string
type SQLCPlugin_Table ¶
type SQLCPlugin_Table struct {
Rel *SQLCPlugin_Identifier `protobuf:"bytes,1,opt,name=rel,proto3" json:"rel,omitempty"`
Columns []*SQLCPlugin_Column `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCPlugin_Table) Descriptor
deprecated
func (*SQLCPlugin_Table) Descriptor() ([]byte, []int)
Deprecated: Use SQLCPlugin_Table.ProtoReflect.Descriptor instead.
func (*SQLCPlugin_Table) GetColumns ¶
func (x *SQLCPlugin_Table) GetColumns() []*SQLCPlugin_Column
func (*SQLCPlugin_Table) GetComment ¶
func (x *SQLCPlugin_Table) GetComment() string
func (*SQLCPlugin_Table) GetRel ¶
func (x *SQLCPlugin_Table) GetRel() *SQLCPlugin_Identifier
func (*SQLCPlugin_Table) ProtoMessage ¶
func (*SQLCPlugin_Table) ProtoMessage()
func (*SQLCPlugin_Table) ProtoReflect ¶
func (x *SQLCPlugin_Table) ProtoReflect() protoreflect.Message
func (*SQLCPlugin_Table) Reset ¶
func (x *SQLCPlugin_Table) Reset()
func (*SQLCPlugin_Table) String ¶
func (x *SQLCPlugin_Table) String() string
type SecretsRefreshRequest ¶
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
func (*SecretsRefreshRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecretsRefreshRequest.ProtoReflect.Descriptor instead.
func (*SecretsRefreshRequest) GetAppRoot ¶
func (x *SecretsRefreshRequest) GetAppRoot() string
func (*SecretsRefreshRequest) GetKey ¶
func (x *SecretsRefreshRequest) GetKey() string
func (*SecretsRefreshRequest) GetValue ¶
func (x *SecretsRefreshRequest) GetValue() string
func (*SecretsRefreshRequest) ProtoMessage ¶
func (*SecretsRefreshRequest) ProtoMessage()
func (*SecretsRefreshRequest) ProtoReflect ¶
func (x *SecretsRefreshRequest) ProtoReflect() protoreflect.Message
func (*SecretsRefreshRequest) Reset ¶
func (x *SecretsRefreshRequest) Reset()
func (*SecretsRefreshRequest) String ¶
func (x *SecretsRefreshRequest) String() string
type SecretsRefreshResponse ¶
type SecretsRefreshResponse struct {
// contains filtered or unexported fields
}
func (*SecretsRefreshResponse) Descriptor
deprecated
func (*SecretsRefreshResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecretsRefreshResponse.ProtoReflect.Descriptor instead.
func (*SecretsRefreshResponse) ProtoMessage ¶
func (*SecretsRefreshResponse) ProtoMessage()
func (*SecretsRefreshResponse) ProtoReflect ¶
func (x *SecretsRefreshResponse) ProtoReflect() protoreflect.Message
func (*SecretsRefreshResponse) Reset ¶
func (x *SecretsRefreshResponse) Reset()
func (*SecretsRefreshResponse) String ¶
func (x *SecretsRefreshResponse) String() string
type SwitchNamespaceRequest ¶
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
func (*SwitchNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SwitchNamespaceRequest.ProtoReflect.Descriptor instead.
func (*SwitchNamespaceRequest) GetAppRoot ¶
func (x *SwitchNamespaceRequest) GetAppRoot() string
func (*SwitchNamespaceRequest) GetCreate ¶
func (x *SwitchNamespaceRequest) GetCreate() bool
func (*SwitchNamespaceRequest) GetName ¶
func (x *SwitchNamespaceRequest) GetName() string
func (*SwitchNamespaceRequest) ProtoMessage ¶
func (*SwitchNamespaceRequest) ProtoMessage()
func (*SwitchNamespaceRequest) ProtoReflect ¶
func (x *SwitchNamespaceRequest) ProtoReflect() protoreflect.Message
func (*SwitchNamespaceRequest) Reset ¶
func (x *SwitchNamespaceRequest) Reset()
func (*SwitchNamespaceRequest) String ¶
func (x *SwitchNamespaceRequest) String() string
type TelemetryConfig ¶
type TelemetryConfig struct {
AnonId string `protobuf:"bytes,1,opt,name=anon_id,json=anonId,proto3" json:"anon_id,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
Debug bool `protobuf:"varint,3,opt,name=debug,proto3" json:"debug,omitempty"`
// contains filtered or unexported fields
}
func (*TelemetryConfig) Descriptor
deprecated
func (*TelemetryConfig) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryConfig.ProtoReflect.Descriptor instead.
func (*TelemetryConfig) GetAnonId ¶
func (x *TelemetryConfig) GetAnonId() string
func (*TelemetryConfig) GetDebug ¶
func (x *TelemetryConfig) GetDebug() bool
func (*TelemetryConfig) GetEnabled ¶
func (x *TelemetryConfig) GetEnabled() bool
func (*TelemetryConfig) ProtoMessage ¶
func (*TelemetryConfig) ProtoMessage()
func (*TelemetryConfig) ProtoReflect ¶
func (x *TelemetryConfig) ProtoReflect() protoreflect.Message
func (*TelemetryConfig) Reset ¶
func (x *TelemetryConfig) Reset()
func (*TelemetryConfig) String ¶
func (x *TelemetryConfig) 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 ¶
func (x *TestRequest) GetCodegenDebug() bool
func (*TestRequest) GetEnviron ¶
func (x *TestRequest) GetEnviron() []string
func (*TestRequest) GetTraceFile ¶
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 TestSpecRequest ¶
type TestSpecRequest 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"`
// contains filtered or unexported fields
}
func (*TestSpecRequest) Descriptor
deprecated
func (*TestSpecRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestSpecRequest.ProtoReflect.Descriptor instead.
func (*TestSpecRequest) GetAppRoot ¶
func (x *TestSpecRequest) GetAppRoot() string
func (*TestSpecRequest) GetArgs ¶
func (x *TestSpecRequest) GetArgs() []string
func (*TestSpecRequest) GetEnviron ¶
func (x *TestSpecRequest) GetEnviron() []string
func (*TestSpecRequest) GetWorkingDir ¶
func (x *TestSpecRequest) GetWorkingDir() string
func (*TestSpecRequest) ProtoMessage ¶
func (*TestSpecRequest) ProtoMessage()
func (*TestSpecRequest) ProtoReflect ¶
func (x *TestSpecRequest) ProtoReflect() protoreflect.Message
func (*TestSpecRequest) Reset ¶
func (x *TestSpecRequest) Reset()
func (*TestSpecRequest) String ¶
func (x *TestSpecRequest) String() string
type TestSpecResponse ¶
type TestSpecResponse struct {
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
Environ []string `protobuf:"bytes,3,rep,name=environ,proto3" json:"environ,omitempty"`
// contains filtered or unexported fields
}
func (*TestSpecResponse) Descriptor
deprecated
func (*TestSpecResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestSpecResponse.ProtoReflect.Descriptor instead.
func (*TestSpecResponse) GetArgs ¶
func (x *TestSpecResponse) GetArgs() []string
func (*TestSpecResponse) GetCommand ¶
func (x *TestSpecResponse) GetCommand() string
func (*TestSpecResponse) GetEnviron ¶
func (x *TestSpecResponse) GetEnviron() []string
func (*TestSpecResponse) ProtoMessage ¶
func (*TestSpecResponse) ProtoMessage()
func (*TestSpecResponse) ProtoReflect ¶
func (x *TestSpecResponse) ProtoReflect() protoreflect.Message
func (*TestSpecResponse) Reset ¶
func (x *TestSpecResponse) Reset()
func (*TestSpecResponse) String ¶
func (x *TestSpecResponse) 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) CreateApp ¶
func (UnimplementedDaemonServer) CreateApp(context.Context, *CreateAppRequest) (*CreateAppResponse, error)
func (UnimplementedDaemonServer) CreateNamespace ¶
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 ¶
func (UnimplementedDaemonServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error)
func (UnimplementedDaemonServer) DumpMeta ¶
func (UnimplementedDaemonServer) DumpMeta(context.Context, *DumpMetaRequest) (*DumpMetaResponse, error)
func (UnimplementedDaemonServer) ExecScript ¶
func (UnimplementedDaemonServer) ExecScript(*ExecScriptRequest, Daemon_ExecScriptServer) error
func (UnimplementedDaemonServer) Export ¶
func (UnimplementedDaemonServer) Export(*ExportRequest, Daemon_ExportServer) error
func (UnimplementedDaemonServer) GenClient ¶
func (UnimplementedDaemonServer) GenClient(context.Context, *GenClientRequest) (*GenClientResponse, error)
func (UnimplementedDaemonServer) GenWrappers ¶
func (UnimplementedDaemonServer) GenWrappers(context.Context, *GenWrappersRequest) (*GenWrappersResponse, error)
func (UnimplementedDaemonServer) ListNamespaces ¶
func (UnimplementedDaemonServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
func (UnimplementedDaemonServer) Run ¶
func (UnimplementedDaemonServer) Run(*RunRequest, Daemon_RunServer) error
func (UnimplementedDaemonServer) SecretsRefresh ¶
func (UnimplementedDaemonServer) SecretsRefresh(context.Context, *SecretsRefreshRequest) (*SecretsRefreshResponse, error)
func (UnimplementedDaemonServer) SwitchNamespace ¶
func (UnimplementedDaemonServer) SwitchNamespace(context.Context, *SwitchNamespaceRequest) (*Namespace, error)
func (UnimplementedDaemonServer) Telemetry ¶
func (UnimplementedDaemonServer) Telemetry(context.Context, *TelemetryConfig) (*emptypb.Empty, error)
func (UnimplementedDaemonServer) Test ¶
func (UnimplementedDaemonServer) Test(*TestRequest, Daemon_TestServer) error
func (UnimplementedDaemonServer) TestSpec ¶
func (UnimplementedDaemonServer) TestSpec(context.Context, *TestSpecRequest) (*TestSpecResponse, error)
func (UnimplementedDaemonServer) Version ¶
func (UnimplementedDaemonServer) Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
type UnsafeDaemonServer ¶
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 ¶
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