Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterGatewayServer(s grpc.ServiceRegistrar, srv GatewayServer)
- type ActReceipt
- func (*ActReceipt) Descriptor() ([]byte, []int)deprecated
- func (x *ActReceipt) GetAuthoritativeSource() string
- func (x *ActReceipt) GetAuthoritativeUrl() string
- func (x *ActReceipt) GetEventId() string
- func (x *ActReceipt) GetKind() string
- func (x *ActReceipt) GetObservedAt() *timestamppb.Timestamp
- func (x *ActReceipt) GetRevision() string
- func (x *ActReceipt) GetState() string
- func (x *ActReceipt) GetTarget() string
- func (*ActReceipt) ProtoMessage()
- func (x *ActReceipt) ProtoReflect() protoreflect.Message
- func (x *ActReceipt) Reset()
- func (x *ActReceipt) String() string
- 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 AppliedFileMutation
- func (*AppliedFileMutation) Descriptor() ([]byte, []int)deprecated
- func (x *AppliedFileMutation) GetAfterSha256() string
- func (x *AppliedFileMutation) GetBeforeSha256() string
- func (x *AppliedFileMutation) GetOperation() PreparedFileOperation
- func (x *AppliedFileMutation) GetPath() string
- func (*AppliedFileMutation) ProtoMessage()
- func (x *AppliedFileMutation) ProtoReflect() protoreflect.Message
- func (x *AppliedFileMutation) Reset()
- func (x *AppliedFileMutation) String() string
- type ApplyEditRequest
- func (*ApplyEditRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyEditRequest) GetDryRun() bool
- func (x *ApplyEditRequest) GetFile() string
- func (x *ApplyEditRequest) GetFind() string
- func (x *ApplyEditRequest) GetFixMode() v0.FixMode
- 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) GetAfterSha256() string
- func (x *ApplyEditResponse) GetBeforeSha256() string
- func (x *ApplyEditResponse) GetChanged() bool
- func (x *ApplyEditResponse) GetContent() string
- func (x *ApplyEditResponse) GetError() string
- func (x *ApplyEditResponse) GetFixActions() []string
- func (x *ApplyEditResponse) GetOutput() string
- func (x *ApplyEditResponse) GetStrategy() string
- func (x *ApplyEditResponse) GetSuccess() bool
- func (x *ApplyEditResponse) GetWrote() bool
- func (*ApplyEditResponse) ProtoMessage()
- func (x *ApplyEditResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyEditResponse) Reset()
- func (x *ApplyEditResponse) String() string
- type ApplyPreparedMutationRequest
- func (*ApplyPreparedMutationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyPreparedMutationRequest) GetMutationDigest() string
- func (x *ApplyPreparedMutationRequest) GetMutationPermit() string
- func (x *ApplyPreparedMutationRequest) GetPreparationId() string
- func (x *ApplyPreparedMutationRequest) GetService() string
- func (*ApplyPreparedMutationRequest) ProtoMessage()
- func (x *ApplyPreparedMutationRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyPreparedMutationRequest) Reset()
- func (x *ApplyPreparedMutationRequest) String() string
- type ApplyPreparedMutationResponse
- func (*ApplyPreparedMutationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyPreparedMutationResponse) GetError() string
- func (x *ApplyPreparedMutationResponse) GetFiles() []*AppliedFileMutation
- func (x *ApplyPreparedMutationResponse) GetMutationDigest() string
- func (x *ApplyPreparedMutationResponse) GetPreparationId() string
- func (x *ApplyPreparedMutationResponse) GetSuccess() bool
- func (*ApplyPreparedMutationResponse) ProtoMessage()
- func (x *ApplyPreparedMutationResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyPreparedMutationResponse) Reset()
- func (x *ApplyPreparedMutationResponse) 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 CloseTerminalRequest
- func (*CloseTerminalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloseTerminalRequest) GetTerminalId() string
- func (*CloseTerminalRequest) ProtoMessage()
- func (x *CloseTerminalRequest) ProtoReflect() protoreflect.Message
- func (x *CloseTerminalRequest) Reset()
- func (x *CloseTerminalRequest) String() string
- type CloseTerminalResponse
- 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 CommandClass
- func (CommandClass) Descriptor() protoreflect.EnumDescriptor
- func (x CommandClass) Enum() *CommandClass
- func (CommandClass) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommandClass) Number() protoreflect.EnumNumber
- func (x CommandClass) String() string
- func (CommandClass) Type() protoreflect.EnumType
- type ConfigureMutationAuthorityRequest
- func (*ConfigureMutationAuthorityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureMutationAuthorityRequest) GetAuthorityId() string
- func (x *ConfigureMutationAuthorityRequest) GetEd25519PublicKey() []byte
- func (x *ConfigureMutationAuthorityRequest) GetWorkspaceId() string
- func (*ConfigureMutationAuthorityRequest) ProtoMessage()
- func (x *ConfigureMutationAuthorityRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureMutationAuthorityRequest) Reset()
- func (x *ConfigureMutationAuthorityRequest) String() string
- type ConfigureMutationAuthorityResponse
- func (*ConfigureMutationAuthorityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureMutationAuthorityResponse) GetAuthorityId() string
- func (x *ConfigureMutationAuthorityResponse) GetWorkspaceId() string
- func (*ConfigureMutationAuthorityResponse) ProtoMessage()
- func (x *ConfigureMutationAuthorityResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigureMutationAuthorityResponse) Reset()
- func (x *ConfigureMutationAuthorityResponse) 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 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 FixRequest
- func (*FixRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FixRequest) GetDryRun() bool
- func (x *FixRequest) GetMode() v0.FixMode
- func (x *FixRequest) GetPath() string
- func (x *FixRequest) GetService() string
- func (*FixRequest) ProtoMessage()
- func (x *FixRequest) ProtoReflect() protoreflect.Message
- func (x *FixRequest) Reset()
- func (x *FixRequest) String() string
- type FixResponse
- func (*FixResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FixResponse) GetActions() []string
- func (x *FixResponse) GetAfterSha256() string
- func (x *FixResponse) GetBeforeSha256() string
- func (x *FixResponse) GetChanged() bool
- func (x *FixResponse) GetContent() string
- func (x *FixResponse) GetError() string
- func (x *FixResponse) GetOutput() string
- func (x *FixResponse) GetSuccess() bool
- func (x *FixResponse) GetWrote() bool
- func (*FixResponse) ProtoMessage()
- func (x *FixResponse) ProtoReflect() protoreflect.Message
- func (x *FixResponse) Reset()
- func (x *FixResponse) String() string
- type ForgeCheck
- func (*ForgeCheck) Descriptor() ([]byte, []int)deprecated
- func (x *ForgeCheck) GetConclusion() string
- func (x *ForgeCheck) GetId() string
- func (x *ForgeCheck) GetName() string
- func (x *ForgeCheck) GetRequired() bool
- func (x *ForgeCheck) GetState() string
- func (x *ForgeCheck) GetUrl() string
- func (*ForgeCheck) ProtoMessage()
- func (x *ForgeCheck) ProtoReflect() protoreflect.Message
- func (x *ForgeCheck) Reset()
- func (x *ForgeCheck) String() string
- type ForgeCheckPolicy
- func (ForgeCheckPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x ForgeCheckPolicy) Enum() *ForgeCheckPolicy
- func (ForgeCheckPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x ForgeCheckPolicy) Number() protoreflect.EnumNumber
- func (x ForgeCheckPolicy) String() string
- func (ForgeCheckPolicy) Type() protoreflect.EnumType
- type ForgeEvent
- func (*ForgeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ForgeEvent) GetAuthor() string
- func (x *ForgeEvent) GetAuthoritativeSource() string
- func (x *ForgeEvent) GetAuthoritativeUrl() string
- func (x *ForgeEvent) GetCheckName() string
- func (x *ForgeEvent) GetConclusion() string
- func (x *ForgeEvent) GetEventId() string
- func (x *ForgeEvent) GetKind() ForgeEventKind
- func (x *ForgeEvent) GetNumber() int64
- func (x *ForgeEvent) GetObservedAt() *timestamppb.Timestamp
- func (x *ForgeEvent) GetRef() string
- func (x *ForgeEvent) GetRepository() *ForgeRepository
- func (x *ForgeEvent) GetRevision() string
- func (x *ForgeEvent) GetState() string
- func (*ForgeEvent) ProtoMessage()
- func (x *ForgeEvent) ProtoReflect() protoreflect.Message
- func (x *ForgeEvent) Reset()
- func (x *ForgeEvent) String() string
- type ForgeEventKind
- func (ForgeEventKind) Descriptor() protoreflect.EnumDescriptor
- func (x ForgeEventKind) Enum() *ForgeEventKind
- func (ForgeEventKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ForgeEventKind) Number() protoreflect.EnumNumber
- func (x ForgeEventKind) String() string
- func (ForgeEventKind) Type() protoreflect.EnumType
- type ForgeMergeMethod
- func (ForgeMergeMethod) Descriptor() protoreflect.EnumDescriptor
- func (x ForgeMergeMethod) Enum() *ForgeMergeMethod
- func (ForgeMergeMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x ForgeMergeMethod) Number() protoreflect.EnumNumber
- func (x ForgeMergeMethod) String() string
- func (ForgeMergeMethod) Type() protoreflect.EnumType
- type ForgeMergePullRequestRequest
- func (*ForgeMergePullRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgeMergePullRequestRequest) GetCheckPolicy() ForgeCheckPolicy
- func (x *ForgeMergePullRequestRequest) GetCommitMessage() string
- func (x *ForgeMergePullRequestRequest) GetCommitTitle() string
- func (x *ForgeMergePullRequestRequest) GetMethod() ForgeMergeMethod
- func (x *ForgeMergePullRequestRequest) GetNumber() int64
- func (x *ForgeMergePullRequestRequest) GetRepository() *ForgeRepository
- func (x *ForgeMergePullRequestRequest) GetService() string
- func (*ForgeMergePullRequestRequest) ProtoMessage()
- func (x *ForgeMergePullRequestRequest) ProtoReflect() protoreflect.Message
- func (x *ForgeMergePullRequestRequest) Reset()
- func (x *ForgeMergePullRequestRequest) String() string
- type ForgeMergePullRequestResponse
- func (*ForgeMergePullRequestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ForgeMergePullRequestResponse) GetAct() *ActReceipt
- func (x *ForgeMergePullRequestResponse) GetError() string
- func (x *ForgeMergePullRequestResponse) GetStatus() *ForgePullRequestStatus
- func (x *ForgeMergePullRequestResponse) GetSuccess() bool
- func (*ForgeMergePullRequestResponse) ProtoMessage()
- func (x *ForgeMergePullRequestResponse) ProtoReflect() protoreflect.Message
- func (x *ForgeMergePullRequestResponse) Reset()
- func (x *ForgeMergePullRequestResponse) String() string
- type ForgeNormalizeWebhookRequest
- func (*ForgeNormalizeWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgeNormalizeWebhookRequest) GetDeliveryId() string
- func (x *ForgeNormalizeWebhookRequest) GetEventType() string
- func (x *ForgeNormalizeWebhookRequest) GetPayload() []byte
- func (x *ForgeNormalizeWebhookRequest) GetProvider() string
- func (x *ForgeNormalizeWebhookRequest) GetSecret() string
- func (x *ForgeNormalizeWebhookRequest) GetService() string
- func (x *ForgeNormalizeWebhookRequest) GetSignature() string
- func (*ForgeNormalizeWebhookRequest) ProtoMessage()
- func (x *ForgeNormalizeWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *ForgeNormalizeWebhookRequest) Reset()
- func (x *ForgeNormalizeWebhookRequest) String() string
- type ForgeNormalizeWebhookResponse
- func (*ForgeNormalizeWebhookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ForgeNormalizeWebhookResponse) GetError() string
- func (x *ForgeNormalizeWebhookResponse) GetEvent() *ForgeEvent
- func (*ForgeNormalizeWebhookResponse) ProtoMessage()
- func (x *ForgeNormalizeWebhookResponse) ProtoReflect() protoreflect.Message
- func (x *ForgeNormalizeWebhookResponse) Reset()
- func (x *ForgeNormalizeWebhookResponse) String() string
- type ForgePullRequestStatus
- func (*ForgePullRequestStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ForgePullRequestStatus) GetBaseBranch() string
- func (x *ForgePullRequestStatus) GetBlockingReason() string
- func (x *ForgePullRequestStatus) GetChecks() []*ForgeCheck
- func (x *ForgePullRequestStatus) GetHeadSha() string
- func (x *ForgePullRequestStatus) GetMergeable() bool
- func (x *ForgePullRequestStatus) GetNumber() int64
- func (x *ForgePullRequestStatus) GetObservedAt() *timestamppb.Timestamp
- func (x *ForgePullRequestStatus) GetRepository() *ForgeRepository
- func (x *ForgePullRequestStatus) GetReviews() []*ForgeReview
- func (x *ForgePullRequestStatus) GetState() string
- func (x *ForgePullRequestStatus) GetUrl() string
- func (*ForgePullRequestStatus) ProtoMessage()
- func (x *ForgePullRequestStatus) ProtoReflect() protoreflect.Message
- func (x *ForgePullRequestStatus) Reset()
- func (x *ForgePullRequestStatus) String() string
- type ForgePullRequestStatusRequest
- func (*ForgePullRequestStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgePullRequestStatusRequest) GetNumber() int64
- func (x *ForgePullRequestStatusRequest) GetRepository() *ForgeRepository
- func (x *ForgePullRequestStatusRequest) GetService() string
- func (*ForgePullRequestStatusRequest) ProtoMessage()
- func (x *ForgePullRequestStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ForgePullRequestStatusRequest) Reset()
- func (x *ForgePullRequestStatusRequest) String() string
- type ForgePullRequestStatusResponse
- func (*ForgePullRequestStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ForgePullRequestStatusResponse) GetError() string
- func (x *ForgePullRequestStatusResponse) GetStatus() *ForgePullRequestStatus
- func (*ForgePullRequestStatusResponse) ProtoMessage()
- func (x *ForgePullRequestStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ForgePullRequestStatusResponse) Reset()
- func (x *ForgePullRequestStatusResponse) String() string
- type ForgeRepository
- func (*ForgeRepository) Descriptor() ([]byte, []int)deprecated
- func (x *ForgeRepository) GetName() string
- func (x *ForgeRepository) GetOwner() string
- func (x *ForgeRepository) GetProvider() string
- func (*ForgeRepository) ProtoMessage()
- func (x *ForgeRepository) ProtoReflect() protoreflect.Message
- func (x *ForgeRepository) Reset()
- func (x *ForgeRepository) String() string
- type ForgeRequestReviewRequest
- func (*ForgeRequestReviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgeRequestReviewRequest) GetNumber() int64
- func (x *ForgeRequestReviewRequest) GetRepository() *ForgeRepository
- func (x *ForgeRequestReviewRequest) GetReviewers() []string
- func (x *ForgeRequestReviewRequest) GetService() string
- func (x *ForgeRequestReviewRequest) GetTeamReviewers() []string
- func (*ForgeRequestReviewRequest) ProtoMessage()
- func (x *ForgeRequestReviewRequest) ProtoReflect() protoreflect.Message
- func (x *ForgeRequestReviewRequest) Reset()
- func (x *ForgeRequestReviewRequest) String() string
- type ForgeRequestReviewResponse
- func (*ForgeRequestReviewResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ForgeRequestReviewResponse) GetAct() *ActReceipt
- func (x *ForgeRequestReviewResponse) GetError() string
- func (x *ForgeRequestReviewResponse) GetReviewers() []string
- func (x *ForgeRequestReviewResponse) GetSuccess() bool
- func (x *ForgeRequestReviewResponse) GetTeamReviewers() []string
- func (*ForgeRequestReviewResponse) ProtoMessage()
- func (x *ForgeRequestReviewResponse) ProtoReflect() protoreflect.Message
- func (x *ForgeRequestReviewResponse) Reset()
- func (x *ForgeRequestReviewResponse) String() string
- type ForgeReview
- func (*ForgeReview) Descriptor() ([]byte, []int)deprecated
- func (x *ForgeReview) GetAuthor() string
- func (x *ForgeReview) GetId() string
- func (x *ForgeReview) GetState() string
- func (x *ForgeReview) GetSubmittedAt() *timestamppb.Timestamp
- func (*ForgeReview) ProtoMessage()
- func (x *ForgeReview) ProtoReflect() protoreflect.Message
- func (x *ForgeReview) Reset()
- func (x *ForgeReview) String() string
- type FormatRequest
- func (*FormatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FormatRequest) GetPaths() []string
- func (x *FormatRequest) GetService() string
- func (*FormatRequest) ProtoMessage()
- func (x *FormatRequest) ProtoReflect() protoreflect.Message
- func (x *FormatRequest) Reset()
- func (x *FormatRequest) String() string
- type FormatResponse
- func (*FormatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FormatResponse) GetAct() *ActReceipt
- func (x *FormatResponse) GetChangedFiles() []string
- func (x *FormatResponse) GetErrors() []*BuildError
- func (x *FormatResponse) GetOutput() string
- func (x *FormatResponse) GetSuccess() bool
- func (*FormatResponse) ProtoMessage()
- func (x *FormatResponse) ProtoReflect() protoreflect.Message
- func (x *FormatResponse) Reset()
- func (x *FormatResponse) String() string
- type GatewayClient
- type GatewayServer
- type Gateway_AttachTerminalClient
- type Gateway_AttachTerminalServer
- type Gateway_SubscribeWorkspaceChangesClient
- type Gateway_SubscribeWorkspaceChangesServer
- 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 GitBranchRequest
- func (*GitBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitBranchRequest) GetForce() bool
- func (x *GitBranchRequest) GetName() string
- func (x *GitBranchRequest) GetService() string
- func (x *GitBranchRequest) GetStartPoint() string
- func (*GitBranchRequest) ProtoMessage()
- func (x *GitBranchRequest) ProtoReflect() protoreflect.Message
- func (x *GitBranchRequest) Reset()
- func (x *GitBranchRequest) String() string
- type GitBranchResponse
- func (*GitBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitBranchResponse) GetAct() *ActReceipt
- func (x *GitBranchResponse) GetBranch() string
- func (x *GitBranchResponse) GetError() string
- func (x *GitBranchResponse) GetRevision() string
- func (x *GitBranchResponse) GetSuccess() bool
- func (*GitBranchResponse) ProtoMessage()
- func (x *GitBranchResponse) ProtoReflect() protoreflect.Message
- func (x *GitBranchResponse) Reset()
- func (x *GitBranchResponse) String() string
- type GitCheckoutRequest
- func (*GitCheckoutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitCheckoutRequest) GetDetach() bool
- func (x *GitCheckoutRequest) GetRef() string
- func (x *GitCheckoutRequest) GetService() string
- func (*GitCheckoutRequest) ProtoMessage()
- func (x *GitCheckoutRequest) ProtoReflect() protoreflect.Message
- func (x *GitCheckoutRequest) Reset()
- func (x *GitCheckoutRequest) String() string
- type GitCheckoutResponse
- func (*GitCheckoutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitCheckoutResponse) GetAct() *ActReceipt
- func (x *GitCheckoutResponse) GetBranch() string
- func (x *GitCheckoutResponse) GetError() string
- func (x *GitCheckoutResponse) GetRevision() string
- func (x *GitCheckoutResponse) GetSuccess() bool
- func (*GitCheckoutResponse) ProtoMessage()
- func (x *GitCheckoutResponse) ProtoReflect() protoreflect.Message
- func (x *GitCheckoutResponse) Reset()
- func (x *GitCheckoutResponse) 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) GetAll() bool
- 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 GitMergeRequest
- func (*GitMergeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitMergeRequest) GetMessage() string
- func (x *GitMergeRequest) GetNoFastForward() bool
- func (x *GitMergeRequest) GetRef() string
- func (x *GitMergeRequest) GetService() string
- func (*GitMergeRequest) ProtoMessage()
- func (x *GitMergeRequest) ProtoReflect() protoreflect.Message
- func (x *GitMergeRequest) Reset()
- func (x *GitMergeRequest) String() string
- type GitMergeResponse
- func (*GitMergeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitMergeResponse) GetAct() *ActReceipt
- func (x *GitMergeResponse) GetBranch() string
- func (x *GitMergeResponse) GetError() string
- func (x *GitMergeResponse) GetRevision() string
- func (x *GitMergeResponse) GetSuccess() bool
- func (*GitMergeResponse) ProtoMessage()
- func (x *GitMergeResponse) ProtoReflect() protoreflect.Message
- func (x *GitMergeResponse) Reset()
- func (x *GitMergeResponse) String() string
- type GitPushMode
- func (GitPushMode) Descriptor() protoreflect.EnumDescriptor
- func (x GitPushMode) Enum() *GitPushMode
- func (GitPushMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x GitPushMode) Number() protoreflect.EnumNumber
- func (x GitPushMode) String() string
- func (GitPushMode) Type() protoreflect.EnumType
- type GitPushRequest
- func (*GitPushRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitPushRequest) GetBranch() string
- func (x *GitPushRequest) GetMode() GitPushMode
- func (x *GitPushRequest) GetRemote() string
- func (x *GitPushRequest) GetService() string
- func (x *GitPushRequest) GetSetUpstream() bool
- func (*GitPushRequest) ProtoMessage()
- func (x *GitPushRequest) ProtoReflect() protoreflect.Message
- func (x *GitPushRequest) Reset()
- func (x *GitPushRequest) String() string
- type GitPushResponse
- func (*GitPushResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitPushResponse) GetAct() *ActReceipt
- func (x *GitPushResponse) GetBranch() string
- func (x *GitPushResponse) GetError() string
- func (x *GitPushResponse) GetRemote() string
- func (x *GitPushResponse) GetRevision() string
- func (x *GitPushResponse) GetSuccess() bool
- func (*GitPushResponse) ProtoMessage()
- func (x *GitPushResponse) ProtoReflect() protoreflect.Message
- func (x *GitPushResponse) Reset()
- func (x *GitPushResponse) String() string
- type GitRevertRequest
- func (*GitRevertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitRevertRequest) GetRevision() string
- func (x *GitRevertRequest) GetService() string
- func (*GitRevertRequest) ProtoMessage()
- func (x *GitRevertRequest) ProtoReflect() protoreflect.Message
- func (x *GitRevertRequest) Reset()
- func (x *GitRevertRequest) String() string
- type GitRevertResponse
- func (*GitRevertResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitRevertResponse) GetAct() *ActReceipt
- func (x *GitRevertResponse) GetError() string
- func (x *GitRevertResponse) GetRevertedRevision() string
- func (x *GitRevertResponse) GetRevision() string
- func (x *GitRevertResponse) GetSuccess() bool
- func (*GitRevertResponse) ProtoMessage()
- func (x *GitRevertResponse) ProtoReflect() protoreflect.Message
- func (x *GitRevertResponse) Reset()
- func (x *GitRevertResponse) 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 GitTagRequest
- func (*GitTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitTagRequest) GetMessage() string
- func (x *GitTagRequest) GetName() string
- func (x *GitTagRequest) GetRevision() string
- func (x *GitTagRequest) GetService() string
- func (x *GitTagRequest) GetSign() bool
- func (*GitTagRequest) ProtoMessage()
- func (x *GitTagRequest) ProtoReflect() protoreflect.Message
- func (x *GitTagRequest) Reset()
- func (x *GitTagRequest) String() string
- type GitTagResponse
- func (*GitTagResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitTagResponse) GetAct() *ActReceipt
- func (x *GitTagResponse) GetError() string
- func (x *GitTagResponse) GetRevision() string
- func (x *GitTagResponse) GetSuccess() bool
- func (x *GitTagResponse) GetTag() string
- func (*GitTagResponse) ProtoMessage()
- func (x *GitTagResponse) ProtoReflect() protoreflect.Message
- func (x *GitTagResponse) Reset()
- func (x *GitTagResponse) 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 ListTerminalsRequest
- type ListTerminalsResponse
- func (*ListTerminalsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTerminalsResponse) GetTerminals() []*TerminalInfo
- func (*ListTerminalsResponse) ProtoMessage()
- func (x *ListTerminalsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTerminalsResponse) Reset()
- func (x *ListTerminalsResponse) 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 OpenTerminalRequest
- func (*OpenTerminalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OpenTerminalRequest) GetCols() uint32
- func (x *OpenTerminalRequest) GetRows() uint32
- func (x *OpenTerminalRequest) GetShell() string
- func (x *OpenTerminalRequest) GetUnstructuredUse() *UnstructuredUse
- func (x *OpenTerminalRequest) GetWorkingDir() string
- func (*OpenTerminalRequest) ProtoMessage()
- func (x *OpenTerminalRequest) ProtoReflect() protoreflect.Message
- func (x *OpenTerminalRequest) Reset()
- func (x *OpenTerminalRequest) String() string
- type OpenTerminalResponse
- func (*OpenTerminalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OpenTerminalResponse) GetShell() string
- func (x *OpenTerminalResponse) GetTerminalId() string
- func (x *OpenTerminalResponse) GetWorkingDir() string
- func (*OpenTerminalResponse) ProtoMessage()
- func (x *OpenTerminalResponse) ProtoReflect() protoreflect.Message
- func (x *OpenTerminalResponse) Reset()
- func (x *OpenTerminalResponse) 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 PrepareApplyEditMutation
- func (*PrepareApplyEditMutation) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareApplyEditMutation) GetFile() string
- func (x *PrepareApplyEditMutation) GetFind() string
- func (x *PrepareApplyEditMutation) GetFixMode() v0.FixMode
- func (x *PrepareApplyEditMutation) GetReplace() string
- func (*PrepareApplyEditMutation) ProtoMessage()
- func (x *PrepareApplyEditMutation) ProtoReflect() protoreflect.Message
- func (x *PrepareApplyEditMutation) Reset()
- func (x *PrepareApplyEditMutation) String() string
- type PrepareMutationRequest
- func (*PrepareMutationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareMutationRequest) GetApplyEdit() *PrepareApplyEditMutation
- func (x *PrepareMutationRequest) GetMutation() isPrepareMutationRequest_Mutation
- func (x *PrepareMutationRequest) GetService() string
- func (x *PrepareMutationRequest) GetWorkspaceVersion() string
- func (*PrepareMutationRequest) ProtoMessage()
- func (x *PrepareMutationRequest) ProtoReflect() protoreflect.Message
- func (x *PrepareMutationRequest) Reset()
- func (x *PrepareMutationRequest) String() string
- type PrepareMutationRequest_ApplyEdit
- type PrepareMutationResponse
- func (*PrepareMutationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareMutationResponse) GetError() string
- func (x *PrepareMutationResponse) GetPrepared() *PreparedMutation
- func (x *PrepareMutationResponse) GetSuccess() bool
- func (*PrepareMutationResponse) ProtoMessage()
- func (x *PrepareMutationResponse) ProtoReflect() protoreflect.Message
- func (x *PrepareMutationResponse) Reset()
- func (x *PrepareMutationResponse) String() string
- type PreparedFileMutation
- func (*PreparedFileMutation) Descriptor() ([]byte, []int)deprecated
- func (x *PreparedFileMutation) GetAfterSha256() string
- func (x *PreparedFileMutation) GetBeforeSha256() string
- func (x *PreparedFileMutation) GetFixActions() []string
- func (x *PreparedFileMutation) GetOperation() PreparedFileOperation
- func (x *PreparedFileMutation) GetPath() string
- func (x *PreparedFileMutation) GetStrategy() string
- func (*PreparedFileMutation) ProtoMessage()
- func (x *PreparedFileMutation) ProtoReflect() protoreflect.Message
- func (x *PreparedFileMutation) Reset()
- func (x *PreparedFileMutation) String() string
- type PreparedFileOperation
- func (PreparedFileOperation) Descriptor() protoreflect.EnumDescriptor
- func (x PreparedFileOperation) Enum() *PreparedFileOperation
- func (PreparedFileOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x PreparedFileOperation) Number() protoreflect.EnumNumber
- func (x PreparedFileOperation) String() string
- func (PreparedFileOperation) Type() protoreflect.EnumType
- type PreparedMutation
- func (*PreparedMutation) Descriptor() ([]byte, []int)deprecated
- func (x *PreparedMutation) GetAuthorityId() string
- func (x *PreparedMutation) GetExpiresAt() *timestamppb.Timestamp
- func (x *PreparedMutation) GetFiles() []*PreparedFileMutation
- func (x *PreparedMutation) GetMutationDigest() string
- func (x *PreparedMutation) GetPreparationId() string
- func (x *PreparedMutation) GetPreparedAt() *timestamppb.Timestamp
- func (x *PreparedMutation) GetSchemaVersion() uint32
- func (x *PreparedMutation) GetService() string
- func (x *PreparedMutation) GetWorkspaceId() string
- func (x *PreparedMutation) GetWorkspaceVersion() string
- func (*PreparedMutation) ProtoMessage()
- func (x *PreparedMutation) ProtoReflect() protoreflect.Message
- func (x *PreparedMutation) Reset()
- func (x *PreparedMutation) String() string
- 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 ReleaseBump
- func (ReleaseBump) Descriptor() protoreflect.EnumDescriptor
- func (x ReleaseBump) Enum() *ReleaseBump
- func (ReleaseBump) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReleaseBump) Number() protoreflect.EnumNumber
- func (x ReleaseBump) String() string
- func (ReleaseBump) Type() protoreflect.EnumType
- type ReleaseRequest
- func (*ReleaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseRequest) GetBump() ReleaseBump
- func (x *ReleaseRequest) GetService() string
- func (x *ReleaseRequest) GetUnits() []*ReleaseUnit
- func (*ReleaseRequest) ProtoMessage()
- func (x *ReleaseRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseRequest) Reset()
- func (x *ReleaseRequest) String() string
- type ReleaseResponse
- func (*ReleaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseResponse) GetAct() *ActReceipt
- func (x *ReleaseResponse) GetError() string
- func (x *ReleaseResponse) GetRevision() string
- func (x *ReleaseResponse) GetSuccess() bool
- func (x *ReleaseResponse) GetTag() string
- func (x *ReleaseResponse) GetUnits() []*ReleasedUnit
- func (*ReleaseResponse) ProtoMessage()
- func (x *ReleaseResponse) ProtoReflect() protoreflect.Message
- func (x *ReleaseResponse) Reset()
- func (x *ReleaseResponse) String() string
- type ReleaseUnit
- func (*ReleaseUnit) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseUnit) GetCodeUnitId() string
- func (x *ReleaseUnit) GetVersionFile() string
- func (*ReleaseUnit) ProtoMessage()
- func (x *ReleaseUnit) ProtoReflect() protoreflect.Message
- func (x *ReleaseUnit) Reset()
- func (x *ReleaseUnit) String() string
- type ReleasedUnit
- func (*ReleasedUnit) Descriptor() ([]byte, []int)deprecated
- func (x *ReleasedUnit) GetCodeUnitId() string
- func (x *ReleasedUnit) GetVersion() string
- func (x *ReleasedUnit) GetVersionFile() string
- func (*ReleasedUnit) ProtoMessage()
- func (x *ReleasedUnit) ProtoReflect() protoreflect.Message
- func (x *ReleasedUnit) Reset()
- func (x *ReleasedUnit) 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 ResizeTerminalRequest
- func (*ResizeTerminalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResizeTerminalRequest) GetCols() uint32
- func (x *ResizeTerminalRequest) GetRows() uint32
- func (x *ResizeTerminalRequest) GetTerminalId() string
- func (*ResizeTerminalRequest) ProtoMessage()
- func (x *ResizeTerminalRequest) ProtoReflect() protoreflect.Message
- func (x *ResizeTerminalRequest) Reset()
- func (x *ResizeTerminalRequest) String() string
- type ResizeTerminalResponse
- 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) GetStdin() []byte
- func (x *RunCommandRequest) GetTimeoutSeconds() int32
- func (x *RunCommandRequest) GetUnstructuredUse() *UnstructuredUse
- 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 SubscribeWorkspaceChangesRequest
- func (*SubscribeWorkspaceChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeWorkspaceChangesRequest) GetAfter() *WorkspaceChangeCursor
- func (x *SubscribeWorkspaceChangesRequest) GetService() string
- func (*SubscribeWorkspaceChangesRequest) ProtoMessage()
- func (x *SubscribeWorkspaceChangesRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeWorkspaceChangesRequest) Reset()
- func (x *SubscribeWorkspaceChangesRequest) String() string
- type TerminalInfo
- func (*TerminalInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalInfo) GetShell() string
- func (x *TerminalInfo) GetStatus() string
- func (x *TerminalInfo) GetTerminalId() string
- func (x *TerminalInfo) GetWorkingDir() string
- func (*TerminalInfo) ProtoMessage()
- func (x *TerminalInfo) ProtoReflect() protoreflect.Message
- func (x *TerminalInfo) Reset()
- func (x *TerminalInfo) String() string
- type TerminalInput
- func (*TerminalInput) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalInput) GetData() []byte
- func (x *TerminalInput) GetTerminalId() string
- func (*TerminalInput) ProtoMessage()
- func (x *TerminalInput) ProtoReflect() protoreflect.Message
- func (x *TerminalInput) Reset()
- func (x *TerminalInput) String() string
- type TerminalOutput
- func (*TerminalOutput) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalOutput) GetData() []byte
- func (x *TerminalOutput) GetDone() bool
- func (x *TerminalOutput) GetExitCode() int32
- func (x *TerminalOutput) GetTerminalId() string
- func (*TerminalOutput) ProtoMessage()
- func (x *TerminalOutput) ProtoReflect() protoreflect.Message
- func (x *TerminalOutput) Reset()
- func (x *TerminalOutput) String() string
- type TestRequest
- func (*TestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestRequest) GetRuntimeRequest() *v01.TestRequest
- func (x *TestRequest) GetService() string
- func (*TestRequest) ProtoMessage()
- func (x *TestRequest) ProtoReflect() protoreflect.Message
- func (x *TestRequest) Reset()
- func (x *TestRequest) String() string
- 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) GetRuntimeResponse() *v01.TestResponse
- 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 UnimplementedGatewayServer
- func (UnimplementedGatewayServer) AddDependency(context.Context, *AddDependencyRequest) (*AddDependencyResponse, error)
- func (UnimplementedGatewayServer) ApplyEdit(context.Context, *ApplyEditRequest) (*ApplyEditResponse, error)
- func (UnimplementedGatewayServer) ApplyPreparedMutation(context.Context, *ApplyPreparedMutationRequest) (*ApplyPreparedMutationResponse, error)
- func (UnimplementedGatewayServer) AttachTerminal(grpc.BidiStreamingServer[TerminalInput, TerminalOutput]) error
- func (UnimplementedGatewayServer) BatchApplyEdits(context.Context, *BatchApplyEditsRequest) (*BatchApplyEditsResponse, error)
- func (UnimplementedGatewayServer) Build(context.Context, *BuildRequest) (*BuildResponse, error)
- func (UnimplementedGatewayServer) CloseTerminal(context.Context, *CloseTerminalRequest) (*CloseTerminalResponse, error)
- func (UnimplementedGatewayServer) ConfigureMutationAuthority(context.Context, *ConfigureMutationAuthorityRequest) (*ConfigureMutationAuthorityResponse, error)
- func (UnimplementedGatewayServer) CreateFile(context.Context, *CreateFileRequest) (*CreateFileResponse, error)
- func (UnimplementedGatewayServer) DeleteFile(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error)
- func (UnimplementedGatewayServer) Fix(context.Context, *FixRequest) (*FixResponse, error)
- func (UnimplementedGatewayServer) ForgeMergePullRequest(context.Context, *ForgeMergePullRequestRequest) (*ForgeMergePullRequestResponse, error)
- func (UnimplementedGatewayServer) ForgeNormalizeWebhook(context.Context, *ForgeNormalizeWebhookRequest) (*ForgeNormalizeWebhookResponse, error)
- func (UnimplementedGatewayServer) ForgePullRequestStatus(context.Context, *ForgePullRequestStatusRequest) (*ForgePullRequestStatusResponse, error)
- func (UnimplementedGatewayServer) ForgeRequestReview(context.Context, *ForgeRequestReviewRequest) (*ForgeRequestReviewResponse, error)
- func (UnimplementedGatewayServer) Format(context.Context, *FormatRequest) (*FormatResponse, error)
- func (UnimplementedGatewayServer) GetProjectInfo(context.Context, *GetProjectInfoRequest) (*GetProjectInfoResponse, error)
- func (UnimplementedGatewayServer) GitBranch(context.Context, *GitBranchRequest) (*GitBranchResponse, error)
- func (UnimplementedGatewayServer) GitCheckout(context.Context, *GitCheckoutRequest) (*GitCheckoutResponse, 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) GitMerge(context.Context, *GitMergeRequest) (*GitMergeResponse, error)
- func (UnimplementedGatewayServer) GitPush(context.Context, *GitPushRequest) (*GitPushResponse, error)
- func (UnimplementedGatewayServer) GitRevert(context.Context, *GitRevertRequest) (*GitRevertResponse, error)
- func (UnimplementedGatewayServer) GitStatus(context.Context, *GitStatusRequest) (*GitStatusResponse, error)
- func (UnimplementedGatewayServer) GitTag(context.Context, *GitTagRequest) (*GitTagResponse, 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) ListTerminals(context.Context, *ListTerminalsRequest) (*ListTerminalsResponse, error)
- func (UnimplementedGatewayServer) MoveFile(context.Context, *MoveFileRequest) (*MoveFileResponse, error)
- func (UnimplementedGatewayServer) OpenTerminal(context.Context, *OpenTerminalRequest) (*OpenTerminalResponse, error)
- func (UnimplementedGatewayServer) PrepareMutation(context.Context, *PrepareMutationRequest) (*PrepareMutationResponse, error)
- func (UnimplementedGatewayServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
- func (UnimplementedGatewayServer) Release(context.Context, *ReleaseRequest) (*ReleaseResponse, error)
- func (UnimplementedGatewayServer) RemoveDependency(context.Context, *RemoveDependencyRequest) (*RemoveDependencyResponse, error)
- func (UnimplementedGatewayServer) ResizeTerminal(context.Context, *ResizeTerminalRequest) (*ResizeTerminalResponse, 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) SubscribeWorkspaceChanges(*SubscribeWorkspaceChangesRequest, ...) error
- func (UnimplementedGatewayServer) Test(context.Context, *TestRequest) (*TestResponse, error)
- func (UnimplementedGatewayServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
- type UnsafeGatewayServer
- type UnstructuredUse
- func (*UnstructuredUse) Descriptor() ([]byte, []int)deprecated
- func (x *UnstructuredUse) GetCodeUnitId() string
- func (x *UnstructuredUse) GetCommandClass() CommandClass
- func (x *UnstructuredUse) GetIntent() string
- func (x *UnstructuredUse) GetObjectiveId() string
- func (x *UnstructuredUse) GetWhyNoTool() string
- func (*UnstructuredUse) ProtoMessage()
- func (x *UnstructuredUse) ProtoReflect() protoreflect.Message
- func (x *UnstructuredUse) Reset()
- func (x *UnstructuredUse) String() string
- type WorkspaceChange
- func (*WorkspaceChange) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceChange) GetOperation() WorkspaceChangeOperation
- func (x *WorkspaceChange) GetPath() string
- func (x *WorkspaceChange) GetPreviousPath() string
- func (x *WorkspaceChange) GetReason() string
- func (*WorkspaceChange) ProtoMessage()
- func (x *WorkspaceChange) ProtoReflect() protoreflect.Message
- func (x *WorkspaceChange) Reset()
- func (x *WorkspaceChange) String() string
- type WorkspaceChangeCursor
- func (*WorkspaceChangeCursor) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceChangeCursor) GetSequence() uint64
- func (x *WorkspaceChangeCursor) GetSourceId() string
- func (*WorkspaceChangeCursor) ProtoMessage()
- func (x *WorkspaceChangeCursor) ProtoReflect() protoreflect.Message
- func (x *WorkspaceChangeCursor) Reset()
- func (x *WorkspaceChangeCursor) String() string
- type WorkspaceChangeEvent
- func (*WorkspaceChangeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceChangeEvent) GetChanges() []*WorkspaceChange
- func (x *WorkspaceChangeEvent) GetObservedAt() *timestamppb.Timestamp
- func (x *WorkspaceChangeEvent) GetSequence() uint64
- func (x *WorkspaceChangeEvent) GetSourceId() string
- func (*WorkspaceChangeEvent) ProtoMessage()
- func (x *WorkspaceChangeEvent) ProtoReflect() protoreflect.Message
- func (x *WorkspaceChangeEvent) Reset()
- func (x *WorkspaceChangeEvent) String() string
- type WorkspaceChangeOperation
- func (WorkspaceChangeOperation) Descriptor() protoreflect.EnumDescriptor
- func (x WorkspaceChangeOperation) Enum() *WorkspaceChangeOperation
- func (WorkspaceChangeOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkspaceChangeOperation) Number() protoreflect.EnumNumber
- func (x WorkspaceChangeOperation) String() string
- func (WorkspaceChangeOperation) Type() protoreflect.EnumType
- 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_SubscribeWorkspaceChanges_FullMethodName = "/mind.gateway.v1.Gateway/SubscribeWorkspaceChanges" 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_Fix_FullMethodName = "/mind.gateway.v1.Gateway/Fix" Gateway_ApplyEdit_FullMethodName = "/mind.gateway.v1.Gateway/ApplyEdit" Gateway_BatchApplyEdits_FullMethodName = "/mind.gateway.v1.Gateway/BatchApplyEdits" Gateway_ConfigureMutationAuthority_FullMethodName = "/mind.gateway.v1.Gateway/ConfigureMutationAuthority" Gateway_PrepareMutation_FullMethodName = "/mind.gateway.v1.Gateway/PrepareMutation" Gateway_ApplyPreparedMutation_FullMethodName = "/mind.gateway.v1.Gateway/ApplyPreparedMutation" 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_Format_FullMethodName = "/mind.gateway.v1.Gateway/Format" 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_GitBranch_FullMethodName = "/mind.gateway.v1.Gateway/GitBranch" Gateway_GitCheckout_FullMethodName = "/mind.gateway.v1.Gateway/GitCheckout" Gateway_GitPush_FullMethodName = "/mind.gateway.v1.Gateway/GitPush" Gateway_GitTag_FullMethodName = "/mind.gateway.v1.Gateway/GitTag" Gateway_GitMerge_FullMethodName = "/mind.gateway.v1.Gateway/GitMerge" Gateway_GitRevert_FullMethodName = "/mind.gateway.v1.Gateway/GitRevert" Gateway_Release_FullMethodName = "/mind.gateway.v1.Gateway/Release" Gateway_ForgePullRequestStatus_FullMethodName = "/mind.gateway.v1.Gateway/ForgePullRequestStatus" Gateway_ForgeMergePullRequest_FullMethodName = "/mind.gateway.v1.Gateway/ForgeMergePullRequest" Gateway_ForgeRequestReview_FullMethodName = "/mind.gateway.v1.Gateway/ForgeRequestReview" Gateway_ForgeNormalizeWebhook_FullMethodName = "/mind.gateway.v1.Gateway/ForgeNormalizeWebhook" 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" Gateway_OpenTerminal_FullMethodName = "/mind.gateway.v1.Gateway/OpenTerminal" Gateway_AttachTerminal_FullMethodName = "/mind.gateway.v1.Gateway/AttachTerminal" Gateway_ResizeTerminal_FullMethodName = "/mind.gateway.v1.Gateway/ResizeTerminal" Gateway_CloseTerminal_FullMethodName = "/mind.gateway.v1.Gateway/CloseTerminal" Gateway_ListTerminals_FullMethodName = "/mind.gateway.v1.Gateway/ListTerminals" )
Variables ¶
var ( WorkspaceChangeOperation_name = map[int32]string{ 0: "WORKSPACE_CHANGE_OPERATION_UNSPECIFIED", 1: "WORKSPACE_CHANGE_OPERATION_CREATE", 2: "WORKSPACE_CHANGE_OPERATION_WRITE", 3: "WORKSPACE_CHANGE_OPERATION_REMOVE", 4: "WORKSPACE_CHANGE_OPERATION_METADATA", 5: "WORKSPACE_CHANGE_OPERATION_RESCAN", } WorkspaceChangeOperation_value = map[string]int32{ "WORKSPACE_CHANGE_OPERATION_UNSPECIFIED": 0, "WORKSPACE_CHANGE_OPERATION_CREATE": 1, "WORKSPACE_CHANGE_OPERATION_WRITE": 2, "WORKSPACE_CHANGE_OPERATION_REMOVE": 3, "WORKSPACE_CHANGE_OPERATION_METADATA": 4, "WORKSPACE_CHANGE_OPERATION_RESCAN": 5, } )
Enum value maps for WorkspaceChangeOperation.
var ( PreparedFileOperation_name = map[int32]string{ 0: "PREPARED_FILE_OPERATION_UNSPECIFIED", 1: "PREPARED_FILE_OPERATION_MODIFY", } PreparedFileOperation_value = map[string]int32{ "PREPARED_FILE_OPERATION_UNSPECIFIED": 0, "PREPARED_FILE_OPERATION_MODIFY": 1, } )
Enum value maps for PreparedFileOperation.
var ( CommandClass_name = map[int32]string{ 0: "COMMAND_CLASS_UNSPECIFIED", 1: "COMMAND_CLASS_VCS", 2: "COMMAND_CLASS_BUILD", 3: "COMMAND_CLASS_PACKAGE", 4: "COMMAND_CLASS_NETWORK", 5: "COMMAND_CLASS_FILESYSTEM", 6: "COMMAND_CLASS_DIAGNOSTIC", 7: "COMMAND_CLASS_OTHER", } CommandClass_value = map[string]int32{ "COMMAND_CLASS_UNSPECIFIED": 0, "COMMAND_CLASS_VCS": 1, "COMMAND_CLASS_BUILD": 2, "COMMAND_CLASS_PACKAGE": 3, "COMMAND_CLASS_NETWORK": 4, "COMMAND_CLASS_FILESYSTEM": 5, "COMMAND_CLASS_DIAGNOSTIC": 6, "COMMAND_CLASS_OTHER": 7, } )
Enum value maps for CommandClass.
var ( GitPushMode_name = map[int32]string{ 0: "GIT_PUSH_MODE_UNSPECIFIED", 1: "GIT_PUSH_MODE_FAST_FORWARD_ONLY", 2: "GIT_PUSH_MODE_FORCE_WITH_LEASE", } GitPushMode_value = map[string]int32{ "GIT_PUSH_MODE_UNSPECIFIED": 0, "GIT_PUSH_MODE_FAST_FORWARD_ONLY": 1, "GIT_PUSH_MODE_FORCE_WITH_LEASE": 2, } )
Enum value maps for GitPushMode.
var ( ReleaseBump_name = map[int32]string{ 0: "RELEASE_BUMP_UNSPECIFIED", 1: "RELEASE_BUMP_PATCH", 2: "RELEASE_BUMP_MINOR", 3: "RELEASE_BUMP_MAJOR", } ReleaseBump_value = map[string]int32{ "RELEASE_BUMP_UNSPECIFIED": 0, "RELEASE_BUMP_PATCH": 1, "RELEASE_BUMP_MINOR": 2, "RELEASE_BUMP_MAJOR": 3, } )
Enum value maps for ReleaseBump.
var ( ForgeMergeMethod_name = map[int32]string{ 0: "FORGE_MERGE_METHOD_UNSPECIFIED", 1: "FORGE_MERGE_METHOD_MERGE", 2: "FORGE_MERGE_METHOD_SQUASH", 3: "FORGE_MERGE_METHOD_REBASE", } ForgeMergeMethod_value = map[string]int32{ "FORGE_MERGE_METHOD_UNSPECIFIED": 0, "FORGE_MERGE_METHOD_MERGE": 1, "FORGE_MERGE_METHOD_SQUASH": 2, "FORGE_MERGE_METHOD_REBASE": 3, } )
Enum value maps for ForgeMergeMethod.
var ( ForgeCheckPolicy_name = map[int32]string{ 0: "FORGE_CHECK_POLICY_UNSPECIFIED", 1: "FORGE_CHECK_POLICY_REQUIRE_PASSING", 2: "FORGE_CHECK_POLICY_BYPASS", } ForgeCheckPolicy_value = map[string]int32{ "FORGE_CHECK_POLICY_UNSPECIFIED": 0, "FORGE_CHECK_POLICY_REQUIRE_PASSING": 1, "FORGE_CHECK_POLICY_BYPASS": 2, } )
Enum value maps for ForgeCheckPolicy.
var ( ForgeEventKind_name = map[int32]string{ 0: "FORGE_EVENT_KIND_UNSPECIFIED", 1: "FORGE_EVENT_KIND_PULL_REQUEST", 2: "FORGE_EVENT_KIND_CHECK", 3: "FORGE_EVENT_KIND_REVIEW", } ForgeEventKind_value = map[string]int32{ "FORGE_EVENT_KIND_UNSPECIFIED": 0, "FORGE_EVENT_KIND_PULL_REQUEST": 1, "FORGE_EVENT_KIND_CHECK": 2, "FORGE_EVENT_KIND_REVIEW": 3, } )
Enum value maps for ForgeEventKind.
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: "Fix", Handler: _Gateway_Fix_Handler, }, { MethodName: "ApplyEdit", Handler: _Gateway_ApplyEdit_Handler, }, { MethodName: "BatchApplyEdits", Handler: _Gateway_BatchApplyEdits_Handler, }, { MethodName: "ConfigureMutationAuthority", Handler: _Gateway_ConfigureMutationAuthority_Handler, }, { MethodName: "PrepareMutation", Handler: _Gateway_PrepareMutation_Handler, }, { MethodName: "ApplyPreparedMutation", Handler: _Gateway_ApplyPreparedMutation_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: "Format", Handler: _Gateway_Format_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: "GitBranch", Handler: _Gateway_GitBranch_Handler, }, { MethodName: "GitCheckout", Handler: _Gateway_GitCheckout_Handler, }, { MethodName: "GitPush", Handler: _Gateway_GitPush_Handler, }, { MethodName: "GitTag", Handler: _Gateway_GitTag_Handler, }, { MethodName: "GitMerge", Handler: _Gateway_GitMerge_Handler, }, { MethodName: "GitRevert", Handler: _Gateway_GitRevert_Handler, }, { MethodName: "Release", Handler: _Gateway_Release_Handler, }, { MethodName: "ForgePullRequestStatus", Handler: _Gateway_ForgePullRequestStatus_Handler, }, { MethodName: "ForgeMergePullRequest", Handler: _Gateway_ForgeMergePullRequest_Handler, }, { MethodName: "ForgeRequestReview", Handler: _Gateway_ForgeRequestReview_Handler, }, { MethodName: "ForgeNormalizeWebhook", Handler: _Gateway_ForgeNormalizeWebhook_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, }, { MethodName: "OpenTerminal", Handler: _Gateway_OpenTerminal_Handler, }, { MethodName: "ResizeTerminal", Handler: _Gateway_ResizeTerminal_Handler, }, { MethodName: "CloseTerminal", Handler: _Gateway_CloseTerminal_Handler, }, { MethodName: "ListTerminals", Handler: _Gateway_ListTerminals_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeWorkspaceChanges", Handler: _Gateway_SubscribeWorkspaceChanges_Handler, ServerStreams: true, }, { StreamName: "AttachTerminal", Handler: _Gateway_AttachTerminal_Handler, ServerStreams: true, ClientStreams: true, }, }, 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 ActReceipt ¶ added in v0.2.37
type ActReceipt struct {
// event_id is the stable reconciliation identity.
EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
// kind is the provider-neutral semantic act kind.
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
// target identifies the branch, tag, revision, or forge resource acted on.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// state is the authoritative resulting state.
State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
// revision is the authoritative resulting commit SHA when applicable.
Revision string `protobuf:"bytes,5,opt,name=revision,proto3" json:"revision,omitempty"`
// authoritative_source names the boundary that observed the result.
AuthoritativeSource string `protobuf:"bytes,6,opt,name=authoritative_source,json=authoritativeSource,proto3" json:"authoritative_source,omitempty"`
// authoritative_url links to the source record when one exists.
AuthoritativeUrl string `protobuf:"bytes,7,opt,name=authoritative_url,json=authoritativeUrl,proto3" json:"authoritative_url,omitempty"`
// observed_at records when the source confirmed the result.
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
// contains filtered or unexported fields
}
ActReceipt is the authoritative, LLM-free outcome of one consequential act. event_id is stable across an outbound call and its matching inbound event.
func (*ActReceipt) Descriptor
deprecated
added in
v0.2.37
func (*ActReceipt) Descriptor() ([]byte, []int)
Deprecated: Use ActReceipt.ProtoReflect.Descriptor instead.
func (*ActReceipt) GetAuthoritativeSource ¶ added in v0.2.37
func (x *ActReceipt) GetAuthoritativeSource() string
func (*ActReceipt) GetAuthoritativeUrl ¶ added in v0.2.37
func (x *ActReceipt) GetAuthoritativeUrl() string
func (*ActReceipt) GetEventId ¶ added in v0.2.37
func (x *ActReceipt) GetEventId() string
func (*ActReceipt) GetKind ¶ added in v0.2.37
func (x *ActReceipt) GetKind() string
func (*ActReceipt) GetObservedAt ¶ added in v0.2.37
func (x *ActReceipt) GetObservedAt() *timestamppb.Timestamp
func (*ActReceipt) GetRevision ¶ added in v0.2.37
func (x *ActReceipt) GetRevision() string
func (*ActReceipt) GetState ¶ added in v0.2.37
func (x *ActReceipt) GetState() string
func (*ActReceipt) GetTarget ¶ added in v0.2.37
func (x *ActReceipt) GetTarget() string
func (*ActReceipt) ProtoMessage ¶ added in v0.2.37
func (*ActReceipt) ProtoMessage()
func (*ActReceipt) ProtoReflect ¶ added in v0.2.37
func (x *ActReceipt) ProtoReflect() protoreflect.Message
func (*ActReceipt) Reset ¶ added in v0.2.37
func (x *ActReceipt) Reset()
func (*ActReceipt) String ¶ added in v0.2.37
func (x *ActReceipt) String() string
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 AppliedFileMutation ¶ added in v0.2.27
type AppliedFileMutation struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Operation PreparedFileOperation `protobuf:"varint,2,opt,name=operation,proto3,enum=mind.gateway.v1.PreparedFileOperation" json:"operation,omitempty"`
BeforeSha256 string `protobuf:"bytes,3,opt,name=before_sha256,json=beforeSha256,proto3" json:"before_sha256,omitempty"`
AfterSha256 string `protobuf:"bytes,4,opt,name=after_sha256,json=afterSha256,proto3" json:"after_sha256,omitempty"`
// contains filtered or unexported fields
}
func (*AppliedFileMutation) Descriptor
deprecated
added in
v0.2.27
func (*AppliedFileMutation) Descriptor() ([]byte, []int)
Deprecated: Use AppliedFileMutation.ProtoReflect.Descriptor instead.
func (*AppliedFileMutation) GetAfterSha256 ¶ added in v0.2.27
func (x *AppliedFileMutation) GetAfterSha256() string
func (*AppliedFileMutation) GetBeforeSha256 ¶ added in v0.2.27
func (x *AppliedFileMutation) GetBeforeSha256() string
func (*AppliedFileMutation) GetOperation ¶ added in v0.2.27
func (x *AppliedFileMutation) GetOperation() PreparedFileOperation
func (*AppliedFileMutation) GetPath ¶ added in v0.2.27
func (x *AppliedFileMutation) GetPath() string
func (*AppliedFileMutation) ProtoMessage ¶ added in v0.2.27
func (*AppliedFileMutation) ProtoMessage()
func (*AppliedFileMutation) ProtoReflect ¶ added in v0.2.27
func (x *AppliedFileMutation) ProtoReflect() protoreflect.Message
func (*AppliedFileMutation) Reset ¶ added in v0.2.27
func (x *AppliedFileMutation) Reset()
func (*AppliedFileMutation) String ¶ added in v0.2.27
func (x *AppliedFileMutation) 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
// fix_mode controls language-aware rewriting after the edit. SAFE is the default.
FixMode v0.FixMode `protobuf:"varint,5,opt,name=fix_mode,json=fixMode,proto3,enum=codefly.base.v0.FixMode" json:"fix_mode,omitempty"`
// dry_run returns the edited and fixed content without writing the file.
DryRun bool `protobuf:"varint,6,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
// 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) GetDryRun ¶ added in v0.2.24
func (x *ApplyEditRequest) GetDryRun() bool
func (*ApplyEditRequest) GetFile ¶
func (x *ApplyEditRequest) GetFile() string
func (*ApplyEditRequest) GetFind ¶
func (x *ApplyEditRequest) GetFind() string
func (*ApplyEditRequest) GetFixMode ¶ added in v0.2.24
func (x *ApplyEditRequest) GetFixMode() v0.FixMode
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
// changed reports whether the returned content differs from the original file.
Changed bool `protobuf:"varint,6,opt,name=changed,proto3" json:"changed,omitempty"`
// before_sha256 is the lowercase SHA-256 digest of the original content.
BeforeSha256 string `protobuf:"bytes,7,opt,name=before_sha256,json=beforeSha256,proto3" json:"before_sha256,omitempty"`
// after_sha256 is the lowercase SHA-256 digest of the returned content.
AfterSha256 string `protobuf:"bytes,8,opt,name=after_sha256,json=afterSha256,proto3" json:"after_sha256,omitempty"`
// wrote reports whether the plugin committed the returned content.
Wrote bool `protobuf:"varint,9,opt,name=wrote,proto3" json:"wrote,omitempty"`
// output preserves bounded formatter/fixer output useful for follow-up linting.
Output string `protobuf:"bytes,10,opt,name=output,proto3" json:"output,omitempty"`
// 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) GetAfterSha256 ¶ added in v0.2.24
func (x *ApplyEditResponse) GetAfterSha256() string
func (*ApplyEditResponse) GetBeforeSha256 ¶ added in v0.2.24
func (x *ApplyEditResponse) GetBeforeSha256() string
func (*ApplyEditResponse) GetChanged ¶ added in v0.2.24
func (x *ApplyEditResponse) GetChanged() bool
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) GetOutput ¶ added in v0.2.24
func (x *ApplyEditResponse) GetOutput() string
func (*ApplyEditResponse) GetStrategy ¶
func (x *ApplyEditResponse) GetStrategy() string
func (*ApplyEditResponse) GetSuccess ¶
func (x *ApplyEditResponse) GetSuccess() bool
func (*ApplyEditResponse) GetWrote ¶ added in v0.2.24
func (x *ApplyEditResponse) GetWrote() 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 ApplyPreparedMutationRequest ¶ added in v0.2.27
type ApplyPreparedMutationRequest struct {
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
PreparationId string `protobuf:"bytes,2,opt,name=preparation_id,json=preparationId,proto3" json:"preparation_id,omitempty"`
// mutation_permit is Codefly's v2 Ed25519 scoped-authorization token,
// minted only after the Work Coordinator admits this exact prepared
// mutation under a current plan and lease. Codefly verifies it locally.
MutationPermit string `protobuf:"bytes,3,opt,name=mutation_permit,json=mutationPermit,proto3" json:"mutation_permit,omitempty"`
MutationDigest string `protobuf:"bytes,4,opt,name=mutation_digest,json=mutationDigest,proto3" json:"mutation_digest,omitempty"`
// contains filtered or unexported fields
}
func (*ApplyPreparedMutationRequest) Descriptor
deprecated
added in
v0.2.27
func (*ApplyPreparedMutationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyPreparedMutationRequest.ProtoReflect.Descriptor instead.
func (*ApplyPreparedMutationRequest) GetMutationDigest ¶ added in v0.2.27
func (x *ApplyPreparedMutationRequest) GetMutationDigest() string
func (*ApplyPreparedMutationRequest) GetMutationPermit ¶ added in v0.2.27
func (x *ApplyPreparedMutationRequest) GetMutationPermit() string
func (*ApplyPreparedMutationRequest) GetPreparationId ¶ added in v0.2.27
func (x *ApplyPreparedMutationRequest) GetPreparationId() string
func (*ApplyPreparedMutationRequest) GetService ¶ added in v0.2.27
func (x *ApplyPreparedMutationRequest) GetService() string
func (*ApplyPreparedMutationRequest) ProtoMessage ¶ added in v0.2.27
func (*ApplyPreparedMutationRequest) ProtoMessage()
func (*ApplyPreparedMutationRequest) ProtoReflect ¶ added in v0.2.27
func (x *ApplyPreparedMutationRequest) ProtoReflect() protoreflect.Message
func (*ApplyPreparedMutationRequest) Reset ¶ added in v0.2.27
func (x *ApplyPreparedMutationRequest) Reset()
func (*ApplyPreparedMutationRequest) String ¶ added in v0.2.27
func (x *ApplyPreparedMutationRequest) String() string
type ApplyPreparedMutationResponse ¶ added in v0.2.27
type ApplyPreparedMutationResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
PreparationId string `protobuf:"bytes,3,opt,name=preparation_id,json=preparationId,proto3" json:"preparation_id,omitempty"`
MutationDigest string `protobuf:"bytes,4,opt,name=mutation_digest,json=mutationDigest,proto3" json:"mutation_digest,omitempty"`
Files []*AppliedFileMutation `protobuf:"bytes,5,rep,name=files,proto3" json:"files,omitempty"`
// contains filtered or unexported fields
}
func (*ApplyPreparedMutationResponse) Descriptor
deprecated
added in
v0.2.27
func (*ApplyPreparedMutationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyPreparedMutationResponse.ProtoReflect.Descriptor instead.
func (*ApplyPreparedMutationResponse) GetError ¶ added in v0.2.27
func (x *ApplyPreparedMutationResponse) GetError() string
func (*ApplyPreparedMutationResponse) GetFiles ¶ added in v0.2.27
func (x *ApplyPreparedMutationResponse) GetFiles() []*AppliedFileMutation
func (*ApplyPreparedMutationResponse) GetMutationDigest ¶ added in v0.2.27
func (x *ApplyPreparedMutationResponse) GetMutationDigest() string
func (*ApplyPreparedMutationResponse) GetPreparationId ¶ added in v0.2.27
func (x *ApplyPreparedMutationResponse) GetPreparationId() string
func (*ApplyPreparedMutationResponse) GetSuccess ¶ added in v0.2.27
func (x *ApplyPreparedMutationResponse) GetSuccess() bool
func (*ApplyPreparedMutationResponse) ProtoMessage ¶ added in v0.2.27
func (*ApplyPreparedMutationResponse) ProtoMessage()
func (*ApplyPreparedMutationResponse) ProtoReflect ¶ added in v0.2.27
func (x *ApplyPreparedMutationResponse) ProtoReflect() protoreflect.Message
func (*ApplyPreparedMutationResponse) Reset ¶ added in v0.2.27
func (x *ApplyPreparedMutationResponse) Reset()
func (*ApplyPreparedMutationResponse) String ¶ added in v0.2.27
func (x *ApplyPreparedMutationResponse) 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 CloseTerminalRequest ¶ added in v0.2.12
type CloseTerminalRequest struct {
// terminal_id identifies the terminal to close.
TerminalId string `protobuf:"bytes,1,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
// contains filtered or unexported fields
}
CloseTerminalRequest terminates and removes one terminal session.
func (*CloseTerminalRequest) Descriptor
deprecated
added in
v0.2.12
func (*CloseTerminalRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseTerminalRequest.ProtoReflect.Descriptor instead.
func (*CloseTerminalRequest) GetTerminalId ¶ added in v0.2.12
func (x *CloseTerminalRequest) GetTerminalId() string
func (*CloseTerminalRequest) ProtoMessage ¶ added in v0.2.12
func (*CloseTerminalRequest) ProtoMessage()
func (*CloseTerminalRequest) ProtoReflect ¶ added in v0.2.12
func (x *CloseTerminalRequest) ProtoReflect() protoreflect.Message
func (*CloseTerminalRequest) Reset ¶ added in v0.2.12
func (x *CloseTerminalRequest) Reset()
func (*CloseTerminalRequest) String ¶ added in v0.2.12
func (x *CloseTerminalRequest) String() string
type CloseTerminalResponse ¶ added in v0.2.12
type CloseTerminalResponse struct {
// contains filtered or unexported fields
}
CloseTerminalResponse confirms that the terminal was closed.
func (*CloseTerminalResponse) Descriptor
deprecated
added in
v0.2.12
func (*CloseTerminalResponse) Descriptor() ([]byte, []int)
Deprecated: Use CloseTerminalResponse.ProtoReflect.Descriptor instead.
func (*CloseTerminalResponse) ProtoMessage ¶ added in v0.2.12
func (*CloseTerminalResponse) ProtoMessage()
func (*CloseTerminalResponse) ProtoReflect ¶ added in v0.2.12
func (x *CloseTerminalResponse) ProtoReflect() protoreflect.Message
func (*CloseTerminalResponse) Reset ¶ added in v0.2.12
func (x *CloseTerminalResponse) Reset()
func (*CloseTerminalResponse) String ¶ added in v0.2.12
func (x *CloseTerminalResponse) String() string
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 CommandClass ¶ added in v0.2.37
type CommandClass int32
CommandClass classifies why an unstructured execution escape hatch was used.
const ( // COMMAND_CLASS_UNSPECIFIED is rejected for an escape-hatch call. CommandClass_COMMAND_CLASS_UNSPECIFIED CommandClass = 0 // COMMAND_CLASS_VCS covers version-control diagnosis unsupported by typed VCS verbs. CommandClass_COMMAND_CLASS_VCS CommandClass = 1 // COMMAND_CLASS_BUILD covers build-system diagnosis unsupported by typed checks. CommandClass_COMMAND_CLASS_BUILD CommandClass = 2 // COMMAND_CLASS_PACKAGE covers package-manager diagnosis. CommandClass_COMMAND_CLASS_PACKAGE CommandClass = 3 // COMMAND_CLASS_NETWORK covers network diagnosis. CommandClass_COMMAND_CLASS_NETWORK CommandClass = 4 // COMMAND_CLASS_FILESYSTEM covers one-off filesystem diagnosis. CommandClass_COMMAND_CLASS_FILESYSTEM CommandClass = 5 // COMMAND_CLASS_DIAGNOSTIC covers other read-only diagnostic probes. CommandClass_COMMAND_CLASS_DIAGNOSTIC CommandClass = 6 // COMMAND_CLASS_OTHER covers an attributed use outside the named classes. CommandClass_COMMAND_CLASS_OTHER CommandClass = 7 )
func (CommandClass) Descriptor ¶ added in v0.2.37
func (CommandClass) Descriptor() protoreflect.EnumDescriptor
func (CommandClass) Enum ¶ added in v0.2.37
func (x CommandClass) Enum() *CommandClass
func (CommandClass) EnumDescriptor
deprecated
added in
v0.2.37
func (CommandClass) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommandClass.Descriptor instead.
func (CommandClass) Number ¶ added in v0.2.37
func (x CommandClass) Number() protoreflect.EnumNumber
func (CommandClass) String ¶ added in v0.2.37
func (x CommandClass) String() string
func (CommandClass) Type ¶ added in v0.2.37
func (CommandClass) Type() protoreflect.EnumType
type ConfigureMutationAuthorityRequest ¶ added in v0.2.27
type ConfigureMutationAuthorityRequest struct {
AuthorityId string `protobuf:"bytes,1,opt,name=authority_id,json=authorityId,proto3" json:"authority_id,omitempty"`
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
Ed25519PublicKey []byte `protobuf:"bytes,3,opt,name=ed25519_public_key,json=ed25519PublicKey,proto3" json:"ed25519_public_key,omitempty"`
// contains filtered or unexported fields
}
ConfigureMutationAuthorityRequest establishes the trust anchor for the coordinated mutation path. A running gateway may repeat the same binding, but it rejects attempts to replace it with another authority or workspace.
func (*ConfigureMutationAuthorityRequest) Descriptor
deprecated
added in
v0.2.27
func (*ConfigureMutationAuthorityRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureMutationAuthorityRequest.ProtoReflect.Descriptor instead.
func (*ConfigureMutationAuthorityRequest) GetAuthorityId ¶ added in v0.2.27
func (x *ConfigureMutationAuthorityRequest) GetAuthorityId() string
func (*ConfigureMutationAuthorityRequest) GetEd25519PublicKey ¶ added in v0.2.27
func (x *ConfigureMutationAuthorityRequest) GetEd25519PublicKey() []byte
func (*ConfigureMutationAuthorityRequest) GetWorkspaceId ¶ added in v0.2.27
func (x *ConfigureMutationAuthorityRequest) GetWorkspaceId() string
func (*ConfigureMutationAuthorityRequest) ProtoMessage ¶ added in v0.2.27
func (*ConfigureMutationAuthorityRequest) ProtoMessage()
func (*ConfigureMutationAuthorityRequest) ProtoReflect ¶ added in v0.2.27
func (x *ConfigureMutationAuthorityRequest) ProtoReflect() protoreflect.Message
func (*ConfigureMutationAuthorityRequest) Reset ¶ added in v0.2.27
func (x *ConfigureMutationAuthorityRequest) Reset()
func (*ConfigureMutationAuthorityRequest) String ¶ added in v0.2.27
func (x *ConfigureMutationAuthorityRequest) String() string
type ConfigureMutationAuthorityResponse ¶ added in v0.2.27
type ConfigureMutationAuthorityResponse struct {
AuthorityId string `protobuf:"bytes,1,opt,name=authority_id,json=authorityId,proto3" json:"authority_id,omitempty"`
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigureMutationAuthorityResponse) Descriptor
deprecated
added in
v0.2.27
func (*ConfigureMutationAuthorityResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureMutationAuthorityResponse.ProtoReflect.Descriptor instead.
func (*ConfigureMutationAuthorityResponse) GetAuthorityId ¶ added in v0.2.27
func (x *ConfigureMutationAuthorityResponse) GetAuthorityId() string
func (*ConfigureMutationAuthorityResponse) GetWorkspaceId ¶ added in v0.2.27
func (x *ConfigureMutationAuthorityResponse) GetWorkspaceId() string
func (*ConfigureMutationAuthorityResponse) ProtoMessage ¶ added in v0.2.27
func (*ConfigureMutationAuthorityResponse) ProtoMessage()
func (*ConfigureMutationAuthorityResponse) ProtoReflect ¶ added in v0.2.27
func (x *ConfigureMutationAuthorityResponse) ProtoReflect() protoreflect.Message
func (*ConfigureMutationAuthorityResponse) Reset ¶ added in v0.2.27
func (x *ConfigureMutationAuthorityResponse) Reset()
func (*ConfigureMutationAuthorityResponse) String ¶ added in v0.2.27
func (x *ConfigureMutationAuthorityResponse) 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 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 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
// mode selects safe fixes, no fixes, or explicitly aggressive fixes.
Mode v0.FixMode `protobuf:"varint,3,opt,name=mode,proto3,enum=codefly.base.v0.FixMode" json:"mode,omitempty"`
// dry_run returns the fixed content and evidence without writing the file.
DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
// 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) GetDryRun ¶ added in v0.2.24
func (x *FixRequest) GetDryRun() bool
func (*FixRequest) GetMode ¶ added in v0.2.24
func (x *FixRequest) GetMode() v0.FixMode
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.
// changed reports whether the returned content differs from the original file.
Changed bool `protobuf:"varint,5,opt,name=changed,proto3" json:"changed,omitempty"`
// before_sha256 is the lowercase SHA-256 digest of the original content.
BeforeSha256 string `protobuf:"bytes,6,opt,name=before_sha256,json=beforeSha256,proto3" json:"before_sha256,omitempty"`
// after_sha256 is the lowercase SHA-256 digest of the returned content.
AfterSha256 string `protobuf:"bytes,7,opt,name=after_sha256,json=afterSha256,proto3" json:"after_sha256,omitempty"`
// wrote reports whether the plugin committed the returned content.
Wrote bool `protobuf:"varint,8,opt,name=wrote,proto3" json:"wrote,omitempty"`
// output preserves bounded formatter/fixer output useful for follow-up linting.
Output string `protobuf:"bytes,9,opt,name=output,proto3" json:"output,omitempty"`
// 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) GetAfterSha256 ¶ added in v0.2.24
func (x *FixResponse) GetAfterSha256() string
func (*FixResponse) GetBeforeSha256 ¶ added in v0.2.24
func (x *FixResponse) GetBeforeSha256() string
func (*FixResponse) GetChanged ¶ added in v0.2.24
func (x *FixResponse) GetChanged() bool
func (*FixResponse) GetContent ¶
func (x *FixResponse) GetContent() string
func (*FixResponse) GetError ¶
func (x *FixResponse) GetError() string
func (*FixResponse) GetOutput ¶ added in v0.2.24
func (x *FixResponse) GetOutput() string
func (*FixResponse) GetSuccess ¶
func (x *FixResponse) GetSuccess() bool
func (*FixResponse) GetWrote ¶ added in v0.2.24
func (x *FixResponse) GetWrote() 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 ForgeCheck ¶ added in v0.2.37
type ForgeCheck struct {
// id is the provider's stable check identity.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// name is the check context displayed to users.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// state is the provider-neutral queued, in_progress, or completed state.
State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
// conclusion is the terminal result when completed.
Conclusion string `protobuf:"bytes,4,opt,name=conclusion,proto3" json:"conclusion,omitempty"`
// required reports whether branch protection requires this check.
Required bool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`
// url links to authoritative check details.
Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
ForgeCheck is one CI check or commit-status context.
func (*ForgeCheck) Descriptor
deprecated
added in
v0.2.37
func (*ForgeCheck) Descriptor() ([]byte, []int)
Deprecated: Use ForgeCheck.ProtoReflect.Descriptor instead.
func (*ForgeCheck) GetConclusion ¶ added in v0.2.37
func (x *ForgeCheck) GetConclusion() string
func (*ForgeCheck) GetId ¶ added in v0.2.37
func (x *ForgeCheck) GetId() string
func (*ForgeCheck) GetName ¶ added in v0.2.37
func (x *ForgeCheck) GetName() string
func (*ForgeCheck) GetRequired ¶ added in v0.2.37
func (x *ForgeCheck) GetRequired() bool
func (*ForgeCheck) GetState ¶ added in v0.2.37
func (x *ForgeCheck) GetState() string
func (*ForgeCheck) GetUrl ¶ added in v0.2.37
func (x *ForgeCheck) GetUrl() string
func (*ForgeCheck) ProtoMessage ¶ added in v0.2.37
func (*ForgeCheck) ProtoMessage()
func (*ForgeCheck) ProtoReflect ¶ added in v0.2.37
func (x *ForgeCheck) ProtoReflect() protoreflect.Message
func (*ForgeCheck) Reset ¶ added in v0.2.37
func (x *ForgeCheck) Reset()
func (*ForgeCheck) String ¶ added in v0.2.37
func (x *ForgeCheck) String() string
type ForgeCheckPolicy ¶ added in v0.2.37
type ForgeCheckPolicy int32
ForgeCheckPolicy controls whether a merge may bypass failing checks.
const ( // FORGE_CHECK_POLICY_UNSPECIFIED is rejected. ForgeCheckPolicy_FORGE_CHECK_POLICY_UNSPECIFIED ForgeCheckPolicy = 0 // FORGE_CHECK_POLICY_REQUIRE_PASSING rejects a blocked merge. ForgeCheckPolicy_FORGE_CHECK_POLICY_REQUIRE_PASSING ForgeCheckPolicy = 1 // FORGE_CHECK_POLICY_BYPASS delegates any allowed bypass to the provider. ForgeCheckPolicy_FORGE_CHECK_POLICY_BYPASS ForgeCheckPolicy = 2 )
func (ForgeCheckPolicy) Descriptor ¶ added in v0.2.37
func (ForgeCheckPolicy) Descriptor() protoreflect.EnumDescriptor
func (ForgeCheckPolicy) Enum ¶ added in v0.2.37
func (x ForgeCheckPolicy) Enum() *ForgeCheckPolicy
func (ForgeCheckPolicy) EnumDescriptor
deprecated
added in
v0.2.37
func (ForgeCheckPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForgeCheckPolicy.Descriptor instead.
func (ForgeCheckPolicy) Number ¶ added in v0.2.37
func (x ForgeCheckPolicy) Number() protoreflect.EnumNumber
func (ForgeCheckPolicy) String ¶ added in v0.2.37
func (x ForgeCheckPolicy) String() string
func (ForgeCheckPolicy) Type ¶ added in v0.2.37
func (ForgeCheckPolicy) Type() protoreflect.EnumType
type ForgeEvent ¶ added in v0.2.37
type ForgeEvent struct {
EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
Kind ForgeEventKind `protobuf:"varint,2,opt,name=kind,proto3,enum=mind.gateway.v1.ForgeEventKind" json:"kind,omitempty"`
Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
Repository *ForgeRepository `protobuf:"bytes,4,opt,name=repository,proto3" json:"repository,omitempty"`
Number int64 `protobuf:"varint,5,opt,name=number,proto3" json:"number,omitempty"`
Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"`
State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
CheckName string `protobuf:"bytes,8,opt,name=check_name,json=checkName,proto3" json:"check_name,omitempty"`
Conclusion string `protobuf:"bytes,9,opt,name=conclusion,proto3" json:"conclusion,omitempty"`
Author string `protobuf:"bytes,10,opt,name=author,proto3" json:"author,omitempty"`
AuthoritativeUrl string `protobuf:"bytes,11,opt,name=authoritative_url,json=authoritativeUrl,proto3" json:"authoritative_url,omitempty"`
AuthoritativeSource string `protobuf:"bytes,12,opt,name=authoritative_source,json=authoritativeSource,proto3" json:"authoritative_source,omitempty"`
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
// contains filtered or unexported fields
}
ForgeEvent is one provider-authoritative event normalized by the toolbox.
func (*ForgeEvent) Descriptor
deprecated
added in
v0.2.37
func (*ForgeEvent) Descriptor() ([]byte, []int)
Deprecated: Use ForgeEvent.ProtoReflect.Descriptor instead.
func (*ForgeEvent) GetAuthor ¶ added in v0.2.37
func (x *ForgeEvent) GetAuthor() string
func (*ForgeEvent) GetAuthoritativeSource ¶ added in v0.2.37
func (x *ForgeEvent) GetAuthoritativeSource() string
func (*ForgeEvent) GetAuthoritativeUrl ¶ added in v0.2.37
func (x *ForgeEvent) GetAuthoritativeUrl() string
func (*ForgeEvent) GetCheckName ¶ added in v0.2.37
func (x *ForgeEvent) GetCheckName() string
func (*ForgeEvent) GetConclusion ¶ added in v0.2.37
func (x *ForgeEvent) GetConclusion() string
func (*ForgeEvent) GetEventId ¶ added in v0.2.37
func (x *ForgeEvent) GetEventId() string
func (*ForgeEvent) GetKind ¶ added in v0.2.37
func (x *ForgeEvent) GetKind() ForgeEventKind
func (*ForgeEvent) GetNumber ¶ added in v0.2.37
func (x *ForgeEvent) GetNumber() int64
func (*ForgeEvent) GetObservedAt ¶ added in v0.2.37
func (x *ForgeEvent) GetObservedAt() *timestamppb.Timestamp
func (*ForgeEvent) GetRef ¶ added in v0.2.37
func (x *ForgeEvent) GetRef() string
func (*ForgeEvent) GetRepository ¶ added in v0.2.37
func (x *ForgeEvent) GetRepository() *ForgeRepository
func (*ForgeEvent) GetRevision ¶ added in v0.2.37
func (x *ForgeEvent) GetRevision() string
func (*ForgeEvent) GetState ¶ added in v0.2.37
func (x *ForgeEvent) GetState() string
func (*ForgeEvent) ProtoMessage ¶ added in v0.2.37
func (*ForgeEvent) ProtoMessage()
func (*ForgeEvent) ProtoReflect ¶ added in v0.2.37
func (x *ForgeEvent) ProtoReflect() protoreflect.Message
func (*ForgeEvent) Reset ¶ added in v0.2.37
func (x *ForgeEvent) Reset()
func (*ForgeEvent) String ¶ added in v0.2.37
func (x *ForgeEvent) String() string
type ForgeEventKind ¶ added in v0.2.37
type ForgeEventKind int32
ForgeEventKind is the provider-neutral event family.
const ( ForgeEventKind_FORGE_EVENT_KIND_UNSPECIFIED ForgeEventKind = 0 ForgeEventKind_FORGE_EVENT_KIND_PULL_REQUEST ForgeEventKind = 1 ForgeEventKind_FORGE_EVENT_KIND_CHECK ForgeEventKind = 2 ForgeEventKind_FORGE_EVENT_KIND_REVIEW ForgeEventKind = 3 )
func (ForgeEventKind) Descriptor ¶ added in v0.2.37
func (ForgeEventKind) Descriptor() protoreflect.EnumDescriptor
func (ForgeEventKind) Enum ¶ added in v0.2.37
func (x ForgeEventKind) Enum() *ForgeEventKind
func (ForgeEventKind) EnumDescriptor
deprecated
added in
v0.2.37
func (ForgeEventKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForgeEventKind.Descriptor instead.
func (ForgeEventKind) Number ¶ added in v0.2.37
func (x ForgeEventKind) Number() protoreflect.EnumNumber
func (ForgeEventKind) String ¶ added in v0.2.37
func (x ForgeEventKind) String() string
func (ForgeEventKind) Type ¶ added in v0.2.37
func (ForgeEventKind) Type() protoreflect.EnumType
type ForgeMergeMethod ¶ added in v0.2.37
type ForgeMergeMethod int32
ForgeMergeMethod is the provider-neutral pull-request merge strategy.
const ( // FORGE_MERGE_METHOD_UNSPECIFIED is rejected. ForgeMergeMethod_FORGE_MERGE_METHOD_UNSPECIFIED ForgeMergeMethod = 0 // FORGE_MERGE_METHOD_MERGE creates a merge commit. ForgeMergeMethod_FORGE_MERGE_METHOD_MERGE ForgeMergeMethod = 1 // FORGE_MERGE_METHOD_SQUASH creates one squashed commit. ForgeMergeMethod_FORGE_MERGE_METHOD_SQUASH ForgeMergeMethod = 2 // FORGE_MERGE_METHOD_REBASE rebases commits onto the base branch. ForgeMergeMethod_FORGE_MERGE_METHOD_REBASE ForgeMergeMethod = 3 )
func (ForgeMergeMethod) Descriptor ¶ added in v0.2.37
func (ForgeMergeMethod) Descriptor() protoreflect.EnumDescriptor
func (ForgeMergeMethod) Enum ¶ added in v0.2.37
func (x ForgeMergeMethod) Enum() *ForgeMergeMethod
func (ForgeMergeMethod) EnumDescriptor
deprecated
added in
v0.2.37
func (ForgeMergeMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForgeMergeMethod.Descriptor instead.
func (ForgeMergeMethod) Number ¶ added in v0.2.37
func (x ForgeMergeMethod) Number() protoreflect.EnumNumber
func (ForgeMergeMethod) String ¶ added in v0.2.37
func (x ForgeMergeMethod) String() string
func (ForgeMergeMethod) Type ¶ added in v0.2.37
func (ForgeMergeMethod) Type() protoreflect.EnumType
type ForgeMergePullRequestRequest ¶ added in v0.2.37
type ForgeMergePullRequestRequest struct {
// service identifies the workspace used for provider defaults.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// repository identifies the forge resource.
Repository *ForgeRepository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
// number is the pull-request number.
Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
// method selects the provider-neutral merge strategy.
Method ForgeMergeMethod `protobuf:"varint,4,opt,name=method,proto3,enum=mind.gateway.v1.ForgeMergeMethod" json:"method,omitempty"`
// check_policy controls required-check enforcement.
CheckPolicy ForgeCheckPolicy `` /* 133-byte string literal not displayed */
// commit_title optionally overrides the merge commit title.
CommitTitle string `protobuf:"bytes,6,opt,name=commit_title,json=commitTitle,proto3" json:"commit_title,omitempty"`
// commit_message optionally overrides the merge commit body.
CommitMessage string `protobuf:"bytes,7,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
// contains filtered or unexported fields
}
ForgeMergePullRequestRequest merges one pull request.
func (*ForgeMergePullRequestRequest) Descriptor
deprecated
added in
v0.2.37
func (*ForgeMergePullRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForgeMergePullRequestRequest.ProtoReflect.Descriptor instead.
func (*ForgeMergePullRequestRequest) GetCheckPolicy ¶ added in v0.2.37
func (x *ForgeMergePullRequestRequest) GetCheckPolicy() ForgeCheckPolicy
func (*ForgeMergePullRequestRequest) GetCommitMessage ¶ added in v0.2.37
func (x *ForgeMergePullRequestRequest) GetCommitMessage() string
func (*ForgeMergePullRequestRequest) GetCommitTitle ¶ added in v0.2.37
func (x *ForgeMergePullRequestRequest) GetCommitTitle() string
func (*ForgeMergePullRequestRequest) GetMethod ¶ added in v0.2.37
func (x *ForgeMergePullRequestRequest) GetMethod() ForgeMergeMethod
func (*ForgeMergePullRequestRequest) GetNumber ¶ added in v0.2.37
func (x *ForgeMergePullRequestRequest) GetNumber() int64
func (*ForgeMergePullRequestRequest) GetRepository ¶ added in v0.2.37
func (x *ForgeMergePullRequestRequest) GetRepository() *ForgeRepository
func (*ForgeMergePullRequestRequest) GetService ¶ added in v0.2.37
func (x *ForgeMergePullRequestRequest) GetService() string
func (*ForgeMergePullRequestRequest) ProtoMessage ¶ added in v0.2.37
func (*ForgeMergePullRequestRequest) ProtoMessage()
func (*ForgeMergePullRequestRequest) ProtoReflect ¶ added in v0.2.37
func (x *ForgeMergePullRequestRequest) ProtoReflect() protoreflect.Message
func (*ForgeMergePullRequestRequest) Reset ¶ added in v0.2.37
func (x *ForgeMergePullRequestRequest) Reset()
func (*ForgeMergePullRequestRequest) String ¶ added in v0.2.37
func (x *ForgeMergePullRequestRequest) String() string
type ForgeMergePullRequestResponse ¶ added in v0.2.37
type ForgeMergePullRequestResponse struct {
// success reports whether the provider confirmed the merge.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains a rejected or failed merge.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// status is the authoritative post-operation snapshot.
Status *ForgePullRequestStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// act is the reconciliable provider outcome.
Act *ActReceipt `protobuf:"bytes,4,opt,name=act,proto3" json:"act,omitempty"`
// contains filtered or unexported fields
}
ForgeMergePullRequestResponse reports the provider-confirmed merge.
func (*ForgeMergePullRequestResponse) Descriptor
deprecated
added in
v0.2.37
func (*ForgeMergePullRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForgeMergePullRequestResponse.ProtoReflect.Descriptor instead.
func (*ForgeMergePullRequestResponse) GetAct ¶ added in v0.2.37
func (x *ForgeMergePullRequestResponse) GetAct() *ActReceipt
func (*ForgeMergePullRequestResponse) GetError ¶ added in v0.2.37
func (x *ForgeMergePullRequestResponse) GetError() string
func (*ForgeMergePullRequestResponse) GetStatus ¶ added in v0.2.37
func (x *ForgeMergePullRequestResponse) GetStatus() *ForgePullRequestStatus
func (*ForgeMergePullRequestResponse) GetSuccess ¶ added in v0.2.37
func (x *ForgeMergePullRequestResponse) GetSuccess() bool
func (*ForgeMergePullRequestResponse) ProtoMessage ¶ added in v0.2.37
func (*ForgeMergePullRequestResponse) ProtoMessage()
func (*ForgeMergePullRequestResponse) ProtoReflect ¶ added in v0.2.37
func (x *ForgeMergePullRequestResponse) ProtoReflect() protoreflect.Message
func (*ForgeMergePullRequestResponse) Reset ¶ added in v0.2.37
func (x *ForgeMergePullRequestResponse) Reset()
func (*ForgeMergePullRequestResponse) String ¶ added in v0.2.37
func (x *ForgeMergePullRequestResponse) String() string
type ForgeNormalizeWebhookRequest ¶ added in v0.2.37
type ForgeNormalizeWebhookRequest struct {
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
EventType string `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
DeliveryId string `protobuf:"bytes,4,opt,name=delivery_id,json=deliveryId,proto3" json:"delivery_id,omitempty"`
Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
Signature string `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"`
Secret string `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret,omitempty"`
// contains filtered or unexported fields
}
ForgeNormalizeWebhookRequest carries the signed provider delivery to the toolbox that owns provider schemas and signature rules.
func (*ForgeNormalizeWebhookRequest) Descriptor
deprecated
added in
v0.2.37
func (*ForgeNormalizeWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForgeNormalizeWebhookRequest.ProtoReflect.Descriptor instead.
func (*ForgeNormalizeWebhookRequest) GetDeliveryId ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookRequest) GetDeliveryId() string
func (*ForgeNormalizeWebhookRequest) GetEventType ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookRequest) GetEventType() string
func (*ForgeNormalizeWebhookRequest) GetPayload ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookRequest) GetPayload() []byte
func (*ForgeNormalizeWebhookRequest) GetProvider ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookRequest) GetProvider() string
func (*ForgeNormalizeWebhookRequest) GetSecret ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookRequest) GetSecret() string
func (*ForgeNormalizeWebhookRequest) GetService ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookRequest) GetService() string
func (*ForgeNormalizeWebhookRequest) GetSignature ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookRequest) GetSignature() string
func (*ForgeNormalizeWebhookRequest) ProtoMessage ¶ added in v0.2.37
func (*ForgeNormalizeWebhookRequest) ProtoMessage()
func (*ForgeNormalizeWebhookRequest) ProtoReflect ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookRequest) ProtoReflect() protoreflect.Message
func (*ForgeNormalizeWebhookRequest) Reset ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookRequest) Reset()
func (*ForgeNormalizeWebhookRequest) String ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookRequest) String() string
type ForgeNormalizeWebhookResponse ¶ added in v0.2.37
type ForgeNormalizeWebhookResponse struct {
Event *ForgeEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ForgeNormalizeWebhookResponse) Descriptor
deprecated
added in
v0.2.37
func (*ForgeNormalizeWebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForgeNormalizeWebhookResponse.ProtoReflect.Descriptor instead.
func (*ForgeNormalizeWebhookResponse) GetError ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookResponse) GetError() string
func (*ForgeNormalizeWebhookResponse) GetEvent ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookResponse) GetEvent() *ForgeEvent
func (*ForgeNormalizeWebhookResponse) ProtoMessage ¶ added in v0.2.37
func (*ForgeNormalizeWebhookResponse) ProtoMessage()
func (*ForgeNormalizeWebhookResponse) ProtoReflect ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookResponse) ProtoReflect() protoreflect.Message
func (*ForgeNormalizeWebhookResponse) Reset ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookResponse) Reset()
func (*ForgeNormalizeWebhookResponse) String ¶ added in v0.2.37
func (x *ForgeNormalizeWebhookResponse) String() string
type ForgePullRequestStatus ¶ added in v0.2.37
type ForgePullRequestStatus struct {
// repository identifies the forge resource.
Repository *ForgeRepository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// number is the provider pull-request number.
Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
// state is the pull-request lifecycle state.
State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
// head_sha is the exact checked revision.
HeadSha string `protobuf:"bytes,4,opt,name=head_sha,json=headSha,proto3" json:"head_sha,omitempty"`
// base_branch is the merge destination.
BaseBranch string `protobuf:"bytes,5,opt,name=base_branch,json=baseBranch,proto3" json:"base_branch,omitempty"`
// mergeable is the provider's current mergeability verdict.
Mergeable bool `protobuf:"varint,6,opt,name=mergeable,proto3" json:"mergeable,omitempty"`
// checks are current CI and commit-status facts.
Checks []*ForgeCheck `protobuf:"bytes,7,rep,name=checks,proto3" json:"checks,omitempty"`
// reviews are current review facts.
Reviews []*ForgeReview `protobuf:"bytes,8,rep,name=reviews,proto3" json:"reviews,omitempty"`
// blocking_reason explains why the pull request cannot merge.
BlockingReason string `protobuf:"bytes,9,opt,name=blocking_reason,json=blockingReason,proto3" json:"blocking_reason,omitempty"`
// url links to the authoritative pull request.
Url string `protobuf:"bytes,10,opt,name=url,proto3" json:"url,omitempty"`
// observed_at records when the provider snapshot was fetched.
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
// contains filtered or unexported fields
}
ForgePullRequestStatus is one authoritative PR/check/review snapshot.
func (*ForgePullRequestStatus) Descriptor
deprecated
added in
v0.2.37
func (*ForgePullRequestStatus) Descriptor() ([]byte, []int)
Deprecated: Use ForgePullRequestStatus.ProtoReflect.Descriptor instead.
func (*ForgePullRequestStatus) GetBaseBranch ¶ added in v0.2.37
func (x *ForgePullRequestStatus) GetBaseBranch() string
func (*ForgePullRequestStatus) GetBlockingReason ¶ added in v0.2.37
func (x *ForgePullRequestStatus) GetBlockingReason() string
func (*ForgePullRequestStatus) GetChecks ¶ added in v0.2.37
func (x *ForgePullRequestStatus) GetChecks() []*ForgeCheck
func (*ForgePullRequestStatus) GetHeadSha ¶ added in v0.2.37
func (x *ForgePullRequestStatus) GetHeadSha() string
func (*ForgePullRequestStatus) GetMergeable ¶ added in v0.2.37
func (x *ForgePullRequestStatus) GetMergeable() bool
func (*ForgePullRequestStatus) GetNumber ¶ added in v0.2.37
func (x *ForgePullRequestStatus) GetNumber() int64
func (*ForgePullRequestStatus) GetObservedAt ¶ added in v0.2.37
func (x *ForgePullRequestStatus) GetObservedAt() *timestamppb.Timestamp
func (*ForgePullRequestStatus) GetRepository ¶ added in v0.2.37
func (x *ForgePullRequestStatus) GetRepository() *ForgeRepository
func (*ForgePullRequestStatus) GetReviews ¶ added in v0.2.37
func (x *ForgePullRequestStatus) GetReviews() []*ForgeReview
func (*ForgePullRequestStatus) GetState ¶ added in v0.2.37
func (x *ForgePullRequestStatus) GetState() string
func (*ForgePullRequestStatus) GetUrl ¶ added in v0.2.37
func (x *ForgePullRequestStatus) GetUrl() string
func (*ForgePullRequestStatus) ProtoMessage ¶ added in v0.2.37
func (*ForgePullRequestStatus) ProtoMessage()
func (*ForgePullRequestStatus) ProtoReflect ¶ added in v0.2.37
func (x *ForgePullRequestStatus) ProtoReflect() protoreflect.Message
func (*ForgePullRequestStatus) Reset ¶ added in v0.2.37
func (x *ForgePullRequestStatus) Reset()
func (*ForgePullRequestStatus) String ¶ added in v0.2.37
func (x *ForgePullRequestStatus) String() string
type ForgePullRequestStatusRequest ¶ added in v0.2.37
type ForgePullRequestStatusRequest struct {
// service identifies the workspace used for provider defaults.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// repository identifies the forge resource.
Repository *ForgeRepository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
// number is the pull-request number.
Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
// contains filtered or unexported fields
}
ForgePullRequestStatusRequest selects one pull request.
func (*ForgePullRequestStatusRequest) Descriptor
deprecated
added in
v0.2.37
func (*ForgePullRequestStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForgePullRequestStatusRequest.ProtoReflect.Descriptor instead.
func (*ForgePullRequestStatusRequest) GetNumber ¶ added in v0.2.37
func (x *ForgePullRequestStatusRequest) GetNumber() int64
func (*ForgePullRequestStatusRequest) GetRepository ¶ added in v0.2.37
func (x *ForgePullRequestStatusRequest) GetRepository() *ForgeRepository
func (*ForgePullRequestStatusRequest) GetService ¶ added in v0.2.37
func (x *ForgePullRequestStatusRequest) GetService() string
func (*ForgePullRequestStatusRequest) ProtoMessage ¶ added in v0.2.37
func (*ForgePullRequestStatusRequest) ProtoMessage()
func (*ForgePullRequestStatusRequest) ProtoReflect ¶ added in v0.2.37
func (x *ForgePullRequestStatusRequest) ProtoReflect() protoreflect.Message
func (*ForgePullRequestStatusRequest) Reset ¶ added in v0.2.37
func (x *ForgePullRequestStatusRequest) Reset()
func (*ForgePullRequestStatusRequest) String ¶ added in v0.2.37
func (x *ForgePullRequestStatusRequest) String() string
type ForgePullRequestStatusResponse ¶ added in v0.2.37
type ForgePullRequestStatusResponse struct {
// status is the authoritative snapshot.
Status *ForgePullRequestStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// error explains why the provider could not return a snapshot.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
ForgePullRequestStatusResponse returns one typed provider snapshot.
func (*ForgePullRequestStatusResponse) Descriptor
deprecated
added in
v0.2.37
func (*ForgePullRequestStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForgePullRequestStatusResponse.ProtoReflect.Descriptor instead.
func (*ForgePullRequestStatusResponse) GetError ¶ added in v0.2.37
func (x *ForgePullRequestStatusResponse) GetError() string
func (*ForgePullRequestStatusResponse) GetStatus ¶ added in v0.2.37
func (x *ForgePullRequestStatusResponse) GetStatus() *ForgePullRequestStatus
func (*ForgePullRequestStatusResponse) ProtoMessage ¶ added in v0.2.37
func (*ForgePullRequestStatusResponse) ProtoMessage()
func (*ForgePullRequestStatusResponse) ProtoReflect ¶ added in v0.2.37
func (x *ForgePullRequestStatusResponse) ProtoReflect() protoreflect.Message
func (*ForgePullRequestStatusResponse) Reset ¶ added in v0.2.37
func (x *ForgePullRequestStatusResponse) Reset()
func (*ForgePullRequestStatusResponse) String ¶ added in v0.2.37
func (x *ForgePullRequestStatusResponse) String() string
type ForgeRepository ¶ added in v0.2.37
type ForgeRepository struct {
// provider is the toolbox provider name, such as github.
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
// owner is the provider namespace.
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
// name is the repository name.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
ForgeRepository identifies a repository without leaking provider URL shapes.
func (*ForgeRepository) Descriptor
deprecated
added in
v0.2.37
func (*ForgeRepository) Descriptor() ([]byte, []int)
Deprecated: Use ForgeRepository.ProtoReflect.Descriptor instead.
func (*ForgeRepository) GetName ¶ added in v0.2.37
func (x *ForgeRepository) GetName() string
func (*ForgeRepository) GetOwner ¶ added in v0.2.37
func (x *ForgeRepository) GetOwner() string
func (*ForgeRepository) GetProvider ¶ added in v0.2.37
func (x *ForgeRepository) GetProvider() string
func (*ForgeRepository) ProtoMessage ¶ added in v0.2.37
func (*ForgeRepository) ProtoMessage()
func (*ForgeRepository) ProtoReflect ¶ added in v0.2.37
func (x *ForgeRepository) ProtoReflect() protoreflect.Message
func (*ForgeRepository) Reset ¶ added in v0.2.37
func (x *ForgeRepository) Reset()
func (*ForgeRepository) String ¶ added in v0.2.37
func (x *ForgeRepository) String() string
type ForgeRequestReviewRequest ¶ added in v0.2.37
type ForgeRequestReviewRequest struct {
// service identifies the workspace used for provider defaults.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// repository identifies the forge resource.
Repository *ForgeRepository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
// number is the pull-request number.
Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
// reviewers are provider user logins.
Reviewers []string `protobuf:"bytes,4,rep,name=reviewers,proto3" json:"reviewers,omitempty"`
// team_reviewers are provider team slugs.
TeamReviewers []string `protobuf:"bytes,5,rep,name=team_reviewers,json=teamReviewers,proto3" json:"team_reviewers,omitempty"`
// contains filtered or unexported fields
}
ForgeRequestReviewRequest requests users or teams on one pull request.
func (*ForgeRequestReviewRequest) Descriptor
deprecated
added in
v0.2.37
func (*ForgeRequestReviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForgeRequestReviewRequest.ProtoReflect.Descriptor instead.
func (*ForgeRequestReviewRequest) GetNumber ¶ added in v0.2.37
func (x *ForgeRequestReviewRequest) GetNumber() int64
func (*ForgeRequestReviewRequest) GetRepository ¶ added in v0.2.37
func (x *ForgeRequestReviewRequest) GetRepository() *ForgeRepository
func (*ForgeRequestReviewRequest) GetReviewers ¶ added in v0.2.37
func (x *ForgeRequestReviewRequest) GetReviewers() []string
func (*ForgeRequestReviewRequest) GetService ¶ added in v0.2.37
func (x *ForgeRequestReviewRequest) GetService() string
func (*ForgeRequestReviewRequest) GetTeamReviewers ¶ added in v0.2.37
func (x *ForgeRequestReviewRequest) GetTeamReviewers() []string
func (*ForgeRequestReviewRequest) ProtoMessage ¶ added in v0.2.37
func (*ForgeRequestReviewRequest) ProtoMessage()
func (*ForgeRequestReviewRequest) ProtoReflect ¶ added in v0.2.37
func (x *ForgeRequestReviewRequest) ProtoReflect() protoreflect.Message
func (*ForgeRequestReviewRequest) Reset ¶ added in v0.2.37
func (x *ForgeRequestReviewRequest) Reset()
func (*ForgeRequestReviewRequest) String ¶ added in v0.2.37
func (x *ForgeRequestReviewRequest) String() string
type ForgeRequestReviewResponse ¶ added in v0.2.37
type ForgeRequestReviewResponse struct {
// success reports whether the provider accepted the request.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains a failed reviewer request.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// reviewers are accepted user logins.
Reviewers []string `protobuf:"bytes,3,rep,name=reviewers,proto3" json:"reviewers,omitempty"`
// team_reviewers are accepted team slugs.
TeamReviewers []string `protobuf:"bytes,4,rep,name=team_reviewers,json=teamReviewers,proto3" json:"team_reviewers,omitempty"`
// act is the reconciliable provider outcome.
Act *ActReceipt `protobuf:"bytes,5,opt,name=act,proto3" json:"act,omitempty"`
// contains filtered or unexported fields
}
ForgeRequestReviewResponse reports provider-confirmed reviewer requests.
func (*ForgeRequestReviewResponse) Descriptor
deprecated
added in
v0.2.37
func (*ForgeRequestReviewResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForgeRequestReviewResponse.ProtoReflect.Descriptor instead.
func (*ForgeRequestReviewResponse) GetAct ¶ added in v0.2.37
func (x *ForgeRequestReviewResponse) GetAct() *ActReceipt
func (*ForgeRequestReviewResponse) GetError ¶ added in v0.2.37
func (x *ForgeRequestReviewResponse) GetError() string
func (*ForgeRequestReviewResponse) GetReviewers ¶ added in v0.2.37
func (x *ForgeRequestReviewResponse) GetReviewers() []string
func (*ForgeRequestReviewResponse) GetSuccess ¶ added in v0.2.37
func (x *ForgeRequestReviewResponse) GetSuccess() bool
func (*ForgeRequestReviewResponse) GetTeamReviewers ¶ added in v0.2.37
func (x *ForgeRequestReviewResponse) GetTeamReviewers() []string
func (*ForgeRequestReviewResponse) ProtoMessage ¶ added in v0.2.37
func (*ForgeRequestReviewResponse) ProtoMessage()
func (*ForgeRequestReviewResponse) ProtoReflect ¶ added in v0.2.37
func (x *ForgeRequestReviewResponse) ProtoReflect() protoreflect.Message
func (*ForgeRequestReviewResponse) Reset ¶ added in v0.2.37
func (x *ForgeRequestReviewResponse) Reset()
func (*ForgeRequestReviewResponse) String ¶ added in v0.2.37
func (x *ForgeRequestReviewResponse) String() string
type ForgeReview ¶ added in v0.2.37
type ForgeReview struct {
// id is the provider's stable review identity.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// author is the reviewer login.
Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"`
// state is the provider-neutral review verdict.
State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
// submitted_at is the provider-recorded submission time.
SubmittedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=submitted_at,json=submittedAt,proto3" json:"submitted_at,omitempty"`
// contains filtered or unexported fields
}
ForgeReview is one pull-request review.
func (*ForgeReview) Descriptor
deprecated
added in
v0.2.37
func (*ForgeReview) Descriptor() ([]byte, []int)
Deprecated: Use ForgeReview.ProtoReflect.Descriptor instead.
func (*ForgeReview) GetAuthor ¶ added in v0.2.37
func (x *ForgeReview) GetAuthor() string
func (*ForgeReview) GetId ¶ added in v0.2.37
func (x *ForgeReview) GetId() string
func (*ForgeReview) GetState ¶ added in v0.2.37
func (x *ForgeReview) GetState() string
func (*ForgeReview) GetSubmittedAt ¶ added in v0.2.37
func (x *ForgeReview) GetSubmittedAt() *timestamppb.Timestamp
func (*ForgeReview) ProtoMessage ¶ added in v0.2.37
func (*ForgeReview) ProtoMessage()
func (*ForgeReview) ProtoReflect ¶ added in v0.2.37
func (x *ForgeReview) ProtoReflect() protoreflect.Message
func (*ForgeReview) Reset ¶ added in v0.2.37
func (x *ForgeReview) Reset()
func (*ForgeReview) String ¶ added in v0.2.37
func (x *ForgeReview) String() string
type FormatRequest ¶ added in v0.2.37
type FormatRequest struct {
// service identifies the code unit whose plugin owns formatting.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// paths limits formatting to these service-relative paths.
Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
// contains filtered or unexported fields
}
FormatRequest asks the service plugin to apply its canonical formatter and import organizer. Empty paths format the plugin-defined changed-file scope.
func (*FormatRequest) Descriptor
deprecated
added in
v0.2.37
func (*FormatRequest) Descriptor() ([]byte, []int)
Deprecated: Use FormatRequest.ProtoReflect.Descriptor instead.
func (*FormatRequest) GetPaths ¶ added in v0.2.37
func (x *FormatRequest) GetPaths() []string
func (*FormatRequest) GetService ¶ added in v0.2.37
func (x *FormatRequest) GetService() string
func (*FormatRequest) ProtoMessage ¶ added in v0.2.37
func (*FormatRequest) ProtoMessage()
func (*FormatRequest) ProtoReflect ¶ added in v0.2.37
func (x *FormatRequest) ProtoReflect() protoreflect.Message
func (*FormatRequest) Reset ¶ added in v0.2.37
func (x *FormatRequest) Reset()
func (*FormatRequest) String ¶ added in v0.2.37
func (x *FormatRequest) String() string
type FormatResponse ¶ added in v0.2.37
type FormatResponse struct {
// success reports whether the plugin completed formatting.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// changed_files lists service-relative files modified by the plugin.
ChangedFiles []string `protobuf:"bytes,2,rep,name=changed_files,json=changedFiles,proto3" json:"changed_files,omitempty"`
// errors contains structured formatter diagnostics.
Errors []*BuildError `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
// output preserves plugin output for diagnosis.
Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"`
// act is the authoritative receipt for the applied formatting act.
Act *ActReceipt `protobuf:"bytes,5,opt,name=act,proto3" json:"act,omitempty"`
// contains filtered or unexported fields
}
FormatResponse reports the authoritative file set changed by the plugin.
func (*FormatResponse) Descriptor
deprecated
added in
v0.2.37
func (*FormatResponse) Descriptor() ([]byte, []int)
Deprecated: Use FormatResponse.ProtoReflect.Descriptor instead.
func (*FormatResponse) GetAct ¶ added in v0.2.37
func (x *FormatResponse) GetAct() *ActReceipt
func (*FormatResponse) GetChangedFiles ¶ added in v0.2.37
func (x *FormatResponse) GetChangedFiles() []string
func (*FormatResponse) GetErrors ¶ added in v0.2.37
func (x *FormatResponse) GetErrors() []*BuildError
func (*FormatResponse) GetOutput ¶ added in v0.2.37
func (x *FormatResponse) GetOutput() string
func (*FormatResponse) GetSuccess ¶ added in v0.2.37
func (x *FormatResponse) GetSuccess() bool
func (*FormatResponse) ProtoMessage ¶ added in v0.2.37
func (*FormatResponse) ProtoMessage()
func (*FormatResponse) ProtoReflect ¶ added in v0.2.37
func (x *FormatResponse) ProtoReflect() protoreflect.Message
func (*FormatResponse) Reset ¶ added in v0.2.37
func (x *FormatResponse) Reset()
func (*FormatResponse) String ¶ added in v0.2.37
func (x *FormatResponse) 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)
// SubscribeWorkspaceChanges streams metadata-only filesystem wakeups from
// the Codefly execution boundary. Events are sequenced and replayable over a
// bounded window; consumers must still reconcile with authoritative reads.
SubscribeWorkspaceChanges(ctx context.Context, in *SubscribeWorkspaceChangesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WorkspaceChangeEvent], 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)
// 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)
// ConfigureMutationAuthority pins the SaaS coordinator verification key and
// this gateway's workspace identity before prepared mutations are allowed.
ConfigureMutationAuthority(ctx context.Context, in *ConfigureMutationAuthorityRequest, opts ...grpc.CallOption) (*ConfigureMutationAuthorityResponse, error)
// PrepareMutation resolves one proposed edit against current project bytes
// without writing them and seals the exact result behind a content digest.
PrepareMutation(ctx context.Context, in *PrepareMutationRequest, opts ...grpc.CallOption) (*PrepareMutationResponse, error)
// ApplyPreparedMutation verifies the prepared digest, current resource
// preconditions, and a coordinator-signed fenced permit before one write.
ApplyPreparedMutation(ctx context.Context, in *ApplyPreparedMutationRequest, opts ...grpc.CallOption) (*ApplyPreparedMutationResponse, 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)
// Format applies the service plugin's canonical formatter/import organizer.
Format(ctx context.Context, in *FormatRequest, opts ...grpc.CallOption) (*FormatResponse, 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)
// GitBranch creates a branch at an explicit start point.
GitBranch(ctx context.Context, in *GitBranchRequest, opts ...grpc.CallOption) (*GitBranchResponse, error)
// GitCheckout switches the worktree to an existing branch or revision.
GitCheckout(ctx context.Context, in *GitCheckoutRequest, opts ...grpc.CallOption) (*GitCheckoutResponse, error)
// GitPush publishes a local branch to a remote.
GitPush(ctx context.Context, in *GitPushRequest, opts ...grpc.CallOption) (*GitPushResponse, error)
// GitTag creates an annotated or signed tag.
GitTag(ctx context.Context, in *GitTagRequest, opts ...grpc.CallOption) (*GitTagResponse, error)
// GitMerge merges one revision into the checked-out branch.
GitMerge(ctx context.Context, in *GitMergeRequest, opts ...grpc.CallOption) (*GitMergeResponse, error)
// GitRevert creates a commit that reverts one revision.
GitRevert(ctx context.Context, in *GitRevertRequest, opts ...grpc.CallOption) (*GitRevertResponse, error)
// Release bumps the code unit versions, commits them, creates a signed tag,
// and publishes the commit and tag as one semantic operation.
Release(ctx context.Context, in *ReleaseRequest, opts ...grpc.CallOption) (*ReleaseResponse, error)
// ForgePullRequestStatus returns one vendor-neutral PR/check/review snapshot.
ForgePullRequestStatus(ctx context.Context, in *ForgePullRequestStatusRequest, opts ...grpc.CallOption) (*ForgePullRequestStatusResponse, error)
// ForgeMergePullRequest merges a PR after enforcing its requested check policy.
ForgeMergePullRequest(ctx context.Context, in *ForgeMergePullRequestRequest, opts ...grpc.CallOption) (*ForgeMergePullRequestResponse, error)
// ForgeRequestReview requests reviewers on a PR.
ForgeRequestReview(ctx context.Context, in *ForgeRequestReviewRequest, opts ...grpc.CallOption) (*ForgeRequestReviewResponse, error)
// ForgeNormalizeWebhook verifies and normalizes one provider webhook.
ForgeNormalizeWebhook(ctx context.Context, in *ForgeNormalizeWebhookRequest, opts ...grpc.CallOption) (*ForgeNormalizeWebhookResponse, 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)
// OpenTerminal spawns a PTY-backed shell in the gateway's working directory.
OpenTerminal(ctx context.Context, in *OpenTerminalRequest, opts ...grpc.CallOption) (*OpenTerminalResponse, error)
// AttachTerminal is a bidirectional stream: client input bytes in,
// raw PTY output bytes out, until the shell exits or the client detaches.
AttachTerminal(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[TerminalInput, TerminalOutput], error)
// ResizeTerminal changes the PTY window size (rows/cols).
ResizeTerminal(ctx context.Context, in *ResizeTerminalRequest, opts ...grpc.CallOption) (*ResizeTerminalResponse, error)
// CloseTerminal kills the PTY + child process.
CloseTerminal(ctx context.Context, in *CloseTerminalRequest, opts ...grpc.CallOption) (*CloseTerminalResponse, error)
// ListTerminals lists the open terminals in this gateway.
ListTerminals(ctx context.Context, in *ListTerminalsRequest, opts ...grpc.CallOption) (*ListTerminalsResponse, 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)
// SubscribeWorkspaceChanges streams metadata-only filesystem wakeups from
// the Codefly execution boundary. Events are sequenced and replayable over a
// bounded window; consumers must still reconcile with authoritative reads.
SubscribeWorkspaceChanges(*SubscribeWorkspaceChangesRequest, grpc.ServerStreamingServer[WorkspaceChangeEvent]) 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)
// 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)
// ConfigureMutationAuthority pins the SaaS coordinator verification key and
// this gateway's workspace identity before prepared mutations are allowed.
ConfigureMutationAuthority(context.Context, *ConfigureMutationAuthorityRequest) (*ConfigureMutationAuthorityResponse, error)
// PrepareMutation resolves one proposed edit against current project bytes
// without writing them and seals the exact result behind a content digest.
PrepareMutation(context.Context, *PrepareMutationRequest) (*PrepareMutationResponse, error)
// ApplyPreparedMutation verifies the prepared digest, current resource
// preconditions, and a coordinator-signed fenced permit before one write.
ApplyPreparedMutation(context.Context, *ApplyPreparedMutationRequest) (*ApplyPreparedMutationResponse, 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)
// Format applies the service plugin's canonical formatter/import organizer.
Format(context.Context, *FormatRequest) (*FormatResponse, 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)
// GitBranch creates a branch at an explicit start point.
GitBranch(context.Context, *GitBranchRequest) (*GitBranchResponse, error)
// GitCheckout switches the worktree to an existing branch or revision.
GitCheckout(context.Context, *GitCheckoutRequest) (*GitCheckoutResponse, error)
// GitPush publishes a local branch to a remote.
GitPush(context.Context, *GitPushRequest) (*GitPushResponse, error)
// GitTag creates an annotated or signed tag.
GitTag(context.Context, *GitTagRequest) (*GitTagResponse, error)
// GitMerge merges one revision into the checked-out branch.
GitMerge(context.Context, *GitMergeRequest) (*GitMergeResponse, error)
// GitRevert creates a commit that reverts one revision.
GitRevert(context.Context, *GitRevertRequest) (*GitRevertResponse, error)
// Release bumps the code unit versions, commits them, creates a signed tag,
// and publishes the commit and tag as one semantic operation.
Release(context.Context, *ReleaseRequest) (*ReleaseResponse, error)
// ForgePullRequestStatus returns one vendor-neutral PR/check/review snapshot.
ForgePullRequestStatus(context.Context, *ForgePullRequestStatusRequest) (*ForgePullRequestStatusResponse, error)
// ForgeMergePullRequest merges a PR after enforcing its requested check policy.
ForgeMergePullRequest(context.Context, *ForgeMergePullRequestRequest) (*ForgeMergePullRequestResponse, error)
// ForgeRequestReview requests reviewers on a PR.
ForgeRequestReview(context.Context, *ForgeRequestReviewRequest) (*ForgeRequestReviewResponse, error)
// ForgeNormalizeWebhook verifies and normalizes one provider webhook.
ForgeNormalizeWebhook(context.Context, *ForgeNormalizeWebhookRequest) (*ForgeNormalizeWebhookResponse, 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)
// OpenTerminal spawns a PTY-backed shell in the gateway's working directory.
OpenTerminal(context.Context, *OpenTerminalRequest) (*OpenTerminalResponse, error)
// AttachTerminal is a bidirectional stream: client input bytes in,
// raw PTY output bytes out, until the shell exits or the client detaches.
AttachTerminal(grpc.BidiStreamingServer[TerminalInput, TerminalOutput]) error
// ResizeTerminal changes the PTY window size (rows/cols).
ResizeTerminal(context.Context, *ResizeTerminalRequest) (*ResizeTerminalResponse, error)
// CloseTerminal kills the PTY + child process.
CloseTerminal(context.Context, *CloseTerminalRequest) (*CloseTerminalResponse, error)
// ListTerminals lists the open terminals in this gateway.
ListTerminals(context.Context, *ListTerminalsRequest) (*ListTerminalsResponse, 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 Gateway_AttachTerminalClient ¶ added in v0.2.12
type Gateway_AttachTerminalClient = grpc.BidiStreamingClient[TerminalInput, TerminalOutput]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Gateway_AttachTerminalServer ¶ added in v0.2.12
type Gateway_AttachTerminalServer = grpc.BidiStreamingServer[TerminalInput, TerminalOutput]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Gateway_SubscribeWorkspaceChangesClient ¶ added in v0.2.24
type Gateway_SubscribeWorkspaceChangesClient = grpc.ServerStreamingClient[WorkspaceChangeEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Gateway_SubscribeWorkspaceChangesServer ¶ added in v0.2.24
type Gateway_SubscribeWorkspaceChangesServer = grpc.ServerStreamingServer[WorkspaceChangeEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
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 GitBranchRequest ¶ added in v0.2.37
type GitBranchRequest struct {
// service identifies the repository.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// name is the new branch name.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// start_point is the revision used as the branch head; empty means HEAD.
StartPoint string `protobuf:"bytes,3,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"`
// force moves an existing local branch to start_point.
Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
GitBranchRequest creates one local branch without switching to it.
func (*GitBranchRequest) Descriptor
deprecated
added in
v0.2.37
func (*GitBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitBranchRequest.ProtoReflect.Descriptor instead.
func (*GitBranchRequest) GetForce ¶ added in v0.2.37
func (x *GitBranchRequest) GetForce() bool
func (*GitBranchRequest) GetName ¶ added in v0.2.37
func (x *GitBranchRequest) GetName() string
func (*GitBranchRequest) GetService ¶ added in v0.2.37
func (x *GitBranchRequest) GetService() string
func (*GitBranchRequest) GetStartPoint ¶ added in v0.2.37
func (x *GitBranchRequest) GetStartPoint() string
func (*GitBranchRequest) ProtoMessage ¶ added in v0.2.37
func (*GitBranchRequest) ProtoMessage()
func (*GitBranchRequest) ProtoReflect ¶ added in v0.2.37
func (x *GitBranchRequest) ProtoReflect() protoreflect.Message
func (*GitBranchRequest) Reset ¶ added in v0.2.37
func (x *GitBranchRequest) Reset()
func (*GitBranchRequest) String ¶ added in v0.2.37
func (x *GitBranchRequest) String() string
type GitBranchResponse ¶ added in v0.2.37
type GitBranchResponse struct {
// success reports whether branch creation completed.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains a failed creation.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// branch is the canonical created branch name.
Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
// revision is the resolved branch head.
Revision string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
// act is the authoritative typed outcome.
Act *ActReceipt `protobuf:"bytes,5,opt,name=act,proto3" json:"act,omitempty"`
// contains filtered or unexported fields
}
GitBranchResponse reports the created branch and resolved revision.
func (*GitBranchResponse) Descriptor
deprecated
added in
v0.2.37
func (*GitBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitBranchResponse.ProtoReflect.Descriptor instead.
func (*GitBranchResponse) GetAct ¶ added in v0.2.37
func (x *GitBranchResponse) GetAct() *ActReceipt
func (*GitBranchResponse) GetBranch ¶ added in v0.2.37
func (x *GitBranchResponse) GetBranch() string
func (*GitBranchResponse) GetError ¶ added in v0.2.37
func (x *GitBranchResponse) GetError() string
func (*GitBranchResponse) GetRevision ¶ added in v0.2.37
func (x *GitBranchResponse) GetRevision() string
func (*GitBranchResponse) GetSuccess ¶ added in v0.2.37
func (x *GitBranchResponse) GetSuccess() bool
func (*GitBranchResponse) ProtoMessage ¶ added in v0.2.37
func (*GitBranchResponse) ProtoMessage()
func (*GitBranchResponse) ProtoReflect ¶ added in v0.2.37
func (x *GitBranchResponse) ProtoReflect() protoreflect.Message
func (*GitBranchResponse) Reset ¶ added in v0.2.37
func (x *GitBranchResponse) Reset()
func (*GitBranchResponse) String ¶ added in v0.2.37
func (x *GitBranchResponse) String() string
type GitCheckoutRequest ¶ added in v0.2.37
type GitCheckoutRequest struct {
// service identifies the repository.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// ref is an existing branch or revision.
Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
// detach checks out the resolved commit instead of attaching HEAD to a branch.
Detach bool `protobuf:"varint,3,opt,name=detach,proto3" json:"detach,omitempty"`
// contains filtered or unexported fields
}
GitCheckoutRequest switches the repository to ref.
func (*GitCheckoutRequest) Descriptor
deprecated
added in
v0.2.37
func (*GitCheckoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitCheckoutRequest.ProtoReflect.Descriptor instead.
func (*GitCheckoutRequest) GetDetach ¶ added in v0.2.37
func (x *GitCheckoutRequest) GetDetach() bool
func (*GitCheckoutRequest) GetRef ¶ added in v0.2.37
func (x *GitCheckoutRequest) GetRef() string
func (*GitCheckoutRequest) GetService ¶ added in v0.2.37
func (x *GitCheckoutRequest) GetService() string
func (*GitCheckoutRequest) ProtoMessage ¶ added in v0.2.37
func (*GitCheckoutRequest) ProtoMessage()
func (*GitCheckoutRequest) ProtoReflect ¶ added in v0.2.37
func (x *GitCheckoutRequest) ProtoReflect() protoreflect.Message
func (*GitCheckoutRequest) Reset ¶ added in v0.2.37
func (x *GitCheckoutRequest) Reset()
func (*GitCheckoutRequest) String ¶ added in v0.2.37
func (x *GitCheckoutRequest) String() string
type GitCheckoutResponse ¶ added in v0.2.37
type GitCheckoutResponse struct {
// success reports whether checkout completed.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains a failed checkout.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// branch is the checked-out branch or HEAD when detached.
Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
// revision is the checked-out commit.
Revision string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
// act is the authoritative typed outcome.
Act *ActReceipt `protobuf:"bytes,5,opt,name=act,proto3" json:"act,omitempty"`
// contains filtered or unexported fields
}
GitCheckoutResponse reports the checked-out branch and revision.
func (*GitCheckoutResponse) Descriptor
deprecated
added in
v0.2.37
func (*GitCheckoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitCheckoutResponse.ProtoReflect.Descriptor instead.
func (*GitCheckoutResponse) GetAct ¶ added in v0.2.37
func (x *GitCheckoutResponse) GetAct() *ActReceipt
func (*GitCheckoutResponse) GetBranch ¶ added in v0.2.37
func (x *GitCheckoutResponse) GetBranch() string
func (*GitCheckoutResponse) GetError ¶ added in v0.2.37
func (x *GitCheckoutResponse) GetError() string
func (*GitCheckoutResponse) GetRevision ¶ added in v0.2.37
func (x *GitCheckoutResponse) GetRevision() string
func (*GitCheckoutResponse) GetSuccess ¶ added in v0.2.37
func (x *GitCheckoutResponse) GetSuccess() bool
func (*GitCheckoutResponse) ProtoMessage ¶ added in v0.2.37
func (*GitCheckoutResponse) ProtoMessage()
func (*GitCheckoutResponse) ProtoReflect ¶ added in v0.2.37
func (x *GitCheckoutResponse) ProtoReflect() protoreflect.Message
func (*GitCheckoutResponse) Reset ¶ added in v0.2.37
func (x *GitCheckoutResponse) Reset()
func (*GitCheckoutResponse) String ¶ added in v0.2.37
func (x *GitCheckoutResponse) 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
// all stages every workspace change before committing.
All bool `protobuf:"varint,3,opt,name=all,proto3" json:"all,omitempty"`
// 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) GetAll ¶ added in v0.2.37
func (x *GitCommitRequest) GetAll() bool
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 GitMergeRequest ¶ added in v0.2.37
type GitMergeRequest struct {
// service identifies the repository.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// ref is the revision to merge.
Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
// message overrides the merge commit message.
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// no_fast_forward requires a merge commit.
NoFastForward bool `protobuf:"varint,4,opt,name=no_fast_forward,json=noFastForward,proto3" json:"no_fast_forward,omitempty"`
// contains filtered or unexported fields
}
GitMergeRequest merges ref into the current branch.
func (*GitMergeRequest) Descriptor
deprecated
added in
v0.2.37
func (*GitMergeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitMergeRequest.ProtoReflect.Descriptor instead.
func (*GitMergeRequest) GetMessage ¶ added in v0.2.37
func (x *GitMergeRequest) GetMessage() string
func (*GitMergeRequest) GetNoFastForward ¶ added in v0.2.37
func (x *GitMergeRequest) GetNoFastForward() bool
func (*GitMergeRequest) GetRef ¶ added in v0.2.37
func (x *GitMergeRequest) GetRef() string
func (*GitMergeRequest) GetService ¶ added in v0.2.37
func (x *GitMergeRequest) GetService() string
func (*GitMergeRequest) ProtoMessage ¶ added in v0.2.37
func (*GitMergeRequest) ProtoMessage()
func (*GitMergeRequest) ProtoReflect ¶ added in v0.2.37
func (x *GitMergeRequest) ProtoReflect() protoreflect.Message
func (*GitMergeRequest) Reset ¶ added in v0.2.37
func (x *GitMergeRequest) Reset()
func (*GitMergeRequest) String ¶ added in v0.2.37
func (x *GitMergeRequest) String() string
type GitMergeResponse ¶ added in v0.2.37
type GitMergeResponse struct {
// success reports whether the merge completed.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains a failed merge.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// branch is the branch receiving the merge.
Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
// revision is the resulting head.
Revision string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
// act is the authoritative typed outcome.
Act *ActReceipt `protobuf:"bytes,5,opt,name=act,proto3" json:"act,omitempty"`
// contains filtered or unexported fields
}
GitMergeResponse reports the resulting branch head.
func (*GitMergeResponse) Descriptor
deprecated
added in
v0.2.37
func (*GitMergeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitMergeResponse.ProtoReflect.Descriptor instead.
func (*GitMergeResponse) GetAct ¶ added in v0.2.37
func (x *GitMergeResponse) GetAct() *ActReceipt
func (*GitMergeResponse) GetBranch ¶ added in v0.2.37
func (x *GitMergeResponse) GetBranch() string
func (*GitMergeResponse) GetError ¶ added in v0.2.37
func (x *GitMergeResponse) GetError() string
func (*GitMergeResponse) GetRevision ¶ added in v0.2.37
func (x *GitMergeResponse) GetRevision() string
func (*GitMergeResponse) GetSuccess ¶ added in v0.2.37
func (x *GitMergeResponse) GetSuccess() bool
func (*GitMergeResponse) ProtoMessage ¶ added in v0.2.37
func (*GitMergeResponse) ProtoMessage()
func (*GitMergeResponse) ProtoReflect ¶ added in v0.2.37
func (x *GitMergeResponse) ProtoReflect() protoreflect.Message
func (*GitMergeResponse) Reset ¶ added in v0.2.37
func (x *GitMergeResponse) Reset()
func (*GitMergeResponse) String ¶ added in v0.2.37
func (x *GitMergeResponse) String() string
type GitPushMode ¶ added in v0.2.37
type GitPushMode int32
GitPushMode deliberately excludes unconstrained force-push.
const ( // GIT_PUSH_MODE_UNSPECIFIED is rejected. GitPushMode_GIT_PUSH_MODE_UNSPECIFIED GitPushMode = 0 // GIT_PUSH_MODE_FAST_FORWARD_ONLY forbids any non-fast-forward update. GitPushMode_GIT_PUSH_MODE_FAST_FORWARD_ONLY GitPushMode = 1 // GIT_PUSH_MODE_FORCE_WITH_LEASE permits only lease-protected replacement. GitPushMode_GIT_PUSH_MODE_FORCE_WITH_LEASE GitPushMode = 2 )
func (GitPushMode) Descriptor ¶ added in v0.2.37
func (GitPushMode) Descriptor() protoreflect.EnumDescriptor
func (GitPushMode) Enum ¶ added in v0.2.37
func (x GitPushMode) Enum() *GitPushMode
func (GitPushMode) EnumDescriptor
deprecated
added in
v0.2.37
func (GitPushMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use GitPushMode.Descriptor instead.
func (GitPushMode) Number ¶ added in v0.2.37
func (x GitPushMode) Number() protoreflect.EnumNumber
func (GitPushMode) String ¶ added in v0.2.37
func (x GitPushMode) String() string
func (GitPushMode) Type ¶ added in v0.2.37
func (GitPushMode) Type() protoreflect.EnumType
type GitPushRequest ¶ added in v0.2.37
type GitPushRequest struct {
// service identifies the repository.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// remote is the configured destination; empty selects origin.
Remote string `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"`
// branch is the local branch to publish; empty selects the current branch.
Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
// set_upstream records remote tracking configuration.
SetUpstream bool `protobuf:"varint,4,opt,name=set_upstream,json=setUpstream,proto3" json:"set_upstream,omitempty"`
// mode controls non-fast-forward safety.
Mode GitPushMode `protobuf:"varint,5,opt,name=mode,proto3,enum=mind.gateway.v1.GitPushMode" json:"mode,omitempty"`
// contains filtered or unexported fields
}
GitPushRequest publishes one local branch.
func (*GitPushRequest) Descriptor
deprecated
added in
v0.2.37
func (*GitPushRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitPushRequest.ProtoReflect.Descriptor instead.
func (*GitPushRequest) GetBranch ¶ added in v0.2.37
func (x *GitPushRequest) GetBranch() string
func (*GitPushRequest) GetMode ¶ added in v0.2.37
func (x *GitPushRequest) GetMode() GitPushMode
func (*GitPushRequest) GetRemote ¶ added in v0.2.37
func (x *GitPushRequest) GetRemote() string
func (*GitPushRequest) GetService ¶ added in v0.2.37
func (x *GitPushRequest) GetService() string
func (*GitPushRequest) GetSetUpstream ¶ added in v0.2.37
func (x *GitPushRequest) GetSetUpstream() bool
func (*GitPushRequest) ProtoMessage ¶ added in v0.2.37
func (*GitPushRequest) ProtoMessage()
func (*GitPushRequest) ProtoReflect ¶ added in v0.2.37
func (x *GitPushRequest) ProtoReflect() protoreflect.Message
func (*GitPushRequest) Reset ¶ added in v0.2.37
func (x *GitPushRequest) Reset()
func (*GitPushRequest) String ¶ added in v0.2.37
func (x *GitPushRequest) String() string
type GitPushResponse ¶ added in v0.2.37
type GitPushResponse struct {
// success reports whether the remote accepted the update.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains a rejected or failed push.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// remote is the destination remote name.
Remote string `protobuf:"bytes,3,opt,name=remote,proto3" json:"remote,omitempty"`
// branch is the published branch.
Branch string `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
// revision is the published commit.
Revision string `protobuf:"bytes,5,opt,name=revision,proto3" json:"revision,omitempty"`
// act is the authoritative typed outcome.
Act *ActReceipt `protobuf:"bytes,6,opt,name=act,proto3" json:"act,omitempty"`
// contains filtered or unexported fields
}
GitPushResponse reports the remote ref confirmed by git.
func (*GitPushResponse) Descriptor
deprecated
added in
v0.2.37
func (*GitPushResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitPushResponse.ProtoReflect.Descriptor instead.
func (*GitPushResponse) GetAct ¶ added in v0.2.37
func (x *GitPushResponse) GetAct() *ActReceipt
func (*GitPushResponse) GetBranch ¶ added in v0.2.37
func (x *GitPushResponse) GetBranch() string
func (*GitPushResponse) GetError ¶ added in v0.2.37
func (x *GitPushResponse) GetError() string
func (*GitPushResponse) GetRemote ¶ added in v0.2.37
func (x *GitPushResponse) GetRemote() string
func (*GitPushResponse) GetRevision ¶ added in v0.2.37
func (x *GitPushResponse) GetRevision() string
func (*GitPushResponse) GetSuccess ¶ added in v0.2.37
func (x *GitPushResponse) GetSuccess() bool
func (*GitPushResponse) ProtoMessage ¶ added in v0.2.37
func (*GitPushResponse) ProtoMessage()
func (*GitPushResponse) ProtoReflect ¶ added in v0.2.37
func (x *GitPushResponse) ProtoReflect() protoreflect.Message
func (*GitPushResponse) Reset ¶ added in v0.2.37
func (x *GitPushResponse) Reset()
func (*GitPushResponse) String ¶ added in v0.2.37
func (x *GitPushResponse) String() string
type GitRevertRequest ¶ added in v0.2.37
type GitRevertRequest struct {
// service identifies the repository.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// revision is the commit to revert.
Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}
GitRevertRequest reverts one existing commit.
func (*GitRevertRequest) Descriptor
deprecated
added in
v0.2.37
func (*GitRevertRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitRevertRequest.ProtoReflect.Descriptor instead.
func (*GitRevertRequest) GetRevision ¶ added in v0.2.37
func (x *GitRevertRequest) GetRevision() string
func (*GitRevertRequest) GetService ¶ added in v0.2.37
func (x *GitRevertRequest) GetService() string
func (*GitRevertRequest) ProtoMessage ¶ added in v0.2.37
func (*GitRevertRequest) ProtoMessage()
func (*GitRevertRequest) ProtoReflect ¶ added in v0.2.37
func (x *GitRevertRequest) ProtoReflect() protoreflect.Message
func (*GitRevertRequest) Reset ¶ added in v0.2.37
func (x *GitRevertRequest) Reset()
func (*GitRevertRequest) String ¶ added in v0.2.37
func (x *GitRevertRequest) String() string
type GitRevertResponse ¶ added in v0.2.37
type GitRevertResponse struct {
// success reports whether revert completed.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains a failed revert.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// reverted_revision is the commit that was reverted.
RevertedRevision string `protobuf:"bytes,3,opt,name=reverted_revision,json=revertedRevision,proto3" json:"reverted_revision,omitempty"`
// revision is the new revert commit.
Revision string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
// act is the authoritative typed outcome.
Act *ActReceipt `protobuf:"bytes,5,opt,name=act,proto3" json:"act,omitempty"`
// contains filtered or unexported fields
}
GitRevertResponse reports the new revert commit.
func (*GitRevertResponse) Descriptor
deprecated
added in
v0.2.37
func (*GitRevertResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitRevertResponse.ProtoReflect.Descriptor instead.
func (*GitRevertResponse) GetAct ¶ added in v0.2.37
func (x *GitRevertResponse) GetAct() *ActReceipt
func (*GitRevertResponse) GetError ¶ added in v0.2.37
func (x *GitRevertResponse) GetError() string
func (*GitRevertResponse) GetRevertedRevision ¶ added in v0.2.37
func (x *GitRevertResponse) GetRevertedRevision() string
func (*GitRevertResponse) GetRevision ¶ added in v0.2.37
func (x *GitRevertResponse) GetRevision() string
func (*GitRevertResponse) GetSuccess ¶ added in v0.2.37
func (x *GitRevertResponse) GetSuccess() bool
func (*GitRevertResponse) ProtoMessage ¶ added in v0.2.37
func (*GitRevertResponse) ProtoMessage()
func (*GitRevertResponse) ProtoReflect ¶ added in v0.2.37
func (x *GitRevertResponse) ProtoReflect() protoreflect.Message
func (*GitRevertResponse) Reset ¶ added in v0.2.37
func (x *GitRevertResponse) Reset()
func (*GitRevertResponse) String ¶ added in v0.2.37
func (x *GitRevertResponse) 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 GitTagRequest ¶ added in v0.2.37
type GitTagRequest struct {
// service identifies the repository.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// name is the tag name.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// revision is the tagged revision; empty means HEAD.
Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
// message is the annotation.
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// sign requests the configured signing identity.
Sign bool `protobuf:"varint,5,opt,name=sign,proto3" json:"sign,omitempty"`
// contains filtered or unexported fields
}
GitTagRequest creates an annotated or signed tag.
func (*GitTagRequest) Descriptor
deprecated
added in
v0.2.37
func (*GitTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitTagRequest.ProtoReflect.Descriptor instead.
func (*GitTagRequest) GetMessage ¶ added in v0.2.37
func (x *GitTagRequest) GetMessage() string
func (*GitTagRequest) GetName ¶ added in v0.2.37
func (x *GitTagRequest) GetName() string
func (*GitTagRequest) GetRevision ¶ added in v0.2.37
func (x *GitTagRequest) GetRevision() string
func (*GitTagRequest) GetService ¶ added in v0.2.37
func (x *GitTagRequest) GetService() string
func (*GitTagRequest) GetSign ¶ added in v0.2.37
func (x *GitTagRequest) GetSign() bool
func (*GitTagRequest) ProtoMessage ¶ added in v0.2.37
func (*GitTagRequest) ProtoMessage()
func (*GitTagRequest) ProtoReflect ¶ added in v0.2.37
func (x *GitTagRequest) ProtoReflect() protoreflect.Message
func (*GitTagRequest) Reset ¶ added in v0.2.37
func (x *GitTagRequest) Reset()
func (*GitTagRequest) String ¶ added in v0.2.37
func (x *GitTagRequest) String() string
type GitTagResponse ¶ added in v0.2.37
type GitTagResponse struct {
// success reports whether tag creation completed.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains a failed tag operation.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// tag is the created tag name.
Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
// revision is the tagged commit.
Revision string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
// act is the authoritative typed outcome.
Act *ActReceipt `protobuf:"bytes,5,opt,name=act,proto3" json:"act,omitempty"`
// contains filtered or unexported fields
}
GitTagResponse reports the created tag and target revision.
func (*GitTagResponse) Descriptor
deprecated
added in
v0.2.37
func (*GitTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitTagResponse.ProtoReflect.Descriptor instead.
func (*GitTagResponse) GetAct ¶ added in v0.2.37
func (x *GitTagResponse) GetAct() *ActReceipt
func (*GitTagResponse) GetError ¶ added in v0.2.37
func (x *GitTagResponse) GetError() string
func (*GitTagResponse) GetRevision ¶ added in v0.2.37
func (x *GitTagResponse) GetRevision() string
func (*GitTagResponse) GetSuccess ¶ added in v0.2.37
func (x *GitTagResponse) GetSuccess() bool
func (*GitTagResponse) GetTag ¶ added in v0.2.37
func (x *GitTagResponse) GetTag() string
func (*GitTagResponse) ProtoMessage ¶ added in v0.2.37
func (*GitTagResponse) ProtoMessage()
func (*GitTagResponse) ProtoReflect ¶ added in v0.2.37
func (x *GitTagResponse) ProtoReflect() protoreflect.Message
func (*GitTagResponse) Reset ¶ added in v0.2.37
func (x *GitTagResponse) Reset()
func (*GitTagResponse) String ¶ added in v0.2.37
func (x *GitTagResponse) 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 ListTerminalsRequest ¶ added in v0.2.12
type ListTerminalsRequest struct {
// contains filtered or unexported fields
}
ListTerminalsRequest requests every terminal visible to this gateway session.
func (*ListTerminalsRequest) Descriptor
deprecated
added in
v0.2.12
func (*ListTerminalsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTerminalsRequest.ProtoReflect.Descriptor instead.
func (*ListTerminalsRequest) ProtoMessage ¶ added in v0.2.12
func (*ListTerminalsRequest) ProtoMessage()
func (*ListTerminalsRequest) ProtoReflect ¶ added in v0.2.12
func (x *ListTerminalsRequest) ProtoReflect() protoreflect.Message
func (*ListTerminalsRequest) Reset ¶ added in v0.2.12
func (x *ListTerminalsRequest) Reset()
func (*ListTerminalsRequest) String ¶ added in v0.2.12
func (x *ListTerminalsRequest) String() string
type ListTerminalsResponse ¶ added in v0.2.12
type ListTerminalsResponse struct {
// terminals contains one entry per visible terminal session.
Terminals []*TerminalInfo `protobuf:"bytes,1,rep,name=terminals,proto3" json:"terminals,omitempty"`
// contains filtered or unexported fields
}
ListTerminalsResponse returns the terminal sessions visible to the caller.
func (*ListTerminalsResponse) Descriptor
deprecated
added in
v0.2.12
func (*ListTerminalsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTerminalsResponse.ProtoReflect.Descriptor instead.
func (*ListTerminalsResponse) GetTerminals ¶ added in v0.2.12
func (x *ListTerminalsResponse) GetTerminals() []*TerminalInfo
func (*ListTerminalsResponse) ProtoMessage ¶ added in v0.2.12
func (*ListTerminalsResponse) ProtoMessage()
func (*ListTerminalsResponse) ProtoReflect ¶ added in v0.2.12
func (x *ListTerminalsResponse) ProtoReflect() protoreflect.Message
func (*ListTerminalsResponse) Reset ¶ added in v0.2.12
func (x *ListTerminalsResponse) Reset()
func (*ListTerminalsResponse) String ¶ added in v0.2.12
func (x *ListTerminalsResponse) String() string
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 OpenTerminalRequest ¶ added in v0.2.12
type OpenTerminalRequest struct {
// shell to run; empty = $SHELL else /bin/sh.
Shell string `protobuf:"bytes,1,opt,name=shell,proto3" json:"shell,omitempty"`
// working_dir relative to the gateway root; empty = the root itself.
WorkingDir string `protobuf:"bytes,2,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
// initial PTY size; 0 = server default.
Rows uint32 `protobuf:"varint,3,opt,name=rows,proto3" json:"rows,omitempty"`
// cols is the initial terminal width; 0 selects the server default.
Cols uint32 `protobuf:"varint,4,opt,name=cols,proto3" json:"cols,omitempty"`
// unstructured_use is mandatory attribution for this escape hatch.
UnstructuredUse *UnstructuredUse `protobuf:"bytes,5,opt,name=unstructured_use,json=unstructuredUse,proto3" json:"unstructured_use,omitempty"`
// contains filtered or unexported fields
}
OpenTerminalRequest spawns a shell in the gateway's working directory.
func (*OpenTerminalRequest) Descriptor
deprecated
added in
v0.2.12
func (*OpenTerminalRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenTerminalRequest.ProtoReflect.Descriptor instead.
func (*OpenTerminalRequest) GetCols ¶ added in v0.2.12
func (x *OpenTerminalRequest) GetCols() uint32
func (*OpenTerminalRequest) GetRows ¶ added in v0.2.12
func (x *OpenTerminalRequest) GetRows() uint32
func (*OpenTerminalRequest) GetShell ¶ added in v0.2.12
func (x *OpenTerminalRequest) GetShell() string
func (*OpenTerminalRequest) GetUnstructuredUse ¶ added in v0.2.37
func (x *OpenTerminalRequest) GetUnstructuredUse() *UnstructuredUse
func (*OpenTerminalRequest) GetWorkingDir ¶ added in v0.2.12
func (x *OpenTerminalRequest) GetWorkingDir() string
func (*OpenTerminalRequest) ProtoMessage ¶ added in v0.2.12
func (*OpenTerminalRequest) ProtoMessage()
func (*OpenTerminalRequest) ProtoReflect ¶ added in v0.2.12
func (x *OpenTerminalRequest) ProtoReflect() protoreflect.Message
func (*OpenTerminalRequest) Reset ¶ added in v0.2.12
func (x *OpenTerminalRequest) Reset()
func (*OpenTerminalRequest) String ¶ added in v0.2.12
func (x *OpenTerminalRequest) String() string
type OpenTerminalResponse ¶ added in v0.2.12
type OpenTerminalResponse struct {
// terminal_id is the opaque identifier used by attach, resize, and close calls.
TerminalId string `protobuf:"bytes,1,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
// shell is the resolved shell executable selected by the server.
Shell string `protobuf:"bytes,2,opt,name=shell,proto3" json:"shell,omitempty"`
// working_dir is the resolved directory in which the shell was started.
WorkingDir string `protobuf:"bytes,3,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
// contains filtered or unexported fields
}
OpenTerminalResponse identifies the spawned terminal.
func (*OpenTerminalResponse) Descriptor
deprecated
added in
v0.2.12
func (*OpenTerminalResponse) Descriptor() ([]byte, []int)
Deprecated: Use OpenTerminalResponse.ProtoReflect.Descriptor instead.
func (*OpenTerminalResponse) GetShell ¶ added in v0.2.12
func (x *OpenTerminalResponse) GetShell() string
func (*OpenTerminalResponse) GetTerminalId ¶ added in v0.2.12
func (x *OpenTerminalResponse) GetTerminalId() string
func (*OpenTerminalResponse) GetWorkingDir ¶ added in v0.2.12
func (x *OpenTerminalResponse) GetWorkingDir() string
func (*OpenTerminalResponse) ProtoMessage ¶ added in v0.2.12
func (*OpenTerminalResponse) ProtoMessage()
func (*OpenTerminalResponse) ProtoReflect ¶ added in v0.2.12
func (x *OpenTerminalResponse) ProtoReflect() protoreflect.Message
func (*OpenTerminalResponse) Reset ¶ added in v0.2.12
func (x *OpenTerminalResponse) Reset()
func (*OpenTerminalResponse) String ¶ added in v0.2.12
func (x *OpenTerminalResponse) 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 PrepareApplyEditMutation ¶ added in v0.2.27
type PrepareApplyEditMutation struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
Find string `protobuf:"bytes,2,opt,name=find,proto3" json:"find,omitempty"`
Replace string `protobuf:"bytes,3,opt,name=replace,proto3" json:"replace,omitempty"`
FixMode v0.FixMode `protobuf:"varint,4,opt,name=fix_mode,json=fixMode,proto3,enum=codefly.base.v0.FixMode" json:"fix_mode,omitempty"`
// contains filtered or unexported fields
}
func (*PrepareApplyEditMutation) Descriptor
deprecated
added in
v0.2.27
func (*PrepareApplyEditMutation) Descriptor() ([]byte, []int)
Deprecated: Use PrepareApplyEditMutation.ProtoReflect.Descriptor instead.
func (*PrepareApplyEditMutation) GetFile ¶ added in v0.2.27
func (x *PrepareApplyEditMutation) GetFile() string
func (*PrepareApplyEditMutation) GetFind ¶ added in v0.2.27
func (x *PrepareApplyEditMutation) GetFind() string
func (*PrepareApplyEditMutation) GetFixMode ¶ added in v0.2.27
func (x *PrepareApplyEditMutation) GetFixMode() v0.FixMode
func (*PrepareApplyEditMutation) GetReplace ¶ added in v0.2.27
func (x *PrepareApplyEditMutation) GetReplace() string
func (*PrepareApplyEditMutation) ProtoMessage ¶ added in v0.2.27
func (*PrepareApplyEditMutation) ProtoMessage()
func (*PrepareApplyEditMutation) ProtoReflect ¶ added in v0.2.27
func (x *PrepareApplyEditMutation) ProtoReflect() protoreflect.Message
func (*PrepareApplyEditMutation) Reset ¶ added in v0.2.27
func (x *PrepareApplyEditMutation) Reset()
func (*PrepareApplyEditMutation) String ¶ added in v0.2.27
func (x *PrepareApplyEditMutation) String() string
type PrepareMutationRequest ¶ added in v0.2.27
type PrepareMutationRequest struct {
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
WorkspaceVersion string `protobuf:"bytes,2,opt,name=workspace_version,json=workspaceVersion,proto3" json:"workspace_version,omitempty"`
// Types that are valid to be assigned to Mutation:
//
// *PrepareMutationRequest_ApplyEdit
Mutation isPrepareMutationRequest_Mutation `protobuf_oneof:"mutation"`
// contains filtered or unexported fields
}
func (*PrepareMutationRequest) Descriptor
deprecated
added in
v0.2.27
func (*PrepareMutationRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrepareMutationRequest.ProtoReflect.Descriptor instead.
func (*PrepareMutationRequest) GetApplyEdit ¶ added in v0.2.27
func (x *PrepareMutationRequest) GetApplyEdit() *PrepareApplyEditMutation
func (*PrepareMutationRequest) GetMutation ¶ added in v0.2.27
func (x *PrepareMutationRequest) GetMutation() isPrepareMutationRequest_Mutation
func (*PrepareMutationRequest) GetService ¶ added in v0.2.27
func (x *PrepareMutationRequest) GetService() string
func (*PrepareMutationRequest) GetWorkspaceVersion ¶ added in v0.2.27
func (x *PrepareMutationRequest) GetWorkspaceVersion() string
func (*PrepareMutationRequest) ProtoMessage ¶ added in v0.2.27
func (*PrepareMutationRequest) ProtoMessage()
func (*PrepareMutationRequest) ProtoReflect ¶ added in v0.2.27
func (x *PrepareMutationRequest) ProtoReflect() protoreflect.Message
func (*PrepareMutationRequest) Reset ¶ added in v0.2.27
func (x *PrepareMutationRequest) Reset()
func (*PrepareMutationRequest) String ¶ added in v0.2.27
func (x *PrepareMutationRequest) String() string
type PrepareMutationRequest_ApplyEdit ¶ added in v0.2.27
type PrepareMutationRequest_ApplyEdit struct {
ApplyEdit *PrepareApplyEditMutation `protobuf:"bytes,10,opt,name=apply_edit,json=applyEdit,proto3,oneof"`
}
type PrepareMutationResponse ¶ added in v0.2.27
type PrepareMutationResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
Prepared *PreparedMutation `protobuf:"bytes,3,opt,name=prepared,proto3" json:"prepared,omitempty"`
// contains filtered or unexported fields
}
func (*PrepareMutationResponse) Descriptor
deprecated
added in
v0.2.27
func (*PrepareMutationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrepareMutationResponse.ProtoReflect.Descriptor instead.
func (*PrepareMutationResponse) GetError ¶ added in v0.2.27
func (x *PrepareMutationResponse) GetError() string
func (*PrepareMutationResponse) GetPrepared ¶ added in v0.2.27
func (x *PrepareMutationResponse) GetPrepared() *PreparedMutation
func (*PrepareMutationResponse) GetSuccess ¶ added in v0.2.27
func (x *PrepareMutationResponse) GetSuccess() bool
func (*PrepareMutationResponse) ProtoMessage ¶ added in v0.2.27
func (*PrepareMutationResponse) ProtoMessage()
func (*PrepareMutationResponse) ProtoReflect ¶ added in v0.2.27
func (x *PrepareMutationResponse) ProtoReflect() protoreflect.Message
func (*PrepareMutationResponse) Reset ¶ added in v0.2.27
func (x *PrepareMutationResponse) Reset()
func (*PrepareMutationResponse) String ¶ added in v0.2.27
func (x *PrepareMutationResponse) String() string
type PreparedFileMutation ¶ added in v0.2.27
type PreparedFileMutation struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Operation PreparedFileOperation `protobuf:"varint,2,opt,name=operation,proto3,enum=mind.gateway.v1.PreparedFileOperation" json:"operation,omitempty"`
BeforeSha256 string `protobuf:"bytes,3,opt,name=before_sha256,json=beforeSha256,proto3" json:"before_sha256,omitempty"`
AfterSha256 string `protobuf:"bytes,4,opt,name=after_sha256,json=afterSha256,proto3" json:"after_sha256,omitempty"`
Strategy string `protobuf:"bytes,6,opt,name=strategy,proto3" json:"strategy,omitempty"`
FixActions []string `protobuf:"bytes,7,rep,name=fix_actions,json=fixActions,proto3" json:"fix_actions,omitempty"`
// contains filtered or unexported fields
}
PreparedFileMutation is a source-free identity for exact bytes retained by Codefly inside the execution box. Mind and the SaaS coordinator receive only hashes and resource identity; project content never crosses this RPC.
func (*PreparedFileMutation) Descriptor
deprecated
added in
v0.2.27
func (*PreparedFileMutation) Descriptor() ([]byte, []int)
Deprecated: Use PreparedFileMutation.ProtoReflect.Descriptor instead.
func (*PreparedFileMutation) GetAfterSha256 ¶ added in v0.2.27
func (x *PreparedFileMutation) GetAfterSha256() string
func (*PreparedFileMutation) GetBeforeSha256 ¶ added in v0.2.27
func (x *PreparedFileMutation) GetBeforeSha256() string
func (*PreparedFileMutation) GetFixActions ¶ added in v0.2.27
func (x *PreparedFileMutation) GetFixActions() []string
func (*PreparedFileMutation) GetOperation ¶ added in v0.2.27
func (x *PreparedFileMutation) GetOperation() PreparedFileOperation
func (*PreparedFileMutation) GetPath ¶ added in v0.2.27
func (x *PreparedFileMutation) GetPath() string
func (*PreparedFileMutation) GetStrategy ¶ added in v0.2.27
func (x *PreparedFileMutation) GetStrategy() string
func (*PreparedFileMutation) ProtoMessage ¶ added in v0.2.27
func (*PreparedFileMutation) ProtoMessage()
func (*PreparedFileMutation) ProtoReflect ¶ added in v0.2.27
func (x *PreparedFileMutation) ProtoReflect() protoreflect.Message
func (*PreparedFileMutation) Reset ¶ added in v0.2.27
func (x *PreparedFileMutation) Reset()
func (*PreparedFileMutation) String ¶ added in v0.2.27
func (x *PreparedFileMutation) String() string
type PreparedFileOperation ¶ added in v0.2.27
type PreparedFileOperation int32
const ( PreparedFileOperation_PREPARED_FILE_OPERATION_UNSPECIFIED PreparedFileOperation = 0 PreparedFileOperation_PREPARED_FILE_OPERATION_MODIFY PreparedFileOperation = 1 )
func (PreparedFileOperation) Descriptor ¶ added in v0.2.27
func (PreparedFileOperation) Descriptor() protoreflect.EnumDescriptor
func (PreparedFileOperation) Enum ¶ added in v0.2.27
func (x PreparedFileOperation) Enum() *PreparedFileOperation
func (PreparedFileOperation) EnumDescriptor
deprecated
added in
v0.2.27
func (PreparedFileOperation) EnumDescriptor() ([]byte, []int)
Deprecated: Use PreparedFileOperation.Descriptor instead.
func (PreparedFileOperation) Number ¶ added in v0.2.27
func (x PreparedFileOperation) Number() protoreflect.EnumNumber
func (PreparedFileOperation) String ¶ added in v0.2.27
func (x PreparedFileOperation) String() string
func (PreparedFileOperation) Type ¶ added in v0.2.27
func (PreparedFileOperation) Type() protoreflect.EnumType
type PreparedMutation ¶ added in v0.2.27
type PreparedMutation struct {
SchemaVersion uint32 `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
PreparationId string `protobuf:"bytes,2,opt,name=preparation_id,json=preparationId,proto3" json:"preparation_id,omitempty"`
AuthorityId string `protobuf:"bytes,3,opt,name=authority_id,json=authorityId,proto3" json:"authority_id,omitempty"`
WorkspaceId string `protobuf:"bytes,4,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
Service string `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"`
WorkspaceVersion string `protobuf:"bytes,6,opt,name=workspace_version,json=workspaceVersion,proto3" json:"workspace_version,omitempty"`
MutationDigest string `protobuf:"bytes,7,opt,name=mutation_digest,json=mutationDigest,proto3" json:"mutation_digest,omitempty"`
Files []*PreparedFileMutation `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"`
PreparedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=prepared_at,json=preparedAt,proto3" json:"prepared_at,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// contains filtered or unexported fields
}
PreparedMutation is one immutable, version-bound write proposal. The digest is SHA-256 over deterministic protobuf bytes with mutation_digest cleared.
func (*PreparedMutation) Descriptor
deprecated
added in
v0.2.27
func (*PreparedMutation) Descriptor() ([]byte, []int)
Deprecated: Use PreparedMutation.ProtoReflect.Descriptor instead.
func (*PreparedMutation) GetAuthorityId ¶ added in v0.2.27
func (x *PreparedMutation) GetAuthorityId() string
func (*PreparedMutation) GetExpiresAt ¶ added in v0.2.27
func (x *PreparedMutation) GetExpiresAt() *timestamppb.Timestamp
func (*PreparedMutation) GetFiles ¶ added in v0.2.27
func (x *PreparedMutation) GetFiles() []*PreparedFileMutation
func (*PreparedMutation) GetMutationDigest ¶ added in v0.2.27
func (x *PreparedMutation) GetMutationDigest() string
func (*PreparedMutation) GetPreparationId ¶ added in v0.2.27
func (x *PreparedMutation) GetPreparationId() string
func (*PreparedMutation) GetPreparedAt ¶ added in v0.2.27
func (x *PreparedMutation) GetPreparedAt() *timestamppb.Timestamp
func (*PreparedMutation) GetSchemaVersion ¶ added in v0.2.27
func (x *PreparedMutation) GetSchemaVersion() uint32
func (*PreparedMutation) GetService ¶ added in v0.2.27
func (x *PreparedMutation) GetService() string
func (*PreparedMutation) GetWorkspaceId ¶ added in v0.2.27
func (x *PreparedMutation) GetWorkspaceId() string
func (*PreparedMutation) GetWorkspaceVersion ¶ added in v0.2.27
func (x *PreparedMutation) GetWorkspaceVersion() string
func (*PreparedMutation) ProtoMessage ¶ added in v0.2.27
func (*PreparedMutation) ProtoMessage()
func (*PreparedMutation) ProtoReflect ¶ added in v0.2.27
func (x *PreparedMutation) ProtoReflect() protoreflect.Message
func (*PreparedMutation) Reset ¶ added in v0.2.27
func (x *PreparedMutation) Reset()
func (*PreparedMutation) String ¶ added in v0.2.27
func (x *PreparedMutation) 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 ReleaseBump ¶ added in v0.2.37
type ReleaseBump int32
ReleaseBump selects the semantic version component to increment.
const ( // RELEASE_BUMP_UNSPECIFIED is rejected. ReleaseBump_RELEASE_BUMP_UNSPECIFIED ReleaseBump = 0 // RELEASE_BUMP_PATCH increments the patch component. ReleaseBump_RELEASE_BUMP_PATCH ReleaseBump = 1 // RELEASE_BUMP_MINOR increments the minor component. ReleaseBump_RELEASE_BUMP_MINOR ReleaseBump = 2 // RELEASE_BUMP_MAJOR increments the major component. ReleaseBump_RELEASE_BUMP_MAJOR ReleaseBump = 3 )
func (ReleaseBump) Descriptor ¶ added in v0.2.37
func (ReleaseBump) Descriptor() protoreflect.EnumDescriptor
func (ReleaseBump) Enum ¶ added in v0.2.37
func (x ReleaseBump) Enum() *ReleaseBump
func (ReleaseBump) EnumDescriptor
deprecated
added in
v0.2.37
func (ReleaseBump) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReleaseBump.Descriptor instead.
func (ReleaseBump) Number ¶ added in v0.2.37
func (x ReleaseBump) Number() protoreflect.EnumNumber
func (ReleaseBump) String ¶ added in v0.2.37
func (x ReleaseBump) String() string
func (ReleaseBump) Type ¶ added in v0.2.37
func (ReleaseBump) Type() protoreflect.EnumType
type ReleaseRequest ¶ added in v0.2.37
type ReleaseRequest struct {
// service identifies the repository Gateway.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// bump selects the semantic version component to increment.
Bump ReleaseBump `protobuf:"varint,2,opt,name=bump,proto3,enum=mind.gateway.v1.ReleaseBump" json:"bump,omitempty"`
// units are versioned together in one commit and one signed tag.
Units []*ReleaseUnit `protobuf:"bytes,3,rep,name=units,proto3" json:"units,omitempty"`
// contains filtered or unexported fields
}
ReleaseRequest publishes one signed semantic release for one or more code units in a repository.
func (*ReleaseRequest) Descriptor
deprecated
added in
v0.2.37
func (*ReleaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseRequest.ProtoReflect.Descriptor instead.
func (*ReleaseRequest) GetBump ¶ added in v0.2.37
func (x *ReleaseRequest) GetBump() ReleaseBump
func (*ReleaseRequest) GetService ¶ added in v0.2.37
func (x *ReleaseRequest) GetService() string
func (*ReleaseRequest) GetUnits ¶ added in v0.2.37
func (x *ReleaseRequest) GetUnits() []*ReleaseUnit
func (*ReleaseRequest) ProtoMessage ¶ added in v0.2.37
func (*ReleaseRequest) ProtoMessage()
func (*ReleaseRequest) ProtoReflect ¶ added in v0.2.37
func (x *ReleaseRequest) ProtoReflect() protoreflect.Message
func (*ReleaseRequest) Reset ¶ added in v0.2.37
func (x *ReleaseRequest) Reset()
func (*ReleaseRequest) String ¶ added in v0.2.37
func (x *ReleaseRequest) String() string
type ReleaseResponse ¶ added in v0.2.37
type ReleaseResponse struct {
// success reports whether the release was published.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// error explains a failed release.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// tag is the published semantic version tag.
Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
// revision is the published release commit.
Revision string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
// act is the authoritative typed outcome.
Act *ActReceipt `protobuf:"bytes,5,opt,name=act,proto3" json:"act,omitempty"`
// units are the version mutations included in the release.
Units []*ReleasedUnit `protobuf:"bytes,6,rep,name=units,proto3" json:"units,omitempty"`
// contains filtered or unexported fields
}
ReleaseResponse reports the remote-confirmed release.
func (*ReleaseResponse) Descriptor
deprecated
added in
v0.2.37
func (*ReleaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseResponse.ProtoReflect.Descriptor instead.
func (*ReleaseResponse) GetAct ¶ added in v0.2.37
func (x *ReleaseResponse) GetAct() *ActReceipt
func (*ReleaseResponse) GetError ¶ added in v0.2.37
func (x *ReleaseResponse) GetError() string
func (*ReleaseResponse) GetRevision ¶ added in v0.2.37
func (x *ReleaseResponse) GetRevision() string
func (*ReleaseResponse) GetSuccess ¶ added in v0.2.37
func (x *ReleaseResponse) GetSuccess() bool
func (*ReleaseResponse) GetTag ¶ added in v0.2.37
func (x *ReleaseResponse) GetTag() string
func (*ReleaseResponse) GetUnits ¶ added in v0.2.37
func (x *ReleaseResponse) GetUnits() []*ReleasedUnit
func (*ReleaseResponse) ProtoMessage ¶ added in v0.2.37
func (*ReleaseResponse) ProtoMessage()
func (*ReleaseResponse) ProtoReflect ¶ added in v0.2.37
func (x *ReleaseResponse) ProtoReflect() protoreflect.Message
func (*ReleaseResponse) Reset ¶ added in v0.2.37
func (x *ReleaseResponse) Reset()
func (*ReleaseResponse) String ¶ added in v0.2.37
func (x *ReleaseResponse) String() string
type ReleaseUnit ¶ added in v0.2.37
type ReleaseUnit struct {
// code_unit_id is the stable caller-visible unit identity.
CodeUnitId string `protobuf:"bytes,1,opt,name=code_unit_id,json=codeUnitId,proto3" json:"code_unit_id,omitempty"`
// version_file is the repository-relative manifest containing its version.
VersionFile string `protobuf:"bytes,2,opt,name=version_file,json=versionFile,proto3" json:"version_file,omitempty"`
// contains filtered or unexported fields
}
ReleaseUnit identifies one versioned code unit in the release.
func (*ReleaseUnit) Descriptor
deprecated
added in
v0.2.37
func (*ReleaseUnit) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseUnit.ProtoReflect.Descriptor instead.
func (*ReleaseUnit) GetCodeUnitId ¶ added in v0.2.37
func (x *ReleaseUnit) GetCodeUnitId() string
func (*ReleaseUnit) GetVersionFile ¶ added in v0.2.37
func (x *ReleaseUnit) GetVersionFile() string
func (*ReleaseUnit) ProtoMessage ¶ added in v0.2.37
func (*ReleaseUnit) ProtoMessage()
func (*ReleaseUnit) ProtoReflect ¶ added in v0.2.37
func (x *ReleaseUnit) ProtoReflect() protoreflect.Message
func (*ReleaseUnit) Reset ¶ added in v0.2.37
func (x *ReleaseUnit) Reset()
func (*ReleaseUnit) String ¶ added in v0.2.37
func (x *ReleaseUnit) String() string
type ReleasedUnit ¶ added in v0.2.37
type ReleasedUnit struct {
// code_unit_id is the stable caller-visible unit identity.
CodeUnitId string `protobuf:"bytes,1,opt,name=code_unit_id,json=codeUnitId,proto3" json:"code_unit_id,omitempty"`
// version_file is the repository-relative manifest that was changed.
VersionFile string `protobuf:"bytes,2,opt,name=version_file,json=versionFile,proto3" json:"version_file,omitempty"`
// version is the released semantic version without the v prefix.
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
ReleasedUnit reports one version mutation included in the release.
func (*ReleasedUnit) Descriptor
deprecated
added in
v0.2.37
func (*ReleasedUnit) Descriptor() ([]byte, []int)
Deprecated: Use ReleasedUnit.ProtoReflect.Descriptor instead.
func (*ReleasedUnit) GetCodeUnitId ¶ added in v0.2.37
func (x *ReleasedUnit) GetCodeUnitId() string
func (*ReleasedUnit) GetVersion ¶ added in v0.2.37
func (x *ReleasedUnit) GetVersion() string
func (*ReleasedUnit) GetVersionFile ¶ added in v0.2.37
func (x *ReleasedUnit) GetVersionFile() string
func (*ReleasedUnit) ProtoMessage ¶ added in v0.2.37
func (*ReleasedUnit) ProtoMessage()
func (*ReleasedUnit) ProtoReflect ¶ added in v0.2.37
func (x *ReleasedUnit) ProtoReflect() protoreflect.Message
func (*ReleasedUnit) Reset ¶ added in v0.2.37
func (x *ReleasedUnit) Reset()
func (*ReleasedUnit) String ¶ added in v0.2.37
func (x *ReleasedUnit) 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 ResizeTerminalRequest ¶ added in v0.2.12
type ResizeTerminalRequest struct {
// terminal_id identifies the terminal whose PTY should be resized.
TerminalId string `protobuf:"bytes,1,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
// rows is the requested terminal height in character cells.
Rows uint32 `protobuf:"varint,2,opt,name=rows,proto3" json:"rows,omitempty"`
// cols is the requested terminal width in character cells.
Cols uint32 `protobuf:"varint,3,opt,name=cols,proto3" json:"cols,omitempty"`
// contains filtered or unexported fields
}
ResizeTerminalRequest changes the PTY dimensions of a running terminal.
func (*ResizeTerminalRequest) Descriptor
deprecated
added in
v0.2.12
func (*ResizeTerminalRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResizeTerminalRequest.ProtoReflect.Descriptor instead.
func (*ResizeTerminalRequest) GetCols ¶ added in v0.2.12
func (x *ResizeTerminalRequest) GetCols() uint32
func (*ResizeTerminalRequest) GetRows ¶ added in v0.2.12
func (x *ResizeTerminalRequest) GetRows() uint32
func (*ResizeTerminalRequest) GetTerminalId ¶ added in v0.2.12
func (x *ResizeTerminalRequest) GetTerminalId() string
func (*ResizeTerminalRequest) ProtoMessage ¶ added in v0.2.12
func (*ResizeTerminalRequest) ProtoMessage()
func (*ResizeTerminalRequest) ProtoReflect ¶ added in v0.2.12
func (x *ResizeTerminalRequest) ProtoReflect() protoreflect.Message
func (*ResizeTerminalRequest) Reset ¶ added in v0.2.12
func (x *ResizeTerminalRequest) Reset()
func (*ResizeTerminalRequest) String ¶ added in v0.2.12
func (x *ResizeTerminalRequest) String() string
type ResizeTerminalResponse ¶ added in v0.2.12
type ResizeTerminalResponse struct {
// contains filtered or unexported fields
}
ResizeTerminalResponse confirms that the resize request was applied.
func (*ResizeTerminalResponse) Descriptor
deprecated
added in
v0.2.12
func (*ResizeTerminalResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResizeTerminalResponse.ProtoReflect.Descriptor instead.
func (*ResizeTerminalResponse) ProtoMessage ¶ added in v0.2.12
func (*ResizeTerminalResponse) ProtoMessage()
func (*ResizeTerminalResponse) ProtoReflect ¶ added in v0.2.12
func (x *ResizeTerminalResponse) ProtoReflect() protoreflect.Message
func (*ResizeTerminalResponse) Reset ¶ added in v0.2.12
func (x *ResizeTerminalResponse) Reset()
func (*ResizeTerminalResponse) String ¶ added in v0.2.12
func (x *ResizeTerminalResponse) 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
// stdin is optional bytes written to the process's standard input.
//
// CONTRACT (single-shot stdin): the gateway writes the full payload
// to the child's stdin, closes the stream, then reads stdout/stderr
// to completion. Not a bidirectional pipe — enough for batch
// protocols with a fixed upfront request list, e.g. feeding
// `git cat-file --batch` a list of object names.
Stdin []byte `protobuf:"bytes,6,opt,name=stdin,proto3" json:"stdin,omitempty"`
// unstructured_use is mandatory attribution for this escape hatch.
UnstructuredUse *UnstructuredUse `protobuf:"bytes,7,opt,name=unstructured_use,json=unstructuredUse,proto3" json:"unstructured_use,omitempty"`
// 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) GetStdin ¶ added in v0.2.13
func (x *RunCommandRequest) GetStdin() []byte
func (*RunCommandRequest) GetTimeoutSeconds ¶
func (x *RunCommandRequest) GetTimeoutSeconds() int32
func (*RunCommandRequest) GetUnstructuredUse ¶ added in v0.2.37
func (x *RunCommandRequest) GetUnstructuredUse() *UnstructuredUse
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 SubscribeWorkspaceChangesRequest ¶ added in v0.2.24
type SubscribeWorkspaceChangesRequest struct {
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
After *WorkspaceChangeCursor `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribeWorkspaceChangesRequest) Descriptor
deprecated
added in
v0.2.24
func (*SubscribeWorkspaceChangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeWorkspaceChangesRequest.ProtoReflect.Descriptor instead.
func (*SubscribeWorkspaceChangesRequest) GetAfter ¶ added in v0.2.24
func (x *SubscribeWorkspaceChangesRequest) GetAfter() *WorkspaceChangeCursor
func (*SubscribeWorkspaceChangesRequest) GetService ¶ added in v0.2.24
func (x *SubscribeWorkspaceChangesRequest) GetService() string
func (*SubscribeWorkspaceChangesRequest) ProtoMessage ¶ added in v0.2.24
func (*SubscribeWorkspaceChangesRequest) ProtoMessage()
func (*SubscribeWorkspaceChangesRequest) ProtoReflect ¶ added in v0.2.24
func (x *SubscribeWorkspaceChangesRequest) ProtoReflect() protoreflect.Message
func (*SubscribeWorkspaceChangesRequest) Reset ¶ added in v0.2.24
func (x *SubscribeWorkspaceChangesRequest) Reset()
func (*SubscribeWorkspaceChangesRequest) String ¶ added in v0.2.24
func (x *SubscribeWorkspaceChangesRequest) String() string
type TerminalInfo ¶ added in v0.2.12
type TerminalInfo struct {
// terminal_id is the opaque identifier used by terminal operations.
TerminalId string `protobuf:"bytes,1,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
// shell is the executable running inside the terminal.
Shell string `protobuf:"bytes,2,opt,name=shell,proto3" json:"shell,omitempty"`
// working_dir is the directory in which the shell was started.
WorkingDir string `protobuf:"bytes,3,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
// status is either "running" or "exited".
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
TerminalInfo describes one terminal session without exposing its PTY stream.
func (*TerminalInfo) Descriptor
deprecated
added in
v0.2.12
func (*TerminalInfo) Descriptor() ([]byte, []int)
Deprecated: Use TerminalInfo.ProtoReflect.Descriptor instead.
func (*TerminalInfo) GetShell ¶ added in v0.2.12
func (x *TerminalInfo) GetShell() string
func (*TerminalInfo) GetStatus ¶ added in v0.2.12
func (x *TerminalInfo) GetStatus() string
func (*TerminalInfo) GetTerminalId ¶ added in v0.2.12
func (x *TerminalInfo) GetTerminalId() string
func (*TerminalInfo) GetWorkingDir ¶ added in v0.2.12
func (x *TerminalInfo) GetWorkingDir() string
func (*TerminalInfo) ProtoMessage ¶ added in v0.2.12
func (*TerminalInfo) ProtoMessage()
func (*TerminalInfo) ProtoReflect ¶ added in v0.2.12
func (x *TerminalInfo) ProtoReflect() protoreflect.Message
func (*TerminalInfo) Reset ¶ added in v0.2.12
func (x *TerminalInfo) Reset()
func (*TerminalInfo) String ¶ added in v0.2.12
func (x *TerminalInfo) String() string
type TerminalInput ¶ added in v0.2.12
type TerminalInput struct {
// terminal_id selects the terminal and is required on the first stream message.
TerminalId string `protobuf:"bytes,1,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
// data contains raw bytes to write to the terminal's PTY.
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
TerminalInput carries client keystrokes. The FIRST message on an Attach stream must set terminal_id to select the terminal.
func (*TerminalInput) Descriptor
deprecated
added in
v0.2.12
func (*TerminalInput) Descriptor() ([]byte, []int)
Deprecated: Use TerminalInput.ProtoReflect.Descriptor instead.
func (*TerminalInput) GetData ¶ added in v0.2.12
func (x *TerminalInput) GetData() []byte
func (*TerminalInput) GetTerminalId ¶ added in v0.2.12
func (x *TerminalInput) GetTerminalId() string
func (*TerminalInput) ProtoMessage ¶ added in v0.2.12
func (*TerminalInput) ProtoMessage()
func (*TerminalInput) ProtoReflect ¶ added in v0.2.12
func (x *TerminalInput) ProtoReflect() protoreflect.Message
func (*TerminalInput) Reset ¶ added in v0.2.12
func (x *TerminalInput) Reset()
func (*TerminalInput) String ¶ added in v0.2.12
func (x *TerminalInput) String() string
type TerminalOutput ¶ added in v0.2.12
type TerminalOutput struct {
// terminal_id identifies the terminal that produced this frame.
TerminalId string `protobuf:"bytes,1,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
// data contains raw PTY output bytes, including terminal escape sequences.
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// done is true on the final frame after the child process exits.
Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"`
// exit_code is the child process exit status and is meaningful when done is true.
ExitCode int32 `protobuf:"varint,4,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
// contains filtered or unexported fields
}
TerminalOutput carries raw PTY bytes (escape codes intact). done marks the final frame after the child exits.
func (*TerminalOutput) Descriptor
deprecated
added in
v0.2.12
func (*TerminalOutput) Descriptor() ([]byte, []int)
Deprecated: Use TerminalOutput.ProtoReflect.Descriptor instead.
func (*TerminalOutput) GetData ¶ added in v0.2.12
func (x *TerminalOutput) GetData() []byte
func (*TerminalOutput) GetDone ¶ added in v0.2.12
func (x *TerminalOutput) GetDone() bool
func (*TerminalOutput) GetExitCode ¶ added in v0.2.12
func (x *TerminalOutput) GetExitCode() int32
func (*TerminalOutput) GetTerminalId ¶ added in v0.2.12
func (x *TerminalOutput) GetTerminalId() string
func (*TerminalOutput) ProtoMessage ¶ added in v0.2.12
func (*TerminalOutput) ProtoMessage()
func (*TerminalOutput) ProtoReflect ¶ added in v0.2.12
func (x *TerminalOutput) ProtoReflect() protoreflect.Message
func (*TerminalOutput) Reset ¶ added in v0.2.12
func (x *TerminalOutput) Reset()
func (*TerminalOutput) String ¶ added in v0.2.12
func (x *TerminalOutput) String() string
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"`
// runtime_request is the authoritative typed operation forwarded unchanged
// to the service runtime. In particular, structured selections and their
// acknowledgement identity must survive this boundary; the gateway must
// never broaden a scoped request into a whole-service test run.
RuntimeRequest *v01.TestRequest `protobuf:"bytes,2,opt,name=runtime_request,json=runtimeRequest,proto3" json:"runtime_request,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) GetRuntimeRequest ¶ added in v0.2.27
func (x *TestRequest) GetRuntimeRequest() *v01.TestRequest
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"`
// runtime_response is the authoritative typed runtime result. Callers use
// it to verify structured-selection acknowledgement and consume the full
// suite tree. The flat fields above remain a presentation-compatible view.
RuntimeResponse *v01.TestResponse `protobuf:"bytes,9,opt,name=runtime_response,json=runtimeResponse,proto3" json:"runtime_response,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) GetRuntimeResponse ¶ added in v0.2.27
func (x *TestResponse) GetRuntimeResponse() *v01.TestResponse
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 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) ApplyPreparedMutation ¶ added in v0.2.27
func (UnimplementedGatewayServer) ApplyPreparedMutation(context.Context, *ApplyPreparedMutationRequest) (*ApplyPreparedMutationResponse, error)
func (UnimplementedGatewayServer) AttachTerminal ¶ added in v0.2.12
func (UnimplementedGatewayServer) AttachTerminal(grpc.BidiStreamingServer[TerminalInput, TerminalOutput]) 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) CloseTerminal ¶ added in v0.2.12
func (UnimplementedGatewayServer) CloseTerminal(context.Context, *CloseTerminalRequest) (*CloseTerminalResponse, error)
func (UnimplementedGatewayServer) ConfigureMutationAuthority ¶ added in v0.2.27
func (UnimplementedGatewayServer) ConfigureMutationAuthority(context.Context, *ConfigureMutationAuthorityRequest) (*ConfigureMutationAuthorityResponse, 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) Fix ¶
func (UnimplementedGatewayServer) Fix(context.Context, *FixRequest) (*FixResponse, error)
func (UnimplementedGatewayServer) ForgeMergePullRequest ¶ added in v0.2.37
func (UnimplementedGatewayServer) ForgeMergePullRequest(context.Context, *ForgeMergePullRequestRequest) (*ForgeMergePullRequestResponse, error)
func (UnimplementedGatewayServer) ForgeNormalizeWebhook ¶ added in v0.2.37
func (UnimplementedGatewayServer) ForgeNormalizeWebhook(context.Context, *ForgeNormalizeWebhookRequest) (*ForgeNormalizeWebhookResponse, error)
func (UnimplementedGatewayServer) ForgePullRequestStatus ¶ added in v0.2.37
func (UnimplementedGatewayServer) ForgePullRequestStatus(context.Context, *ForgePullRequestStatusRequest) (*ForgePullRequestStatusResponse, error)
func (UnimplementedGatewayServer) ForgeRequestReview ¶ added in v0.2.37
func (UnimplementedGatewayServer) ForgeRequestReview(context.Context, *ForgeRequestReviewRequest) (*ForgeRequestReviewResponse, error)
func (UnimplementedGatewayServer) Format ¶ added in v0.2.37
func (UnimplementedGatewayServer) Format(context.Context, *FormatRequest) (*FormatResponse, error)
func (UnimplementedGatewayServer) GetProjectInfo ¶
func (UnimplementedGatewayServer) GetProjectInfo(context.Context, *GetProjectInfoRequest) (*GetProjectInfoResponse, error)
func (UnimplementedGatewayServer) GitBranch ¶ added in v0.2.37
func (UnimplementedGatewayServer) GitBranch(context.Context, *GitBranchRequest) (*GitBranchResponse, error)
func (UnimplementedGatewayServer) GitCheckout ¶ added in v0.2.37
func (UnimplementedGatewayServer) GitCheckout(context.Context, *GitCheckoutRequest) (*GitCheckoutResponse, 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) GitMerge ¶ added in v0.2.37
func (UnimplementedGatewayServer) GitMerge(context.Context, *GitMergeRequest) (*GitMergeResponse, error)
func (UnimplementedGatewayServer) GitPush ¶ added in v0.2.37
func (UnimplementedGatewayServer) GitPush(context.Context, *GitPushRequest) (*GitPushResponse, error)
func (UnimplementedGatewayServer) GitRevert ¶ added in v0.2.37
func (UnimplementedGatewayServer) GitRevert(context.Context, *GitRevertRequest) (*GitRevertResponse, error)
func (UnimplementedGatewayServer) GitStatus ¶
func (UnimplementedGatewayServer) GitStatus(context.Context, *GitStatusRequest) (*GitStatusResponse, error)
func (UnimplementedGatewayServer) GitTag ¶ added in v0.2.37
func (UnimplementedGatewayServer) GitTag(context.Context, *GitTagRequest) (*GitTagResponse, 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) ListTerminals ¶ added in v0.2.12
func (UnimplementedGatewayServer) ListTerminals(context.Context, *ListTerminalsRequest) (*ListTerminalsResponse, error)
func (UnimplementedGatewayServer) MoveFile ¶
func (UnimplementedGatewayServer) MoveFile(context.Context, *MoveFileRequest) (*MoveFileResponse, error)
func (UnimplementedGatewayServer) OpenTerminal ¶ added in v0.2.12
func (UnimplementedGatewayServer) OpenTerminal(context.Context, *OpenTerminalRequest) (*OpenTerminalResponse, error)
func (UnimplementedGatewayServer) PrepareMutation ¶ added in v0.2.27
func (UnimplementedGatewayServer) PrepareMutation(context.Context, *PrepareMutationRequest) (*PrepareMutationResponse, error)
func (UnimplementedGatewayServer) ReadFile ¶
func (UnimplementedGatewayServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
func (UnimplementedGatewayServer) Release ¶ added in v0.2.37
func (UnimplementedGatewayServer) Release(context.Context, *ReleaseRequest) (*ReleaseResponse, error)
func (UnimplementedGatewayServer) RemoveDependency ¶
func (UnimplementedGatewayServer) RemoveDependency(context.Context, *RemoveDependencyRequest) (*RemoveDependencyResponse, error)
func (UnimplementedGatewayServer) ResizeTerminal ¶ added in v0.2.12
func (UnimplementedGatewayServer) ResizeTerminal(context.Context, *ResizeTerminalRequest) (*ResizeTerminalResponse, 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) SubscribeWorkspaceChanges ¶ added in v0.2.24
func (UnimplementedGatewayServer) SubscribeWorkspaceChanges(*SubscribeWorkspaceChangesRequest, grpc.ServerStreamingServer[WorkspaceChangeEvent]) 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 UnstructuredUse ¶ added in v0.2.37
type UnstructuredUse struct {
// intent is the human-readable objective of the command.
Intent string `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
// command_class groups uses into a missing-capability family.
CommandClass CommandClass `` /* 132-byte string literal not displayed */
// why_no_tool states why the typed toolbox could not perform this work.
WhyNoTool string `protobuf:"bytes,3,opt,name=why_no_tool,json=whyNoTool,proto3" json:"why_no_tool,omitempty"`
// code_unit_id attributes the use to one code unit.
CodeUnitId string `protobuf:"bytes,4,opt,name=code_unit_id,json=codeUnitId,proto3" json:"code_unit_id,omitempty"`
// objective_id attributes the use to one Mind objective.
ObjectiveId string `protobuf:"bytes,5,opt,name=objective_id,json=objectiveId,proto3" json:"objective_id,omitempty"`
// contains filtered or unexported fields
}
UnstructuredUse attributes one use of raw process or PTY execution. The gateway rejects escape-hatch calls that omit any field.
func (*UnstructuredUse) Descriptor
deprecated
added in
v0.2.37
func (*UnstructuredUse) Descriptor() ([]byte, []int)
Deprecated: Use UnstructuredUse.ProtoReflect.Descriptor instead.
func (*UnstructuredUse) GetCodeUnitId ¶ added in v0.2.37
func (x *UnstructuredUse) GetCodeUnitId() string
func (*UnstructuredUse) GetCommandClass ¶ added in v0.2.37
func (x *UnstructuredUse) GetCommandClass() CommandClass
func (*UnstructuredUse) GetIntent ¶ added in v0.2.37
func (x *UnstructuredUse) GetIntent() string
func (*UnstructuredUse) GetObjectiveId ¶ added in v0.2.37
func (x *UnstructuredUse) GetObjectiveId() string
func (*UnstructuredUse) GetWhyNoTool ¶ added in v0.2.37
func (x *UnstructuredUse) GetWhyNoTool() string
func (*UnstructuredUse) ProtoMessage ¶ added in v0.2.37
func (*UnstructuredUse) ProtoMessage()
func (*UnstructuredUse) ProtoReflect ¶ added in v0.2.37
func (x *UnstructuredUse) ProtoReflect() protoreflect.Message
func (*UnstructuredUse) Reset ¶ added in v0.2.37
func (x *UnstructuredUse) Reset()
func (*UnstructuredUse) String ¶ added in v0.2.37
func (x *UnstructuredUse) String() string
type WorkspaceChange ¶ added in v0.2.24
type WorkspaceChange struct {
Operation WorkspaceChangeOperation `protobuf:"varint,1,opt,name=operation,proto3,enum=mind.gateway.v1.WorkspaceChangeOperation" json:"operation,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
PreviousPath string `protobuf:"bytes,3,opt,name=previous_path,json=previousPath,proto3" json:"previous_path,omitempty"`
Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
WorkspaceChange contains metadata only. Source bytes remain behind ReadFile and version-aware Gateway operations.
func (*WorkspaceChange) Descriptor
deprecated
added in
v0.2.24
func (*WorkspaceChange) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceChange.ProtoReflect.Descriptor instead.
func (*WorkspaceChange) GetOperation ¶ added in v0.2.24
func (x *WorkspaceChange) GetOperation() WorkspaceChangeOperation
func (*WorkspaceChange) GetPath ¶ added in v0.2.24
func (x *WorkspaceChange) GetPath() string
func (*WorkspaceChange) GetPreviousPath ¶ added in v0.2.24
func (x *WorkspaceChange) GetPreviousPath() string
func (*WorkspaceChange) GetReason ¶ added in v0.2.24
func (x *WorkspaceChange) GetReason() string
func (*WorkspaceChange) ProtoMessage ¶ added in v0.2.24
func (*WorkspaceChange) ProtoMessage()
func (*WorkspaceChange) ProtoReflect ¶ added in v0.2.24
func (x *WorkspaceChange) ProtoReflect() protoreflect.Message
func (*WorkspaceChange) Reset ¶ added in v0.2.24
func (x *WorkspaceChange) Reset()
func (*WorkspaceChange) String ¶ added in v0.2.24
func (x *WorkspaceChange) String() string
type WorkspaceChangeCursor ¶ added in v0.2.24
type WorkspaceChangeCursor struct {
SourceId string `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
// contains filtered or unexported fields
}
WorkspaceChangeCursor resumes one monitor epoch after an acknowledged sequence. Both fields are required together; an empty cursor first emits an explicit rescan because the consumer cannot prove prior completeness.
func (*WorkspaceChangeCursor) Descriptor
deprecated
added in
v0.2.24
func (*WorkspaceChangeCursor) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceChangeCursor.ProtoReflect.Descriptor instead.
func (*WorkspaceChangeCursor) GetSequence ¶ added in v0.2.24
func (x *WorkspaceChangeCursor) GetSequence() uint64
func (*WorkspaceChangeCursor) GetSourceId ¶ added in v0.2.24
func (x *WorkspaceChangeCursor) GetSourceId() string
func (*WorkspaceChangeCursor) ProtoMessage ¶ added in v0.2.24
func (*WorkspaceChangeCursor) ProtoMessage()
func (*WorkspaceChangeCursor) ProtoReflect ¶ added in v0.2.24
func (x *WorkspaceChangeCursor) ProtoReflect() protoreflect.Message
func (*WorkspaceChangeCursor) Reset ¶ added in v0.2.24
func (x *WorkspaceChangeCursor) Reset()
func (*WorkspaceChangeCursor) String ¶ added in v0.2.24
func (x *WorkspaceChangeCursor) String() string
type WorkspaceChangeEvent ¶ added in v0.2.24
type WorkspaceChangeEvent struct {
SourceId string `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
Changes []*WorkspaceChange `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty"`
// contains filtered or unexported fields
}
WorkspaceChangeEvent is one durable watcher cursor position. Current producers emit one canonical change per position so downstream journals can acknowledge it atomically; consumers must treat any future batch atomically.
func (*WorkspaceChangeEvent) Descriptor
deprecated
added in
v0.2.24
func (*WorkspaceChangeEvent) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceChangeEvent.ProtoReflect.Descriptor instead.
func (*WorkspaceChangeEvent) GetChanges ¶ added in v0.2.24
func (x *WorkspaceChangeEvent) GetChanges() []*WorkspaceChange
func (*WorkspaceChangeEvent) GetObservedAt ¶ added in v0.2.24
func (x *WorkspaceChangeEvent) GetObservedAt() *timestamppb.Timestamp
func (*WorkspaceChangeEvent) GetSequence ¶ added in v0.2.24
func (x *WorkspaceChangeEvent) GetSequence() uint64
func (*WorkspaceChangeEvent) GetSourceId ¶ added in v0.2.24
func (x *WorkspaceChangeEvent) GetSourceId() string
func (*WorkspaceChangeEvent) ProtoMessage ¶ added in v0.2.24
func (*WorkspaceChangeEvent) ProtoMessage()
func (*WorkspaceChangeEvent) ProtoReflect ¶ added in v0.2.24
func (x *WorkspaceChangeEvent) ProtoReflect() protoreflect.Message
func (*WorkspaceChangeEvent) Reset ¶ added in v0.2.24
func (x *WorkspaceChangeEvent) Reset()
func (*WorkspaceChangeEvent) String ¶ added in v0.2.24
func (x *WorkspaceChangeEvent) String() string
type WorkspaceChangeOperation ¶ added in v0.2.24
type WorkspaceChangeOperation int32
WorkspaceChangeOperation describes why a repository path may have changed. RESCAN is an explicit uncertainty marker (watch overflow, replay gap, or a directory-level change) and requires an authoritative manifest pull.
const ( WorkspaceChangeOperation_WORKSPACE_CHANGE_OPERATION_UNSPECIFIED WorkspaceChangeOperation = 0 WorkspaceChangeOperation_WORKSPACE_CHANGE_OPERATION_CREATE WorkspaceChangeOperation = 1 WorkspaceChangeOperation_WORKSPACE_CHANGE_OPERATION_WRITE WorkspaceChangeOperation = 2 WorkspaceChangeOperation_WORKSPACE_CHANGE_OPERATION_REMOVE WorkspaceChangeOperation = 3 WorkspaceChangeOperation_WORKSPACE_CHANGE_OPERATION_METADATA WorkspaceChangeOperation = 4 WorkspaceChangeOperation_WORKSPACE_CHANGE_OPERATION_RESCAN WorkspaceChangeOperation = 5 )
func (WorkspaceChangeOperation) Descriptor ¶ added in v0.2.24
func (WorkspaceChangeOperation) Descriptor() protoreflect.EnumDescriptor
func (WorkspaceChangeOperation) Enum ¶ added in v0.2.24
func (x WorkspaceChangeOperation) Enum() *WorkspaceChangeOperation
func (WorkspaceChangeOperation) EnumDescriptor
deprecated
added in
v0.2.24
func (WorkspaceChangeOperation) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkspaceChangeOperation.Descriptor instead.
func (WorkspaceChangeOperation) Number ¶ added in v0.2.24
func (x WorkspaceChangeOperation) Number() protoreflect.EnumNumber
func (WorkspaceChangeOperation) String ¶ added in v0.2.24
func (x WorkspaceChangeOperation) String() string
func (WorkspaceChangeOperation) Type ¶ added in v0.2.24
func (WorkspaceChangeOperation) Type() protoreflect.EnumType
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