vxv1connect

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// AuthServiceName is the fully-qualified name of the AuthService service.
	AuthServiceName = "vx.v1.AuthService"
	// ObjectServiceName is the fully-qualified name of the ObjectService service.
	ObjectServiceName = "vx.v1.ObjectService"
	// RepoServiceName is the fully-qualified name of the RepoService service.
	RepoServiceName = "vx.v1.RepoService"
	// EffortServiceName is the fully-qualified name of the EffortService service.
	EffortServiceName = "vx.v1.EffortService"
	// WorkspaceServiceName is the fully-qualified name of the WorkspaceService service.
	WorkspaceServiceName = "vx.v1.WorkspaceService"
	// ShipServiceName is the fully-qualified name of the ShipService service.
	ShipServiceName = "vx.v1.ShipService"
	// BoardServiceName is the fully-qualified name of the BoardService service.
	BoardServiceName = "vx.v1.BoardService"
	// CoordinationServiceName is the fully-qualified name of the CoordinationService service.
	CoordinationServiceName = "vx.v1.CoordinationService"
	// OrgServiceName is the fully-qualified name of the OrgService service.
	OrgServiceName = "vx.v1.OrgService"
	// PublicServiceName is the fully-qualified name of the PublicService service.
	PublicServiceName = "vx.v1.PublicService"
	// RulesServiceName is the fully-qualified name of the RulesService service.
	RulesServiceName = "vx.v1.RulesService"
	// ReviewServiceName is the fully-qualified name of the ReviewService service.
	ReviewServiceName = "vx.v1.ReviewService"
	// CheckServiceName is the fully-qualified name of the CheckService service.
	CheckServiceName = "vx.v1.CheckService"
	// CheckQueueServiceName is the fully-qualified name of the CheckQueueService service.
	CheckQueueServiceName = "vx.v1.CheckQueueService"
)
View Source
const (
	// AuthServiceWhoAmIProcedure is the fully-qualified name of the AuthService's WhoAmI RPC.
	AuthServiceWhoAmIProcedure = "/vx.v1.AuthService/WhoAmI"
	// AuthServiceCreateAgentProcedure is the fully-qualified name of the AuthService's CreateAgent RPC.
	AuthServiceCreateAgentProcedure = "/vx.v1.AuthService/CreateAgent"
	// AuthServiceListAgentsProcedure is the fully-qualified name of the AuthService's ListAgents RPC.
	AuthServiceListAgentsProcedure = "/vx.v1.AuthService/ListAgents"
	// AuthServiceListTokensProcedure is the fully-qualified name of the AuthService's ListTokens RPC.
	AuthServiceListTokensProcedure = "/vx.v1.AuthService/ListTokens"
	// AuthServiceRevokeTokenProcedure is the fully-qualified name of the AuthService's RevokeToken RPC.
	AuthServiceRevokeTokenProcedure = "/vx.v1.AuthService/RevokeToken"
	// AuthServiceCreateTokenProcedure is the fully-qualified name of the AuthService's CreateToken RPC.
	AuthServiceCreateTokenProcedure = "/vx.v1.AuthService/CreateToken"
	// AuthServiceCreateLoginCodeProcedure is the fully-qualified name of the AuthService's
	// CreateLoginCode RPC.
	AuthServiceCreateLoginCodeProcedure = "/vx.v1.AuthService/CreateLoginCode"
	// AuthServiceGetAgentProcedure is the fully-qualified name of the AuthService's GetAgent RPC.
	AuthServiceGetAgentProcedure = "/vx.v1.AuthService/GetAgent"
	// AuthServiceSetAgentScopeProcedure is the fully-qualified name of the AuthService's SetAgentScope
	// RPC.
	AuthServiceSetAgentScopeProcedure = "/vx.v1.AuthService/SetAgentScope"
	// ObjectServiceMissingObjectsProcedure is the fully-qualified name of the ObjectService's
	// MissingObjects RPC.
	ObjectServiceMissingObjectsProcedure = "/vx.v1.ObjectService/MissingObjects"
	// ObjectServicePutObjectsProcedure is the fully-qualified name of the ObjectService's PutObjects
	// RPC.
	ObjectServicePutObjectsProcedure = "/vx.v1.ObjectService/PutObjects"
	// ObjectServiceGetObjectsProcedure is the fully-qualified name of the ObjectService's GetObjects
	// RPC.
	ObjectServiceGetObjectsProcedure = "/vx.v1.ObjectService/GetObjects"
	// RepoServiceCreateRepoProcedure is the fully-qualified name of the RepoService's CreateRepo RPC.
	RepoServiceCreateRepoProcedure = "/vx.v1.RepoService/CreateRepo"
	// RepoServiceGetRepoProcedure is the fully-qualified name of the RepoService's GetRepo RPC.
	RepoServiceGetRepoProcedure = "/vx.v1.RepoService/GetRepo"
	// RepoServiceListReposProcedure is the fully-qualified name of the RepoService's ListRepos RPC.
	RepoServiceListReposProcedure = "/vx.v1.RepoService/ListRepos"
	// RepoServiceSyncBranchProcedure is the fully-qualified name of the RepoService's SyncBranch RPC.
	RepoServiceSyncBranchProcedure = "/vx.v1.RepoService/SyncBranch"
	// RepoServiceSetRepoHostProcedure is the fully-qualified name of the RepoService's SetRepoHost RPC.
	RepoServiceSetRepoHostProcedure = "/vx.v1.RepoService/SetRepoHost"
	// EffortServiceCreateEffortProcedure is the fully-qualified name of the EffortService's
	// CreateEffort RPC.
	EffortServiceCreateEffortProcedure = "/vx.v1.EffortService/CreateEffort"
	// EffortServiceGetEffortProcedure is the fully-qualified name of the EffortService's GetEffort RPC.
	EffortServiceGetEffortProcedure = "/vx.v1.EffortService/GetEffort"
	// EffortServiceListEffortsProcedure is the fully-qualified name of the EffortService's ListEfforts
	// RPC.
	EffortServiceListEffortsProcedure = "/vx.v1.EffortService/ListEfforts"
	// EffortServiceCloseEffortProcedure is the fully-qualified name of the EffortService's CloseEffort
	// RPC.
	EffortServiceCloseEffortProcedure = "/vx.v1.EffortService/CloseEffort"
	// EffortServiceListOverlapsProcedure is the fully-qualified name of the EffortService's
	// ListOverlaps RPC.
	EffortServiceListOverlapsProcedure = "/vx.v1.EffortService/ListOverlaps"
	// EffortServiceLogProcedure is the fully-qualified name of the EffortService's Log RPC.
	EffortServiceLogProcedure = "/vx.v1.EffortService/Log"
	// EffortServiceGetChangesetProcedure is the fully-qualified name of the EffortService's
	// GetChangeset RPC.
	EffortServiceGetChangesetProcedure = "/vx.v1.EffortService/GetChangeset"
	// EffortServiceRebaseEffortProcedure is the fully-qualified name of the EffortService's
	// RebaseEffort RPC.
	EffortServiceRebaseEffortProcedure = "/vx.v1.EffortService/RebaseEffort"
	// EffortServiceContinueRebaseProcedure is the fully-qualified name of the EffortService's
	// ContinueRebase RPC.
	EffortServiceContinueRebaseProcedure = "/vx.v1.EffortService/ContinueRebase"
	// EffortServiceAbortRebaseProcedure is the fully-qualified name of the EffortService's AbortRebase
	// RPC.
	EffortServiceAbortRebaseProcedure = "/vx.v1.EffortService/AbortRebase"
	// EffortServiceGetRebaseProcedure is the fully-qualified name of the EffortService's GetRebase RPC.
	EffortServiceGetRebaseProcedure = "/vx.v1.EffortService/GetRebase"
	// WorkspaceServiceOpenWorkspaceProcedure is the fully-qualified name of the WorkspaceService's
	// OpenWorkspace RPC.
	WorkspaceServiceOpenWorkspaceProcedure = "/vx.v1.WorkspaceService/OpenWorkspace"
	// WorkspaceServiceGetWorkspaceProcedure is the fully-qualified name of the WorkspaceService's
	// GetWorkspace RPC.
	WorkspaceServiceGetWorkspaceProcedure = "/vx.v1.WorkspaceService/GetWorkspace"
	// WorkspaceServiceSetBaseProcedure is the fully-qualified name of the WorkspaceService's SetBase
	// RPC.
	WorkspaceServiceSetBaseProcedure = "/vx.v1.WorkspaceService/SetBase"
	// WorkspaceServiceLandProcedure is the fully-qualified name of the WorkspaceService's Land RPC.
	WorkspaceServiceLandProcedure = "/vx.v1.WorkspaceService/Land"
	// WorkspaceServiceAbandonProcedure is the fully-qualified name of the WorkspaceService's Abandon
	// RPC.
	WorkspaceServiceAbandonProcedure = "/vx.v1.WorkspaceService/Abandon"
	// WorkspaceServiceReportChangesProcedure is the fully-qualified name of the WorkspaceService's
	// ReportChanges RPC.
	WorkspaceServiceReportChangesProcedure = "/vx.v1.WorkspaceService/ReportChanges"
	// ShipServicePlanShipmentProcedure is the fully-qualified name of the ShipService's PlanShipment
	// RPC.
	ShipServicePlanShipmentProcedure = "/vx.v1.ShipService/PlanShipment"
	// ShipServiceOpenShipmentProcedure is the fully-qualified name of the ShipService's OpenShipment
	// RPC.
	ShipServiceOpenShipmentProcedure = "/vx.v1.ShipService/OpenShipment"
	// ShipServiceListShipmentsProcedure is the fully-qualified name of the ShipService's ListShipments
	// RPC.
	ShipServiceListShipmentsProcedure = "/vx.v1.ShipService/ListShipments"
	// BoardServicePostNoteProcedure is the fully-qualified name of the BoardService's PostNote RPC.
	BoardServicePostNoteProcedure = "/vx.v1.BoardService/PostNote"
	// BoardServiceAskProcedure is the fully-qualified name of the BoardService's Ask RPC.
	BoardServiceAskProcedure = "/vx.v1.BoardService/Ask"
	// BoardServiceAnswerProcedure is the fully-qualified name of the BoardService's Answer RPC.
	BoardServiceAnswerProcedure = "/vx.v1.BoardService/Answer"
	// BoardServiceListNotesProcedure is the fully-qualified name of the BoardService's ListNotes RPC.
	BoardServiceListNotesProcedure = "/vx.v1.BoardService/ListNotes"
	// BoardServiceInboxProcedure is the fully-qualified name of the BoardService's Inbox RPC.
	BoardServiceInboxProcedure = "/vx.v1.BoardService/Inbox"
	// BoardServiceContextProcedure is the fully-qualified name of the BoardService's Context RPC.
	BoardServiceContextProcedure = "/vx.v1.BoardService/Context"
	// BoardServiceMarkReadProcedure is the fully-qualified name of the BoardService's MarkRead RPC.
	BoardServiceMarkReadProcedure = "/vx.v1.BoardService/MarkRead"
	// CoordinationServiceClaimProcedure is the fully-qualified name of the CoordinationService's Claim
	// RPC.
	CoordinationServiceClaimProcedure = "/vx.v1.CoordinationService/Claim"
	// CoordinationServiceReleaseProcedure is the fully-qualified name of the CoordinationService's
	// Release RPC.
	CoordinationServiceReleaseProcedure = "/vx.v1.CoordinationService/Release"
	// CoordinationServiceListClaimsProcedure is the fully-qualified name of the CoordinationService's
	// ListClaims RPC.
	CoordinationServiceListClaimsProcedure = "/vx.v1.CoordinationService/ListClaims"
	// CoordinationServiceAddTaskProcedure is the fully-qualified name of the CoordinationService's
	// AddTask RPC.
	CoordinationServiceAddTaskProcedure = "/vx.v1.CoordinationService/AddTask"
	// CoordinationServiceUpdateTaskProcedure is the fully-qualified name of the CoordinationService's
	// UpdateTask RPC.
	CoordinationServiceUpdateTaskProcedure = "/vx.v1.CoordinationService/UpdateTask"
	// CoordinationServiceListTasksProcedure is the fully-qualified name of the CoordinationService's
	// ListTasks RPC.
	CoordinationServiceListTasksProcedure = "/vx.v1.CoordinationService/ListTasks"
	// OrgServiceCreateOrgProcedure is the fully-qualified name of the OrgService's CreateOrg RPC.
	OrgServiceCreateOrgProcedure = "/vx.v1.OrgService/CreateOrg"
	// OrgServiceListOrgsProcedure is the fully-qualified name of the OrgService's ListOrgs RPC.
	OrgServiceListOrgsProcedure = "/vx.v1.OrgService/ListOrgs"
	// OrgServiceGetOrgProcedure is the fully-qualified name of the OrgService's GetOrg RPC.
	OrgServiceGetOrgProcedure = "/vx.v1.OrgService/GetOrg"
	// OrgServiceUpdateOrgProcedure is the fully-qualified name of the OrgService's UpdateOrg RPC.
	OrgServiceUpdateOrgProcedure = "/vx.v1.OrgService/UpdateOrg"
	// OrgServiceDeleteOrgProcedure is the fully-qualified name of the OrgService's DeleteOrg RPC.
	OrgServiceDeleteOrgProcedure = "/vx.v1.OrgService/DeleteOrg"
	// OrgServiceRestoreOrgProcedure is the fully-qualified name of the OrgService's RestoreOrg RPC.
	OrgServiceRestoreOrgProcedure = "/vx.v1.OrgService/RestoreOrg"
	// OrgServiceGetOrgDeletionProcedure is the fully-qualified name of the OrgService's GetOrgDeletion
	// RPC.
	OrgServiceGetOrgDeletionProcedure = "/vx.v1.OrgService/GetOrgDeletion"
	// OrgServiceListDeletedOrgsProcedure is the fully-qualified name of the OrgService's
	// ListDeletedOrgs RPC.
	OrgServiceListDeletedOrgsProcedure = "/vx.v1.OrgService/ListDeletedOrgs"
	// OrgServiceSetMemberProcedure is the fully-qualified name of the OrgService's SetMember RPC.
	OrgServiceSetMemberProcedure = "/vx.v1.OrgService/SetMember"
	// OrgServiceRemoveMemberProcedure is the fully-qualified name of the OrgService's RemoveMember RPC.
	OrgServiceRemoveMemberProcedure = "/vx.v1.OrgService/RemoveMember"
	// OrgServiceCreateTeamProcedure is the fully-qualified name of the OrgService's CreateTeam RPC.
	OrgServiceCreateTeamProcedure = "/vx.v1.OrgService/CreateTeam"
	// OrgServiceDeleteTeamProcedure is the fully-qualified name of the OrgService's DeleteTeam RPC.
	OrgServiceDeleteTeamProcedure = "/vx.v1.OrgService/DeleteTeam"
	// OrgServiceSetTeamMemberProcedure is the fully-qualified name of the OrgService's SetTeamMember
	// RPC.
	OrgServiceSetTeamMemberProcedure = "/vx.v1.OrgService/SetTeamMember"
	// OrgServiceRemoveTeamMemberProcedure is the fully-qualified name of the OrgService's
	// RemoveTeamMember RPC.
	OrgServiceRemoveTeamMemberProcedure = "/vx.v1.OrgService/RemoveTeamMember"
	// OrgServiceGrantRepoProcedure is the fully-qualified name of the OrgService's GrantRepo RPC.
	OrgServiceGrantRepoProcedure = "/vx.v1.OrgService/GrantRepo"
	// OrgServiceRevokeRepoProcedure is the fully-qualified name of the OrgService's RevokeRepo RPC.
	OrgServiceRevokeRepoProcedure = "/vx.v1.OrgService/RevokeRepo"
	// OrgServiceRepoAccessProcedure is the fully-qualified name of the OrgService's RepoAccess RPC.
	OrgServiceRepoAccessProcedure = "/vx.v1.OrgService/RepoAccess"
	// OrgServiceGrantSupportProcedure is the fully-qualified name of the OrgService's GrantSupport RPC.
	OrgServiceGrantSupportProcedure = "/vx.v1.OrgService/GrantSupport"
	// OrgServiceRevokeSupportProcedure is the fully-qualified name of the OrgService's RevokeSupport
	// RPC.
	OrgServiceRevokeSupportProcedure = "/vx.v1.OrgService/RevokeSupport"
	// OrgServiceListSupportProcedure is the fully-qualified name of the OrgService's ListSupport RPC.
	OrgServiceListSupportProcedure = "/vx.v1.OrgService/ListSupport"
	// OrgServiceCreatePersonProcedure is the fully-qualified name of the OrgService's CreatePerson RPC.
	OrgServiceCreatePersonProcedure = "/vx.v1.OrgService/CreatePerson"
	// OrgServiceListPeopleProcedure is the fully-qualified name of the OrgService's ListPeople RPC.
	OrgServiceListPeopleProcedure = "/vx.v1.OrgService/ListPeople"
	// OrgServiceGetOrgAgreementProcedure is the fully-qualified name of the OrgService's
	// GetOrgAgreement RPC.
	OrgServiceGetOrgAgreementProcedure = "/vx.v1.OrgService/GetOrgAgreement"
	// OrgServiceGetOrgChecksProcedure is the fully-qualified name of the OrgService's GetOrgChecks RPC.
	OrgServiceGetOrgChecksProcedure = "/vx.v1.OrgService/GetOrgChecks"
	// OrgServiceSetOrgChecksProcedure is the fully-qualified name of the OrgService's SetOrgChecks RPC.
	OrgServiceSetOrgChecksProcedure = "/vx.v1.OrgService/SetOrgChecks"
	// PublicServiceServerInfoProcedure is the fully-qualified name of the PublicService's ServerInfo
	// RPC.
	PublicServiceServerInfoProcedure = "/vx.v1.PublicService/ServerInfo"
	// PublicServiceStartCLILoginProcedure is the fully-qualified name of the PublicService's
	// StartCLILogin RPC.
	PublicServiceStartCLILoginProcedure = "/vx.v1.PublicService/StartCLILogin"
	// PublicServicePollCLILoginProcedure is the fully-qualified name of the PublicService's
	// PollCLILogin RPC.
	PublicServicePollCLILoginProcedure = "/vx.v1.PublicService/PollCLILogin"
	// RulesServiceGetRulesProcedure is the fully-qualified name of the RulesService's GetRules RPC.
	RulesServiceGetRulesProcedure = "/vx.v1.RulesService/GetRules"
	// RulesServiceReserveProcedure is the fully-qualified name of the RulesService's Reserve RPC.
	RulesServiceReserveProcedure = "/vx.v1.RulesService/Reserve"
	// RulesServiceListReservationsProcedure is the fully-qualified name of the RulesService's
	// ListReservations RPC.
	RulesServiceListReservationsProcedure = "/vx.v1.RulesService/ListReservations"
	// ReviewServiceListReviewsProcedure is the fully-qualified name of the ReviewService's ListReviews
	// RPC.
	ReviewServiceListReviewsProcedure = "/vx.v1.ReviewService/ListReviews"
	// ReviewServiceGetReviewProcedure is the fully-qualified name of the ReviewService's GetReview RPC.
	ReviewServiceGetReviewProcedure = "/vx.v1.ReviewService/GetReview"
	// ReviewServiceApproveReviewProcedure is the fully-qualified name of the ReviewService's
	// ApproveReview RPC.
	ReviewServiceApproveReviewProcedure = "/vx.v1.ReviewService/ApproveReview"
	// ReviewServiceRejectReviewProcedure is the fully-qualified name of the ReviewService's
	// RejectReview RPC.
	ReviewServiceRejectReviewProcedure = "/vx.v1.ReviewService/RejectReview"
	// CheckServiceReportCheckProcedure is the fully-qualified name of the CheckService's ReportCheck
	// RPC.
	CheckServiceReportCheckProcedure = "/vx.v1.CheckService/ReportCheck"
	// CheckServiceCheckStatusProcedure is the fully-qualified name of the CheckService's CheckStatus
	// RPC.
	CheckServiceCheckStatusProcedure = "/vx.v1.CheckService/CheckStatus"
	// CheckServiceGetCheckResultProcedure is the fully-qualified name of the CheckService's
	// GetCheckResult RPC.
	CheckServiceGetCheckResultProcedure = "/vx.v1.CheckService/GetCheckResult"
	// CheckServiceGetCheckArtifactProcedure is the fully-qualified name of the CheckService's
	// GetCheckArtifact RPC.
	CheckServiceGetCheckArtifactProcedure = "/vx.v1.CheckService/GetCheckArtifact"
	// CheckQueueServiceRequestCheckProcedure is the fully-qualified name of the CheckQueueService's
	// RequestCheck RPC.
	CheckQueueServiceRequestCheckProcedure = "/vx.v1.CheckQueueService/RequestCheck"
	// CheckQueueServiceNextCheckJobProcedure is the fully-qualified name of the CheckQueueService's
	// NextCheckJob RPC.
	CheckQueueServiceNextCheckJobProcedure = "/vx.v1.CheckQueueService/NextCheckJob"
	// CheckQueueServiceGetCheckJobProcedure is the fully-qualified name of the CheckQueueService's
	// GetCheckJob RPC.
	CheckQueueServiceGetCheckJobProcedure = "/vx.v1.CheckQueueService/GetCheckJob"
	// CheckQueueServiceRenewCheckJobProcedure is the fully-qualified name of the CheckQueueService's
	// RenewCheckJob RPC.
	CheckQueueServiceRenewCheckJobProcedure = "/vx.v1.CheckQueueService/RenewCheckJob"
	// CheckQueueServiceReleaseCheckJobProcedure is the fully-qualified name of the CheckQueueService's
	// ReleaseCheckJob RPC.
	CheckQueueServiceReleaseCheckJobProcedure = "/vx.v1.CheckQueueService/ReleaseCheckJob"
	// CheckQueueServiceListCheckJobsProcedure is the fully-qualified name of the CheckQueueService's
	// ListCheckJobs RPC.
	CheckQueueServiceListCheckJobsProcedure = "/vx.v1.CheckQueueService/ListCheckJobs"
	// CheckQueueServiceGetAgentRunnerProcedure is the fully-qualified name of the CheckQueueService's
	// GetAgentRunner RPC.
	CheckQueueServiceGetAgentRunnerProcedure = "/vx.v1.CheckQueueService/GetAgentRunner"
	// CheckQueueServiceSetAgentRunnerProcedure is the fully-qualified name of the CheckQueueService's
	// SetAgentRunner RPC.
	CheckQueueServiceSetAgentRunnerProcedure = "/vx.v1.CheckQueueService/SetAgentRunner"
	// CheckQueueServiceCreateCITokenProcedure is the fully-qualified name of the CheckQueueService's
	// CreateCIToken RPC.
	CheckQueueServiceCreateCITokenProcedure = "/vx.v1.CheckQueueService/CreateCIToken"
	// CheckQueueServiceListCITokensProcedure is the fully-qualified name of the CheckQueueService's
	// ListCITokens RPC.
	CheckQueueServiceListCITokensProcedure = "/vx.v1.CheckQueueService/ListCITokens"
	// CheckQueueServiceRevokeCITokenProcedure is the fully-qualified name of the CheckQueueService's
	// RevokeCIToken RPC.
	CheckQueueServiceRevokeCITokenProcedure = "/vx.v1.CheckQueueService/RevokeCIToken"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

Variables

This section is empty.

Functions

func NewAuthServiceHandler

func NewAuthServiceHandler(svc AuthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewAuthServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewBoardServiceHandler added in v0.2.0

func NewBoardServiceHandler(svc BoardServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewBoardServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewCheckQueueServiceHandler added in v0.7.0

func NewCheckQueueServiceHandler(svc CheckQueueServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewCheckQueueServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewCheckServiceHandler added in v0.7.0

func NewCheckServiceHandler(svc CheckServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewCheckServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewCoordinationServiceHandler added in v0.2.0

func NewCoordinationServiceHandler(svc CoordinationServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewCoordinationServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewEffortServiceHandler

func NewEffortServiceHandler(svc EffortServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewEffortServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewObjectServiceHandler

func NewObjectServiceHandler(svc ObjectServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewObjectServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewOrgServiceHandler added in v0.2.0

func NewOrgServiceHandler(svc OrgServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewOrgServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewPublicServiceHandler added in v0.2.0

func NewPublicServiceHandler(svc PublicServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewPublicServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewRepoServiceHandler

func NewRepoServiceHandler(svc RepoServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewRepoServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewReviewServiceHandler added in v0.4.0

func NewReviewServiceHandler(svc ReviewServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewReviewServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewRulesServiceHandler added in v0.3.0

func NewRulesServiceHandler(svc RulesServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewRulesServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewShipServiceHandler

func NewShipServiceHandler(svc ShipServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewShipServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewWorkspaceServiceHandler

func NewWorkspaceServiceHandler(svc WorkspaceServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewWorkspaceServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

Types

type AuthServiceClient

type AuthServiceClient interface {
	WhoAmI(context.Context, *connect.Request[v1.WhoAmIRequest]) (*connect.Response[v1.WhoAmIResponse], error)
	// CreateAgent creates an agent that acts for the caller and returns its token.
	CreateAgent(context.Context, *connect.Request[v1.CreateAgentRequest]) (*connect.Response[v1.CreateAgentResponse], error)
	// ListAgents lists the caller's agents with a summary of their tokens.
	// Only people have agents.
	ListAgents(context.Context, *connect.Request[v1.ListAgentsRequest]) (*connect.Response[v1.ListAgentsResponse], error)
	// ListTokens lists the tokens of the caller or of one of the caller's
	// agents. Secrets are never returned.
	ListTokens(context.Context, *connect.Request[v1.ListTokensRequest]) (*connect.Response[v1.ListTokensResponse], error)
	// RevokeToken revokes a token of the caller or of one of the caller's
	// agents. Revoking the token the request is made with needs allow_current.
	RevokeToken(context.Context, *connect.Request[v1.RevokeTokenRequest]) (*connect.Response[v1.RevokeTokenResponse], error)
	// CreateToken issues a new token to the caller or to one of the caller's
	// agents. Only people can create tokens: a leaked agent token must not be
	// able to mint replacements that outlive its revocation.
	CreateToken(context.Context, *connect.Request[v1.CreateTokenRequest]) (*connect.Response[v1.CreateTokenResponse], error)
	// CreateLoginCode returns a one-time code that signs the caller in to the
	// web UI (vx ui). It expires after two minutes and works once.
	CreateLoginCode(context.Context, *connect.Request[v1.CreateLoginCodeRequest]) (*connect.Response[v1.CreateLoginCodeResponse], error)
	// GetAgent returns an agent with its path scope, budgets and today's
	// usage. An agent may read its own (agent empty), a person their agents',
	// a superadmin anyone's.
	GetAgent(context.Context, *connect.Request[v1.GetAgentRequest]) (*connect.Response[v1.GetAgentResponse], error)
	// SetAgentScope changes an agent's path scope and budgets. Only the
	// agent's person or a superadmin may; an agent cannot, not even its own.
	SetAgentScope(context.Context, *connect.Request[v1.SetAgentScopeRequest]) (*connect.Response[v1.SetAgentScopeResponse], error)
}

AuthServiceClient is a client for the vx.v1.AuthService service.

func NewAuthServiceClient

func NewAuthServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AuthServiceClient

NewAuthServiceClient constructs a client for the vx.v1.AuthService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type AuthServiceHandler

type AuthServiceHandler interface {
	WhoAmI(context.Context, *connect.Request[v1.WhoAmIRequest]) (*connect.Response[v1.WhoAmIResponse], error)
	// CreateAgent creates an agent that acts for the caller and returns its token.
	CreateAgent(context.Context, *connect.Request[v1.CreateAgentRequest]) (*connect.Response[v1.CreateAgentResponse], error)
	// ListAgents lists the caller's agents with a summary of their tokens.
	// Only people have agents.
	ListAgents(context.Context, *connect.Request[v1.ListAgentsRequest]) (*connect.Response[v1.ListAgentsResponse], error)
	// ListTokens lists the tokens of the caller or of one of the caller's
	// agents. Secrets are never returned.
	ListTokens(context.Context, *connect.Request[v1.ListTokensRequest]) (*connect.Response[v1.ListTokensResponse], error)
	// RevokeToken revokes a token of the caller or of one of the caller's
	// agents. Revoking the token the request is made with needs allow_current.
	RevokeToken(context.Context, *connect.Request[v1.RevokeTokenRequest]) (*connect.Response[v1.RevokeTokenResponse], error)
	// CreateToken issues a new token to the caller or to one of the caller's
	// agents. Only people can create tokens: a leaked agent token must not be
	// able to mint replacements that outlive its revocation.
	CreateToken(context.Context, *connect.Request[v1.CreateTokenRequest]) (*connect.Response[v1.CreateTokenResponse], error)
	// CreateLoginCode returns a one-time code that signs the caller in to the
	// web UI (vx ui). It expires after two minutes and works once.
	CreateLoginCode(context.Context, *connect.Request[v1.CreateLoginCodeRequest]) (*connect.Response[v1.CreateLoginCodeResponse], error)
	// GetAgent returns an agent with its path scope, budgets and today's
	// usage. An agent may read its own (agent empty), a person their agents',
	// a superadmin anyone's.
	GetAgent(context.Context, *connect.Request[v1.GetAgentRequest]) (*connect.Response[v1.GetAgentResponse], error)
	// SetAgentScope changes an agent's path scope and budgets. Only the
	// agent's person or a superadmin may; an agent cannot, not even its own.
	SetAgentScope(context.Context, *connect.Request[v1.SetAgentScopeRequest]) (*connect.Response[v1.SetAgentScopeResponse], error)
}

AuthServiceHandler is an implementation of the vx.v1.AuthService service.

type BoardServiceClient added in v0.2.0

type BoardServiceClient interface {
	// PostNote adds a note to an effort's board. Questions go through Ask.
	PostNote(context.Context, *connect.Request[v1.PostNoteRequest]) (*connect.Response[v1.PostNoteResponse], error)
	// Ask posts a question, optionally to one principal, with a deadline after
	// which it escalates to the people involved.
	Ask(context.Context, *connect.Request[v1.AskRequest]) (*connect.Response[v1.AskResponse], error)
	// Answer replies to a question and marks it answered.
	Answer(context.Context, *connect.Request[v1.AnswerRequest]) (*connect.Response[v1.AnswerResponse], error)
	// ListNotes lists an effort's notes, newest first, optionally filtered.
	ListNotes(context.Context, *connect.Request[v1.ListNotesRequest]) (*connect.Response[v1.ListNotesResponse], error)
	// Inbox lists what needs the caller's attention across efforts.
	Inbox(context.Context, *connect.Request[v1.InboxRequest]) (*connect.Response[v1.InboxResponse], error)
	// Context returns everything an agent should know before touching some
	// paths or symbols: notes on them, who is working nearby, recent changes.
	Context(context.Context, *connect.Request[v1.ContextRequest]) (*connect.Response[v1.ContextResponse], error)
	// MarkRead records that the caller was shown some notes, so vx status,
	// inbox and the sync feed do not bring them up again.
	MarkRead(context.Context, *connect.Request[v1.MarkReadRequest]) (*connect.Response[v1.MarkReadResponse], error)
}

BoardServiceClient is a client for the vx.v1.BoardService service.

func NewBoardServiceClient added in v0.2.0

func NewBoardServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) BoardServiceClient

NewBoardServiceClient constructs a client for the vx.v1.BoardService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type BoardServiceHandler added in v0.2.0

type BoardServiceHandler interface {
	// PostNote adds a note to an effort's board. Questions go through Ask.
	PostNote(context.Context, *connect.Request[v1.PostNoteRequest]) (*connect.Response[v1.PostNoteResponse], error)
	// Ask posts a question, optionally to one principal, with a deadline after
	// which it escalates to the people involved.
	Ask(context.Context, *connect.Request[v1.AskRequest]) (*connect.Response[v1.AskResponse], error)
	// Answer replies to a question and marks it answered.
	Answer(context.Context, *connect.Request[v1.AnswerRequest]) (*connect.Response[v1.AnswerResponse], error)
	// ListNotes lists an effort's notes, newest first, optionally filtered.
	ListNotes(context.Context, *connect.Request[v1.ListNotesRequest]) (*connect.Response[v1.ListNotesResponse], error)
	// Inbox lists what needs the caller's attention across efforts.
	Inbox(context.Context, *connect.Request[v1.InboxRequest]) (*connect.Response[v1.InboxResponse], error)
	// Context returns everything an agent should know before touching some
	// paths or symbols: notes on them, who is working nearby, recent changes.
	Context(context.Context, *connect.Request[v1.ContextRequest]) (*connect.Response[v1.ContextResponse], error)
	// MarkRead records that the caller was shown some notes, so vx status,
	// inbox and the sync feed do not bring them up again.
	MarkRead(context.Context, *connect.Request[v1.MarkReadRequest]) (*connect.Response[v1.MarkReadResponse], error)
}

BoardServiceHandler is an implementation of the vx.v1.BoardService service.

type CheckQueueServiceClient added in v0.7.0

type CheckQueueServiceClient interface {
	// Make a job for a check with a runner, on the effort head or one change.
	RequestCheck(context.Context, *connect.Request[v1.RequestCheckRequest]) (*connect.Response[v1.RequestCheckResponse], error)
	// Take the oldest job the caller may run, with a lease; no job: empty.
	NextCheckJob(context.Context, *connect.Request[v1.NextCheckJobRequest]) (*connect.Response[v1.NextCheckJobResponse], error)
	GetCheckJob(context.Context, *connect.Request[v1.GetCheckJobRequest]) (*connect.Response[v1.GetCheckJobResponse], error)
	RenewCheckJob(context.Context, *connect.Request[v1.RenewCheckJobRequest]) (*connect.Response[v1.RenewCheckJobResponse], error)
	// Give a leased job back without counting an attempt.
	ReleaseCheckJob(context.Context, *connect.Request[v1.ReleaseCheckJobRequest]) (*connect.Response[v1.ReleaseCheckJobResponse], error)
	ListCheckJobs(context.Context, *connect.Request[v1.ListCheckJobsRequest]) (*connect.Response[v1.ListCheckJobsResponse], error)
	// Which runner kinds an agent serves (set by its person).
	GetAgentRunner(context.Context, *connect.Request[v1.GetAgentRunnerRequest]) (*connect.Response[v1.GetAgentRunnerResponse], error)
	SetAgentRunner(context.Context, *connect.Request[v1.SetAgentRunnerRequest]) (*connect.Response[v1.SetAgentRunnerResponse], error)
	// CI tokens: service principals that only report results on one repository.
	CreateCIToken(context.Context, *connect.Request[v1.CreateCITokenRequest]) (*connect.Response[v1.CreateCITokenResponse], error)
	ListCITokens(context.Context, *connect.Request[v1.ListCITokensRequest]) (*connect.Response[v1.ListCITokensResponse], error)
	RevokeCIToken(context.Context, *connect.Request[v1.RevokeCITokenRequest]) (*connect.Response[v1.RevokeCITokenResponse], error)
}

CheckQueueServiceClient is a client for the vx.v1.CheckQueueService service.

func NewCheckQueueServiceClient added in v0.7.0

func NewCheckQueueServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) CheckQueueServiceClient

NewCheckQueueServiceClient constructs a client for the vx.v1.CheckQueueService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type CheckQueueServiceHandler added in v0.7.0

type CheckQueueServiceHandler interface {
	// Make a job for a check with a runner, on the effort head or one change.
	RequestCheck(context.Context, *connect.Request[v1.RequestCheckRequest]) (*connect.Response[v1.RequestCheckResponse], error)
	// Take the oldest job the caller may run, with a lease; no job: empty.
	NextCheckJob(context.Context, *connect.Request[v1.NextCheckJobRequest]) (*connect.Response[v1.NextCheckJobResponse], error)
	GetCheckJob(context.Context, *connect.Request[v1.GetCheckJobRequest]) (*connect.Response[v1.GetCheckJobResponse], error)
	RenewCheckJob(context.Context, *connect.Request[v1.RenewCheckJobRequest]) (*connect.Response[v1.RenewCheckJobResponse], error)
	// Give a leased job back without counting an attempt.
	ReleaseCheckJob(context.Context, *connect.Request[v1.ReleaseCheckJobRequest]) (*connect.Response[v1.ReleaseCheckJobResponse], error)
	ListCheckJobs(context.Context, *connect.Request[v1.ListCheckJobsRequest]) (*connect.Response[v1.ListCheckJobsResponse], error)
	// Which runner kinds an agent serves (set by its person).
	GetAgentRunner(context.Context, *connect.Request[v1.GetAgentRunnerRequest]) (*connect.Response[v1.GetAgentRunnerResponse], error)
	SetAgentRunner(context.Context, *connect.Request[v1.SetAgentRunnerRequest]) (*connect.Response[v1.SetAgentRunnerResponse], error)
	// CI tokens: service principals that only report results on one repository.
	CreateCIToken(context.Context, *connect.Request[v1.CreateCITokenRequest]) (*connect.Response[v1.CreateCITokenResponse], error)
	ListCITokens(context.Context, *connect.Request[v1.ListCITokensRequest]) (*connect.Response[v1.ListCITokensResponse], error)
	RevokeCIToken(context.Context, *connect.Request[v1.RevokeCITokenRequest]) (*connect.Response[v1.RevokeCITokenResponse], error)
}

CheckQueueServiceHandler is an implementation of the vx.v1.CheckQueueService service.

type CheckServiceClient added in v0.7.0

type CheckServiceClient interface {
	ReportCheck(context.Context, *connect.Request[v1.ReportCheckRequest]) (*connect.Response[v1.ReportCheckResponse], error)
	// What a change still needs: every check with its state on the tree.
	CheckStatus(context.Context, *connect.Request[v1.CheckStatusRequest]) (*connect.Response[v1.CheckStatusResponse], error)
	GetCheckResult(context.Context, *connect.Request[v1.GetCheckResultRequest]) (*connect.Response[v1.GetCheckResultResponse], error)
	// One artifact of a result, or its log.
	GetCheckArtifact(context.Context, *connect.Request[v1.GetCheckArtifactRequest]) (*connect.Response[v1.GetCheckArtifactResponse], error)
}

CheckServiceClient is a client for the vx.v1.CheckService service.

func NewCheckServiceClient added in v0.7.0

func NewCheckServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) CheckServiceClient

NewCheckServiceClient constructs a client for the vx.v1.CheckService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type CheckServiceHandler added in v0.7.0

type CheckServiceHandler interface {
	ReportCheck(context.Context, *connect.Request[v1.ReportCheckRequest]) (*connect.Response[v1.ReportCheckResponse], error)
	// What a change still needs: every check with its state on the tree.
	CheckStatus(context.Context, *connect.Request[v1.CheckStatusRequest]) (*connect.Response[v1.CheckStatusResponse], error)
	GetCheckResult(context.Context, *connect.Request[v1.GetCheckResultRequest]) (*connect.Response[v1.GetCheckResultResponse], error)
	// One artifact of a result, or its log.
	GetCheckArtifact(context.Context, *connect.Request[v1.GetCheckArtifactRequest]) (*connect.Response[v1.GetCheckArtifactResponse], error)
}

CheckServiceHandler is an implementation of the vx.v1.CheckService service.

type CoordinationServiceClient added in v0.2.0

CoordinationServiceClient is a client for the vx.v1.CoordinationService service.

func NewCoordinationServiceClient added in v0.2.0

func NewCoordinationServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) CoordinationServiceClient

NewCoordinationServiceClient constructs a client for the vx.v1.CoordinationService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type EffortServiceClient

type EffortServiceClient interface {
	CreateEffort(context.Context, *connect.Request[v1.CreateEffortRequest]) (*connect.Response[v1.CreateEffortResponse], error)
	GetEffort(context.Context, *connect.Request[v1.GetEffortRequest]) (*connect.Response[v1.GetEffortResponse], error)
	ListEfforts(context.Context, *connect.Request[v1.ListEffortsRequest]) (*connect.Response[v1.ListEffortsResponse], error)
	// CloseEffort marks an effort merged or abandoned. vx also marks efforts
	// merged by itself once their target branch contains every change.
	CloseEffort(context.Context, *connect.Request[v1.CloseEffortRequest]) (*connect.Response[v1.CloseEffortResponse], error)
	// ListOverlaps returns the forecast collisions of an effort with the
	// repository's other open efforts.
	ListOverlaps(context.Context, *connect.Request[v1.ListOverlapsRequest]) (*connect.Response[v1.ListOverlapsResponse], error)
	// Log lists the changes landed in an effort, newest first.
	Log(context.Context, *connect.Request[v1.LogRequest]) (*connect.Response[v1.LogResponse], error)
	GetChangeset(context.Context, *connect.Request[v1.GetChangesetRequest]) (*connect.Response[v1.GetChangesetResponse], error)
	// RebaseEffort replays the effort's changes onto the latest head of a
	// branch (default: its base branch). It finishes, or stops on the first
	// change that conflicts.
	RebaseEffort(context.Context, *connect.Request[v1.RebaseEffortRequest]) (*connect.Response[v1.RebaseEffortResponse], error)
	// ContinueRebase records the resolution of the change a rebase stopped on
	// and replays the rest. It may stop again.
	ContinueRebase(context.Context, *connect.Request[v1.ContinueRebaseRequest]) (*connect.Response[v1.ContinueRebaseResponse], error)
	// AbortRebase drops the rebase in progress; the effort stays as it was.
	AbortRebase(context.Context, *connect.Request[v1.AbortRebaseRequest]) (*connect.Response[v1.AbortRebaseResponse], error)
	// GetRebase returns the rebase in progress, or else the latest one.
	GetRebase(context.Context, *connect.Request[v1.GetRebaseRequest]) (*connect.Response[v1.GetRebaseResponse], error)
}

EffortServiceClient is a client for the vx.v1.EffortService service.

func NewEffortServiceClient

func NewEffortServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) EffortServiceClient

NewEffortServiceClient constructs a client for the vx.v1.EffortService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type EffortServiceHandler

type EffortServiceHandler interface {
	CreateEffort(context.Context, *connect.Request[v1.CreateEffortRequest]) (*connect.Response[v1.CreateEffortResponse], error)
	GetEffort(context.Context, *connect.Request[v1.GetEffortRequest]) (*connect.Response[v1.GetEffortResponse], error)
	ListEfforts(context.Context, *connect.Request[v1.ListEffortsRequest]) (*connect.Response[v1.ListEffortsResponse], error)
	// CloseEffort marks an effort merged or abandoned. vx also marks efforts
	// merged by itself once their target branch contains every change.
	CloseEffort(context.Context, *connect.Request[v1.CloseEffortRequest]) (*connect.Response[v1.CloseEffortResponse], error)
	// ListOverlaps returns the forecast collisions of an effort with the
	// repository's other open efforts.
	ListOverlaps(context.Context, *connect.Request[v1.ListOverlapsRequest]) (*connect.Response[v1.ListOverlapsResponse], error)
	// Log lists the changes landed in an effort, newest first.
	Log(context.Context, *connect.Request[v1.LogRequest]) (*connect.Response[v1.LogResponse], error)
	GetChangeset(context.Context, *connect.Request[v1.GetChangesetRequest]) (*connect.Response[v1.GetChangesetResponse], error)
	// RebaseEffort replays the effort's changes onto the latest head of a
	// branch (default: its base branch). It finishes, or stops on the first
	// change that conflicts.
	RebaseEffort(context.Context, *connect.Request[v1.RebaseEffortRequest]) (*connect.Response[v1.RebaseEffortResponse], error)
	// ContinueRebase records the resolution of the change a rebase stopped on
	// and replays the rest. It may stop again.
	ContinueRebase(context.Context, *connect.Request[v1.ContinueRebaseRequest]) (*connect.Response[v1.ContinueRebaseResponse], error)
	// AbortRebase drops the rebase in progress; the effort stays as it was.
	AbortRebase(context.Context, *connect.Request[v1.AbortRebaseRequest]) (*connect.Response[v1.AbortRebaseResponse], error)
	// GetRebase returns the rebase in progress, or else the latest one.
	GetRebase(context.Context, *connect.Request[v1.GetRebaseRequest]) (*connect.Response[v1.GetRebaseResponse], error)
}

EffortServiceHandler is an implementation of the vx.v1.EffortService service.

type ObjectServiceClient

ObjectServiceClient is a client for the vx.v1.ObjectService service.

func NewObjectServiceClient

func NewObjectServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ObjectServiceClient

NewObjectServiceClient constructs a client for the vx.v1.ObjectService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type ObjectServiceHandler

ObjectServiceHandler is an implementation of the vx.v1.ObjectService service.

type OrgServiceClient added in v0.2.0

type OrgServiceClient interface {
	CreateOrg(context.Context, *connect.Request[v1.CreateOrgRequest]) (*connect.Response[v1.CreateOrgResponse], error)
	ListOrgs(context.Context, *connect.Request[v1.ListOrgsRequest]) (*connect.Response[v1.ListOrgsResponse], error)
	GetOrg(context.Context, *connect.Request[v1.GetOrgRequest]) (*connect.Response[v1.GetOrgResponse], error)
	UpdateOrg(context.Context, *connect.Request[v1.UpdateOrgRequest]) (*connect.Response[v1.UpdateOrgResponse], error)
	// Deleting an organization (owners, never agents; not personal ones): it
	// is hidden at once (its repositories are not found, it leaves every
	// list, its handle stays reserved), owners restore it until the grace
	// period ends, then the server purges it. The deletion record names no
	// repository: owners read it until the purge.
	DeleteOrg(context.Context, *connect.Request[v1.DeleteOrgRequest]) (*connect.Response[v1.DeleteOrgResponse], error)
	RestoreOrg(context.Context, *connect.Request[v1.RestoreOrgRequest]) (*connect.Response[v1.RestoreOrgResponse], error)
	GetOrgDeletion(context.Context, *connect.Request[v1.GetOrgDeletionRequest]) (*connect.Response[v1.GetOrgDeletionResponse], error)
	ListDeletedOrgs(context.Context, *connect.Request[v1.ListDeletedOrgsRequest]) (*connect.Response[v1.ListDeletedOrgsResponse], error)
	SetMember(context.Context, *connect.Request[v1.SetMemberRequest]) (*connect.Response[v1.SetMemberResponse], error)
	RemoveMember(context.Context, *connect.Request[v1.RemoveMemberRequest]) (*connect.Response[v1.RemoveMemberResponse], error)
	CreateTeam(context.Context, *connect.Request[v1.CreateTeamRequest]) (*connect.Response[v1.CreateTeamResponse], error)
	DeleteTeam(context.Context, *connect.Request[v1.DeleteTeamRequest]) (*connect.Response[v1.DeleteTeamResponse], error)
	SetTeamMember(context.Context, *connect.Request[v1.SetTeamMemberRequest]) (*connect.Response[v1.SetTeamMemberResponse], error)
	RemoveTeamMember(context.Context, *connect.Request[v1.RemoveTeamMemberRequest]) (*connect.Response[v1.RemoveTeamMemberResponse], error)
	GrantRepo(context.Context, *connect.Request[v1.GrantRepoRequest]) (*connect.Response[v1.GrantRepoResponse], error)
	RevokeRepo(context.Context, *connect.Request[v1.RevokeRepoRequest]) (*connect.Response[v1.RevokeRepoResponse], error)
	RepoAccess(context.Context, *connect.Request[v1.RepoAccessRequest]) (*connect.Response[v1.RepoAccessResponse], error)
	// Support access (repository admins): give a superadmin read or write on
	// one repository until a time, at most 30 days ahead; recorded in the
	// operation log. The superadmin may also end their own early.
	GrantSupport(context.Context, *connect.Request[v1.GrantSupportRequest]) (*connect.Response[v1.GrantSupportResponse], error)
	RevokeSupport(context.Context, *connect.Request[v1.RevokeSupportRequest]) (*connect.Response[v1.RevokeSupportResponse], error)
	ListSupport(context.Context, *connect.Request[v1.ListSupportRequest]) (*connect.Response[v1.ListSupportResponse], error)
	// People (superadmins): create people and list everyone on the server.
	CreatePerson(context.Context, *connect.Request[v1.CreatePersonRequest]) (*connect.Response[v1.CreatePersonResponse], error)
	ListPeople(context.Context, *connect.Request[v1.ListPeopleRequest]) (*connect.Response[v1.ListPeopleResponse], error)
	// The data processing agreement (servers with VX_REQUIRE_DPA): an
	// organization's status, every acceptance and, on request, a version's
	// text (members and superadmins). Accepting is not in the API: an owner
	// accepts in the web UI, as a deliberate act by a person.
	GetOrgAgreement(context.Context, *connect.Request[v1.GetOrgAgreementRequest]) (*connect.Response[v1.GetOrgAgreementResponse], error)
	// Organization checks (#47): [[check]] tables, as in vx.toml, for every
	// repository of the organization. Members and superadmins read them;
	// owners and admins (people, never agents) save a new version. Every
	// version is kept and every save is in the operation log (org.checks).
	GetOrgChecks(context.Context, *connect.Request[v1.GetOrgChecksRequest]) (*connect.Response[v1.GetOrgChecksResponse], error)
	SetOrgChecks(context.Context, *connect.Request[v1.SetOrgChecksRequest]) (*connect.Response[v1.SetOrgChecksResponse], error)
}

OrgServiceClient is a client for the vx.v1.OrgService service.

func NewOrgServiceClient added in v0.2.0

func NewOrgServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) OrgServiceClient

NewOrgServiceClient constructs a client for the vx.v1.OrgService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type OrgServiceHandler added in v0.2.0

type OrgServiceHandler interface {
	CreateOrg(context.Context, *connect.Request[v1.CreateOrgRequest]) (*connect.Response[v1.CreateOrgResponse], error)
	ListOrgs(context.Context, *connect.Request[v1.ListOrgsRequest]) (*connect.Response[v1.ListOrgsResponse], error)
	GetOrg(context.Context, *connect.Request[v1.GetOrgRequest]) (*connect.Response[v1.GetOrgResponse], error)
	UpdateOrg(context.Context, *connect.Request[v1.UpdateOrgRequest]) (*connect.Response[v1.UpdateOrgResponse], error)
	// Deleting an organization (owners, never agents; not personal ones): it
	// is hidden at once (its repositories are not found, it leaves every
	// list, its handle stays reserved), owners restore it until the grace
	// period ends, then the server purges it. The deletion record names no
	// repository: owners read it until the purge.
	DeleteOrg(context.Context, *connect.Request[v1.DeleteOrgRequest]) (*connect.Response[v1.DeleteOrgResponse], error)
	RestoreOrg(context.Context, *connect.Request[v1.RestoreOrgRequest]) (*connect.Response[v1.RestoreOrgResponse], error)
	GetOrgDeletion(context.Context, *connect.Request[v1.GetOrgDeletionRequest]) (*connect.Response[v1.GetOrgDeletionResponse], error)
	ListDeletedOrgs(context.Context, *connect.Request[v1.ListDeletedOrgsRequest]) (*connect.Response[v1.ListDeletedOrgsResponse], error)
	SetMember(context.Context, *connect.Request[v1.SetMemberRequest]) (*connect.Response[v1.SetMemberResponse], error)
	RemoveMember(context.Context, *connect.Request[v1.RemoveMemberRequest]) (*connect.Response[v1.RemoveMemberResponse], error)
	CreateTeam(context.Context, *connect.Request[v1.CreateTeamRequest]) (*connect.Response[v1.CreateTeamResponse], error)
	DeleteTeam(context.Context, *connect.Request[v1.DeleteTeamRequest]) (*connect.Response[v1.DeleteTeamResponse], error)
	SetTeamMember(context.Context, *connect.Request[v1.SetTeamMemberRequest]) (*connect.Response[v1.SetTeamMemberResponse], error)
	RemoveTeamMember(context.Context, *connect.Request[v1.RemoveTeamMemberRequest]) (*connect.Response[v1.RemoveTeamMemberResponse], error)
	GrantRepo(context.Context, *connect.Request[v1.GrantRepoRequest]) (*connect.Response[v1.GrantRepoResponse], error)
	RevokeRepo(context.Context, *connect.Request[v1.RevokeRepoRequest]) (*connect.Response[v1.RevokeRepoResponse], error)
	RepoAccess(context.Context, *connect.Request[v1.RepoAccessRequest]) (*connect.Response[v1.RepoAccessResponse], error)
	// Support access (repository admins): give a superadmin read or write on
	// one repository until a time, at most 30 days ahead; recorded in the
	// operation log. The superadmin may also end their own early.
	GrantSupport(context.Context, *connect.Request[v1.GrantSupportRequest]) (*connect.Response[v1.GrantSupportResponse], error)
	RevokeSupport(context.Context, *connect.Request[v1.RevokeSupportRequest]) (*connect.Response[v1.RevokeSupportResponse], error)
	ListSupport(context.Context, *connect.Request[v1.ListSupportRequest]) (*connect.Response[v1.ListSupportResponse], error)
	// People (superadmins): create people and list everyone on the server.
	CreatePerson(context.Context, *connect.Request[v1.CreatePersonRequest]) (*connect.Response[v1.CreatePersonResponse], error)
	ListPeople(context.Context, *connect.Request[v1.ListPeopleRequest]) (*connect.Response[v1.ListPeopleResponse], error)
	// The data processing agreement (servers with VX_REQUIRE_DPA): an
	// organization's status, every acceptance and, on request, a version's
	// text (members and superadmins). Accepting is not in the API: an owner
	// accepts in the web UI, as a deliberate act by a person.
	GetOrgAgreement(context.Context, *connect.Request[v1.GetOrgAgreementRequest]) (*connect.Response[v1.GetOrgAgreementResponse], error)
	// Organization checks (#47): [[check]] tables, as in vx.toml, for every
	// repository of the organization. Members and superadmins read them;
	// owners and admins (people, never agents) save a new version. Every
	// version is kept and every save is in the operation log (org.checks).
	GetOrgChecks(context.Context, *connect.Request[v1.GetOrgChecksRequest]) (*connect.Response[v1.GetOrgChecksResponse], error)
	SetOrgChecks(context.Context, *connect.Request[v1.SetOrgChecksRequest]) (*connect.Response[v1.SetOrgChecksResponse], error)
}

OrgServiceHandler is an implementation of the vx.v1.OrgService service.

type PublicServiceClient added in v0.2.0

type PublicServiceClient interface {
	// ServerInfo tells clients the server version and the oldest CLI it works
	// with, so either side can say "update vx" instead of failing oddly.
	ServerInfo(context.Context, *connect.Request[v1.ServerInfoRequest]) (*connect.Response[v1.ServerInfoResponse], error)
	// StartCLILogin begins a browser login: the CLI shows user_code and opens
	// verification_url; the person signs in and approves there.
	StartCLILogin(context.Context, *connect.Request[v1.StartCLILoginRequest]) (*connect.Response[v1.StartCLILoginResponse], error)
	// PollCLILogin returns the token once the person approved (exactly once).
	PollCLILogin(context.Context, *connect.Request[v1.PollCLILoginRequest]) (*connect.Response[v1.PollCLILoginResponse], error)
}

PublicServiceClient is a client for the vx.v1.PublicService service.

func NewPublicServiceClient added in v0.2.0

func NewPublicServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) PublicServiceClient

NewPublicServiceClient constructs a client for the vx.v1.PublicService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type PublicServiceHandler added in v0.2.0

type PublicServiceHandler interface {
	// ServerInfo tells clients the server version and the oldest CLI it works
	// with, so either side can say "update vx" instead of failing oddly.
	ServerInfo(context.Context, *connect.Request[v1.ServerInfoRequest]) (*connect.Response[v1.ServerInfoResponse], error)
	// StartCLILogin begins a browser login: the CLI shows user_code and opens
	// verification_url; the person signs in and approves there.
	StartCLILogin(context.Context, *connect.Request[v1.StartCLILoginRequest]) (*connect.Response[v1.StartCLILoginResponse], error)
	// PollCLILogin returns the token once the person approved (exactly once).
	PollCLILogin(context.Context, *connect.Request[v1.PollCLILoginRequest]) (*connect.Response[v1.PollCLILoginResponse], error)
}

PublicServiceHandler is an implementation of the vx.v1.PublicService service.

type RepoServiceClient

type RepoServiceClient interface {
	CreateRepo(context.Context, *connect.Request[v1.CreateRepoRequest]) (*connect.Response[v1.CreateRepoResponse], error)
	GetRepo(context.Context, *connect.Request[v1.GetRepoRequest]) (*connect.Response[v1.GetRepoResponse], error)
	ListRepos(context.Context, *connect.Request[v1.ListReposRequest]) (*connect.Response[v1.ListReposResponse], error)
	// SyncBranch imports the latest commits of an upstream branch.
	SyncBranch(context.Context, *connect.Request[v1.SyncBranchRequest]) (*connect.Response[v1.SyncBranchResponse], error)
	// SetRepoHost sets the token of a GitLab, Gitea, Forgejo or Bitbucket
	// repository or makes a new webhook secret for it (admin).
	SetRepoHost(context.Context, *connect.Request[v1.SetRepoHostRequest]) (*connect.Response[v1.SetRepoHostResponse], error)
}

RepoServiceClient is a client for the vx.v1.RepoService service.

func NewRepoServiceClient

func NewRepoServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) RepoServiceClient

NewRepoServiceClient constructs a client for the vx.v1.RepoService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type RepoServiceHandler

type RepoServiceHandler interface {
	CreateRepo(context.Context, *connect.Request[v1.CreateRepoRequest]) (*connect.Response[v1.CreateRepoResponse], error)
	GetRepo(context.Context, *connect.Request[v1.GetRepoRequest]) (*connect.Response[v1.GetRepoResponse], error)
	ListRepos(context.Context, *connect.Request[v1.ListReposRequest]) (*connect.Response[v1.ListReposResponse], error)
	// SyncBranch imports the latest commits of an upstream branch.
	SyncBranch(context.Context, *connect.Request[v1.SyncBranchRequest]) (*connect.Response[v1.SyncBranchResponse], error)
	// SetRepoHost sets the token of a GitLab, Gitea, Forgejo or Bitbucket
	// repository or makes a new webhook secret for it (admin).
	SetRepoHost(context.Context, *connect.Request[v1.SetRepoHostRequest]) (*connect.Response[v1.SetRepoHostResponse], error)
}

RepoServiceHandler is an implementation of the vx.v1.RepoService service.

type ReviewServiceClient added in v0.4.0

type ReviewServiceClient interface {
	ListReviews(context.Context, *connect.Request[v1.ListReviewsRequest]) (*connect.Response[v1.ListReviewsResponse], error)
	GetReview(context.Context, *connect.Request[v1.GetReviewRequest]) (*connect.Response[v1.GetReviewResponse], error)
	// ApproveReview lands the change onto the current effort head. When it
	// conflicts, the review stays pending and goes back to the author.
	ApproveReview(context.Context, *connect.Request[v1.ApproveReviewRequest]) (*connect.Response[v1.ApproveReviewResponse], error)
	RejectReview(context.Context, *connect.Request[v1.RejectReviewRequest]) (*connect.Response[v1.RejectReviewResponse], error)
}

ReviewServiceClient is a client for the vx.v1.ReviewService service.

func NewReviewServiceClient added in v0.4.0

func NewReviewServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ReviewServiceClient

NewReviewServiceClient constructs a client for the vx.v1.ReviewService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type ReviewServiceHandler added in v0.4.0

type ReviewServiceHandler interface {
	ListReviews(context.Context, *connect.Request[v1.ListReviewsRequest]) (*connect.Response[v1.ListReviewsResponse], error)
	GetReview(context.Context, *connect.Request[v1.GetReviewRequest]) (*connect.Response[v1.GetReviewResponse], error)
	// ApproveReview lands the change onto the current effort head. When it
	// conflicts, the review stays pending and goes back to the author.
	ApproveReview(context.Context, *connect.Request[v1.ApproveReviewRequest]) (*connect.Response[v1.ApproveReviewResponse], error)
	RejectReview(context.Context, *connect.Request[v1.RejectReviewRequest]) (*connect.Response[v1.RejectReviewResponse], error)
}

ReviewServiceHandler is an implementation of the vx.v1.ReviewService service.

type RulesServiceClient added in v0.3.0

type RulesServiceClient interface {
	// GetRules returns the rules at a ref (default: the effort head or the default branch).
	GetRules(context.Context, *connect.Request[v1.GetRulesRequest]) (*connect.Response[v1.GetRulesResponse], error)
	// Reserve hands out the next free value of a [[unique]] rule, across the
	// target branch, every open effort and earlier reservations.
	Reserve(context.Context, *connect.Request[v1.ReserveRequest]) (*connect.Response[v1.ReserveResponse], error)
	ListReservations(context.Context, *connect.Request[v1.ListReservationsRequest]) (*connect.Response[v1.ListReservationsResponse], error)
}

RulesServiceClient is a client for the vx.v1.RulesService service.

func NewRulesServiceClient added in v0.3.0

func NewRulesServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) RulesServiceClient

NewRulesServiceClient constructs a client for the vx.v1.RulesService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type RulesServiceHandler added in v0.3.0

type RulesServiceHandler interface {
	// GetRules returns the rules at a ref (default: the effort head or the default branch).
	GetRules(context.Context, *connect.Request[v1.GetRulesRequest]) (*connect.Response[v1.GetRulesResponse], error)
	// Reserve hands out the next free value of a [[unique]] rule, across the
	// target branch, every open effort and earlier reservations.
	Reserve(context.Context, *connect.Request[v1.ReserveRequest]) (*connect.Response[v1.ReserveResponse], error)
	ListReservations(context.Context, *connect.Request[v1.ListReservationsRequest]) (*connect.Response[v1.ListReservationsResponse], error)
}

RulesServiceHandler is an implementation of the vx.v1.RulesService service.

type ShipServiceClient

type ShipServiceClient interface {
	// PlanShipment shows the commits an effort would ship, replayed onto the
	// latest head of the target branch.
	PlanShipment(context.Context, *connect.Request[v1.PlanShipmentRequest]) (*connect.Response[v1.PlanShipmentResponse], error)
	// OpenShipment pushes vx/<effort> and opens or updates the pull request.
	// With split, it pushes vx/<effort>/<n>-<name> and opens or updates one
	// pull request per part.
	OpenShipment(context.Context, *connect.Request[v1.OpenShipmentRequest]) (*connect.Response[v1.OpenShipmentResponse], error)
	ListShipments(context.Context, *connect.Request[v1.ListShipmentsRequest]) (*connect.Response[v1.ListShipmentsResponse], error)
}

ShipServiceClient is a client for the vx.v1.ShipService service.

func NewShipServiceClient

func NewShipServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ShipServiceClient

NewShipServiceClient constructs a client for the vx.v1.ShipService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type ShipServiceHandler

type ShipServiceHandler interface {
	// PlanShipment shows the commits an effort would ship, replayed onto the
	// latest head of the target branch.
	PlanShipment(context.Context, *connect.Request[v1.PlanShipmentRequest]) (*connect.Response[v1.PlanShipmentResponse], error)
	// OpenShipment pushes vx/<effort> and opens or updates the pull request.
	// With split, it pushes vx/<effort>/<n>-<name> and opens or updates one
	// pull request per part.
	OpenShipment(context.Context, *connect.Request[v1.OpenShipmentRequest]) (*connect.Response[v1.OpenShipmentResponse], error)
	ListShipments(context.Context, *connect.Request[v1.ListShipmentsRequest]) (*connect.Response[v1.ListShipmentsResponse], error)
}

ShipServiceHandler is an implementation of the vx.v1.ShipService service.

type UnimplementedAuthServiceHandler

type UnimplementedAuthServiceHandler struct{}

UnimplementedAuthServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedAuthServiceHandler) CreateLoginCode added in v0.2.0

func (UnimplementedAuthServiceHandler) CreateToken added in v0.2.0

func (UnimplementedAuthServiceHandler) GetAgent added in v0.4.0

func (UnimplementedAuthServiceHandler) ListAgents added in v0.2.0

func (UnimplementedAuthServiceHandler) ListTokens added in v0.2.0

func (UnimplementedAuthServiceHandler) RevokeToken added in v0.2.0

func (UnimplementedAuthServiceHandler) SetAgentScope added in v0.4.0

type UnimplementedBoardServiceHandler added in v0.2.0

type UnimplementedBoardServiceHandler struct{}

UnimplementedBoardServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedBoardServiceHandler) Answer added in v0.2.0

func (UnimplementedBoardServiceHandler) Ask added in v0.2.0

func (UnimplementedBoardServiceHandler) Context added in v0.2.0

func (UnimplementedBoardServiceHandler) Inbox added in v0.2.0

func (UnimplementedBoardServiceHandler) ListNotes added in v0.2.0

func (UnimplementedBoardServiceHandler) MarkRead added in v0.3.0

func (UnimplementedBoardServiceHandler) PostNote added in v0.2.0

type UnimplementedCheckQueueServiceHandler added in v0.7.0

type UnimplementedCheckQueueServiceHandler struct{}

UnimplementedCheckQueueServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedCheckQueueServiceHandler) CreateCIToken added in v0.7.0

func (UnimplementedCheckQueueServiceHandler) GetAgentRunner added in v0.7.0

func (UnimplementedCheckQueueServiceHandler) GetCheckJob added in v0.7.0

func (UnimplementedCheckQueueServiceHandler) ListCITokens added in v0.7.0

func (UnimplementedCheckQueueServiceHandler) ListCheckJobs added in v0.7.0

func (UnimplementedCheckQueueServiceHandler) NextCheckJob added in v0.7.0

func (UnimplementedCheckQueueServiceHandler) ReleaseCheckJob added in v0.7.0

func (UnimplementedCheckQueueServiceHandler) RenewCheckJob added in v0.7.0

func (UnimplementedCheckQueueServiceHandler) RequestCheck added in v0.7.0

func (UnimplementedCheckQueueServiceHandler) RevokeCIToken added in v0.7.0

func (UnimplementedCheckQueueServiceHandler) SetAgentRunner added in v0.7.0

type UnimplementedCheckServiceHandler added in v0.7.0

type UnimplementedCheckServiceHandler struct{}

UnimplementedCheckServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedCheckServiceHandler) CheckStatus added in v0.7.0

func (UnimplementedCheckServiceHandler) GetCheckArtifact added in v0.7.0

func (UnimplementedCheckServiceHandler) GetCheckResult added in v0.7.0

func (UnimplementedCheckServiceHandler) ReportCheck added in v0.7.0

type UnimplementedCoordinationServiceHandler added in v0.2.0

type UnimplementedCoordinationServiceHandler struct{}

UnimplementedCoordinationServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedCoordinationServiceHandler) AddTask added in v0.2.0

func (UnimplementedCoordinationServiceHandler) Claim added in v0.2.0

func (UnimplementedCoordinationServiceHandler) ListClaims added in v0.2.0

func (UnimplementedCoordinationServiceHandler) ListTasks added in v0.2.0

func (UnimplementedCoordinationServiceHandler) Release added in v0.2.0

func (UnimplementedCoordinationServiceHandler) UpdateTask added in v0.2.0

type UnimplementedEffortServiceHandler

type UnimplementedEffortServiceHandler struct{}

UnimplementedEffortServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedEffortServiceHandler) AbortRebase added in v0.2.0

func (UnimplementedEffortServiceHandler) CloseEffort added in v0.3.0

func (UnimplementedEffortServiceHandler) ContinueRebase added in v0.2.0

func (UnimplementedEffortServiceHandler) GetRebase added in v0.2.0

func (UnimplementedEffortServiceHandler) ListOverlaps added in v0.3.0

func (UnimplementedEffortServiceHandler) Log

func (UnimplementedEffortServiceHandler) RebaseEffort added in v0.2.0

type UnimplementedObjectServiceHandler

type UnimplementedObjectServiceHandler struct{}

UnimplementedObjectServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedOrgServiceHandler added in v0.2.0

type UnimplementedOrgServiceHandler struct{}

UnimplementedOrgServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedOrgServiceHandler) CreateOrg added in v0.2.0

func (UnimplementedOrgServiceHandler) CreatePerson added in v0.2.0

func (UnimplementedOrgServiceHandler) CreateTeam added in v0.2.0

func (UnimplementedOrgServiceHandler) DeleteOrg added in v0.6.0

func (UnimplementedOrgServiceHandler) DeleteTeam added in v0.2.0

func (UnimplementedOrgServiceHandler) GetOrg added in v0.2.0

func (UnimplementedOrgServiceHandler) GetOrgAgreement added in v0.6.0

func (UnimplementedOrgServiceHandler) GetOrgChecks added in v0.7.0

func (UnimplementedOrgServiceHandler) GetOrgDeletion added in v0.6.0

func (UnimplementedOrgServiceHandler) GrantRepo added in v0.2.0

func (UnimplementedOrgServiceHandler) GrantSupport added in v0.5.0

func (UnimplementedOrgServiceHandler) ListDeletedOrgs added in v0.6.0

func (UnimplementedOrgServiceHandler) ListOrgs added in v0.2.0

func (UnimplementedOrgServiceHandler) ListPeople added in v0.2.0

func (UnimplementedOrgServiceHandler) ListSupport added in v0.5.0

func (UnimplementedOrgServiceHandler) RemoveMember added in v0.2.0

func (UnimplementedOrgServiceHandler) RemoveTeamMember added in v0.2.0

func (UnimplementedOrgServiceHandler) RepoAccess added in v0.2.0

func (UnimplementedOrgServiceHandler) RestoreOrg added in v0.6.0

func (UnimplementedOrgServiceHandler) RevokeRepo added in v0.2.0

func (UnimplementedOrgServiceHandler) RevokeSupport added in v0.5.0

func (UnimplementedOrgServiceHandler) SetMember added in v0.2.0

func (UnimplementedOrgServiceHandler) SetOrgChecks added in v0.7.0

func (UnimplementedOrgServiceHandler) SetTeamMember added in v0.2.0

func (UnimplementedOrgServiceHandler) UpdateOrg added in v0.2.0

type UnimplementedPublicServiceHandler added in v0.2.0

type UnimplementedPublicServiceHandler struct{}

UnimplementedPublicServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedPublicServiceHandler) PollCLILogin added in v0.2.0

func (UnimplementedPublicServiceHandler) ServerInfo added in v0.2.0

func (UnimplementedPublicServiceHandler) StartCLILogin added in v0.2.0

type UnimplementedRepoServiceHandler

type UnimplementedRepoServiceHandler struct{}

UnimplementedRepoServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedRepoServiceHandler) SetRepoHost added in v0.4.0

type UnimplementedReviewServiceHandler added in v0.4.0

type UnimplementedReviewServiceHandler struct{}

UnimplementedReviewServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedReviewServiceHandler) ApproveReview added in v0.4.0

func (UnimplementedReviewServiceHandler) GetReview added in v0.4.0

func (UnimplementedReviewServiceHandler) ListReviews added in v0.4.0

func (UnimplementedReviewServiceHandler) RejectReview added in v0.4.0

type UnimplementedRulesServiceHandler added in v0.3.0

type UnimplementedRulesServiceHandler struct{}

UnimplementedRulesServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedRulesServiceHandler) GetRules added in v0.3.0

func (UnimplementedRulesServiceHandler) ListReservations added in v0.3.0

func (UnimplementedRulesServiceHandler) Reserve added in v0.3.0

type UnimplementedShipServiceHandler

type UnimplementedShipServiceHandler struct{}

UnimplementedShipServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedWorkspaceServiceHandler

type UnimplementedWorkspaceServiceHandler struct{}

UnimplementedWorkspaceServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedWorkspaceServiceHandler) Land

func (UnimplementedWorkspaceServiceHandler) ReportChanges added in v0.3.0

type WorkspaceServiceClient

type WorkspaceServiceClient interface {
	OpenWorkspace(context.Context, *connect.Request[v1.OpenWorkspaceRequest]) (*connect.Response[v1.OpenWorkspaceResponse], error)
	GetWorkspace(context.Context, *connect.Request[v1.GetWorkspaceRequest]) (*connect.Response[v1.GetWorkspaceResponse], error)
	// SetBase records that the working copy was updated to a newer snapshot.
	SetBase(context.Context, *connect.Request[v1.SetBaseRequest]) (*connect.Response[v1.SetBaseResponse], error)
	// Land merges a snapshot into the effort.
	Land(context.Context, *connect.Request[v1.LandRequest]) (*connect.Response[v1.LandResponse], error)
	Abandon(context.Context, *connect.Request[v1.AbandonRequest]) (*connect.Response[v1.AbandonResponse], error)
	// ReportChanges records the files the working copy of an open workspace
	// changed, so vx context can say who works on which files.
	ReportChanges(context.Context, *connect.Request[v1.ReportChangesRequest]) (*connect.Response[v1.ReportChangesResponse], error)
}

WorkspaceServiceClient is a client for the vx.v1.WorkspaceService service.

func NewWorkspaceServiceClient

func NewWorkspaceServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) WorkspaceServiceClient

NewWorkspaceServiceClient constructs a client for the vx.v1.WorkspaceService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type WorkspaceServiceHandler

type WorkspaceServiceHandler interface {
	OpenWorkspace(context.Context, *connect.Request[v1.OpenWorkspaceRequest]) (*connect.Response[v1.OpenWorkspaceResponse], error)
	GetWorkspace(context.Context, *connect.Request[v1.GetWorkspaceRequest]) (*connect.Response[v1.GetWorkspaceResponse], error)
	// SetBase records that the working copy was updated to a newer snapshot.
	SetBase(context.Context, *connect.Request[v1.SetBaseRequest]) (*connect.Response[v1.SetBaseResponse], error)
	// Land merges a snapshot into the effort.
	Land(context.Context, *connect.Request[v1.LandRequest]) (*connect.Response[v1.LandResponse], error)
	Abandon(context.Context, *connect.Request[v1.AbandonRequest]) (*connect.Response[v1.AbandonResponse], error)
	// ReportChanges records the files the working copy of an open workspace
	// changed, so vx context can say who works on which files.
	ReportChanges(context.Context, *connect.Request[v1.ReportChangesRequest]) (*connect.Response[v1.ReportChangesResponse], error)
}

WorkspaceServiceHandler is an implementation of the vx.v1.WorkspaceService service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL