Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterGatewayServer(s grpc.ServiceRegistrar, srv GatewayServer)
- type AddDependencyRequest
- func (*AddDependencyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDependencyRequest) GetPackageName() string
- func (x *AddDependencyRequest) GetService() string
- func (x *AddDependencyRequest) GetVersion() string
- func (*AddDependencyRequest) ProtoMessage()
- func (x *AddDependencyRequest) ProtoReflect() protoreflect.Message
- func (x *AddDependencyRequest) Reset()
- func (x *AddDependencyRequest) String() string
- type AddDependencyResponse
- func (*AddDependencyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddDependencyResponse) GetError() string
- func (x *AddDependencyResponse) GetInstalledVersion() string
- func (x *AddDependencyResponse) GetSuccess() bool
- func (*AddDependencyResponse) ProtoMessage()
- func (x *AddDependencyResponse) ProtoReflect() protoreflect.Message
- func (x *AddDependencyResponse) Reset()
- func (x *AddDependencyResponse) String() string
- type ApplyEditRequest
- func (*ApplyEditRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyEditRequest) GetAutoFix() bool
- func (x *ApplyEditRequest) GetFile() string
- func (x *ApplyEditRequest) GetFind() string
- func (x *ApplyEditRequest) GetReplace() string
- func (x *ApplyEditRequest) GetService() string
- func (*ApplyEditRequest) ProtoMessage()
- func (x *ApplyEditRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyEditRequest) Reset()
- func (x *ApplyEditRequest) String() string
- type ApplyEditResponse
- func (*ApplyEditResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyEditResponse) GetContent() string
- func (x *ApplyEditResponse) GetError() string
- func (x *ApplyEditResponse) GetFixActions() []string
- func (x *ApplyEditResponse) GetStrategy() string
- func (x *ApplyEditResponse) GetSuccess() bool
- func (*ApplyEditResponse) ProtoMessage()
- func (x *ApplyEditResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyEditResponse) Reset()
- func (x *ApplyEditResponse) String() string
- type AvailableCommand
- func (*AvailableCommand) Descriptor() ([]byte, []int)deprecated
- func (x *AvailableCommand) GetAliases() []string
- func (x *AvailableCommand) GetDescription() string
- func (x *AvailableCommand) GetDestructive() bool
- func (x *AvailableCommand) GetName() string
- func (x *AvailableCommand) GetPlugin() string
- func (x *AvailableCommand) GetTags() []string
- func (x *AvailableCommand) GetUsage() string
- func (*AvailableCommand) ProtoMessage()
- func (x *AvailableCommand) ProtoReflect() protoreflect.Message
- func (x *AvailableCommand) Reset()
- func (x *AvailableCommand) String() string
- type BatchApplyEditsRequest
- func (*BatchApplyEditsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchApplyEditsRequest) GetEdits() []*ApplyEditRequest
- func (*BatchApplyEditsRequest) ProtoMessage()
- func (x *BatchApplyEditsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchApplyEditsRequest) Reset()
- func (x *BatchApplyEditsRequest) String() string
- type BatchApplyEditsResponse
- func (*BatchApplyEditsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchApplyEditsResponse) GetFailed() int32
- func (x *BatchApplyEditsResponse) GetResults() []*EditResult
- func (x *BatchApplyEditsResponse) GetSucceeded() int32
- func (*BatchApplyEditsResponse) ProtoMessage()
- func (x *BatchApplyEditsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchApplyEditsResponse) Reset()
- func (x *BatchApplyEditsResponse) String() string
- type BuildError
- func (*BuildError) Descriptor() ([]byte, []int)deprecated
- func (x *BuildError) GetColumn() int32
- func (x *BuildError) GetFile() string
- func (x *BuildError) GetLine() int32
- func (x *BuildError) GetMessage() string
- func (x *BuildError) GetSeverity() string
- func (*BuildError) ProtoMessage()
- func (x *BuildError) ProtoReflect() protoreflect.Message
- func (x *BuildError) Reset()
- func (x *BuildError) String() string
- type BuildRequest
- type BuildResponse
- func (*BuildResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildResponse) GetErrors() []*BuildError
- func (x *BuildResponse) GetOutput() string
- func (x *BuildResponse) GetSuccess() bool
- func (*BuildResponse) ProtoMessage()
- func (x *BuildResponse) ProtoReflect() protoreflect.Message
- func (x *BuildResponse) Reset()
- func (x *BuildResponse) String() string
- type Check
- func (*Check) Descriptor() ([]byte, []int)deprecated
- func (x *Check) GetCheckType() isCheck_CheckType
- func (x *Check) GetCommand() *CommandCheck
- func (x *Check) GetHttp() *HttpCheck
- func (x *Check) GetName() string
- func (x *Check) GetPluginBuild() *PluginCheck
- func (x *Check) GetPluginLint() *PluginCheck
- func (x *Check) GetPluginTest() *PluginCheck
- func (*Check) ProtoMessage()
- func (x *Check) ProtoReflect() protoreflect.Message
- func (x *Check) Reset()
- func (x *Check) String() string
- type CheckResult
- func (*CheckResult) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResult) GetError() string
- func (x *CheckResult) GetName() string
- func (x *CheckResult) GetOutput() string
- func (x *CheckResult) GetPassed() bool
- func (*CheckResult) ProtoMessage()
- func (x *CheckResult) ProtoReflect() protoreflect.Message
- func (x *CheckResult) Reset()
- func (x *CheckResult) String() string
- type Check_Command
- type Check_Http
- type Check_PluginBuild
- type Check_PluginLint
- type Check_PluginTest
- type CommandCheck
- func (*CommandCheck) Descriptor() ([]byte, []int)deprecated
- func (x *CommandCheck) GetExpectedExitCode() int32
- func (x *CommandCheck) GetOutputContains() string
- func (x *CommandCheck) GetRun() string
- func (*CommandCheck) ProtoMessage()
- func (x *CommandCheck) ProtoReflect() protoreflect.Message
- func (x *CommandCheck) Reset()
- func (x *CommandCheck) String() string
- type CreateFileRequest
- func (*CreateFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFileRequest) GetContent() string
- func (x *CreateFileRequest) GetOverwrite() bool
- func (x *CreateFileRequest) GetPath() string
- func (x *CreateFileRequest) GetService() string
- func (*CreateFileRequest) ProtoMessage()
- func (x *CreateFileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFileRequest) Reset()
- func (x *CreateFileRequest) String() string
- type CreateFileResponse
- func (*CreateFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFileResponse) GetError() string
- func (x *CreateFileResponse) GetSuccess() bool
- func (*CreateFileResponse) ProtoMessage()
- func (x *CreateFileResponse) ProtoReflect() protoreflect.Message
- func (x *CreateFileResponse) Reset()
- func (x *CreateFileResponse) String() string
- type DeleteFileRequest
- func (*DeleteFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFileRequest) GetPath() string
- func (x *DeleteFileRequest) GetService() string
- func (*DeleteFileRequest) ProtoMessage()
- func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFileRequest) Reset()
- func (x *DeleteFileRequest) String() string
- type DeleteFileResponse
- func (*DeleteFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFileResponse) GetError() string
- func (x *DeleteFileResponse) GetSuccess() bool
- func (*DeleteFileResponse) ProtoMessage()
- func (x *DeleteFileResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteFileResponse) Reset()
- func (x *DeleteFileResponse) String() string
- type Dependency
- func (*Dependency) Descriptor() ([]byte, []int)deprecated
- func (x *Dependency) GetDirect() bool
- func (x *Dependency) GetName() string
- func (x *Dependency) GetVersion() string
- func (*Dependency) ProtoMessage()
- func (x *Dependency) ProtoReflect() protoreflect.Message
- func (x *Dependency) Reset()
- func (x *Dependency) String() string
- type Diagnostic
- func (*Diagnostic) Descriptor() ([]byte, []int)deprecated
- func (x *Diagnostic) GetCode() string
- func (x *Diagnostic) GetColumn() int32
- func (x *Diagnostic) GetEndColumn() int32
- func (x *Diagnostic) GetEndLine() int32
- func (x *Diagnostic) GetFile() string
- func (x *Diagnostic) GetLine() int32
- func (x *Diagnostic) GetMessage() string
- func (x *Diagnostic) GetSeverity() string
- func (x *Diagnostic) GetSource() string
- func (*Diagnostic) ProtoMessage()
- func (x *Diagnostic) ProtoReflect() protoreflect.Message
- func (x *Diagnostic) Reset()
- func (x *Diagnostic) String() string
- type EditResult
- func (*EditResult) Descriptor() ([]byte, []int)deprecated
- func (x *EditResult) GetError() string
- func (x *EditResult) GetFile() string
- func (x *EditResult) GetService() string
- func (x *EditResult) GetStrategy() string
- func (x *EditResult) GetSuccess() bool
- func (*EditResult) ProtoMessage()
- func (x *EditResult) ProtoReflect() protoreflect.Message
- func (x *EditResult) Reset()
- func (x *EditResult) String() string
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetIsDirectory() bool
- func (x *FileInfo) GetPath() string
- func (x *FileInfo) GetSizeBytes() int64
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- type FindReferencesRequest
- func (*FindReferencesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindReferencesRequest) GetColumn() int32
- func (x *FindReferencesRequest) GetFile() string
- func (x *FindReferencesRequest) GetLine() int32
- func (x *FindReferencesRequest) GetService() string
- func (*FindReferencesRequest) ProtoMessage()
- func (x *FindReferencesRequest) ProtoReflect() protoreflect.Message
- func (x *FindReferencesRequest) Reset()
- func (x *FindReferencesRequest) String() string
- type FindReferencesResponse
- func (*FindReferencesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindReferencesResponse) GetError() string
- func (x *FindReferencesResponse) GetLocations() []*Location
- func (*FindReferencesResponse) ProtoMessage()
- func (x *FindReferencesResponse) ProtoReflect() protoreflect.Message
- func (x *FindReferencesResponse) Reset()
- func (x *FindReferencesResponse) String() string
- type FixRequest
- type FixResponse
- func (*FixResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FixResponse) GetActions() []string
- func (x *FixResponse) GetContent() string
- func (x *FixResponse) GetError() string
- func (x *FixResponse) GetSuccess() bool
- func (*FixResponse) ProtoMessage()
- func (x *FixResponse) ProtoReflect() protoreflect.Message
- func (x *FixResponse) Reset()
- func (x *FixResponse) String() string
- type GatewayClient
- type GatewayServer
- type GetDiagnosticsRequest
- func (*GetDiagnosticsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDiagnosticsRequest) GetFile() string
- func (x *GetDiagnosticsRequest) GetService() string
- func (*GetDiagnosticsRequest) ProtoMessage()
- func (x *GetDiagnosticsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDiagnosticsRequest) Reset()
- func (x *GetDiagnosticsRequest) String() string
- type GetDiagnosticsResponse
- func (*GetDiagnosticsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDiagnosticsResponse) GetDiagnostics() []*Diagnostic
- func (x *GetDiagnosticsResponse) GetError() string
- func (*GetDiagnosticsResponse) ProtoMessage()
- func (x *GetDiagnosticsResponse) ProtoReflect() protoreflect.Message
- func (x *GetDiagnosticsResponse) Reset()
- func (x *GetDiagnosticsResponse) String() string
- type GetHoverInfoRequest
- func (*GetHoverInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHoverInfoRequest) GetColumn() int32
- func (x *GetHoverInfoRequest) GetFile() string
- func (x *GetHoverInfoRequest) GetLine() int32
- func (x *GetHoverInfoRequest) GetService() string
- func (*GetHoverInfoRequest) ProtoMessage()
- func (x *GetHoverInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetHoverInfoRequest) Reset()
- func (x *GetHoverInfoRequest) String() string
- type GetHoverInfoResponse
- func (*GetHoverInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHoverInfoResponse) GetContent() string
- func (x *GetHoverInfoResponse) GetError() string
- func (x *GetHoverInfoResponse) GetLanguage() string
- func (*GetHoverInfoResponse) ProtoMessage()
- func (x *GetHoverInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetHoverInfoResponse) Reset()
- func (x *GetHoverInfoResponse) String() string
- type GetProjectInfoRequest
- func (*GetProjectInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectInfoRequest) GetService() string
- func (*GetProjectInfoRequest) ProtoMessage()
- func (x *GetProjectInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetProjectInfoRequest) Reset()
- func (x *GetProjectInfoRequest) String() string
- type GetProjectInfoResponse
- func (*GetProjectInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectInfoResponse) GetDependencies() []*Dependency
- func (x *GetProjectInfoResponse) GetError() string
- func (x *GetProjectInfoResponse) GetFileHashes() map[string]string
- func (x *GetProjectInfoResponse) GetLanguage() string
- func (x *GetProjectInfoResponse) GetLanguageVersion() string
- func (x *GetProjectInfoResponse) GetModule() string
- func (x *GetProjectInfoResponse) GetPackages() []*PackageInfo
- func (*GetProjectInfoResponse) ProtoMessage()
- func (x *GetProjectInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetProjectInfoResponse) Reset()
- func (x *GetProjectInfoResponse) String() string
- type GitCommitInfo
- func (*GitCommitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GitCommitInfo) GetAuthor() string
- func (x *GitCommitInfo) GetDate() string
- func (x *GitCommitInfo) GetHash() string
- func (x *GitCommitInfo) GetMessage() string
- func (x *GitCommitInfo) GetShortHash() string
- func (*GitCommitInfo) ProtoMessage()
- func (x *GitCommitInfo) ProtoReflect() protoreflect.Message
- func (x *GitCommitInfo) Reset()
- func (x *GitCommitInfo) String() string
- type GitCommitRequest
- func (*GitCommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitCommitRequest) GetMessage() string
- func (x *GitCommitRequest) GetPaths() []string
- func (*GitCommitRequest) ProtoMessage()
- func (x *GitCommitRequest) ProtoReflect() protoreflect.Message
- func (x *GitCommitRequest) Reset()
- func (x *GitCommitRequest) String() string
- type GitCommitResponse
- func (*GitCommitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitCommitResponse) GetError() string
- func (x *GitCommitResponse) GetHash() string
- func (x *GitCommitResponse) GetSuccess() bool
- func (*GitCommitResponse) ProtoMessage()
- func (x *GitCommitResponse) ProtoReflect() protoreflect.Message
- func (x *GitCommitResponse) Reset()
- func (x *GitCommitResponse) String() string
- type GitDiffRequest
- func (*GitDiffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitDiffRequest) GetPath() string
- func (x *GitDiffRequest) GetService() string
- func (x *GitDiffRequest) GetStaged() bool
- func (*GitDiffRequest) ProtoMessage()
- func (x *GitDiffRequest) ProtoReflect() protoreflect.Message
- func (x *GitDiffRequest) Reset()
- func (x *GitDiffRequest) String() string
- type GitDiffResponse
- func (*GitDiffResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitDiffResponse) GetDiff() string
- func (x *GitDiffResponse) GetError() string
- func (*GitDiffResponse) ProtoMessage()
- func (x *GitDiffResponse) ProtoReflect() protoreflect.Message
- func (x *GitDiffResponse) Reset()
- func (x *GitDiffResponse) String() string
- type GitFileStatus
- func (*GitFileStatus) Descriptor() ([]byte, []int)deprecated
- func (x *GitFileStatus) GetPath() string
- func (x *GitFileStatus) GetStaged() bool
- func (x *GitFileStatus) GetStatus() string
- func (*GitFileStatus) ProtoMessage()
- func (x *GitFileStatus) ProtoReflect() protoreflect.Message
- func (x *GitFileStatus) Reset()
- func (x *GitFileStatus) String() string
- type GitLogRequest
- func (*GitLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitLogRequest) GetCount() int32
- func (x *GitLogRequest) GetService() string
- func (*GitLogRequest) ProtoMessage()
- func (x *GitLogRequest) ProtoReflect() protoreflect.Message
- func (x *GitLogRequest) Reset()
- func (x *GitLogRequest) String() string
- type GitLogResponse
- func (*GitLogResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitLogResponse) GetCommits() []*GitCommitInfo
- func (x *GitLogResponse) GetError() string
- func (*GitLogResponse) ProtoMessage()
- func (x *GitLogResponse) ProtoReflect() protoreflect.Message
- func (x *GitLogResponse) Reset()
- func (x *GitLogResponse) String() string
- type GitStatusRequest
- type GitStatusResponse
- func (*GitStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitStatusResponse) GetBranch() string
- func (x *GitStatusResponse) GetError() string
- func (x *GitStatusResponse) GetFiles() []*GitFileStatus
- func (*GitStatusResponse) ProtoMessage()
- func (x *GitStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GitStatusResponse) Reset()
- func (x *GitStatusResponse) String() string
- type GoToDefinitionRequest
- func (*GoToDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GoToDefinitionRequest) GetColumn() int32
- func (x *GoToDefinitionRequest) GetFile() string
- func (x *GoToDefinitionRequest) GetLine() int32
- func (x *GoToDefinitionRequest) GetService() string
- func (*GoToDefinitionRequest) ProtoMessage()
- func (x *GoToDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *GoToDefinitionRequest) Reset()
- func (x *GoToDefinitionRequest) String() string
- type GoToDefinitionResponse
- func (*GoToDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GoToDefinitionResponse) GetError() string
- func (x *GoToDefinitionResponse) GetLocations() []*Location
- func (*GoToDefinitionResponse) ProtoMessage()
- func (x *GoToDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *GoToDefinitionResponse) Reset()
- func (x *GoToDefinitionResponse) String() string
- type HttpCheck
- func (*HttpCheck) Descriptor() ([]byte, []int)deprecated
- func (x *HttpCheck) GetBody() string
- func (x *HttpCheck) GetBodyContains() string
- func (x *HttpCheck) GetExpectedStatus() int32
- func (x *HttpCheck) GetMethod() string
- func (x *HttpCheck) GetPath() string
- func (*HttpCheck) ProtoMessage()
- func (x *HttpCheck) ProtoReflect() protoreflect.Message
- func (x *HttpCheck) Reset()
- func (x *HttpCheck) String() string
- type LintRequest
- type LintResponse
- func (*LintResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LintResponse) GetErrors() []*BuildError
- func (x *LintResponse) GetOutput() string
- func (x *LintResponse) GetSuccess() bool
- func (*LintResponse) ProtoMessage()
- func (x *LintResponse) ProtoReflect() protoreflect.Message
- func (x *LintResponse) Reset()
- func (x *LintResponse) String() string
- type ListAllCommandsRequest
- type ListAllCommandsResponse
- func (*ListAllCommandsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllCommandsResponse) GetCommands() []*AvailableCommand
- func (*ListAllCommandsResponse) ProtoMessage()
- func (x *ListAllCommandsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAllCommandsResponse) Reset()
- func (x *ListAllCommandsResponse) String() string
- type ListDependenciesRequest
- func (*ListDependenciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDependenciesRequest) GetService() string
- func (*ListDependenciesRequest) ProtoMessage()
- func (x *ListDependenciesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDependenciesRequest) Reset()
- func (x *ListDependenciesRequest) String() string
- type ListDependenciesResponse
- func (*ListDependenciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDependenciesResponse) GetDependencies() []*Dependency
- func (x *ListDependenciesResponse) GetError() string
- func (*ListDependenciesResponse) ProtoMessage()
- func (x *ListDependenciesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDependenciesResponse) Reset()
- func (x *ListDependenciesResponse) String() string
- type ListFilesRequest
- func (*ListFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFilesRequest) GetExtensions() []string
- func (x *ListFilesRequest) GetPath() string
- func (x *ListFilesRequest) GetRecursive() bool
- func (x *ListFilesRequest) GetService() string
- func (*ListFilesRequest) ProtoMessage()
- func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListFilesRequest) Reset()
- func (x *ListFilesRequest) String() string
- type ListFilesResponse
- func (*ListFilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFilesResponse) GetFiles() []*FileInfo
- func (*ListFilesResponse) ProtoMessage()
- func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListFilesResponse) Reset()
- func (x *ListFilesResponse) String() string
- type ListServicesRequest
- type ListServicesResponse
- func (*ListServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesResponse) GetServices() []*ServiceInfo
- func (*ListServicesResponse) ProtoMessage()
- func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListServicesResponse) Reset()
- func (x *ListServicesResponse) String() string
- type ListSymbolsRequest
- func (*ListSymbolsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSymbolsRequest) GetFile() string
- func (x *ListSymbolsRequest) GetFilter() string
- func (x *ListSymbolsRequest) GetService() string
- func (*ListSymbolsRequest) ProtoMessage()
- func (x *ListSymbolsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSymbolsRequest) Reset()
- func (x *ListSymbolsRequest) String() string
- type ListSymbolsResponse
- func (*ListSymbolsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSymbolsResponse) GetError() string
- func (x *ListSymbolsResponse) GetSymbols() []*Symbol
- func (*ListSymbolsResponse) ProtoMessage()
- func (x *ListSymbolsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSymbolsResponse) Reset()
- func (x *ListSymbolsResponse) String() string
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetColumn() int32
- func (x *Location) GetEndColumn() int32
- func (x *Location) GetEndLine() int32
- func (x *Location) GetFile() string
- func (x *Location) GetLine() int32
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type MoveFileRequest
- func (*MoveFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveFileRequest) GetNewPath() string
- func (x *MoveFileRequest) GetOldPath() string
- func (x *MoveFileRequest) GetService() string
- func (x *MoveFileRequest) GetUpdateImports() bool
- func (*MoveFileRequest) ProtoMessage()
- func (x *MoveFileRequest) ProtoReflect() protoreflect.Message
- func (x *MoveFileRequest) Reset()
- func (x *MoveFileRequest) String() string
- type MoveFileResponse
- func (*MoveFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MoveFileResponse) GetError() string
- func (x *MoveFileResponse) GetSuccess() bool
- func (x *MoveFileResponse) GetUpdatedFiles() []string
- func (*MoveFileResponse) ProtoMessage()
- func (x *MoveFileResponse) ProtoReflect() protoreflect.Message
- func (x *MoveFileResponse) Reset()
- func (x *MoveFileResponse) String() string
- type PackageInfo
- func (*PackageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PackageInfo) GetDoc() string
- func (x *PackageInfo) GetFiles() []string
- func (x *PackageInfo) GetImports() []string
- func (x *PackageInfo) GetName() string
- func (x *PackageInfo) GetRelativePath() string
- func (*PackageInfo) ProtoMessage()
- func (x *PackageInfo) ProtoReflect() protoreflect.Message
- func (x *PackageInfo) Reset()
- func (x *PackageInfo) String() string
- type PluginCheck
- type ReadFileRequest
- func (*ReadFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadFileRequest) GetPath() string
- func (x *ReadFileRequest) GetService() string
- func (*ReadFileRequest) ProtoMessage()
- func (x *ReadFileRequest) ProtoReflect() protoreflect.Message
- func (x *ReadFileRequest) Reset()
- func (x *ReadFileRequest) String() string
- type ReadFileResponse
- func (*ReadFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadFileResponse) GetContent() string
- func (x *ReadFileResponse) GetExists() bool
- func (*ReadFileResponse) ProtoMessage()
- func (x *ReadFileResponse) ProtoReflect() protoreflect.Message
- func (x *ReadFileResponse) Reset()
- func (x *ReadFileResponse) String() string
- type RemoveDependencyRequest
- func (*RemoveDependencyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDependencyRequest) GetPackageName() string
- func (x *RemoveDependencyRequest) GetService() string
- func (*RemoveDependencyRequest) ProtoMessage()
- func (x *RemoveDependencyRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDependencyRequest) Reset()
- func (x *RemoveDependencyRequest) String() string
- type RemoveDependencyResponse
- func (*RemoveDependencyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDependencyResponse) GetError() string
- func (x *RemoveDependencyResponse) GetSuccess() bool
- func (*RemoveDependencyResponse) ProtoMessage()
- func (x *RemoveDependencyResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveDependencyResponse) Reset()
- func (x *RemoveDependencyResponse) String() string
- type RenameSymbolRequest
- func (*RenameSymbolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameSymbolRequest) GetColumn() int32
- func (x *RenameSymbolRequest) GetFile() string
- func (x *RenameSymbolRequest) GetLine() int32
- func (x *RenameSymbolRequest) GetNewName() string
- func (x *RenameSymbolRequest) GetService() string
- func (*RenameSymbolRequest) ProtoMessage()
- func (x *RenameSymbolRequest) ProtoReflect() protoreflect.Message
- func (x *RenameSymbolRequest) Reset()
- func (x *RenameSymbolRequest) String() string
- type RenameSymbolResponse
- func (*RenameSymbolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenameSymbolResponse) GetEdits() []*TextEdit
- func (x *RenameSymbolResponse) GetError() string
- func (x *RenameSymbolResponse) GetFiles() []string
- func (x *RenameSymbolResponse) GetSuccess() bool
- func (*RenameSymbolResponse) ProtoMessage()
- func (x *RenameSymbolResponse) ProtoReflect() protoreflect.Message
- func (x *RenameSymbolResponse) Reset()
- func (x *RenameSymbolResponse) String() string
- type RunChecksRequest
- func (*RunChecksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunChecksRequest) GetChecks() []*Check
- func (x *RunChecksRequest) GetService() string
- func (*RunChecksRequest) ProtoMessage()
- func (x *RunChecksRequest) ProtoReflect() protoreflect.Message
- func (x *RunChecksRequest) Reset()
- func (x *RunChecksRequest) String() string
- type RunChecksResponse
- func (*RunChecksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunChecksResponse) GetResults() []*CheckResult
- func (*RunChecksResponse) ProtoMessage()
- func (x *RunChecksResponse) ProtoReflect() protoreflect.Message
- func (x *RunChecksResponse) Reset()
- func (x *RunChecksResponse) String() string
- type RunCommandRequest
- func (*RunCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunCommandRequest) GetArgs() []string
- func (x *RunCommandRequest) GetCommand() string
- func (x *RunCommandRequest) GetService() string
- func (x *RunCommandRequest) GetTimeoutSeconds() int32
- func (x *RunCommandRequest) GetWorkingDir() string
- func (*RunCommandRequest) ProtoMessage()
- func (x *RunCommandRequest) ProtoReflect() protoreflect.Message
- func (x *RunCommandRequest) Reset()
- func (x *RunCommandRequest) String() string
- type RunCommandResponse
- func (*RunCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunCommandResponse) GetExitCode() int32
- func (x *RunCommandResponse) GetStderr() string
- func (x *RunCommandResponse) GetStdout() string
- func (*RunCommandResponse) ProtoMessage()
- func (x *RunCommandResponse) ProtoReflect() protoreflect.Message
- func (x *RunCommandResponse) Reset()
- func (x *RunCommandResponse) String() string
- type SearchMatch
- func (*SearchMatch) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMatch) GetContextAfter() []string
- func (x *SearchMatch) GetContextBefore() []string
- func (x *SearchMatch) GetFile() string
- func (x *SearchMatch) GetLine() int32
- func (x *SearchMatch) GetText() string
- func (*SearchMatch) ProtoMessage()
- func (x *SearchMatch) ProtoReflect() protoreflect.Message
- func (x *SearchMatch) Reset()
- func (x *SearchMatch) String() string
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest) GetCaseInsensitive() bool
- func (x *SearchRequest) GetContextLines() int32
- func (x *SearchRequest) GetExclude() []string
- func (x *SearchRequest) GetExtensions() []string
- func (x *SearchRequest) GetLiteral() bool
- func (x *SearchRequest) GetMaxResults() int32
- func (x *SearchRequest) GetPath() string
- func (x *SearchRequest) GetPattern() string
- func (x *SearchRequest) GetService() string
- func (*SearchRequest) ProtoMessage()
- func (x *SearchRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRequest) Reset()
- func (x *SearchRequest) String() string
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse) GetMatches() []*SearchMatch
- func (x *SearchResponse) GetTotalMatches() int32
- func (x *SearchResponse) GetTruncated() bool
- func (*SearchResponse) ProtoMessage()
- func (x *SearchResponse) ProtoReflect() protoreflect.Message
- func (x *SearchResponse) Reset()
- func (x *SearchResponse) String() string
- type ServiceInfo
- func (*ServiceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceInfo) GetLanguage() string
- func (x *ServiceInfo) GetName() string
- func (x *ServiceInfo) GetPort() int32
- func (x *ServiceInfo) GetType() string
- func (*ServiceInfo) ProtoMessage()
- func (x *ServiceInfo) ProtoReflect() protoreflect.Message
- func (x *ServiceInfo) Reset()
- func (x *ServiceInfo) String() string
- type Symbol
- func (*Symbol) Descriptor() ([]byte, []int)deprecated
- func (x *Symbol) GetDocumentation() string
- func (x *Symbol) GetFile() string
- func (x *Symbol) GetKind() string
- func (x *Symbol) GetLine() int32
- func (x *Symbol) GetName() string
- func (x *Symbol) GetParent() string
- func (x *Symbol) GetService() string
- func (x *Symbol) GetSignature() string
- func (*Symbol) ProtoMessage()
- func (x *Symbol) ProtoReflect() protoreflect.Message
- func (x *Symbol) Reset()
- func (x *Symbol) String() string
- type TestRequest
- type TestResponse
- func (*TestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestResponse) GetCoveragePct() float32
- func (x *TestResponse) GetFailures() []string
- func (x *TestResponse) GetOutput() string
- func (x *TestResponse) GetSuccess() bool
- func (x *TestResponse) GetTestsFailed() int32
- func (x *TestResponse) GetTestsPassed() int32
- func (x *TestResponse) GetTestsRun() int32
- func (x *TestResponse) GetTestsSkipped() int32
- func (*TestResponse) ProtoMessage()
- func (x *TestResponse) ProtoReflect() protoreflect.Message
- func (x *TestResponse) Reset()
- func (x *TestResponse) String() string
- type TextEdit
- func (*TextEdit) Descriptor() ([]byte, []int)deprecated
- func (x *TextEdit) GetEndColumn() int32
- func (x *TextEdit) GetEndLine() int32
- func (x *TextEdit) GetFile() string
- func (x *TextEdit) GetNewText() string
- func (x *TextEdit) GetStartColumn() int32
- func (x *TextEdit) GetStartLine() int32
- func (*TextEdit) ProtoMessage()
- func (x *TextEdit) ProtoReflect() protoreflect.Message
- func (x *TextEdit) Reset()
- func (x *TextEdit) String() string
- type UnimplementedGatewayServer
- func (UnimplementedGatewayServer) AddDependency(context.Context, *AddDependencyRequest) (*AddDependencyResponse, error)
- func (UnimplementedGatewayServer) ApplyEdit(context.Context, *ApplyEditRequest) (*ApplyEditResponse, error)
- func (UnimplementedGatewayServer) BatchApplyEdits(context.Context, *BatchApplyEditsRequest) (*BatchApplyEditsResponse, error)
- func (UnimplementedGatewayServer) Build(context.Context, *BuildRequest) (*BuildResponse, error)
- func (UnimplementedGatewayServer) CreateFile(context.Context, *CreateFileRequest) (*CreateFileResponse, error)
- func (UnimplementedGatewayServer) DeleteFile(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error)
- func (UnimplementedGatewayServer) FindReferences(context.Context, *FindReferencesRequest) (*FindReferencesResponse, error)
- func (UnimplementedGatewayServer) Fix(context.Context, *FixRequest) (*FixResponse, error)
- func (UnimplementedGatewayServer) GetDiagnostics(context.Context, *GetDiagnosticsRequest) (*GetDiagnosticsResponse, error)
- func (UnimplementedGatewayServer) GetHoverInfo(context.Context, *GetHoverInfoRequest) (*GetHoverInfoResponse, error)
- func (UnimplementedGatewayServer) GetProjectInfo(context.Context, *GetProjectInfoRequest) (*GetProjectInfoResponse, error)
- func (UnimplementedGatewayServer) GitCommit(context.Context, *GitCommitRequest) (*GitCommitResponse, error)
- func (UnimplementedGatewayServer) GitDiff(context.Context, *GitDiffRequest) (*GitDiffResponse, error)
- func (UnimplementedGatewayServer) GitLog(context.Context, *GitLogRequest) (*GitLogResponse, error)
- func (UnimplementedGatewayServer) GitStatus(context.Context, *GitStatusRequest) (*GitStatusResponse, error)
- func (UnimplementedGatewayServer) GoToDefinition(context.Context, *GoToDefinitionRequest) (*GoToDefinitionResponse, error)
- func (UnimplementedGatewayServer) Lint(context.Context, *LintRequest) (*LintResponse, error)
- func (UnimplementedGatewayServer) ListAllCommands(context.Context, *ListAllCommandsRequest) (*ListAllCommandsResponse, error)
- func (UnimplementedGatewayServer) ListDependencies(context.Context, *ListDependenciesRequest) (*ListDependenciesResponse, error)
- func (UnimplementedGatewayServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
- func (UnimplementedGatewayServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
- func (UnimplementedGatewayServer) ListSymbols(context.Context, *ListSymbolsRequest) (*ListSymbolsResponse, error)
- func (UnimplementedGatewayServer) MoveFile(context.Context, *MoveFileRequest) (*MoveFileResponse, error)
- func (UnimplementedGatewayServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
- func (UnimplementedGatewayServer) RemoveDependency(context.Context, *RemoveDependencyRequest) (*RemoveDependencyResponse, error)
- func (UnimplementedGatewayServer) RenameSymbol(context.Context, *RenameSymbolRequest) (*RenameSymbolResponse, error)
- func (UnimplementedGatewayServer) RunChecks(context.Context, *RunChecksRequest) (*RunChecksResponse, error)
- func (UnimplementedGatewayServer) RunCommand(context.Context, *RunCommandRequest) (*RunCommandResponse, error)
- func (UnimplementedGatewayServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)
- func (UnimplementedGatewayServer) Test(context.Context, *TestRequest) (*TestResponse, error)
- func (UnimplementedGatewayServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
- type UnsafeGatewayServer
- type WriteFileRequest
- func (*WriteFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteFileRequest) GetContent() string
- func (x *WriteFileRequest) GetPath() string
- func (x *WriteFileRequest) GetService() string
- func (*WriteFileRequest) ProtoMessage()
- func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
- func (x *WriteFileRequest) Reset()
- func (x *WriteFileRequest) String() string
- type WriteFileResponse
- func (*WriteFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WriteFileResponse) GetError() string
- func (x *WriteFileResponse) GetSuccess() bool
- func (*WriteFileResponse) ProtoMessage()
- func (x *WriteFileResponse) ProtoReflect() protoreflect.Message
- func (x *WriteFileResponse) Reset()
- func (x *WriteFileResponse) String() string
Constants ¶
const ( Gateway_ListServices_FullMethodName = "/mind.gateway.v1.Gateway/ListServices" Gateway_ReadFile_FullMethodName = "/mind.gateway.v1.Gateway/ReadFile" Gateway_WriteFile_FullMethodName = "/mind.gateway.v1.Gateway/WriteFile" Gateway_ListFiles_FullMethodName = "/mind.gateway.v1.Gateway/ListFiles" Gateway_DeleteFile_FullMethodName = "/mind.gateway.v1.Gateway/DeleteFile" Gateway_MoveFile_FullMethodName = "/mind.gateway.v1.Gateway/MoveFile" Gateway_CreateFile_FullMethodName = "/mind.gateway.v1.Gateway/CreateFile" Gateway_ListSymbols_FullMethodName = "/mind.gateway.v1.Gateway/ListSymbols" Gateway_GetDiagnostics_FullMethodName = "/mind.gateway.v1.Gateway/GetDiagnostics" Gateway_GoToDefinition_FullMethodName = "/mind.gateway.v1.Gateway/GoToDefinition" Gateway_FindReferences_FullMethodName = "/mind.gateway.v1.Gateway/FindReferences" Gateway_RenameSymbol_FullMethodName = "/mind.gateway.v1.Gateway/RenameSymbol" Gateway_GetHoverInfo_FullMethodName = "/mind.gateway.v1.Gateway/GetHoverInfo" Gateway_Fix_FullMethodName = "/mind.gateway.v1.Gateway/Fix" Gateway_ApplyEdit_FullMethodName = "/mind.gateway.v1.Gateway/ApplyEdit" Gateway_BatchApplyEdits_FullMethodName = "/mind.gateway.v1.Gateway/BatchApplyEdits" Gateway_Search_FullMethodName = "/mind.gateway.v1.Gateway/Search" Gateway_Build_FullMethodName = "/mind.gateway.v1.Gateway/Build" Gateway_Lint_FullMethodName = "/mind.gateway.v1.Gateway/Lint" Gateway_Test_FullMethodName = "/mind.gateway.v1.Gateway/Test" Gateway_RunCommand_FullMethodName = "/mind.gateway.v1.Gateway/RunCommand" Gateway_ListAllCommands_FullMethodName = "/mind.gateway.v1.Gateway/ListAllCommands" Gateway_RunChecks_FullMethodName = "/mind.gateway.v1.Gateway/RunChecks" Gateway_GitStatus_FullMethodName = "/mind.gateway.v1.Gateway/GitStatus" Gateway_GitDiff_FullMethodName = "/mind.gateway.v1.Gateway/GitDiff" Gateway_GitLog_FullMethodName = "/mind.gateway.v1.Gateway/GitLog" Gateway_GitCommit_FullMethodName = "/mind.gateway.v1.Gateway/GitCommit" Gateway_ListDependencies_FullMethodName = "/mind.gateway.v1.Gateway/ListDependencies" Gateway_AddDependency_FullMethodName = "/mind.gateway.v1.Gateway/AddDependency" Gateway_RemoveDependency_FullMethodName = "/mind.gateway.v1.Gateway/RemoveDependency" Gateway_GetProjectInfo_FullMethodName = "/mind.gateway.v1.Gateway/GetProjectInfo" )
Variables ¶
var File_mind_gateway_v1_gateway_proto protoreflect.FileDescriptor
var Gateway_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mind.gateway.v1.Gateway", HandlerType: (*GatewayServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListServices", Handler: _Gateway_ListServices_Handler, }, { MethodName: "ReadFile", Handler: _Gateway_ReadFile_Handler, }, { MethodName: "WriteFile", Handler: _Gateway_WriteFile_Handler, }, { MethodName: "ListFiles", Handler: _Gateway_ListFiles_Handler, }, { MethodName: "DeleteFile", Handler: _Gateway_DeleteFile_Handler, }, { MethodName: "MoveFile", Handler: _Gateway_MoveFile_Handler, }, { MethodName: "CreateFile", Handler: _Gateway_CreateFile_Handler, }, { MethodName: "ListSymbols", Handler: _Gateway_ListSymbols_Handler, }, { MethodName: "GetDiagnostics", Handler: _Gateway_GetDiagnostics_Handler, }, { MethodName: "GoToDefinition", Handler: _Gateway_GoToDefinition_Handler, }, { MethodName: "FindReferences", Handler: _Gateway_FindReferences_Handler, }, { MethodName: "RenameSymbol", Handler: _Gateway_RenameSymbol_Handler, }, { MethodName: "GetHoverInfo", Handler: _Gateway_GetHoverInfo_Handler, }, { MethodName: "Fix", Handler: _Gateway_Fix_Handler, }, { MethodName: "ApplyEdit", Handler: _Gateway_ApplyEdit_Handler, }, { MethodName: "BatchApplyEdits", Handler: _Gateway_BatchApplyEdits_Handler, }, { MethodName: "Search", Handler: _Gateway_Search_Handler, }, { MethodName: "Build", Handler: _Gateway_Build_Handler, }, { MethodName: "Lint", Handler: _Gateway_Lint_Handler, }, { MethodName: "Test", Handler: _Gateway_Test_Handler, }, { MethodName: "RunCommand", Handler: _Gateway_RunCommand_Handler, }, { MethodName: "ListAllCommands", Handler: _Gateway_ListAllCommands_Handler, }, { MethodName: "RunChecks", Handler: _Gateway_RunChecks_Handler, }, { MethodName: "GitStatus", Handler: _Gateway_GitStatus_Handler, }, { MethodName: "GitDiff", Handler: _Gateway_GitDiff_Handler, }, { MethodName: "GitLog", Handler: _Gateway_GitLog_Handler, }, { MethodName: "GitCommit", Handler: _Gateway_GitCommit_Handler, }, { MethodName: "ListDependencies", Handler: _Gateway_ListDependencies_Handler, }, { MethodName: "AddDependency", Handler: _Gateway_AddDependency_Handler, }, { MethodName: "RemoveDependency", Handler: _Gateway_RemoveDependency_Handler, }, { MethodName: "GetProjectInfo", Handler: _Gateway_GetProjectInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mind/gateway/v1/gateway.proto", }
Gateway_ServiceDesc is the grpc.ServiceDesc for Gateway service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGatewayServer ¶
func RegisterGatewayServer(s grpc.ServiceRegistrar, srv GatewayServer)
Types ¶
type AddDependencyRequest ¶
type AddDependencyRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// package_name is the package or dependency identifier used by the native manager.
PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
// version is the semantic or service-specific version for this resource.
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
AddDependencyRequest identifies a package to install through the native package manager.
func (*AddDependencyRequest) Descriptor
deprecated
func (*AddDependencyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDependencyRequest.ProtoReflect.Descriptor instead.
func (*AddDependencyRequest) GetPackageName ¶
func (x *AddDependencyRequest) GetPackageName() string
func (*AddDependencyRequest) GetService ¶
func (x *AddDependencyRequest) GetService() string
func (*AddDependencyRequest) GetVersion ¶
func (x *AddDependencyRequest) GetVersion() string
func (*AddDependencyRequest) ProtoMessage ¶
func (*AddDependencyRequest) ProtoMessage()
func (*AddDependencyRequest) ProtoReflect ¶
func (x *AddDependencyRequest) ProtoReflect() protoreflect.Message
func (*AddDependencyRequest) Reset ¶
func (x *AddDependencyRequest) Reset()
func (*AddDependencyRequest) String ¶
func (x *AddDependencyRequest) String() string
type AddDependencyResponse ¶
type AddDependencyResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// installed_version is the version resolved by the package manager.
InstalledVersion string `protobuf:"bytes,3,opt,name=installed_version,json=installedVersion,proto3" json:"installed_version,omitempty"`
// contains filtered or unexported fields
}
AddDependencyResponse reports the dependency version resolved by the package manager.
func (*AddDependencyResponse) Descriptor
deprecated
func (*AddDependencyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddDependencyResponse.ProtoReflect.Descriptor instead.
func (*AddDependencyResponse) GetError ¶
func (x *AddDependencyResponse) GetError() string
func (*AddDependencyResponse) GetInstalledVersion ¶
func (x *AddDependencyResponse) GetInstalledVersion() string
func (*AddDependencyResponse) GetSuccess ¶
func (x *AddDependencyResponse) GetSuccess() bool
func (*AddDependencyResponse) ProtoMessage ¶
func (*AddDependencyResponse) ProtoMessage()
func (*AddDependencyResponse) ProtoReflect ¶
func (x *AddDependencyResponse) ProtoReflect() protoreflect.Message
func (*AddDependencyResponse) Reset ¶
func (x *AddDependencyResponse) Reset()
func (*AddDependencyResponse) String ¶
func (x *AddDependencyResponse) String() string
type ApplyEditRequest ¶
type ApplyEditRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` // relative to service root
// find is the text or pattern to locate before applying an edit.
Find string `protobuf:"bytes,3,opt,name=find,proto3" json:"find,omitempty"` // text to find (smart matching at plugin level)
// replace is the replacement text used by an edit operation.
Replace string `protobuf:"bytes,4,opt,name=replace,proto3" json:"replace,omitempty"` // replacement text
// auto_fix asks the agent to run language fixers after editing.
AutoFix bool `protobuf:"varint,5,opt,name=auto_fix,json=autoFix,proto3" json:"auto_fix,omitempty"` // if true, plugin runs fixers after edit
// contains filtered or unexported fields
}
ApplyEditRequest asks the gateway to apply a smart find/replace edit.
func (*ApplyEditRequest) Descriptor
deprecated
func (*ApplyEditRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyEditRequest.ProtoReflect.Descriptor instead.
func (*ApplyEditRequest) GetAutoFix ¶
func (x *ApplyEditRequest) GetAutoFix() bool
func (*ApplyEditRequest) GetFile ¶
func (x *ApplyEditRequest) GetFile() string
func (*ApplyEditRequest) GetFind ¶
func (x *ApplyEditRequest) GetFind() string
func (*ApplyEditRequest) GetReplace ¶
func (x *ApplyEditRequest) GetReplace() string
func (*ApplyEditRequest) GetService ¶
func (x *ApplyEditRequest) GetService() string
func (*ApplyEditRequest) ProtoMessage ¶
func (*ApplyEditRequest) ProtoMessage()
func (*ApplyEditRequest) ProtoReflect ¶
func (x *ApplyEditRequest) ProtoReflect() protoreflect.Message
func (*ApplyEditRequest) Reset ¶
func (x *ApplyEditRequest) Reset()
func (*ApplyEditRequest) String ¶
func (x *ApplyEditRequest) String() string
type ApplyEditResponse ¶
type ApplyEditResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// content is the file content after the edit and optional fixers.
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // file content after edit + fix
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // why the edit failed
// strategy names the edit or execution strategy that produced the result.
Strategy string `protobuf:"bytes,4,opt,name=strategy,proto3" json:"strategy,omitempty"` // which matching strategy
// fix_actions names formatters or import fixers that ran after the edit.
FixActions []string `protobuf:"bytes,5,rep,name=fix_actions,json=fixActions,proto3" json:"fix_actions,omitempty"` // fixers that ran
// contains filtered or unexported fields
}
ApplyEditResponse reports the selected strategy and post-edit content.
func (*ApplyEditResponse) Descriptor
deprecated
func (*ApplyEditResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyEditResponse.ProtoReflect.Descriptor instead.
func (*ApplyEditResponse) GetContent ¶
func (x *ApplyEditResponse) GetContent() string
func (*ApplyEditResponse) GetError ¶
func (x *ApplyEditResponse) GetError() string
func (*ApplyEditResponse) GetFixActions ¶
func (x *ApplyEditResponse) GetFixActions() []string
func (*ApplyEditResponse) GetStrategy ¶
func (x *ApplyEditResponse) GetStrategy() string
func (*ApplyEditResponse) GetSuccess ¶
func (x *ApplyEditResponse) GetSuccess() bool
func (*ApplyEditResponse) ProtoMessage ¶
func (*ApplyEditResponse) ProtoMessage()
func (*ApplyEditResponse) ProtoReflect ¶
func (x *ApplyEditResponse) ProtoReflect() protoreflect.Message
func (*ApplyEditResponse) Reset ¶
func (x *ApplyEditResponse) Reset()
func (*ApplyEditResponse) String ¶
func (x *ApplyEditResponse) String() string
type AvailableCommand ¶
type AvailableCommand struct {
// name is the command name accepted by the gateway.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // e.g. "reset_db"
// description tells users and agents when this command is useful.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // "Reset the database to a clean state"
// usage is the command-line shape shown to users and agents.
Usage string `protobuf:"bytes,3,opt,name=usage,proto3" json:"usage,omitempty"` // "! reset_db [--seed]"
// aliases are alternate command names accepted by the plugin.
Aliases []string `protobuf:"bytes,4,rep,name=aliases,proto3" json:"aliases,omitempty"`
// tags are labels used for filtering, grouping, or display.
Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
// plugin identifies the plugin that provides this command; empty means built-in.
Plugin string `protobuf:"bytes,6,opt,name=plugin,proto3" json:"plugin,omitempty"` // which plugin provides this, empty for built-in
// destructive is true when the operation can mutate or delete user state.
Destructive bool `protobuf:"varint,7,opt,name=destructive,proto3" json:"destructive,omitempty"` // if true, requires user confirmation
// contains filtered or unexported fields
}
AvailableCommand describes a built-in or plugin command exposed through the gateway.
func (*AvailableCommand) Descriptor
deprecated
func (*AvailableCommand) Descriptor() ([]byte, []int)
Deprecated: Use AvailableCommand.ProtoReflect.Descriptor instead.
func (*AvailableCommand) GetAliases ¶
func (x *AvailableCommand) GetAliases() []string
func (*AvailableCommand) GetDescription ¶
func (x *AvailableCommand) GetDescription() string
func (*AvailableCommand) GetDestructive ¶
func (x *AvailableCommand) GetDestructive() bool
func (*AvailableCommand) GetName ¶
func (x *AvailableCommand) GetName() string
func (*AvailableCommand) GetPlugin ¶
func (x *AvailableCommand) GetPlugin() string
func (*AvailableCommand) GetTags ¶
func (x *AvailableCommand) GetTags() []string
func (*AvailableCommand) GetUsage ¶
func (x *AvailableCommand) GetUsage() string
func (*AvailableCommand) ProtoMessage ¶
func (*AvailableCommand) ProtoMessage()
func (*AvailableCommand) ProtoReflect ¶
func (x *AvailableCommand) ProtoReflect() protoreflect.Message
func (*AvailableCommand) Reset ¶
func (x *AvailableCommand) Reset()
func (*AvailableCommand) String ¶
func (x *AvailableCommand) String() string
type BatchApplyEditsRequest ¶
type BatchApplyEditsRequest struct {
// edits are the requested edits, potentially spanning services.
Edits []*ApplyEditRequest `protobuf:"bytes,1,rep,name=edits,proto3" json:"edits,omitempty"`
// contains filtered or unexported fields
}
BatchApplyEditsRequest applies multiple edits in one call.
func (*BatchApplyEditsRequest) Descriptor
deprecated
func (*BatchApplyEditsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchApplyEditsRequest.ProtoReflect.Descriptor instead.
func (*BatchApplyEditsRequest) GetEdits ¶
func (x *BatchApplyEditsRequest) GetEdits() []*ApplyEditRequest
func (*BatchApplyEditsRequest) ProtoMessage ¶
func (*BatchApplyEditsRequest) ProtoMessage()
func (*BatchApplyEditsRequest) ProtoReflect ¶
func (x *BatchApplyEditsRequest) ProtoReflect() protoreflect.Message
func (*BatchApplyEditsRequest) Reset ¶
func (x *BatchApplyEditsRequest) Reset()
func (*BatchApplyEditsRequest) String ¶
func (x *BatchApplyEditsRequest) String() string
type BatchApplyEditsResponse ¶
type BatchApplyEditsResponse struct {
// results are per-item outcomes returned by the operation.
Results []*EditResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// succeeded is the number of edits that applied successfully.
Succeeded int32 `protobuf:"varint,2,opt,name=succeeded,proto3" json:"succeeded,omitempty"`
// failed is the number of edits that failed.
Failed int32 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty"`
// contains filtered or unexported fields
}
BatchApplyEditsResponse returns per-edit outcomes for the batch.
func (*BatchApplyEditsResponse) Descriptor
deprecated
func (*BatchApplyEditsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchApplyEditsResponse.ProtoReflect.Descriptor instead.
func (*BatchApplyEditsResponse) GetFailed ¶
func (x *BatchApplyEditsResponse) GetFailed() int32
func (*BatchApplyEditsResponse) GetResults ¶
func (x *BatchApplyEditsResponse) GetResults() []*EditResult
func (*BatchApplyEditsResponse) GetSucceeded ¶
func (x *BatchApplyEditsResponse) GetSucceeded() int32
func (*BatchApplyEditsResponse) ProtoMessage ¶
func (*BatchApplyEditsResponse) ProtoMessage()
func (*BatchApplyEditsResponse) ProtoReflect ¶
func (x *BatchApplyEditsResponse) ProtoReflect() protoreflect.Message
func (*BatchApplyEditsResponse) Reset ¶
func (x *BatchApplyEditsResponse) Reset()
func (*BatchApplyEditsResponse) String ¶
func (x *BatchApplyEditsResponse) String() string
type BuildError ¶
type BuildError struct {
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// line is the 1-based source line number.
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
// column is the 1-based source column number when known.
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
// message is the diagnostic text returned by the build or lint tool.
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// severity is the diagnostic or finding level reported by the producer.
Severity string `protobuf:"bytes,5,opt,name=severity,proto3" json:"severity,omitempty"` // "error" | "warning"
// contains filtered or unexported fields
}
BuildError is a structured build or lint diagnostic.
func (*BuildError) Descriptor
deprecated
func (*BuildError) Descriptor() ([]byte, []int)
Deprecated: Use BuildError.ProtoReflect.Descriptor instead.
func (*BuildError) GetColumn ¶
func (x *BuildError) GetColumn() int32
func (*BuildError) GetFile ¶
func (x *BuildError) GetFile() string
func (*BuildError) GetLine ¶
func (x *BuildError) GetLine() int32
func (*BuildError) GetMessage ¶
func (x *BuildError) GetMessage() string
func (*BuildError) GetSeverity ¶
func (x *BuildError) GetSeverity() string
func (*BuildError) ProtoMessage ¶
func (*BuildError) ProtoMessage()
func (*BuildError) ProtoReflect ¶
func (x *BuildError) ProtoReflect() protoreflect.Message
func (*BuildError) Reset ¶
func (x *BuildError) Reset()
func (*BuildError) String ¶
func (x *BuildError) String() string
type BuildRequest ¶
type BuildRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// contains filtered or unexported fields
}
BuildRequest asks the gateway to run the service build.
func (*BuildRequest) Descriptor
deprecated
func (*BuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildRequest.ProtoReflect.Descriptor instead.
func (*BuildRequest) GetService ¶
func (x *BuildRequest) GetService() string
func (*BuildRequest) ProtoMessage ¶
func (*BuildRequest) ProtoMessage()
func (*BuildRequest) ProtoReflect ¶
func (x *BuildRequest) ProtoReflect() protoreflect.Message
func (*BuildRequest) Reset ¶
func (x *BuildRequest) Reset()
func (*BuildRequest) String ¶
func (x *BuildRequest) String() string
type BuildResponse ¶
type BuildResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// errors are structured build diagnostics.
Errors []*BuildError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
// output is raw command, build, lint, or test output retained for diagnosis.
Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"` // raw build output
// contains filtered or unexported fields
}
BuildResponse returns build success, structured diagnostics, and raw output.
func (*BuildResponse) Descriptor
deprecated
func (*BuildResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildResponse.ProtoReflect.Descriptor instead.
func (*BuildResponse) GetErrors ¶
func (x *BuildResponse) GetErrors() []*BuildError
func (*BuildResponse) GetOutput ¶
func (x *BuildResponse) GetOutput() string
func (*BuildResponse) GetSuccess ¶
func (x *BuildResponse) GetSuccess() bool
func (*BuildResponse) ProtoMessage ¶
func (*BuildResponse) ProtoMessage()
func (*BuildResponse) ProtoReflect ¶
func (x *BuildResponse) ProtoReflect() protoreflect.Message
func (*BuildResponse) Reset ¶
func (x *BuildResponse) Reset()
func (*BuildResponse) String ¶
func (x *BuildResponse) String() string
type Check ¶
type Check struct {
// name is a caller-chosen identifier for this check.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// check_type selects exactly one supported check type variant.
//
// Types that are valid to be assigned to CheckType:
//
// *Check_Command
// *Check_Http
// *Check_PluginBuild
// *Check_PluginTest
// *Check_PluginLint
CheckType isCheck_CheckType `protobuf_oneof:"check_type"`
// contains filtered or unexported fields
}
Check describes one verification step the gateway can run.
func (*Check) Descriptor
deprecated
func (*Check) GetCheckType ¶
func (x *Check) GetCheckType() isCheck_CheckType
func (*Check) GetCommand ¶
func (x *Check) GetCommand() *CommandCheck
func (*Check) GetPluginBuild ¶
func (x *Check) GetPluginBuild() *PluginCheck
func (*Check) GetPluginLint ¶
func (x *Check) GetPluginLint() *PluginCheck
func (*Check) GetPluginTest ¶
func (x *Check) GetPluginTest() *PluginCheck
func (*Check) ProtoMessage ¶
func (*Check) ProtoMessage()
func (*Check) ProtoReflect ¶
func (x *Check) ProtoReflect() protoreflect.Message
type CheckResult ¶
type CheckResult struct {
// name matches the requested check name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// passed is true when the check met its expected condition.
Passed bool `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty"`
// output is raw command, build, lint, or test output preserved for diagnostics.
Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
CheckResult captures the outcome of one verification check.
func (*CheckResult) Descriptor
deprecated
func (*CheckResult) Descriptor() ([]byte, []int)
Deprecated: Use CheckResult.ProtoReflect.Descriptor instead.
func (*CheckResult) GetError ¶
func (x *CheckResult) GetError() string
func (*CheckResult) GetName ¶
func (x *CheckResult) GetName() string
func (*CheckResult) GetOutput ¶
func (x *CheckResult) GetOutput() string
func (*CheckResult) GetPassed ¶
func (x *CheckResult) GetPassed() bool
func (*CheckResult) ProtoMessage ¶
func (*CheckResult) ProtoMessage()
func (*CheckResult) ProtoReflect ¶
func (x *CheckResult) ProtoReflect() protoreflect.Message
func (*CheckResult) Reset ¶
func (x *CheckResult) Reset()
func (*CheckResult) String ¶
func (x *CheckResult) String() string
type Check_Command ¶
type Check_Command struct {
// command runs a shell command and evaluates exit code or output.
Command *CommandCheck `protobuf:"bytes,2,opt,name=command,proto3,oneof"`
}
type Check_Http ¶
type Check_Http struct {
// http calls a service endpoint and evaluates the response.
Http *HttpCheck `protobuf:"bytes,3,opt,name=http,proto3,oneof"`
}
type Check_PluginBuild ¶
type Check_PluginBuild struct {
// plugin_build delegates to the service plugin's Build RPC.
PluginBuild *PluginCheck `protobuf:"bytes,4,opt,name=plugin_build,json=pluginBuild,proto3,oneof"`
}
type Check_PluginLint ¶
type Check_PluginLint struct {
// plugin_lint delegates to the service plugin's Lint RPC.
PluginLint *PluginCheck `protobuf:"bytes,6,opt,name=plugin_lint,json=pluginLint,proto3,oneof"`
}
type Check_PluginTest ¶
type Check_PluginTest struct {
// plugin_test delegates to the service plugin's Test RPC.
PluginTest *PluginCheck `protobuf:"bytes,5,opt,name=plugin_test,json=pluginTest,proto3,oneof"`
}
type CommandCheck ¶
type CommandCheck struct {
// run is the command line executed by a command check.
Run string `protobuf:"bytes,1,opt,name=run,proto3" json:"run,omitempty"`
// expected_exit_code is the process status required for success.
ExpectedExitCode int32 `protobuf:"varint,2,opt,name=expected_exit_code,json=expectedExitCode,proto3" json:"expected_exit_code,omitempty"`
// output_contains is text that must appear in command output.
OutputContains string `protobuf:"bytes,3,opt,name=output_contains,json=outputContains,proto3" json:"output_contains,omitempty"`
// contains filtered or unexported fields
}
CommandCheck validates a command's exit code and optional output text.
func (*CommandCheck) Descriptor
deprecated
func (*CommandCheck) Descriptor() ([]byte, []int)
Deprecated: Use CommandCheck.ProtoReflect.Descriptor instead.
func (*CommandCheck) GetExpectedExitCode ¶
func (x *CommandCheck) GetExpectedExitCode() int32
func (*CommandCheck) GetOutputContains ¶
func (x *CommandCheck) GetOutputContains() string
func (*CommandCheck) GetRun ¶
func (x *CommandCheck) GetRun() string
func (*CommandCheck) ProtoMessage ¶
func (*CommandCheck) ProtoMessage()
func (*CommandCheck) ProtoReflect ¶
func (x *CommandCheck) ProtoReflect() protoreflect.Message
func (*CommandCheck) Reset ¶
func (x *CommandCheck) Reset()
func (*CommandCheck) String ¶
func (x *CommandCheck) String() string
type CreateFileRequest ¶
type CreateFileRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// content is the initial file body to write.
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
// overwrite allows CreateFile to replace an existing file when true.
Overwrite bool `protobuf:"varint,4,opt,name=overwrite,proto3" json:"overwrite,omitempty"`
// contains filtered or unexported fields
}
CreateFileRequest describes the file resource to create.
func (*CreateFileRequest) Descriptor
deprecated
func (*CreateFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFileRequest.ProtoReflect.Descriptor instead.
func (*CreateFileRequest) GetContent ¶
func (x *CreateFileRequest) GetContent() string
func (*CreateFileRequest) GetOverwrite ¶
func (x *CreateFileRequest) GetOverwrite() bool
func (*CreateFileRequest) GetPath ¶
func (x *CreateFileRequest) GetPath() string
func (*CreateFileRequest) GetService ¶
func (x *CreateFileRequest) GetService() string
func (*CreateFileRequest) ProtoMessage ¶
func (*CreateFileRequest) ProtoMessage()
func (*CreateFileRequest) ProtoReflect ¶
func (x *CreateFileRequest) ProtoReflect() protoreflect.Message
func (*CreateFileRequest) Reset ¶
func (x *CreateFileRequest) Reset()
func (*CreateFileRequest) String ¶
func (x *CreateFileRequest) String() string
type CreateFileResponse ¶
type CreateFileResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
CreateFileResponse reports whether the gateway created the file.
func (*CreateFileResponse) Descriptor
deprecated
func (*CreateFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateFileResponse.ProtoReflect.Descriptor instead.
func (*CreateFileResponse) GetError ¶
func (x *CreateFileResponse) GetError() string
func (*CreateFileResponse) GetSuccess ¶
func (x *CreateFileResponse) GetSuccess() bool
func (*CreateFileResponse) ProtoMessage ¶
func (*CreateFileResponse) ProtoMessage()
func (*CreateFileResponse) ProtoReflect ¶
func (x *CreateFileResponse) ProtoReflect() protoreflect.Message
func (*CreateFileResponse) Reset ¶
func (x *CreateFileResponse) Reset()
func (*CreateFileResponse) String ¶
func (x *CreateFileResponse) String() string
type DeleteFileRequest ¶
type DeleteFileRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // relative to service root
// contains filtered or unexported fields
}
DeleteFileRequest identifies the file resource to delete.
func (*DeleteFileRequest) Descriptor
deprecated
func (*DeleteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileRequest.ProtoReflect.Descriptor instead.
func (*DeleteFileRequest) GetPath ¶
func (x *DeleteFileRequest) GetPath() string
func (*DeleteFileRequest) GetService ¶
func (x *DeleteFileRequest) GetService() string
func (*DeleteFileRequest) ProtoMessage ¶
func (*DeleteFileRequest) ProtoMessage()
func (*DeleteFileRequest) ProtoReflect ¶
func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message
func (*DeleteFileRequest) Reset ¶
func (x *DeleteFileRequest) Reset()
func (*DeleteFileRequest) String ¶
func (x *DeleteFileRequest) String() string
type DeleteFileResponse ¶
type DeleteFileResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
DeleteFileResponse reports whether the gateway removed the file.
func (*DeleteFileResponse) Descriptor
deprecated
func (*DeleteFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileResponse.ProtoReflect.Descriptor instead.
func (*DeleteFileResponse) GetError ¶
func (x *DeleteFileResponse) GetError() string
func (*DeleteFileResponse) GetSuccess ¶
func (x *DeleteFileResponse) GetSuccess() bool
func (*DeleteFileResponse) ProtoMessage ¶
func (*DeleteFileResponse) ProtoMessage()
func (*DeleteFileResponse) ProtoReflect ¶
func (x *DeleteFileResponse) ProtoReflect() protoreflect.Message
func (*DeleteFileResponse) Reset ¶
func (x *DeleteFileResponse) Reset()
func (*DeleteFileResponse) String ¶
func (x *DeleteFileResponse) String() string
type Dependency ¶
type Dependency struct {
// name is the package, module, or dependency identifier.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// version is the semantic or service-specific version for this resource.
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// direct is true when the dependency is declared directly rather than transitively inferred.
Direct bool `protobuf:"varint,3,opt,name=direct,proto3" json:"direct,omitempty"`
// contains filtered or unexported fields
}
Dependency represents a package or module dependency.
func (*Dependency) Descriptor
deprecated
func (*Dependency) Descriptor() ([]byte, []int)
Deprecated: Use Dependency.ProtoReflect.Descriptor instead.
func (*Dependency) GetDirect ¶
func (x *Dependency) GetDirect() bool
func (*Dependency) GetName ¶
func (x *Dependency) GetName() string
func (*Dependency) GetVersion ¶
func (x *Dependency) GetVersion() string
func (*Dependency) ProtoMessage ¶
func (*Dependency) ProtoMessage()
func (*Dependency) ProtoReflect ¶
func (x *Dependency) ProtoReflect() protoreflect.Message
func (*Dependency) Reset ¶
func (x *Dependency) Reset()
func (*Dependency) String ¶
func (x *Dependency) String() string
type Diagnostic ¶
type Diagnostic struct {
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// line is the 1-based source line number.
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
// column is the 1-based source column number when known.
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
// end_line is the 1-based ending source line for a range.
EndLine int32 `protobuf:"varint,4,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
// end_column is the 1-based ending source column for a range.
EndColumn int32 `protobuf:"varint,5,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"`
// message is the diagnostic text returned by the compiler, linter, or language server.
Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
// severity is the diagnostic or finding level reported by the producer.
Severity string `protobuf:"bytes,7,opt,name=severity,proto3" json:"severity,omitempty"` // "error", "warning", "information", "hint"
// source identifies the compiler, linter, language server, or tool that produced the item.
Source string `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"` // e.g. "gopls", "pylsp"
// code is the diagnostic or rule identifier from the producing tool.
Code string `protobuf:"bytes,9,opt,name=code,proto3" json:"code,omitempty"` // diagnostic code
// contains filtered or unexported fields
}
Diagnostic represents a compiler error, warning, or hint.
func (*Diagnostic) Descriptor
deprecated
func (*Diagnostic) Descriptor() ([]byte, []int)
Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.
func (*Diagnostic) GetCode ¶
func (x *Diagnostic) GetCode() string
func (*Diagnostic) GetColumn ¶
func (x *Diagnostic) GetColumn() int32
func (*Diagnostic) GetEndColumn ¶
func (x *Diagnostic) GetEndColumn() int32
func (*Diagnostic) GetEndLine ¶
func (x *Diagnostic) GetEndLine() int32
func (*Diagnostic) GetFile ¶
func (x *Diagnostic) GetFile() string
func (*Diagnostic) GetLine ¶
func (x *Diagnostic) GetLine() int32
func (*Diagnostic) GetMessage ¶
func (x *Diagnostic) GetMessage() string
func (*Diagnostic) GetSeverity ¶
func (x *Diagnostic) GetSeverity() string
func (*Diagnostic) GetSource ¶
func (x *Diagnostic) GetSource() string
func (*Diagnostic) ProtoMessage ¶
func (*Diagnostic) ProtoMessage()
func (*Diagnostic) ProtoReflect ¶
func (x *Diagnostic) ProtoReflect() protoreflect.Message
func (*Diagnostic) Reset ¶
func (x *Diagnostic) Reset()
func (*Diagnostic) String ¶
func (x *Diagnostic) String() string
type EditResult ¶
type EditResult struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// strategy names the edit or execution strategy that produced the result.
Strategy string `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"`
// contains filtered or unexported fields
}
EditResult captures the outcome of one edit inside a batch.
func (*EditResult) Descriptor
deprecated
func (*EditResult) Descriptor() ([]byte, []int)
Deprecated: Use EditResult.ProtoReflect.Descriptor instead.
func (*EditResult) GetError ¶
func (x *EditResult) GetError() string
func (*EditResult) GetFile ¶
func (x *EditResult) GetFile() string
func (*EditResult) GetService ¶
func (x *EditResult) GetService() string
func (*EditResult) GetStrategy ¶
func (x *EditResult) GetStrategy() string
func (*EditResult) GetSuccess ¶
func (x *EditResult) GetSuccess() bool
func (*EditResult) ProtoMessage ¶
func (*EditResult) ProtoMessage()
func (*EditResult) ProtoReflect ¶
func (x *EditResult) ProtoReflect() protoreflect.Message
func (*EditResult) Reset ¶
func (x *EditResult) Reset()
func (*EditResult) String ¶
func (x *EditResult) String() string
type FileInfo ¶
type FileInfo struct {
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // relative path within the service
// size_bytes is the file size in bytes.
SizeBytes int64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
// is_directory is true when the path is a directory.
IsDirectory bool `protobuf:"varint,3,opt,name=is_directory,json=isDirectory,proto3" json:"is_directory,omitempty"`
// contains filtered or unexported fields
}
FileInfo describes a file or directory returned by ListFiles.
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) GetIsDirectory ¶
func (*FileInfo) GetSizeBytes ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
type FindReferencesRequest ¶
type FindReferencesRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
// line is the 1-based source line number.
Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
// column is the 1-based source column number when known.
Column int32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"`
// contains filtered or unexported fields
}
FindReferencesRequest identifies a source position whose usages should be resolved.
func (*FindReferencesRequest) Descriptor
deprecated
func (*FindReferencesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindReferencesRequest.ProtoReflect.Descriptor instead.
func (*FindReferencesRequest) GetColumn ¶
func (x *FindReferencesRequest) GetColumn() int32
func (*FindReferencesRequest) GetFile ¶
func (x *FindReferencesRequest) GetFile() string
func (*FindReferencesRequest) GetLine ¶
func (x *FindReferencesRequest) GetLine() int32
func (*FindReferencesRequest) GetService ¶
func (x *FindReferencesRequest) GetService() string
func (*FindReferencesRequest) ProtoMessage ¶
func (*FindReferencesRequest) ProtoMessage()
func (*FindReferencesRequest) ProtoReflect ¶
func (x *FindReferencesRequest) ProtoReflect() protoreflect.Message
func (*FindReferencesRequest) Reset ¶
func (x *FindReferencesRequest) Reset()
func (*FindReferencesRequest) String ¶
func (x *FindReferencesRequest) String() string
type FindReferencesResponse ¶
type FindReferencesResponse struct {
// locations are reference locations returned by the language server.
Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
FindReferencesResponse returns usage locations for the selected symbol.
func (*FindReferencesResponse) Descriptor
deprecated
func (*FindReferencesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindReferencesResponse.ProtoReflect.Descriptor instead.
func (*FindReferencesResponse) GetError ¶
func (x *FindReferencesResponse) GetError() string
func (*FindReferencesResponse) GetLocations ¶
func (x *FindReferencesResponse) GetLocations() []*Location
func (*FindReferencesResponse) ProtoMessage ¶
func (*FindReferencesResponse) ProtoMessage()
func (*FindReferencesResponse) ProtoReflect ¶
func (x *FindReferencesResponse) ProtoReflect() protoreflect.Message
func (*FindReferencesResponse) Reset ¶
func (x *FindReferencesResponse) Reset()
func (*FindReferencesResponse) String ¶
func (x *FindReferencesResponse) String() string
type FixRequest ¶
type FixRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // relative to service root
// contains filtered or unexported fields
}
FixRequest asks the gateway to run language-specific formatters or fixers on a file.
func (*FixRequest) Descriptor
deprecated
func (*FixRequest) Descriptor() ([]byte, []int)
Deprecated: Use FixRequest.ProtoReflect.Descriptor instead.
func (*FixRequest) GetPath ¶
func (x *FixRequest) GetPath() string
func (*FixRequest) GetService ¶
func (x *FixRequest) GetService() string
func (*FixRequest) ProtoMessage ¶
func (*FixRequest) ProtoMessage()
func (*FixRequest) ProtoReflect ¶
func (x *FixRequest) ProtoReflect() protoreflect.Message
func (*FixRequest) Reset ¶
func (x *FixRequest) Reset()
func (*FixRequest) String ¶
func (x *FixRequest) String() string
type FixResponse ¶
type FixResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// content is the fixed file content; it may be empty when no rewrite was needed.
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // the fixed file content (empty if unchanged)
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // non-fatal: fixer not available, etc.
// actions are native formatter, fixer, or lifecycle actions performed by the agent.
Actions []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` // what was done: "goimports", "gofmt", etc.
// contains filtered or unexported fields
}
FixResponse returns the fixed content and the formatter actions that ran.
func (*FixResponse) Descriptor
deprecated
func (*FixResponse) Descriptor() ([]byte, []int)
Deprecated: Use FixResponse.ProtoReflect.Descriptor instead.
func (*FixResponse) GetActions ¶
func (x *FixResponse) GetActions() []string
func (*FixResponse) GetContent ¶
func (x *FixResponse) GetContent() string
func (*FixResponse) GetError ¶
func (x *FixResponse) GetError() string
func (*FixResponse) GetSuccess ¶
func (x *FixResponse) GetSuccess() bool
func (*FixResponse) ProtoMessage ¶
func (*FixResponse) ProtoMessage()
func (*FixResponse) ProtoReflect ¶
func (x *FixResponse) ProtoReflect() protoreflect.Message
func (*FixResponse) Reset ¶
func (x *FixResponse) Reset()
func (*FixResponse) String ¶
func (x *FixResponse) String() string
type GatewayClient ¶
type GatewayClient interface {
// ListServices returns all services known to the gateway.
ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
// ReadFile reads a file from a service's source tree.
ReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (*ReadFileResponse, error)
// WriteFile writes (creates or overwrites) a file in a service's source tree.
WriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*WriteFileResponse, error)
// ListFiles lists files in a service's source tree.
ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (*ListFilesResponse, error)
// DeleteFile removes a file from a service's source tree.
DeleteFile(ctx context.Context, in *DeleteFileRequest, opts ...grpc.CallOption) (*DeleteFileResponse, error)
// MoveFile renames or moves a file, optionally updating imports.
MoveFile(ctx context.Context, in *MoveFileRequest, opts ...grpc.CallOption) (*MoveFileResponse, error)
// CreateFile creates a new file (fails if exists unless overwrite set).
CreateFile(ctx context.Context, in *CreateFileRequest, opts ...grpc.CallOption) (*CreateFileResponse, error)
// ListSymbols returns code symbols from a service via LSP.
// If service is empty, returns symbols across all services.
ListSymbols(ctx context.Context, in *ListSymbolsRequest, opts ...grpc.CallOption) (*ListSymbolsResponse, error)
// GetDiagnostics returns compiler/linter diagnostics from the language server.
GetDiagnostics(ctx context.Context, in *GetDiagnosticsRequest, opts ...grpc.CallOption) (*GetDiagnosticsResponse, error)
// GoToDefinition finds where a symbol at a given position is defined.
GoToDefinition(ctx context.Context, in *GoToDefinitionRequest, opts ...grpc.CallOption) (*GoToDefinitionResponse, error)
// FindReferences finds all usages of a symbol at a given position.
FindReferences(ctx context.Context, in *FindReferencesRequest, opts ...grpc.CallOption) (*FindReferencesResponse, error)
// RenameSymbol performs a language-aware rename across all files.
RenameSymbol(ctx context.Context, in *RenameSymbolRequest, opts ...grpc.CallOption) (*RenameSymbolResponse, error)
// GetHoverInfo returns type info and documentation at a position.
GetHoverInfo(ctx context.Context, in *GetHoverInfoRequest, opts ...grpc.CallOption) (*GetHoverInfoResponse, error)
// Fix runs language-specific fixers on a file (goimports, gofmt, prettier, etc.).
Fix(ctx context.Context, in *FixRequest, opts ...grpc.CallOption) (*FixResponse, error)
// ApplyEdit performs a smart FIND/REPLACE on a file.
ApplyEdit(ctx context.Context, in *ApplyEditRequest, opts ...grpc.CallOption) (*ApplyEditResponse, error)
// BatchApplyEdits applies multiple edits atomically across files/services.
BatchApplyEdits(ctx context.Context, in *BatchApplyEditsRequest, opts ...grpc.CallOption) (*BatchApplyEditsResponse, error)
// Search performs text search across a service's source tree.
Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
// Build compiles the service (and its dependencies if needed).
Build(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (*BuildResponse, error)
// Lint runs the configured lint command on the service.
Lint(ctx context.Context, in *LintRequest, opts ...grpc.CallOption) (*LintResponse, error)
// Test runs the configured test command on the service.
Test(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*TestResponse, error)
// RunCommand executes an arbitrary command in the service context.
RunCommand(ctx context.Context, in *RunCommandRequest, opts ...grpc.CallOption) (*RunCommandResponse, error)
// ListAllCommands returns commands from all loaded plugins plus built-in ones.
ListAllCommands(ctx context.Context, in *ListAllCommandsRequest, opts ...grpc.CallOption) (*ListAllCommandsResponse, error)
// RunChecks executes a set of verification checks against the service.
RunChecks(ctx context.Context, in *RunChecksRequest, opts ...grpc.CallOption) (*RunChecksResponse, error)
// GitStatus returns the current git status of modified/staged/untracked files.
GitStatus(ctx context.Context, in *GitStatusRequest, opts ...grpc.CallOption) (*GitStatusResponse, error)
// GitDiff shows changes (unstaged or staged).
GitDiff(ctx context.Context, in *GitDiffRequest, opts ...grpc.CallOption) (*GitDiffResponse, error)
// GitLog returns recent commit history.
GitLog(ctx context.Context, in *GitLogRequest, opts ...grpc.CallOption) (*GitLogResponse, error)
// GitCommit commits staged changes.
GitCommit(ctx context.Context, in *GitCommitRequest, opts ...grpc.CallOption) (*GitCommitResponse, error)
// ListDependencies returns all dependencies with versions.
ListDependencies(ctx context.Context, in *ListDependenciesRequest, opts ...grpc.CallOption) (*ListDependenciesResponse, error)
// AddDependency adds a package via the language package manager.
AddDependency(ctx context.Context, in *AddDependencyRequest, opts ...grpc.CallOption) (*AddDependencyResponse, error)
// RemoveDependency removes a package via the language package manager.
RemoveDependency(ctx context.Context, in *RemoveDependencyRequest, opts ...grpc.CallOption) (*RemoveDependencyResponse, error)
// GetProjectInfo returns rich project metadata: module, packages, deps, file hashes.
GetProjectInfo(ctx context.Context, in *GetProjectInfoRequest, opts ...grpc.CallOption) (*GetProjectInfoResponse, error)
}
GatewayClient is the client API for Gateway 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.
Gateway is the firewall API Mind uses to reach Codefly workspaces without talking directly to agents, processes, or containers.
func NewGatewayClient ¶
func NewGatewayClient(cc grpc.ClientConnInterface) GatewayClient
type GatewayServer ¶
type GatewayServer interface {
// ListServices returns all services known to the gateway.
ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
// ReadFile reads a file from a service's source tree.
ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
// WriteFile writes (creates or overwrites) a file in a service's source tree.
WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
// ListFiles lists files in a service's source tree.
ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
// DeleteFile removes a file from a service's source tree.
DeleteFile(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error)
// MoveFile renames or moves a file, optionally updating imports.
MoveFile(context.Context, *MoveFileRequest) (*MoveFileResponse, error)
// CreateFile creates a new file (fails if exists unless overwrite set).
CreateFile(context.Context, *CreateFileRequest) (*CreateFileResponse, error)
// ListSymbols returns code symbols from a service via LSP.
// If service is empty, returns symbols across all services.
ListSymbols(context.Context, *ListSymbolsRequest) (*ListSymbolsResponse, error)
// GetDiagnostics returns compiler/linter diagnostics from the language server.
GetDiagnostics(context.Context, *GetDiagnosticsRequest) (*GetDiagnosticsResponse, error)
// GoToDefinition finds where a symbol at a given position is defined.
GoToDefinition(context.Context, *GoToDefinitionRequest) (*GoToDefinitionResponse, error)
// FindReferences finds all usages of a symbol at a given position.
FindReferences(context.Context, *FindReferencesRequest) (*FindReferencesResponse, error)
// RenameSymbol performs a language-aware rename across all files.
RenameSymbol(context.Context, *RenameSymbolRequest) (*RenameSymbolResponse, error)
// GetHoverInfo returns type info and documentation at a position.
GetHoverInfo(context.Context, *GetHoverInfoRequest) (*GetHoverInfoResponse, error)
// Fix runs language-specific fixers on a file (goimports, gofmt, prettier, etc.).
Fix(context.Context, *FixRequest) (*FixResponse, error)
// ApplyEdit performs a smart FIND/REPLACE on a file.
ApplyEdit(context.Context, *ApplyEditRequest) (*ApplyEditResponse, error)
// BatchApplyEdits applies multiple edits atomically across files/services.
BatchApplyEdits(context.Context, *BatchApplyEditsRequest) (*BatchApplyEditsResponse, error)
// Search performs text search across a service's source tree.
Search(context.Context, *SearchRequest) (*SearchResponse, error)
// Build compiles the service (and its dependencies if needed).
Build(context.Context, *BuildRequest) (*BuildResponse, error)
// Lint runs the configured lint command on the service.
Lint(context.Context, *LintRequest) (*LintResponse, error)
// Test runs the configured test command on the service.
Test(context.Context, *TestRequest) (*TestResponse, error)
// RunCommand executes an arbitrary command in the service context.
RunCommand(context.Context, *RunCommandRequest) (*RunCommandResponse, error)
// ListAllCommands returns commands from all loaded plugins plus built-in ones.
ListAllCommands(context.Context, *ListAllCommandsRequest) (*ListAllCommandsResponse, error)
// RunChecks executes a set of verification checks against the service.
RunChecks(context.Context, *RunChecksRequest) (*RunChecksResponse, error)
// GitStatus returns the current git status of modified/staged/untracked files.
GitStatus(context.Context, *GitStatusRequest) (*GitStatusResponse, error)
// GitDiff shows changes (unstaged or staged).
GitDiff(context.Context, *GitDiffRequest) (*GitDiffResponse, error)
// GitLog returns recent commit history.
GitLog(context.Context, *GitLogRequest) (*GitLogResponse, error)
// GitCommit commits staged changes.
GitCommit(context.Context, *GitCommitRequest) (*GitCommitResponse, error)
// ListDependencies returns all dependencies with versions.
ListDependencies(context.Context, *ListDependenciesRequest) (*ListDependenciesResponse, error)
// AddDependency adds a package via the language package manager.
AddDependency(context.Context, *AddDependencyRequest) (*AddDependencyResponse, error)
// RemoveDependency removes a package via the language package manager.
RemoveDependency(context.Context, *RemoveDependencyRequest) (*RemoveDependencyResponse, error)
// GetProjectInfo returns rich project metadata: module, packages, deps, file hashes.
GetProjectInfo(context.Context, *GetProjectInfoRequest) (*GetProjectInfoResponse, error)
// contains filtered or unexported methods
}
GatewayServer is the server API for Gateway service. All implementations must embed UnimplementedGatewayServer for forward compatibility.
Gateway is the firewall API Mind uses to reach Codefly workspaces without talking directly to agents, processes, or containers.
type GetDiagnosticsRequest ¶
type GetDiagnosticsRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` // optional: restrict to a single file
// contains filtered or unexported fields
}
GetDiagnosticsRequest identifies the diagnostics data to retrieve.
func (*GetDiagnosticsRequest) Descriptor
deprecated
func (*GetDiagnosticsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDiagnosticsRequest.ProtoReflect.Descriptor instead.
func (*GetDiagnosticsRequest) GetFile ¶
func (x *GetDiagnosticsRequest) GetFile() string
func (*GetDiagnosticsRequest) GetService ¶
func (x *GetDiagnosticsRequest) GetService() string
func (*GetDiagnosticsRequest) ProtoMessage ¶
func (*GetDiagnosticsRequest) ProtoMessage()
func (*GetDiagnosticsRequest) ProtoReflect ¶
func (x *GetDiagnosticsRequest) ProtoReflect() protoreflect.Message
func (*GetDiagnosticsRequest) Reset ¶
func (x *GetDiagnosticsRequest) Reset()
func (*GetDiagnosticsRequest) String ¶
func (x *GetDiagnosticsRequest) String() string
type GetDiagnosticsResponse ¶
type GetDiagnosticsResponse struct {
// diagnostics are compiler, linter, or language-server findings.
Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
GetDiagnosticsResponse returns compiler, linter, or language-server findings.
func (*GetDiagnosticsResponse) Descriptor
deprecated
func (*GetDiagnosticsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDiagnosticsResponse.ProtoReflect.Descriptor instead.
func (*GetDiagnosticsResponse) GetDiagnostics ¶
func (x *GetDiagnosticsResponse) GetDiagnostics() []*Diagnostic
func (*GetDiagnosticsResponse) GetError ¶
func (x *GetDiagnosticsResponse) GetError() string
func (*GetDiagnosticsResponse) ProtoMessage ¶
func (*GetDiagnosticsResponse) ProtoMessage()
func (*GetDiagnosticsResponse) ProtoReflect ¶
func (x *GetDiagnosticsResponse) ProtoReflect() protoreflect.Message
func (*GetDiagnosticsResponse) Reset ¶
func (x *GetDiagnosticsResponse) Reset()
func (*GetDiagnosticsResponse) String ¶
func (x *GetDiagnosticsResponse) String() string
type GetHoverInfoRequest ¶
type GetHoverInfoRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
// line is the 1-based source line number.
Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
// column is the 1-based source column number when known.
Column int32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"`
// contains filtered or unexported fields
}
GetHoverInfoRequest identifies the hover info data to retrieve.
func (*GetHoverInfoRequest) Descriptor
deprecated
func (*GetHoverInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHoverInfoRequest.ProtoReflect.Descriptor instead.
func (*GetHoverInfoRequest) GetColumn ¶
func (x *GetHoverInfoRequest) GetColumn() int32
func (*GetHoverInfoRequest) GetFile ¶
func (x *GetHoverInfoRequest) GetFile() string
func (*GetHoverInfoRequest) GetLine ¶
func (x *GetHoverInfoRequest) GetLine() int32
func (*GetHoverInfoRequest) GetService ¶
func (x *GetHoverInfoRequest) GetService() string
func (*GetHoverInfoRequest) ProtoMessage ¶
func (*GetHoverInfoRequest) ProtoMessage()
func (*GetHoverInfoRequest) ProtoReflect ¶
func (x *GetHoverInfoRequest) ProtoReflect() protoreflect.Message
func (*GetHoverInfoRequest) Reset ¶
func (x *GetHoverInfoRequest) Reset()
func (*GetHoverInfoRequest) String ¶
func (x *GetHoverInfoRequest) String() string
type GetHoverInfoResponse ¶
type GetHoverInfoResponse struct {
// content is hover content, often markdown from the language server.
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// language is the implementation language reported by tooling or project metadata.
Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
GetHoverInfoResponse returns hover text and language metadata for a source position.
func (*GetHoverInfoResponse) Descriptor
deprecated
func (*GetHoverInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHoverInfoResponse.ProtoReflect.Descriptor instead.
func (*GetHoverInfoResponse) GetContent ¶
func (x *GetHoverInfoResponse) GetContent() string
func (*GetHoverInfoResponse) GetError ¶
func (x *GetHoverInfoResponse) GetError() string
func (*GetHoverInfoResponse) GetLanguage ¶
func (x *GetHoverInfoResponse) GetLanguage() string
func (*GetHoverInfoResponse) ProtoMessage ¶
func (*GetHoverInfoResponse) ProtoMessage()
func (*GetHoverInfoResponse) ProtoReflect ¶
func (x *GetHoverInfoResponse) ProtoReflect() protoreflect.Message
func (*GetHoverInfoResponse) Reset ¶
func (x *GetHoverInfoResponse) Reset()
func (*GetHoverInfoResponse) String ¶
func (x *GetHoverInfoResponse) String() string
type GetProjectInfoRequest ¶
type GetProjectInfoRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// contains filtered or unexported fields
}
GetProjectInfoRequest identifies the project info data to retrieve.
func (*GetProjectInfoRequest) Descriptor
deprecated
func (*GetProjectInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectInfoRequest.ProtoReflect.Descriptor instead.
func (*GetProjectInfoRequest) GetService ¶
func (x *GetProjectInfoRequest) GetService() string
func (*GetProjectInfoRequest) ProtoMessage ¶
func (*GetProjectInfoRequest) ProtoMessage()
func (*GetProjectInfoRequest) ProtoReflect ¶
func (x *GetProjectInfoRequest) ProtoReflect() protoreflect.Message
func (*GetProjectInfoRequest) Reset ¶
func (x *GetProjectInfoRequest) Reset()
func (*GetProjectInfoRequest) String ¶
func (x *GetProjectInfoRequest) String() string
type GetProjectInfoResponse ¶
type GetProjectInfoResponse struct {
// module is the Codefly module name that groups services.
Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // e.g. "github.com/codefly-dev/mind"
// language is the implementation language detected for this service or project.
Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` // e.g. "go"
// language_version is the detected compiler or runtime version.
LanguageVersion string `protobuf:"bytes,3,opt,name=language_version,json=languageVersion,proto3" json:"language_version,omitempty"` // e.g. "1.25"
// packages describes the package or module layout within the service.
Packages []*PackageInfo `protobuf:"bytes,4,rep,name=packages,proto3" json:"packages,omitempty"` // package structure
// dependencies are packages discovered from manifests or lock files.
Dependencies []*Dependency `protobuf:"bytes,5,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // reuse existing Dependency message
// file_hashes maps source paths to content hashes for change detection.
FileHashes map[string]string `` // path -> SHA-256 for change detection
/* 165-byte string literal not displayed */
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
GetProjectInfoResponse returns language metadata useful for ingestion and planning.
func (*GetProjectInfoResponse) Descriptor
deprecated
func (*GetProjectInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectInfoResponse.ProtoReflect.Descriptor instead.
func (*GetProjectInfoResponse) GetDependencies ¶
func (x *GetProjectInfoResponse) GetDependencies() []*Dependency
func (*GetProjectInfoResponse) GetError ¶
func (x *GetProjectInfoResponse) GetError() string
func (*GetProjectInfoResponse) GetFileHashes ¶
func (x *GetProjectInfoResponse) GetFileHashes() map[string]string
func (*GetProjectInfoResponse) GetLanguage ¶
func (x *GetProjectInfoResponse) GetLanguage() string
func (*GetProjectInfoResponse) GetLanguageVersion ¶
func (x *GetProjectInfoResponse) GetLanguageVersion() string
func (*GetProjectInfoResponse) GetModule ¶
func (x *GetProjectInfoResponse) GetModule() string
func (*GetProjectInfoResponse) GetPackages ¶
func (x *GetProjectInfoResponse) GetPackages() []*PackageInfo
func (*GetProjectInfoResponse) ProtoMessage ¶
func (*GetProjectInfoResponse) ProtoMessage()
func (*GetProjectInfoResponse) ProtoReflect ¶
func (x *GetProjectInfoResponse) ProtoReflect() protoreflect.Message
func (*GetProjectInfoResponse) Reset ¶
func (x *GetProjectInfoResponse) Reset()
func (*GetProjectInfoResponse) String ¶
func (x *GetProjectInfoResponse) String() string
type GitCommitInfo ¶
type GitCommitInfo struct {
// hash is the full git commit or content hash.
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
// short_hash is the abbreviated git commit hash.
ShortHash string `protobuf:"bytes,2,opt,name=short_hash,json=shortHash,proto3" json:"short_hash,omitempty"`
// author is the commit author identity.
Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
// message is the first line of the commit message.
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// date is the commit timestamp as reported by git.
Date string `protobuf:"bytes,5,opt,name=date,proto3" json:"date,omitempty"`
// contains filtered or unexported fields
}
GitCommitInfo summarizes one commit returned by GitLog.
func (*GitCommitInfo) Descriptor
deprecated
func (*GitCommitInfo) Descriptor() ([]byte, []int)
Deprecated: Use GitCommitInfo.ProtoReflect.Descriptor instead.
func (*GitCommitInfo) GetAuthor ¶
func (x *GitCommitInfo) GetAuthor() string
func (*GitCommitInfo) GetDate ¶
func (x *GitCommitInfo) GetDate() string
func (*GitCommitInfo) GetHash ¶
func (x *GitCommitInfo) GetHash() string
func (*GitCommitInfo) GetMessage ¶
func (x *GitCommitInfo) GetMessage() string
func (*GitCommitInfo) GetShortHash ¶
func (x *GitCommitInfo) GetShortHash() string
func (*GitCommitInfo) ProtoMessage ¶
func (*GitCommitInfo) ProtoMessage()
func (*GitCommitInfo) ProtoReflect ¶
func (x *GitCommitInfo) ProtoReflect() protoreflect.Message
func (*GitCommitInfo) Reset ¶
func (x *GitCommitInfo) Reset()
func (*GitCommitInfo) String ¶
func (x *GitCommitInfo) String() string
type GitCommitRequest ¶
type GitCommitRequest struct {
// message is the commit message to use.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// paths optionally restrict the commit to specific files.
Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` // optional: specific files to commit
// contains filtered or unexported fields
}
GitCommitRequest asks the gateway to commit selected workspace changes.
func (*GitCommitRequest) Descriptor
deprecated
func (*GitCommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitCommitRequest.ProtoReflect.Descriptor instead.
func (*GitCommitRequest) GetMessage ¶
func (x *GitCommitRequest) GetMessage() string
func (*GitCommitRequest) GetPaths ¶
func (x *GitCommitRequest) GetPaths() []string
func (*GitCommitRequest) ProtoMessage ¶
func (*GitCommitRequest) ProtoMessage()
func (*GitCommitRequest) ProtoReflect ¶
func (x *GitCommitRequest) ProtoReflect() protoreflect.Message
func (*GitCommitRequest) Reset ¶
func (x *GitCommitRequest) Reset()
func (*GitCommitRequest) String ¶
func (x *GitCommitRequest) String() string
type GitCommitResponse ¶
type GitCommitResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// hash is the full git commit or content hash.
Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
GitCommitResponse reports the commit hash when the commit succeeds.
func (*GitCommitResponse) Descriptor
deprecated
func (*GitCommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitCommitResponse.ProtoReflect.Descriptor instead.
func (*GitCommitResponse) GetError ¶
func (x *GitCommitResponse) GetError() string
func (*GitCommitResponse) GetHash ¶
func (x *GitCommitResponse) GetHash() string
func (*GitCommitResponse) GetSuccess ¶
func (x *GitCommitResponse) GetSuccess() bool
func (*GitCommitResponse) ProtoMessage ¶
func (*GitCommitResponse) ProtoMessage()
func (*GitCommitResponse) ProtoReflect ¶
func (x *GitCommitResponse) ProtoReflect() protoreflect.Message
func (*GitCommitResponse) Reset ¶
func (x *GitCommitResponse) Reset()
func (*GitCommitResponse) String ¶
func (x *GitCommitResponse) String() string
type GitDiffRequest ¶
type GitDiffRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // optional: restrict to a file
// staged selects or reports the git index instead of the worktree.
Staged bool `protobuf:"varint,3,opt,name=staged,proto3" json:"staged,omitempty"` // if true, show staged changes
// contains filtered or unexported fields
}
GitDiffRequest asks for a git diff, optionally scoped to a path or index.
func (*GitDiffRequest) Descriptor
deprecated
func (*GitDiffRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitDiffRequest.ProtoReflect.Descriptor instead.
func (*GitDiffRequest) GetPath ¶
func (x *GitDiffRequest) GetPath() string
func (*GitDiffRequest) GetService ¶
func (x *GitDiffRequest) GetService() string
func (*GitDiffRequest) GetStaged ¶
func (x *GitDiffRequest) GetStaged() bool
func (*GitDiffRequest) ProtoMessage ¶
func (*GitDiffRequest) ProtoMessage()
func (*GitDiffRequest) ProtoReflect ¶
func (x *GitDiffRequest) ProtoReflect() protoreflect.Message
func (*GitDiffRequest) Reset ¶
func (x *GitDiffRequest) Reset()
func (*GitDiffRequest) String ¶
func (x *GitDiffRequest) String() string
type GitDiffResponse ¶
type GitDiffResponse struct {
// diff is the unified git diff text.
Diff string `protobuf:"bytes,1,opt,name=diff,proto3" json:"diff,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
GitDiffResponse returns unified diff text.
func (*GitDiffResponse) Descriptor
deprecated
func (*GitDiffResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitDiffResponse.ProtoReflect.Descriptor instead.
func (*GitDiffResponse) GetDiff ¶
func (x *GitDiffResponse) GetDiff() string
func (*GitDiffResponse) GetError ¶
func (x *GitDiffResponse) GetError() string
func (*GitDiffResponse) ProtoMessage ¶
func (*GitDiffResponse) ProtoMessage()
func (*GitDiffResponse) ProtoReflect ¶
func (x *GitDiffResponse) ProtoReflect() protoreflect.Message
func (*GitDiffResponse) Reset ¶
func (x *GitDiffResponse) Reset()
func (*GitDiffResponse) String ¶
func (x *GitDiffResponse) String() string
type GitFileStatus ¶
type GitFileStatus struct {
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// status is the git, lifecycle, diagnostic, or operation state for this item.
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // "modified", "added", "deleted", "untracked", "renamed", "copied"
// staged selects or reports the git index instead of the worktree.
Staged bool `protobuf:"varint,3,opt,name=staged,proto3" json:"staged,omitempty"`
// contains filtered or unexported fields
}
GitFileStatus reports the state and message for the git file lifecycle phase.
func (*GitFileStatus) Descriptor
deprecated
func (*GitFileStatus) Descriptor() ([]byte, []int)
Deprecated: Use GitFileStatus.ProtoReflect.Descriptor instead.
func (*GitFileStatus) GetPath ¶
func (x *GitFileStatus) GetPath() string
func (*GitFileStatus) GetStaged ¶
func (x *GitFileStatus) GetStaged() bool
func (*GitFileStatus) GetStatus ¶
func (x *GitFileStatus) GetStatus() string
func (*GitFileStatus) ProtoMessage ¶
func (*GitFileStatus) ProtoMessage()
func (*GitFileStatus) ProtoReflect ¶
func (x *GitFileStatus) ProtoReflect() protoreflect.Message
func (*GitFileStatus) Reset ¶
func (x *GitFileStatus) Reset()
func (*GitFileStatus) String ¶
func (x *GitFileStatus) String() string
type GitLogRequest ¶
type GitLogRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// count limits how many records should be returned.
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // number of commits (default 10)
// contains filtered or unexported fields
}
GitLogRequest asks for recent commit history.
func (*GitLogRequest) Descriptor
deprecated
func (*GitLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitLogRequest.ProtoReflect.Descriptor instead.
func (*GitLogRequest) GetCount ¶
func (x *GitLogRequest) GetCount() int32
func (*GitLogRequest) GetService ¶
func (x *GitLogRequest) GetService() string
func (*GitLogRequest) ProtoMessage ¶
func (*GitLogRequest) ProtoMessage()
func (*GitLogRequest) ProtoReflect ¶
func (x *GitLogRequest) ProtoReflect() protoreflect.Message
func (*GitLogRequest) Reset ¶
func (x *GitLogRequest) Reset()
func (*GitLogRequest) String ¶
func (x *GitLogRequest) String() string
type GitLogResponse ¶
type GitLogResponse struct {
// commits are git history entries ordered newest first.
Commits []*GitCommitInfo `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
GitLogResponse returns commit history ordered newest first.
func (*GitLogResponse) Descriptor
deprecated
func (*GitLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitLogResponse.ProtoReflect.Descriptor instead.
func (*GitLogResponse) GetCommits ¶
func (x *GitLogResponse) GetCommits() []*GitCommitInfo
func (*GitLogResponse) GetError ¶
func (x *GitLogResponse) GetError() string
func (*GitLogResponse) ProtoMessage ¶
func (*GitLogResponse) ProtoMessage()
func (*GitLogResponse) ProtoReflect ¶
func (x *GitLogResponse) ProtoReflect() protoreflect.Message
func (*GitLogResponse) Reset ¶
func (x *GitLogResponse) Reset()
func (*GitLogResponse) String ¶
func (x *GitLogResponse) String() string
type GitStatusRequest ¶
type GitStatusRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // optional: filter to service directory
// contains filtered or unexported fields
}
GitStatusRequest asks for git status, optionally scoped to one service directory.
func (*GitStatusRequest) Descriptor
deprecated
func (*GitStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitStatusRequest.ProtoReflect.Descriptor instead.
func (*GitStatusRequest) GetService ¶
func (x *GitStatusRequest) GetService() string
func (*GitStatusRequest) ProtoMessage ¶
func (*GitStatusRequest) ProtoMessage()
func (*GitStatusRequest) ProtoReflect ¶
func (x *GitStatusRequest) ProtoReflect() protoreflect.Message
func (*GitStatusRequest) Reset ¶
func (x *GitStatusRequest) Reset()
func (*GitStatusRequest) String ¶
func (x *GitStatusRequest) String() string
type GitStatusResponse ¶
type GitStatusResponse struct {
// files are changed files reported by git status.
Files []*GitFileStatus `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
// branch is the current git branch name.
Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
GitStatusResponse returns branch and changed-file status.
func (*GitStatusResponse) Descriptor
deprecated
func (*GitStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitStatusResponse.ProtoReflect.Descriptor instead.
func (*GitStatusResponse) GetBranch ¶
func (x *GitStatusResponse) GetBranch() string
func (*GitStatusResponse) GetError ¶
func (x *GitStatusResponse) GetError() string
func (*GitStatusResponse) GetFiles ¶
func (x *GitStatusResponse) GetFiles() []*GitFileStatus
func (*GitStatusResponse) ProtoMessage ¶
func (*GitStatusResponse) ProtoMessage()
func (*GitStatusResponse) ProtoReflect ¶
func (x *GitStatusResponse) ProtoReflect() protoreflect.Message
func (*GitStatusResponse) Reset ¶
func (x *GitStatusResponse) Reset()
func (*GitStatusResponse) String ¶
func (x *GitStatusResponse) String() string
type GoToDefinitionRequest ¶
type GoToDefinitionRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
// line is the 1-based source line number.
Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
// column is the 1-based source column number when known.
Column int32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"`
// contains filtered or unexported fields
}
GoToDefinitionRequest identifies a source position whose declaration should be resolved.
func (*GoToDefinitionRequest) Descriptor
deprecated
func (*GoToDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GoToDefinitionRequest.ProtoReflect.Descriptor instead.
func (*GoToDefinitionRequest) GetColumn ¶
func (x *GoToDefinitionRequest) GetColumn() int32
func (*GoToDefinitionRequest) GetFile ¶
func (x *GoToDefinitionRequest) GetFile() string
func (*GoToDefinitionRequest) GetLine ¶
func (x *GoToDefinitionRequest) GetLine() int32
func (*GoToDefinitionRequest) GetService ¶
func (x *GoToDefinitionRequest) GetService() string
func (*GoToDefinitionRequest) ProtoMessage ¶
func (*GoToDefinitionRequest) ProtoMessage()
func (*GoToDefinitionRequest) ProtoReflect ¶
func (x *GoToDefinitionRequest) ProtoReflect() protoreflect.Message
func (*GoToDefinitionRequest) Reset ¶
func (x *GoToDefinitionRequest) Reset()
func (*GoToDefinitionRequest) String ¶
func (x *GoToDefinitionRequest) String() string
type GoToDefinitionResponse ¶
type GoToDefinitionResponse struct {
// locations are declaration locations returned by the language server.
Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
GoToDefinitionResponse returns declaration locations for the selected symbol.
func (*GoToDefinitionResponse) Descriptor
deprecated
func (*GoToDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GoToDefinitionResponse.ProtoReflect.Descriptor instead.
func (*GoToDefinitionResponse) GetError ¶
func (x *GoToDefinitionResponse) GetError() string
func (*GoToDefinitionResponse) GetLocations ¶
func (x *GoToDefinitionResponse) GetLocations() []*Location
func (*GoToDefinitionResponse) ProtoMessage ¶
func (*GoToDefinitionResponse) ProtoMessage()
func (*GoToDefinitionResponse) ProtoReflect ¶
func (x *GoToDefinitionResponse) ProtoReflect() protoreflect.Message
func (*GoToDefinitionResponse) Reset ¶
func (x *GoToDefinitionResponse) Reset()
func (*GoToDefinitionResponse) String ¶
func (x *GoToDefinitionResponse) String() string
type HttpCheck ¶
type HttpCheck struct {
// method is the HTTP verb used by the check or API description.
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
// path is the HTTP path to request on the service endpoint.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// body is the request or response payload.
Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
// expected_status is the HTTP status code required for success.
ExpectedStatus int32 `protobuf:"varint,4,opt,name=expected_status,json=expectedStatus,proto3" json:"expected_status,omitempty"`
// body_contains is text that must appear in the HTTP response body.
BodyContains string `protobuf:"bytes,5,opt,name=body_contains,json=bodyContains,proto3" json:"body_contains,omitempty"`
// contains filtered or unexported fields
}
HttpCheck validates an HTTP endpoint response.
func (*HttpCheck) Descriptor
deprecated
func (*HttpCheck) GetBodyContains ¶
func (*HttpCheck) GetExpectedStatus ¶
func (*HttpCheck) ProtoMessage ¶
func (*HttpCheck) ProtoMessage()
func (*HttpCheck) ProtoReflect ¶
func (x *HttpCheck) ProtoReflect() protoreflect.Message
type LintRequest ¶
type LintRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// contains filtered or unexported fields
}
LintRequest asks the gateway to run the service linter.
func (*LintRequest) Descriptor
deprecated
func (*LintRequest) Descriptor() ([]byte, []int)
Deprecated: Use LintRequest.ProtoReflect.Descriptor instead.
func (*LintRequest) GetService ¶
func (x *LintRequest) GetService() string
func (*LintRequest) ProtoMessage ¶
func (*LintRequest) ProtoMessage()
func (*LintRequest) ProtoReflect ¶
func (x *LintRequest) ProtoReflect() protoreflect.Message
func (*LintRequest) Reset ¶
func (x *LintRequest) Reset()
func (*LintRequest) String ¶
func (x *LintRequest) String() string
type LintResponse ¶
type LintResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// errors are structured lint diagnostics.
Errors []*BuildError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // reuse BuildError for lint diagnostics
// output is raw command, build, lint, or test output retained for diagnosis.
Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"` // raw lint output
// contains filtered or unexported fields
}
LintResponse returns lint success, structured diagnostics, and raw output.
func (*LintResponse) Descriptor
deprecated
func (*LintResponse) Descriptor() ([]byte, []int)
Deprecated: Use LintResponse.ProtoReflect.Descriptor instead.
func (*LintResponse) GetErrors ¶
func (x *LintResponse) GetErrors() []*BuildError
func (*LintResponse) GetOutput ¶
func (x *LintResponse) GetOutput() string
func (*LintResponse) GetSuccess ¶
func (x *LintResponse) GetSuccess() bool
func (*LintResponse) ProtoMessage ¶
func (*LintResponse) ProtoMessage()
func (*LintResponse) ProtoReflect ¶
func (x *LintResponse) ProtoReflect() protoreflect.Message
func (*LintResponse) Reset ¶
func (x *LintResponse) Reset()
func (*LintResponse) String ¶
func (x *LintResponse) String() string
type ListAllCommandsRequest ¶
type ListAllCommandsRequest struct {
// contains filtered or unexported fields
}
ListAllCommandsRequest carries optional filters for listing all commands.
func (*ListAllCommandsRequest) Descriptor
deprecated
func (*ListAllCommandsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAllCommandsRequest.ProtoReflect.Descriptor instead.
func (*ListAllCommandsRequest) ProtoMessage ¶
func (*ListAllCommandsRequest) ProtoMessage()
func (*ListAllCommandsRequest) ProtoReflect ¶
func (x *ListAllCommandsRequest) ProtoReflect() protoreflect.Message
func (*ListAllCommandsRequest) Reset ¶
func (x *ListAllCommandsRequest) Reset()
func (*ListAllCommandsRequest) String ¶
func (x *ListAllCommandsRequest) String() string
type ListAllCommandsResponse ¶
type ListAllCommandsResponse struct {
// commands are plugin or built-in commands available to callers.
Commands []*AvailableCommand `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
// contains filtered or unexported fields
}
ListAllCommandsResponse returns the gateway command catalog.
func (*ListAllCommandsResponse) Descriptor
deprecated
func (*ListAllCommandsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAllCommandsResponse.ProtoReflect.Descriptor instead.
func (*ListAllCommandsResponse) GetCommands ¶
func (x *ListAllCommandsResponse) GetCommands() []*AvailableCommand
func (*ListAllCommandsResponse) ProtoMessage ¶
func (*ListAllCommandsResponse) ProtoMessage()
func (*ListAllCommandsResponse) ProtoReflect ¶
func (x *ListAllCommandsResponse) ProtoReflect() protoreflect.Message
func (*ListAllCommandsResponse) Reset ¶
func (x *ListAllCommandsResponse) Reset()
func (*ListAllCommandsResponse) String ¶
func (x *ListAllCommandsResponse) String() string
type ListDependenciesRequest ¶
type ListDependenciesRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// contains filtered or unexported fields
}
ListDependenciesRequest carries optional filters for listing dependencies.
func (*ListDependenciesRequest) Descriptor
deprecated
func (*ListDependenciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDependenciesRequest.ProtoReflect.Descriptor instead.
func (*ListDependenciesRequest) GetService ¶
func (x *ListDependenciesRequest) GetService() string
func (*ListDependenciesRequest) ProtoMessage ¶
func (*ListDependenciesRequest) ProtoMessage()
func (*ListDependenciesRequest) ProtoReflect ¶
func (x *ListDependenciesRequest) ProtoReflect() protoreflect.Message
func (*ListDependenciesRequest) Reset ¶
func (x *ListDependenciesRequest) Reset()
func (*ListDependenciesRequest) String ¶
func (x *ListDependenciesRequest) String() string
type ListDependenciesResponse ¶
type ListDependenciesResponse struct {
// dependencies are packages or services required by this resource.
Dependencies []*Dependency `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
ListDependenciesResponse returns dependencies discovered by the native package manager.
func (*ListDependenciesResponse) Descriptor
deprecated
func (*ListDependenciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDependenciesResponse.ProtoReflect.Descriptor instead.
func (*ListDependenciesResponse) GetDependencies ¶
func (x *ListDependenciesResponse) GetDependencies() []*Dependency
func (*ListDependenciesResponse) GetError ¶
func (x *ListDependenciesResponse) GetError() string
func (*ListDependenciesResponse) ProtoMessage ¶
func (*ListDependenciesResponse) ProtoMessage()
func (*ListDependenciesResponse) ProtoReflect ¶
func (x *ListDependenciesResponse) ProtoReflect() protoreflect.Message
func (*ListDependenciesResponse) Reset ¶
func (x *ListDependenciesResponse) Reset()
func (*ListDependenciesResponse) String ¶
func (x *ListDependenciesResponse) String() string
type ListFilesRequest ¶
type ListFilesRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // optional: subdirectory (empty = root)
// extensions restrict file results to the listed suffixes.
Extensions []string `protobuf:"bytes,3,rep,name=extensions,proto3" json:"extensions,omitempty"` // optional: filter by extension (e.g. ".go", ".py")
// recursive includes nested directories when true.
Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"`
// contains filtered or unexported fields
}
ListFilesRequest carries optional filters for listing files.
func (*ListFilesRequest) Descriptor
deprecated
func (*ListFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
func (*ListFilesRequest) GetExtensions ¶
func (x *ListFilesRequest) GetExtensions() []string
func (*ListFilesRequest) GetPath ¶
func (x *ListFilesRequest) GetPath() string
func (*ListFilesRequest) GetRecursive ¶
func (x *ListFilesRequest) GetRecursive() bool
func (*ListFilesRequest) GetService ¶
func (x *ListFilesRequest) GetService() string
func (*ListFilesRequest) ProtoMessage ¶
func (*ListFilesRequest) ProtoMessage()
func (*ListFilesRequest) ProtoReflect ¶
func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
func (*ListFilesRequest) Reset ¶
func (x *ListFilesRequest) Reset()
func (*ListFilesRequest) String ¶
func (x *ListFilesRequest) String() string
type ListFilesResponse ¶
type ListFilesResponse struct {
// files are files or directories under the requested service path.
Files []*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
// contains filtered or unexported fields
}
ListFilesResponse returns file metadata for paths matching the request filters.
func (*ListFilesResponse) Descriptor
deprecated
func (*ListFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
func (*ListFilesResponse) GetFiles ¶
func (x *ListFilesResponse) GetFiles() []*FileInfo
func (*ListFilesResponse) ProtoMessage ¶
func (*ListFilesResponse) ProtoMessage()
func (*ListFilesResponse) ProtoReflect ¶
func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
func (*ListFilesResponse) Reset ¶
func (x *ListFilesResponse) Reset()
func (*ListFilesResponse) String ¶
func (x *ListFilesResponse) String() string
type ListServicesRequest ¶
type ListServicesRequest struct {
// contains filtered or unexported fields
}
ListServicesRequest carries optional filters for listing services.
func (*ListServicesRequest) Descriptor
deprecated
func (*ListServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.
func (*ListServicesRequest) ProtoMessage ¶
func (*ListServicesRequest) ProtoMessage()
func (*ListServicesRequest) ProtoReflect ¶
func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
func (*ListServicesRequest) Reset ¶
func (x *ListServicesRequest) Reset()
func (*ListServicesRequest) String ¶
func (x *ListServicesRequest) String() string
type ListServicesResponse ¶
type ListServicesResponse struct {
// services are known Codefly services and libraries in the workspace.
Services []*ServiceInfo `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
// contains filtered or unexported fields
}
ListServicesResponse returns the services the gateway can route to.
func (*ListServicesResponse) Descriptor
deprecated
func (*ListServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.
func (*ListServicesResponse) GetServices ¶
func (x *ListServicesResponse) GetServices() []*ServiceInfo
func (*ListServicesResponse) ProtoMessage ¶
func (*ListServicesResponse) ProtoMessage()
func (*ListServicesResponse) ProtoReflect ¶
func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
func (*ListServicesResponse) Reset ¶
func (x *ListServicesResponse) Reset()
func (*ListServicesResponse) String ¶
func (x *ListServicesResponse) String() string
type ListSymbolsRequest ¶
type ListSymbolsRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // optional: omit for cross-service query
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` // optional: restrict to one file
// filter restricts symbols or list results to matching names.
Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // optional: symbol name pattern
// contains filtered or unexported fields
}
ListSymbolsRequest carries optional filters for listing symbols.
func (*ListSymbolsRequest) Descriptor
deprecated
func (*ListSymbolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSymbolsRequest.ProtoReflect.Descriptor instead.
func (*ListSymbolsRequest) GetFile ¶
func (x *ListSymbolsRequest) GetFile() string
func (*ListSymbolsRequest) GetFilter ¶
func (x *ListSymbolsRequest) GetFilter() string
func (*ListSymbolsRequest) GetService ¶
func (x *ListSymbolsRequest) GetService() string
func (*ListSymbolsRequest) ProtoMessage ¶
func (*ListSymbolsRequest) ProtoMessage()
func (*ListSymbolsRequest) ProtoReflect ¶
func (x *ListSymbolsRequest) ProtoReflect() protoreflect.Message
func (*ListSymbolsRequest) Reset ¶
func (x *ListSymbolsRequest) Reset()
func (*ListSymbolsRequest) String ¶
func (x *ListSymbolsRequest) String() string
type ListSymbolsResponse ¶
type ListSymbolsResponse struct {
// symbols are code entities returned by language analysis.
Symbols []*Symbol `protobuf:"bytes,1,rep,name=symbols,proto3" json:"symbols,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // non-fatal error (e.g. LSP not ready yet)
// contains filtered or unexported fields
}
ListSymbolsResponse returns symbols discovered through the gateway.
func (*ListSymbolsResponse) Descriptor
deprecated
func (*ListSymbolsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSymbolsResponse.ProtoReflect.Descriptor instead.
func (*ListSymbolsResponse) GetError ¶
func (x *ListSymbolsResponse) GetError() string
func (*ListSymbolsResponse) GetSymbols ¶
func (x *ListSymbolsResponse) GetSymbols() []*Symbol
func (*ListSymbolsResponse) ProtoMessage ¶
func (*ListSymbolsResponse) ProtoMessage()
func (*ListSymbolsResponse) ProtoReflect ¶
func (x *ListSymbolsResponse) ProtoReflect() protoreflect.Message
func (*ListSymbolsResponse) Reset ¶
func (x *ListSymbolsResponse) Reset()
func (*ListSymbolsResponse) String ¶
func (x *ListSymbolsResponse) String() string
type Location ¶
type Location struct {
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// line is the 1-based source line number.
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
// column is the 1-based source column number when known.
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
// end_line is the 1-based ending source line for a range.
EndLine int32 `protobuf:"varint,4,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
// end_column is the 1-based ending source column for a range.
EndColumn int32 `protobuf:"varint,5,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"`
// contains filtered or unexported fields
}
Location identifies a position in a file.
func (*Location) Descriptor
deprecated
func (*Location) GetEndColumn ¶
func (*Location) GetEndLine ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type MoveFileRequest ¶
type MoveFileRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// old_path is the current service-relative path before a move.
OldPath string `protobuf:"bytes,2,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"`
// new_path is the desired service-relative path after a move.
NewPath string `protobuf:"bytes,3,opt,name=new_path,json=newPath,proto3" json:"new_path,omitempty"`
// update_imports asks the language tooling to rewrite imports after a move.
UpdateImports bool `protobuf:"varint,4,opt,name=update_imports,json=updateImports,proto3" json:"update_imports,omitempty"`
// contains filtered or unexported fields
}
MoveFileRequest renames or moves a file within one service tree.
func (*MoveFileRequest) Descriptor
deprecated
func (*MoveFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveFileRequest.ProtoReflect.Descriptor instead.
func (*MoveFileRequest) GetNewPath ¶
func (x *MoveFileRequest) GetNewPath() string
func (*MoveFileRequest) GetOldPath ¶
func (x *MoveFileRequest) GetOldPath() string
func (*MoveFileRequest) GetService ¶
func (x *MoveFileRequest) GetService() string
func (*MoveFileRequest) GetUpdateImports ¶
func (x *MoveFileRequest) GetUpdateImports() bool
func (*MoveFileRequest) ProtoMessage ¶
func (*MoveFileRequest) ProtoMessage()
func (*MoveFileRequest) ProtoReflect ¶
func (x *MoveFileRequest) ProtoReflect() protoreflect.Message
func (*MoveFileRequest) Reset ¶
func (x *MoveFileRequest) Reset()
func (*MoveFileRequest) String ¶
func (x *MoveFileRequest) String() string
type MoveFileResponse ¶
type MoveFileResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// updated_files lists files changed as a side effect of import rewriting.
UpdatedFiles []string `protobuf:"bytes,3,rep,name=updated_files,json=updatedFiles,proto3" json:"updated_files,omitempty"`
// contains filtered or unexported fields
}
MoveFileResponse reports the move and any files rewritten because imports changed.
func (*MoveFileResponse) Descriptor
deprecated
func (*MoveFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use MoveFileResponse.ProtoReflect.Descriptor instead.
func (*MoveFileResponse) GetError ¶
func (x *MoveFileResponse) GetError() string
func (*MoveFileResponse) GetSuccess ¶
func (x *MoveFileResponse) GetSuccess() bool
func (*MoveFileResponse) GetUpdatedFiles ¶
func (x *MoveFileResponse) GetUpdatedFiles() []string
func (*MoveFileResponse) ProtoMessage ¶
func (*MoveFileResponse) ProtoMessage()
func (*MoveFileResponse) ProtoReflect ¶
func (x *MoveFileResponse) ProtoReflect() protoreflect.Message
func (*MoveFileResponse) Reset ¶
func (x *MoveFileResponse) Reset()
func (*MoveFileResponse) String ¶
func (x *MoveFileResponse) String() string
type PackageInfo ¶
type PackageInfo struct {
// name is the language-level package or module name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // e.g. "github.com/codefly-dev/mind/pkg/run"
// relative_path is the package directory relative to the service root.
RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // e.g. "pkg/run"
// files are source files that belong to this package.
Files []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"` // files in the package
// imports are direct imports used by files in this package.
Imports []string `protobuf:"bytes,4,rep,name=imports,proto3" json:"imports,omitempty"` // direct imports
// doc is package-level documentation extracted from source comments.
Doc string `protobuf:"bytes,5,opt,name=doc,proto3" json:"doc,omitempty"` // package doc comment
// contains filtered or unexported fields
}
PackageInfo describes a single package/module within the project.
func (*PackageInfo) Descriptor
deprecated
func (*PackageInfo) Descriptor() ([]byte, []int)
Deprecated: Use PackageInfo.ProtoReflect.Descriptor instead.
func (*PackageInfo) GetDoc ¶
func (x *PackageInfo) GetDoc() string
func (*PackageInfo) GetFiles ¶
func (x *PackageInfo) GetFiles() []string
func (*PackageInfo) GetImports ¶
func (x *PackageInfo) GetImports() []string
func (*PackageInfo) GetName ¶
func (x *PackageInfo) GetName() string
func (*PackageInfo) GetRelativePath ¶
func (x *PackageInfo) GetRelativePath() string
func (*PackageInfo) ProtoMessage ¶
func (*PackageInfo) ProtoMessage()
func (*PackageInfo) ProtoReflect ¶
func (x *PackageInfo) ProtoReflect() protoreflect.Message
func (*PackageInfo) Reset ¶
func (x *PackageInfo) Reset()
func (*PackageInfo) String ¶
func (x *PackageInfo) String() string
type PluginCheck ¶
type PluginCheck struct {
// contains filtered or unexported fields
}
PluginCheck delegates to the plugin's Build/Test/Lint RPC (no parameters needed).
func (*PluginCheck) Descriptor
deprecated
func (*PluginCheck) Descriptor() ([]byte, []int)
Deprecated: Use PluginCheck.ProtoReflect.Descriptor instead.
func (*PluginCheck) ProtoMessage ¶
func (*PluginCheck) ProtoMessage()
func (*PluginCheck) ProtoReflect ¶
func (x *PluginCheck) ProtoReflect() protoreflect.Message
func (*PluginCheck) Reset ¶
func (x *PluginCheck) Reset()
func (*PluginCheck) String ¶
func (x *PluginCheck) String() string
type ReadFileRequest ¶
type ReadFileRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // relative to service root
// contains filtered or unexported fields
}
ReadFileRequest identifies a file to read from one service source tree.
func (*ReadFileRequest) Descriptor
deprecated
func (*ReadFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadFileRequest.ProtoReflect.Descriptor instead.
func (*ReadFileRequest) GetPath ¶
func (x *ReadFileRequest) GetPath() string
func (*ReadFileRequest) GetService ¶
func (x *ReadFileRequest) GetService() string
func (*ReadFileRequest) ProtoMessage ¶
func (*ReadFileRequest) ProtoMessage()
func (*ReadFileRequest) ProtoReflect ¶
func (x *ReadFileRequest) ProtoReflect() protoreflect.Message
func (*ReadFileRequest) Reset ¶
func (x *ReadFileRequest) Reset()
func (*ReadFileRequest) String ¶
func (x *ReadFileRequest) String() string
type ReadFileResponse ¶
type ReadFileResponse struct {
// content is the complete file body; it is empty when exists is false.
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// exists reports whether the requested file or resource was found.
Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"`
// contains filtered or unexported fields
}
ReadFileResponse returns file content when the requested path exists.
func (*ReadFileResponse) Descriptor
deprecated
func (*ReadFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadFileResponse.ProtoReflect.Descriptor instead.
func (*ReadFileResponse) GetContent ¶
func (x *ReadFileResponse) GetContent() string
func (*ReadFileResponse) GetExists ¶
func (x *ReadFileResponse) GetExists() bool
func (*ReadFileResponse) ProtoMessage ¶
func (*ReadFileResponse) ProtoMessage()
func (*ReadFileResponse) ProtoReflect ¶
func (x *ReadFileResponse) ProtoReflect() protoreflect.Message
func (*ReadFileResponse) Reset ¶
func (x *ReadFileResponse) Reset()
func (*ReadFileResponse) String ¶
func (x *ReadFileResponse) String() string
type RemoveDependencyRequest ¶
type RemoveDependencyRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// package_name is the package or dependency identifier used by the native manager.
PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
// contains filtered or unexported fields
}
RemoveDependencyRequest identifies a package to remove through the native package manager.
func (*RemoveDependencyRequest) Descriptor
deprecated
func (*RemoveDependencyRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDependencyRequest.ProtoReflect.Descriptor instead.
func (*RemoveDependencyRequest) GetPackageName ¶
func (x *RemoveDependencyRequest) GetPackageName() string
func (*RemoveDependencyRequest) GetService ¶
func (x *RemoveDependencyRequest) GetService() string
func (*RemoveDependencyRequest) ProtoMessage ¶
func (*RemoveDependencyRequest) ProtoMessage()
func (*RemoveDependencyRequest) ProtoReflect ¶
func (x *RemoveDependencyRequest) ProtoReflect() protoreflect.Message
func (*RemoveDependencyRequest) Reset ¶
func (x *RemoveDependencyRequest) Reset()
func (*RemoveDependencyRequest) String ¶
func (x *RemoveDependencyRequest) String() string
type RemoveDependencyResponse ¶
type RemoveDependencyResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
RemoveDependencyResponse reports whether the package manager removed the dependency.
func (*RemoveDependencyResponse) Descriptor
deprecated
func (*RemoveDependencyResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDependencyResponse.ProtoReflect.Descriptor instead.
func (*RemoveDependencyResponse) GetError ¶
func (x *RemoveDependencyResponse) GetError() string
func (*RemoveDependencyResponse) GetSuccess ¶
func (x *RemoveDependencyResponse) GetSuccess() bool
func (*RemoveDependencyResponse) ProtoMessage ¶
func (*RemoveDependencyResponse) ProtoMessage()
func (*RemoveDependencyResponse) ProtoReflect ¶
func (x *RemoveDependencyResponse) ProtoReflect() protoreflect.Message
func (*RemoveDependencyResponse) Reset ¶
func (x *RemoveDependencyResponse) Reset()
func (*RemoveDependencyResponse) String ¶
func (x *RemoveDependencyResponse) String() string
type RenameSymbolRequest ¶
type RenameSymbolRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
// line is the 1-based source line number.
Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
// column is the 1-based source column number when known.
Column int32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"`
// new_name is the replacement symbol name requested by the caller.
NewName string `protobuf:"bytes,5,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
// contains filtered or unexported fields
}
RenameSymbolRequest asks the gateway to perform a language-aware rename.
func (*RenameSymbolRequest) Descriptor
deprecated
func (*RenameSymbolRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameSymbolRequest.ProtoReflect.Descriptor instead.
func (*RenameSymbolRequest) GetColumn ¶
func (x *RenameSymbolRequest) GetColumn() int32
func (*RenameSymbolRequest) GetFile ¶
func (x *RenameSymbolRequest) GetFile() string
func (*RenameSymbolRequest) GetLine ¶
func (x *RenameSymbolRequest) GetLine() int32
func (*RenameSymbolRequest) GetNewName ¶
func (x *RenameSymbolRequest) GetNewName() string
func (*RenameSymbolRequest) GetService ¶
func (x *RenameSymbolRequest) GetService() string
func (*RenameSymbolRequest) ProtoMessage ¶
func (*RenameSymbolRequest) ProtoMessage()
func (*RenameSymbolRequest) ProtoReflect ¶
func (x *RenameSymbolRequest) ProtoReflect() protoreflect.Message
func (*RenameSymbolRequest) Reset ¶
func (x *RenameSymbolRequest) Reset()
func (*RenameSymbolRequest) String ¶
func (x *RenameSymbolRequest) String() string
type RenameSymbolResponse ¶
type RenameSymbolResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// edits contains the source replacements produced by language tooling.
Edits []*TextEdit `protobuf:"bytes,3,rep,name=edits,proto3" json:"edits,omitempty"`
// files lists files modified by the rename.
Files []string `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
// contains filtered or unexported fields
}
RenameSymbolResponse reports the edits produced and applied for a rename.
func (*RenameSymbolResponse) Descriptor
deprecated
func (*RenameSymbolResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameSymbolResponse.ProtoReflect.Descriptor instead.
func (*RenameSymbolResponse) GetEdits ¶
func (x *RenameSymbolResponse) GetEdits() []*TextEdit
func (*RenameSymbolResponse) GetError ¶
func (x *RenameSymbolResponse) GetError() string
func (*RenameSymbolResponse) GetFiles ¶
func (x *RenameSymbolResponse) GetFiles() []string
func (*RenameSymbolResponse) GetSuccess ¶
func (x *RenameSymbolResponse) GetSuccess() bool
func (*RenameSymbolResponse) ProtoMessage ¶
func (*RenameSymbolResponse) ProtoMessage()
func (*RenameSymbolResponse) ProtoReflect ¶
func (x *RenameSymbolResponse) ProtoReflect() protoreflect.Message
func (*RenameSymbolResponse) Reset ¶
func (x *RenameSymbolResponse) Reset()
func (*RenameSymbolResponse) String ¶
func (x *RenameSymbolResponse) String() string
type RunChecksRequest ¶
type RunChecksRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// checks are verification steps requested by the caller.
Checks []*Check `protobuf:"bytes,2,rep,name=checks,proto3" json:"checks,omitempty"`
// contains filtered or unexported fields
}
RunChecksRequest asks the gateway to run verification checks for one service.
func (*RunChecksRequest) Descriptor
deprecated
func (*RunChecksRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunChecksRequest.ProtoReflect.Descriptor instead.
func (*RunChecksRequest) GetChecks ¶
func (x *RunChecksRequest) GetChecks() []*Check
func (*RunChecksRequest) GetService ¶
func (x *RunChecksRequest) GetService() string
func (*RunChecksRequest) ProtoMessage ¶
func (*RunChecksRequest) ProtoMessage()
func (*RunChecksRequest) ProtoReflect ¶
func (x *RunChecksRequest) ProtoReflect() protoreflect.Message
func (*RunChecksRequest) Reset ¶
func (x *RunChecksRequest) Reset()
func (*RunChecksRequest) String ¶
func (x *RunChecksRequest) String() string
type RunChecksResponse ¶
type RunChecksResponse struct {
// results are per-item outcomes returned by the operation.
Results []*CheckResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}
RunChecksResponse returns per-check outcomes.
func (*RunChecksResponse) Descriptor
deprecated
func (*RunChecksResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunChecksResponse.ProtoReflect.Descriptor instead.
func (*RunChecksResponse) GetResults ¶
func (x *RunChecksResponse) GetResults() []*CheckResult
func (*RunChecksResponse) ProtoMessage ¶
func (*RunChecksResponse) ProtoMessage()
func (*RunChecksResponse) ProtoReflect ¶
func (x *RunChecksResponse) ProtoReflect() protoreflect.Message
func (*RunChecksResponse) Reset ¶
func (x *RunChecksResponse) Reset()
func (*RunChecksResponse) String ¶
func (x *RunChecksResponse) String() string
type RunCommandRequest ¶
type RunCommandRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// command is the executable or shell command requested by the caller.
Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` // command to execute
// args are structured or command-line arguments supplied to the tool or command.
Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // arguments
// timeout_seconds caps command execution time; zero uses the default.
TimeoutSeconds int32 `protobuf:"varint,4,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` // 0 = default (30s)
// working_dir is an optional service-relative directory for command execution.
WorkingDir string `protobuf:"bytes,5,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` // optional: relative subdirectory
// contains filtered or unexported fields
}
RunCommandRequest asks the gateway to run a command in a service context.
func (*RunCommandRequest) Descriptor
deprecated
func (*RunCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunCommandRequest.ProtoReflect.Descriptor instead.
func (*RunCommandRequest) GetArgs ¶
func (x *RunCommandRequest) GetArgs() []string
func (*RunCommandRequest) GetCommand ¶
func (x *RunCommandRequest) GetCommand() string
func (*RunCommandRequest) GetService ¶
func (x *RunCommandRequest) GetService() string
func (*RunCommandRequest) GetTimeoutSeconds ¶
func (x *RunCommandRequest) GetTimeoutSeconds() int32
func (*RunCommandRequest) GetWorkingDir ¶
func (x *RunCommandRequest) GetWorkingDir() string
func (*RunCommandRequest) ProtoMessage ¶
func (*RunCommandRequest) ProtoMessage()
func (*RunCommandRequest) ProtoReflect ¶
func (x *RunCommandRequest) ProtoReflect() protoreflect.Message
func (*RunCommandRequest) Reset ¶
func (x *RunCommandRequest) Reset()
func (*RunCommandRequest) String ¶
func (x *RunCommandRequest) String() string
type RunCommandResponse ¶
type RunCommandResponse struct {
// exit_code is the process exit status returned by the operating system.
ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
// stdout is the process standard output stream.
Stdout string `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"`
// stderr is the process standard error stream.
Stderr string `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"`
// contains filtered or unexported fields
}
RunCommandResponse returns process exit status and captured streams.
func (*RunCommandResponse) Descriptor
deprecated
func (*RunCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunCommandResponse.ProtoReflect.Descriptor instead.
func (*RunCommandResponse) GetExitCode ¶
func (x *RunCommandResponse) GetExitCode() int32
func (*RunCommandResponse) GetStderr ¶
func (x *RunCommandResponse) GetStderr() string
func (*RunCommandResponse) GetStdout ¶
func (x *RunCommandResponse) GetStdout() string
func (*RunCommandResponse) ProtoMessage ¶
func (*RunCommandResponse) ProtoMessage()
func (*RunCommandResponse) ProtoReflect ¶
func (x *RunCommandResponse) ProtoReflect() protoreflect.Message
func (*RunCommandResponse) Reset ¶
func (x *RunCommandResponse) Reset()
func (*RunCommandResponse) String ¶
func (x *RunCommandResponse) String() string
type SearchMatch ¶
type SearchMatch struct {
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // relative path
// line is the 1-based source line number.
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // 1-based line number
// text is the matched source line.
Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // the matching line
// context_before contains lines immediately before the match.
ContextBefore []string `protobuf:"bytes,4,rep,name=context_before,json=contextBefore,proto3" json:"context_before,omitempty"`
// context_after contains lines immediately after the match.
ContextAfter []string `protobuf:"bytes,5,rep,name=context_after,json=contextAfter,proto3" json:"context_after,omitempty"`
// contains filtered or unexported fields
}
SearchMatch identifies one matching line and optional surrounding context.
func (*SearchMatch) Descriptor
deprecated
func (*SearchMatch) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatch.ProtoReflect.Descriptor instead.
func (*SearchMatch) GetContextAfter ¶
func (x *SearchMatch) GetContextAfter() []string
func (*SearchMatch) GetContextBefore ¶
func (x *SearchMatch) GetContextBefore() []string
func (*SearchMatch) GetFile ¶
func (x *SearchMatch) GetFile() string
func (*SearchMatch) GetLine ¶
func (x *SearchMatch) GetLine() int32
func (*SearchMatch) GetText ¶
func (x *SearchMatch) GetText() string
func (*SearchMatch) ProtoMessage ¶
func (*SearchMatch) ProtoMessage()
func (*SearchMatch) ProtoReflect ¶
func (x *SearchMatch) ProtoReflect() protoreflect.Message
func (*SearchMatch) Reset ¶
func (x *SearchMatch) Reset()
func (*SearchMatch) String ¶
func (x *SearchMatch) String() string
type SearchRequest ¶
type SearchRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// pattern is the search expression or test filter requested by the caller.
Pattern string `protobuf:"bytes,2,opt,name=pattern,proto3" json:"pattern,omitempty"` // regex or literal pattern
// literal treats pattern as plain text instead of a regular expression.
Literal bool `protobuf:"varint,3,opt,name=literal,proto3" json:"literal,omitempty"` // if true, treat pattern as literal string
// case_insensitive makes matching ignore letter case.
CaseInsensitive bool `protobuf:"varint,4,opt,name=case_insensitive,json=caseInsensitive,proto3" json:"case_insensitive,omitempty"`
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` // optional: restrict to subdirectory
// extensions restrict file results to the listed suffixes.
Extensions []string `protobuf:"bytes,6,rep,name=extensions,proto3" json:"extensions,omitempty"` // optional: filter by extension (e.g. ".go", ".py")
// exclude contains glob patterns to skip during the search.
Exclude []string `protobuf:"bytes,7,rep,name=exclude,proto3" json:"exclude,omitempty"` // optional: glob patterns to exclude
// max_results caps returned matches; zero uses the gateway default.
MaxResults int32 `protobuf:"varint,8,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` // 0 = default (100)
// context_lines is the number of neighboring lines returned around each match.
ContextLines int32 `protobuf:"varint,9,opt,name=context_lines,json=contextLines,proto3" json:"context_lines,omitempty"` // lines of context around each match
// contains filtered or unexported fields
}
SearchRequest searches service files through the gateway.
func (*SearchRequest) Descriptor
deprecated
func (*SearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) GetCaseInsensitive ¶
func (x *SearchRequest) GetCaseInsensitive() bool
func (*SearchRequest) GetContextLines ¶
func (x *SearchRequest) GetContextLines() int32
func (*SearchRequest) GetExclude ¶
func (x *SearchRequest) GetExclude() []string
func (*SearchRequest) GetExtensions ¶
func (x *SearchRequest) GetExtensions() []string
func (*SearchRequest) GetLiteral ¶
func (x *SearchRequest) GetLiteral() bool
func (*SearchRequest) GetMaxResults ¶
func (x *SearchRequest) GetMaxResults() int32
func (*SearchRequest) GetPath ¶
func (x *SearchRequest) GetPath() string
func (*SearchRequest) GetPattern ¶
func (x *SearchRequest) GetPattern() string
func (*SearchRequest) GetService ¶
func (x *SearchRequest) GetService() string
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) ProtoReflect ¶
func (x *SearchRequest) ProtoReflect() protoreflect.Message
func (*SearchRequest) Reset ¶
func (x *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (x *SearchRequest) String() string
type SearchResponse ¶
type SearchResponse struct {
// matches are the search hits returned by the gateway.
Matches []*SearchMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
// truncated is true when the response was capped before all data could be returned.
Truncated bool `protobuf:"varint,2,opt,name=truncated,proto3" json:"truncated,omitempty"`
// total_matches is the number of hits observed before truncation.
TotalMatches int32 `protobuf:"varint,3,opt,name=total_matches,json=totalMatches,proto3" json:"total_matches,omitempty"`
// contains filtered or unexported fields
}
SearchResponse returns matching source lines and truncation metadata.
func (*SearchResponse) Descriptor
deprecated
func (*SearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) GetMatches ¶
func (x *SearchResponse) GetMatches() []*SearchMatch
func (*SearchResponse) GetTotalMatches ¶
func (x *SearchResponse) GetTotalMatches() int32
func (*SearchResponse) GetTruncated ¶
func (x *SearchResponse) GetTruncated() bool
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) ProtoReflect ¶
func (x *SearchResponse) ProtoReflect() protoreflect.Message
func (*SearchResponse) Reset ¶
func (x *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (x *SearchResponse) String() string
type ServiceInfo ¶
type ServiceInfo struct {
// name is the Codefly service name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// language is the implementation language detected for the service.
Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` // "go", "rust", "node", etc.
// type distinguishes services, libraries, and other service-like resources.
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // "library" | "service"
// port is the primary local port exposed through the gateway when known.
Port int32 `protobuf:"varint,7,opt,name=port,proto3" json:"port,omitempty"`
// contains filtered or unexported fields
}
ServiceInfo describes a service visible through the gateway.
func (*ServiceInfo) Descriptor
deprecated
func (*ServiceInfo) Descriptor() ([]byte, []int)
Deprecated: Use ServiceInfo.ProtoReflect.Descriptor instead.
func (*ServiceInfo) GetLanguage ¶
func (x *ServiceInfo) GetLanguage() string
func (*ServiceInfo) GetName ¶
func (x *ServiceInfo) GetName() string
func (*ServiceInfo) GetPort ¶
func (x *ServiceInfo) GetPort() int32
func (*ServiceInfo) GetType ¶
func (x *ServiceInfo) GetType() string
func (*ServiceInfo) ProtoMessage ¶
func (*ServiceInfo) ProtoMessage()
func (*ServiceInfo) ProtoReflect ¶
func (x *ServiceInfo) ProtoReflect() protoreflect.Message
func (*ServiceInfo) Reset ¶
func (x *ServiceInfo) Reset()
func (*ServiceInfo) String ¶
func (x *ServiceInfo) String() string
type Symbol ¶
type Symbol struct {
// name is the symbol name reported by language tooling.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// kind classifies the language construct, such as function, method, or struct.
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // "function", "method", "struct", "interface", "constant", "variable"
// signature is the declaration text or callable shape for a symbol.
Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // declaration line
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"` // which service this symbol lives in
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,5,opt,name=file,proto3" json:"file,omitempty"` // relative path
// line is the 1-based source line number.
Line int32 `protobuf:"varint,6,opt,name=line,proto3" json:"line,omitempty"`
// documentation is the doc comment or hover text supplied by language tooling.
Documentation string `protobuf:"bytes,7,opt,name=documentation,proto3" json:"documentation,omitempty"` // doc comment if present
// parent is the containing type, package, or symbol when known.
Parent string `protobuf:"bytes,8,opt,name=parent,proto3" json:"parent,omitempty"` // containing symbol (e.g. struct name for a method)
// contains filtered or unexported fields
}
Symbol is a gateway-normalized view of a language symbol.
func (*Symbol) Descriptor
deprecated
func (*Symbol) GetDocumentation ¶
func (*Symbol) GetService ¶
func (*Symbol) GetSignature ¶
func (*Symbol) ProtoMessage ¶
func (*Symbol) ProtoMessage()
func (*Symbol) ProtoReflect ¶
func (x *Symbol) ProtoReflect() protoreflect.Message
type TestRequest ¶
type TestRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// contains filtered or unexported fields
}
TestRequest asks the gateway to run the service tests.
func (*TestRequest) Descriptor
deprecated
func (*TestRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestRequest.ProtoReflect.Descriptor instead.
func (*TestRequest) GetService ¶
func (x *TestRequest) GetService() 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 TestResponse ¶
type TestResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// output is raw command, build, lint, or test output retained for diagnosis.
Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` // raw test output
// tests_run is the total number of tests executed.
TestsRun int32 `protobuf:"varint,3,opt,name=tests_run,json=testsRun,proto3" json:"tests_run,omitempty"`
// tests_passed is the number of tests that passed.
TestsPassed int32 `protobuf:"varint,4,opt,name=tests_passed,json=testsPassed,proto3" json:"tests_passed,omitempty"`
// tests_failed is the number of tests that failed.
TestsFailed int32 `protobuf:"varint,5,opt,name=tests_failed,json=testsFailed,proto3" json:"tests_failed,omitempty"`
// tests_skipped is the number of tests skipped by the runner.
TestsSkipped int32 `protobuf:"varint,6,opt,name=tests_skipped,json=testsSkipped,proto3" json:"tests_skipped,omitempty"`
// coverage_pct is the overall coverage percentage when available.
CoveragePct float32 `protobuf:"fixed32,7,opt,name=coverage_pct,json=coveragePct,proto3" json:"coverage_pct,omitempty"`
// failures are concise failing test names or messages.
Failures []string `protobuf:"bytes,8,rep,name=failures,proto3" json:"failures,omitempty"`
// contains filtered or unexported fields
}
TestResponse returns service test counts and raw runner output.
func (*TestResponse) Descriptor
deprecated
func (*TestResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.
func (*TestResponse) GetCoveragePct ¶ added in v0.1.157
func (x *TestResponse) GetCoveragePct() float32
func (*TestResponse) GetFailures ¶ added in v0.1.157
func (x *TestResponse) GetFailures() []string
func (*TestResponse) GetOutput ¶
func (x *TestResponse) GetOutput() string
func (*TestResponse) GetSuccess ¶
func (x *TestResponse) GetSuccess() bool
func (*TestResponse) GetTestsFailed ¶
func (x *TestResponse) GetTestsFailed() int32
func (*TestResponse) GetTestsPassed ¶
func (x *TestResponse) GetTestsPassed() int32
func (*TestResponse) GetTestsRun ¶
func (x *TestResponse) GetTestsRun() int32
func (*TestResponse) GetTestsSkipped ¶ added in v0.1.157
func (x *TestResponse) GetTestsSkipped() int32
func (*TestResponse) ProtoMessage ¶
func (*TestResponse) ProtoMessage()
func (*TestResponse) ProtoReflect ¶
func (x *TestResponse) ProtoReflect() protoreflect.Message
func (*TestResponse) Reset ¶
func (x *TestResponse) Reset()
func (*TestResponse) String ¶
func (x *TestResponse) String() string
type TextEdit ¶
type TextEdit struct {
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// start_line is the 1-based starting line for an edit range.
StartLine int32 `protobuf:"varint,2,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"`
// start_column is the 1-based starting column for an edit range.
StartColumn int32 `protobuf:"varint,3,opt,name=start_column,json=startColumn,proto3" json:"start_column,omitempty"`
// end_line is the 1-based ending source line for a range.
EndLine int32 `protobuf:"varint,4,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
// end_column is the 1-based ending source column for a range.
EndColumn int32 `protobuf:"varint,5,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"`
// new_text is the replacement text inserted by this edit.
NewText string `protobuf:"bytes,6,opt,name=new_text,json=newText,proto3" json:"new_text,omitempty"`
// contains filtered or unexported fields
}
TextEdit represents a single text replacement in a file.
func (*TextEdit) Descriptor
deprecated
func (*TextEdit) GetEndColumn ¶
func (*TextEdit) GetEndLine ¶
func (*TextEdit) GetNewText ¶
func (*TextEdit) GetStartColumn ¶
func (*TextEdit) GetStartLine ¶
func (*TextEdit) ProtoMessage ¶
func (*TextEdit) ProtoMessage()
func (*TextEdit) ProtoReflect ¶
func (x *TextEdit) ProtoReflect() protoreflect.Message
type UnimplementedGatewayServer ¶
type UnimplementedGatewayServer struct{}
UnimplementedGatewayServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedGatewayServer) AddDependency ¶
func (UnimplementedGatewayServer) AddDependency(context.Context, *AddDependencyRequest) (*AddDependencyResponse, error)
func (UnimplementedGatewayServer) ApplyEdit ¶
func (UnimplementedGatewayServer) ApplyEdit(context.Context, *ApplyEditRequest) (*ApplyEditResponse, error)
func (UnimplementedGatewayServer) BatchApplyEdits ¶
func (UnimplementedGatewayServer) BatchApplyEdits(context.Context, *BatchApplyEditsRequest) (*BatchApplyEditsResponse, error)
func (UnimplementedGatewayServer) Build ¶
func (UnimplementedGatewayServer) Build(context.Context, *BuildRequest) (*BuildResponse, error)
func (UnimplementedGatewayServer) CreateFile ¶
func (UnimplementedGatewayServer) CreateFile(context.Context, *CreateFileRequest) (*CreateFileResponse, error)
func (UnimplementedGatewayServer) DeleteFile ¶
func (UnimplementedGatewayServer) DeleteFile(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error)
func (UnimplementedGatewayServer) FindReferences ¶
func (UnimplementedGatewayServer) FindReferences(context.Context, *FindReferencesRequest) (*FindReferencesResponse, error)
func (UnimplementedGatewayServer) Fix ¶
func (UnimplementedGatewayServer) Fix(context.Context, *FixRequest) (*FixResponse, error)
func (UnimplementedGatewayServer) GetDiagnostics ¶
func (UnimplementedGatewayServer) GetDiagnostics(context.Context, *GetDiagnosticsRequest) (*GetDiagnosticsResponse, error)
func (UnimplementedGatewayServer) GetHoverInfo ¶
func (UnimplementedGatewayServer) GetHoverInfo(context.Context, *GetHoverInfoRequest) (*GetHoverInfoResponse, error)
func (UnimplementedGatewayServer) GetProjectInfo ¶
func (UnimplementedGatewayServer) GetProjectInfo(context.Context, *GetProjectInfoRequest) (*GetProjectInfoResponse, error)
func (UnimplementedGatewayServer) GitCommit ¶
func (UnimplementedGatewayServer) GitCommit(context.Context, *GitCommitRequest) (*GitCommitResponse, error)
func (UnimplementedGatewayServer) GitDiff ¶
func (UnimplementedGatewayServer) GitDiff(context.Context, *GitDiffRequest) (*GitDiffResponse, error)
func (UnimplementedGatewayServer) GitLog ¶
func (UnimplementedGatewayServer) GitLog(context.Context, *GitLogRequest) (*GitLogResponse, error)
func (UnimplementedGatewayServer) GitStatus ¶
func (UnimplementedGatewayServer) GitStatus(context.Context, *GitStatusRequest) (*GitStatusResponse, error)
func (UnimplementedGatewayServer) GoToDefinition ¶
func (UnimplementedGatewayServer) GoToDefinition(context.Context, *GoToDefinitionRequest) (*GoToDefinitionResponse, error)
func (UnimplementedGatewayServer) Lint ¶
func (UnimplementedGatewayServer) Lint(context.Context, *LintRequest) (*LintResponse, error)
func (UnimplementedGatewayServer) ListAllCommands ¶
func (UnimplementedGatewayServer) ListAllCommands(context.Context, *ListAllCommandsRequest) (*ListAllCommandsResponse, error)
func (UnimplementedGatewayServer) ListDependencies ¶
func (UnimplementedGatewayServer) ListDependencies(context.Context, *ListDependenciesRequest) (*ListDependenciesResponse, error)
func (UnimplementedGatewayServer) ListFiles ¶
func (UnimplementedGatewayServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
func (UnimplementedGatewayServer) ListServices ¶
func (UnimplementedGatewayServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
func (UnimplementedGatewayServer) ListSymbols ¶
func (UnimplementedGatewayServer) ListSymbols(context.Context, *ListSymbolsRequest) (*ListSymbolsResponse, error)
func (UnimplementedGatewayServer) MoveFile ¶
func (UnimplementedGatewayServer) MoveFile(context.Context, *MoveFileRequest) (*MoveFileResponse, error)
func (UnimplementedGatewayServer) ReadFile ¶
func (UnimplementedGatewayServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
func (UnimplementedGatewayServer) RemoveDependency ¶
func (UnimplementedGatewayServer) RemoveDependency(context.Context, *RemoveDependencyRequest) (*RemoveDependencyResponse, error)
func (UnimplementedGatewayServer) RenameSymbol ¶
func (UnimplementedGatewayServer) RenameSymbol(context.Context, *RenameSymbolRequest) (*RenameSymbolResponse, error)
func (UnimplementedGatewayServer) RunChecks ¶
func (UnimplementedGatewayServer) RunChecks(context.Context, *RunChecksRequest) (*RunChecksResponse, error)
func (UnimplementedGatewayServer) RunCommand ¶
func (UnimplementedGatewayServer) RunCommand(context.Context, *RunCommandRequest) (*RunCommandResponse, error)
func (UnimplementedGatewayServer) Search ¶
func (UnimplementedGatewayServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)
func (UnimplementedGatewayServer) Test ¶
func (UnimplementedGatewayServer) Test(context.Context, *TestRequest) (*TestResponse, error)
func (UnimplementedGatewayServer) WriteFile ¶
func (UnimplementedGatewayServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
type UnsafeGatewayServer ¶
type UnsafeGatewayServer interface {
// contains filtered or unexported methods
}
UnsafeGatewayServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GatewayServer will result in compilation errors.
type WriteFileRequest ¶
type WriteFileRequest struct {
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // relative to service root
// content is the complete file body to write.
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
WriteFileRequest replaces or creates one file in a service source tree.
func (*WriteFileRequest) Descriptor
deprecated
func (*WriteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileRequest.ProtoReflect.Descriptor instead.
func (*WriteFileRequest) GetContent ¶
func (x *WriteFileRequest) GetContent() string
func (*WriteFileRequest) GetPath ¶
func (x *WriteFileRequest) GetPath() string
func (*WriteFileRequest) GetService ¶
func (x *WriteFileRequest) GetService() string
func (*WriteFileRequest) ProtoMessage ¶
func (*WriteFileRequest) ProtoMessage()
func (*WriteFileRequest) ProtoReflect ¶
func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
func (*WriteFileRequest) Reset ¶
func (x *WriteFileRequest) Reset()
func (*WriteFileRequest) String ¶
func (x *WriteFileRequest) String() string
type WriteFileResponse ¶
type WriteFileResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
WriteFileResponse reports whether the gateway completed the write.
func (*WriteFileResponse) Descriptor
deprecated
func (*WriteFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileResponse.ProtoReflect.Descriptor instead.
func (*WriteFileResponse) GetError ¶
func (x *WriteFileResponse) GetError() string
func (*WriteFileResponse) GetSuccess ¶
func (x *WriteFileResponse) GetSuccess() bool
func (*WriteFileResponse) ProtoMessage ¶
func (*WriteFileResponse) ProtoMessage()
func (*WriteFileResponse) ProtoReflect ¶
func (x *WriteFileResponse) ProtoReflect() protoreflect.Message
func (*WriteFileResponse) Reset ¶
func (x *WriteFileResponse) Reset()
func (*WriteFileResponse) String ¶
func (x *WriteFileResponse) String() string