Documentation
¶
Index ¶
- Constants
- func NewAuthServiceHandler(svc AuthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewBoardServiceHandler(svc BoardServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewCoordinationServiceHandler(svc CoordinationServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewEffortServiceHandler(svc EffortServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewObjectServiceHandler(svc ObjectServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewOrgServiceHandler(svc OrgServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewPublicServiceHandler(svc PublicServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewRepoServiceHandler(svc RepoServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewShipServiceHandler(svc ShipServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewWorkspaceServiceHandler(svc WorkspaceServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- type AuthServiceClient
- type AuthServiceHandler
- type BoardServiceClient
- type BoardServiceHandler
- type CoordinationServiceClient
- type CoordinationServiceHandler
- type EffortServiceClient
- type EffortServiceHandler
- type ObjectServiceClient
- type ObjectServiceHandler
- type OrgServiceClient
- type OrgServiceHandler
- type PublicServiceClient
- type PublicServiceHandler
- type RepoServiceClient
- type RepoServiceHandler
- type ShipServiceClient
- type ShipServiceHandler
- type UnimplementedAuthServiceHandler
- func (UnimplementedAuthServiceHandler) CreateAgent(context.Context, *connect.Request[v1.CreateAgentRequest]) (*connect.Response[v1.CreateAgentResponse], error)
- func (UnimplementedAuthServiceHandler) CreateLoginCode(context.Context, *connect.Request[v1.CreateLoginCodeRequest]) (*connect.Response[v1.CreateLoginCodeResponse], error)
- func (UnimplementedAuthServiceHandler) CreateToken(context.Context, *connect.Request[v1.CreateTokenRequest]) (*connect.Response[v1.CreateTokenResponse], error)
- func (UnimplementedAuthServiceHandler) ListAgents(context.Context, *connect.Request[v1.ListAgentsRequest]) (*connect.Response[v1.ListAgentsResponse], error)
- func (UnimplementedAuthServiceHandler) ListTokens(context.Context, *connect.Request[v1.ListTokensRequest]) (*connect.Response[v1.ListTokensResponse], error)
- func (UnimplementedAuthServiceHandler) RevokeToken(context.Context, *connect.Request[v1.RevokeTokenRequest]) (*connect.Response[v1.RevokeTokenResponse], error)
- func (UnimplementedAuthServiceHandler) WhoAmI(context.Context, *connect.Request[v1.WhoAmIRequest]) (*connect.Response[v1.WhoAmIResponse], error)
- type UnimplementedBoardServiceHandler
- func (UnimplementedBoardServiceHandler) Answer(context.Context, *connect.Request[v1.AnswerRequest]) (*connect.Response[v1.AnswerResponse], error)
- func (UnimplementedBoardServiceHandler) Ask(context.Context, *connect.Request[v1.AskRequest]) (*connect.Response[v1.AskResponse], error)
- func (UnimplementedBoardServiceHandler) Context(context.Context, *connect.Request[v1.ContextRequest]) (*connect.Response[v1.ContextResponse], error)
- func (UnimplementedBoardServiceHandler) Inbox(context.Context, *connect.Request[v1.InboxRequest]) (*connect.Response[v1.InboxResponse], error)
- func (UnimplementedBoardServiceHandler) ListNotes(context.Context, *connect.Request[v1.ListNotesRequest]) (*connect.Response[v1.ListNotesResponse], error)
- func (UnimplementedBoardServiceHandler) PostNote(context.Context, *connect.Request[v1.PostNoteRequest]) (*connect.Response[v1.PostNoteResponse], error)
- type UnimplementedCoordinationServiceHandler
- func (UnimplementedCoordinationServiceHandler) AddTask(context.Context, *connect.Request[v1.AddTaskRequest]) (*connect.Response[v1.AddTaskResponse], error)
- func (UnimplementedCoordinationServiceHandler) Claim(context.Context, *connect.Request[v1.ClaimRequest]) (*connect.Response[v1.ClaimResponse], error)
- func (UnimplementedCoordinationServiceHandler) ListClaims(context.Context, *connect.Request[v1.ListClaimsRequest]) (*connect.Response[v1.ListClaimsResponse], error)
- func (UnimplementedCoordinationServiceHandler) ListTasks(context.Context, *connect.Request[v1.ListTasksRequest]) (*connect.Response[v1.ListTasksResponse], error)
- func (UnimplementedCoordinationServiceHandler) Release(context.Context, *connect.Request[v1.ReleaseRequest]) (*connect.Response[v1.ReleaseResponse], error)
- func (UnimplementedCoordinationServiceHandler) UpdateTask(context.Context, *connect.Request[v1.UpdateTaskRequest]) (*connect.Response[v1.UpdateTaskResponse], error)
- type UnimplementedEffortServiceHandler
- func (UnimplementedEffortServiceHandler) AbortRebase(context.Context, *connect.Request[v1.AbortRebaseRequest]) (*connect.Response[v1.AbortRebaseResponse], error)
- func (UnimplementedEffortServiceHandler) ContinueRebase(context.Context, *connect.Request[v1.ContinueRebaseRequest]) (*connect.Response[v1.ContinueRebaseResponse], error)
- func (UnimplementedEffortServiceHandler) CreateEffort(context.Context, *connect.Request[v1.CreateEffortRequest]) (*connect.Response[v1.CreateEffortResponse], error)
- func (UnimplementedEffortServiceHandler) GetChangeset(context.Context, *connect.Request[v1.GetChangesetRequest]) (*connect.Response[v1.GetChangesetResponse], error)
- func (UnimplementedEffortServiceHandler) GetEffort(context.Context, *connect.Request[v1.GetEffortRequest]) (*connect.Response[v1.GetEffortResponse], error)
- func (UnimplementedEffortServiceHandler) GetRebase(context.Context, *connect.Request[v1.GetRebaseRequest]) (*connect.Response[v1.GetRebaseResponse], error)
- func (UnimplementedEffortServiceHandler) ListEfforts(context.Context, *connect.Request[v1.ListEffortsRequest]) (*connect.Response[v1.ListEffortsResponse], error)
- func (UnimplementedEffortServiceHandler) Log(context.Context, *connect.Request[v1.LogRequest]) (*connect.Response[v1.LogResponse], error)
- func (UnimplementedEffortServiceHandler) RebaseEffort(context.Context, *connect.Request[v1.RebaseEffortRequest]) (*connect.Response[v1.RebaseEffortResponse], error)
- type UnimplementedObjectServiceHandler
- func (UnimplementedObjectServiceHandler) GetObjects(context.Context, *connect.Request[v1.GetObjectsRequest]) (*connect.Response[v1.GetObjectsResponse], error)
- func (UnimplementedObjectServiceHandler) MissingObjects(context.Context, *connect.Request[v1.MissingObjectsRequest]) (*connect.Response[v1.MissingObjectsResponse], error)
- func (UnimplementedObjectServiceHandler) PutObjects(context.Context, *connect.Request[v1.PutObjectsRequest]) (*connect.Response[v1.PutObjectsResponse], error)
- type UnimplementedOrgServiceHandler
- func (UnimplementedOrgServiceHandler) CreateOrg(context.Context, *connect.Request[v1.CreateOrgRequest]) (*connect.Response[v1.CreateOrgResponse], error)
- func (UnimplementedOrgServiceHandler) CreatePerson(context.Context, *connect.Request[v1.CreatePersonRequest]) (*connect.Response[v1.CreatePersonResponse], error)
- func (UnimplementedOrgServiceHandler) CreateTeam(context.Context, *connect.Request[v1.CreateTeamRequest]) (*connect.Response[v1.CreateTeamResponse], error)
- func (UnimplementedOrgServiceHandler) DeleteTeam(context.Context, *connect.Request[v1.DeleteTeamRequest]) (*connect.Response[v1.DeleteTeamResponse], error)
- func (UnimplementedOrgServiceHandler) GetOrg(context.Context, *connect.Request[v1.GetOrgRequest]) (*connect.Response[v1.GetOrgResponse], error)
- func (UnimplementedOrgServiceHandler) GrantRepo(context.Context, *connect.Request[v1.GrantRepoRequest]) (*connect.Response[v1.GrantRepoResponse], error)
- func (UnimplementedOrgServiceHandler) ListOrgs(context.Context, *connect.Request[v1.ListOrgsRequest]) (*connect.Response[v1.ListOrgsResponse], error)
- func (UnimplementedOrgServiceHandler) ListPeople(context.Context, *connect.Request[v1.ListPeopleRequest]) (*connect.Response[v1.ListPeopleResponse], error)
- func (UnimplementedOrgServiceHandler) RemoveMember(context.Context, *connect.Request[v1.RemoveMemberRequest]) (*connect.Response[v1.RemoveMemberResponse], error)
- func (UnimplementedOrgServiceHandler) RemoveTeamMember(context.Context, *connect.Request[v1.RemoveTeamMemberRequest]) (*connect.Response[v1.RemoveTeamMemberResponse], error)
- func (UnimplementedOrgServiceHandler) RepoAccess(context.Context, *connect.Request[v1.RepoAccessRequest]) (*connect.Response[v1.RepoAccessResponse], error)
- func (UnimplementedOrgServiceHandler) RevokeRepo(context.Context, *connect.Request[v1.RevokeRepoRequest]) (*connect.Response[v1.RevokeRepoResponse], error)
- func (UnimplementedOrgServiceHandler) SetMember(context.Context, *connect.Request[v1.SetMemberRequest]) (*connect.Response[v1.SetMemberResponse], error)
- func (UnimplementedOrgServiceHandler) SetTeamMember(context.Context, *connect.Request[v1.SetTeamMemberRequest]) (*connect.Response[v1.SetTeamMemberResponse], error)
- func (UnimplementedOrgServiceHandler) UpdateOrg(context.Context, *connect.Request[v1.UpdateOrgRequest]) (*connect.Response[v1.UpdateOrgResponse], error)
- type UnimplementedPublicServiceHandler
- func (UnimplementedPublicServiceHandler) PollCLILogin(context.Context, *connect.Request[v1.PollCLILoginRequest]) (*connect.Response[v1.PollCLILoginResponse], error)
- func (UnimplementedPublicServiceHandler) ServerInfo(context.Context, *connect.Request[v1.ServerInfoRequest]) (*connect.Response[v1.ServerInfoResponse], error)
- func (UnimplementedPublicServiceHandler) StartCLILogin(context.Context, *connect.Request[v1.StartCLILoginRequest]) (*connect.Response[v1.StartCLILoginResponse], error)
- type UnimplementedRepoServiceHandler
- func (UnimplementedRepoServiceHandler) CreateRepo(context.Context, *connect.Request[v1.CreateRepoRequest]) (*connect.Response[v1.CreateRepoResponse], error)
- func (UnimplementedRepoServiceHandler) GetRepo(context.Context, *connect.Request[v1.GetRepoRequest]) (*connect.Response[v1.GetRepoResponse], error)
- func (UnimplementedRepoServiceHandler) ListRepos(context.Context, *connect.Request[v1.ListReposRequest]) (*connect.Response[v1.ListReposResponse], error)
- func (UnimplementedRepoServiceHandler) SyncBranch(context.Context, *connect.Request[v1.SyncBranchRequest]) (*connect.Response[v1.SyncBranchResponse], error)
- type UnimplementedShipServiceHandler
- func (UnimplementedShipServiceHandler) ListShipments(context.Context, *connect.Request[v1.ListShipmentsRequest]) (*connect.Response[v1.ListShipmentsResponse], error)
- func (UnimplementedShipServiceHandler) OpenShipment(context.Context, *connect.Request[v1.OpenShipmentRequest]) (*connect.Response[v1.OpenShipmentResponse], error)
- func (UnimplementedShipServiceHandler) PlanShipment(context.Context, *connect.Request[v1.PlanShipmentRequest]) (*connect.Response[v1.PlanShipmentResponse], error)
- type UnimplementedWorkspaceServiceHandler
- func (UnimplementedWorkspaceServiceHandler) Abandon(context.Context, *connect.Request[v1.AbandonRequest]) (*connect.Response[v1.AbandonResponse], error)
- func (UnimplementedWorkspaceServiceHandler) GetWorkspace(context.Context, *connect.Request[v1.GetWorkspaceRequest]) (*connect.Response[v1.GetWorkspaceResponse], error)
- func (UnimplementedWorkspaceServiceHandler) Land(context.Context, *connect.Request[v1.LandRequest]) (*connect.Response[v1.LandResponse], error)
- func (UnimplementedWorkspaceServiceHandler) OpenWorkspace(context.Context, *connect.Request[v1.OpenWorkspaceRequest]) (*connect.Response[v1.OpenWorkspaceResponse], error)
- func (UnimplementedWorkspaceServiceHandler) SetBase(context.Context, *connect.Request[v1.SetBaseRequest]) (*connect.Response[v1.SetBaseResponse], error)
- type WorkspaceServiceClient
- type WorkspaceServiceHandler
Constants ¶
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" )
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" // 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" // 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" // 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" // 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" // 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" // 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" // 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" // 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" )
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 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 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)
}
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)
}
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)
}
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)
}
BoardServiceHandler is an implementation of the vx.v1.BoardService service.
type CoordinationServiceClient ¶ added in v0.2.0
type CoordinationServiceClient interface {
Claim(context.Context, *connect.Request[v1.ClaimRequest]) (*connect.Response[v1.ClaimResponse], error)
Release(context.Context, *connect.Request[v1.ReleaseRequest]) (*connect.Response[v1.ReleaseResponse], error)
ListClaims(context.Context, *connect.Request[v1.ListClaimsRequest]) (*connect.Response[v1.ListClaimsResponse], error)
AddTask(context.Context, *connect.Request[v1.AddTaskRequest]) (*connect.Response[v1.AddTaskResponse], error)
UpdateTask(context.Context, *connect.Request[v1.UpdateTaskRequest]) (*connect.Response[v1.UpdateTaskResponse], error)
ListTasks(context.Context, *connect.Request[v1.ListTasksRequest]) (*connect.Response[v1.ListTasksResponse], error)
}
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 CoordinationServiceHandler ¶ added in v0.2.0
type CoordinationServiceHandler interface {
Claim(context.Context, *connect.Request[v1.ClaimRequest]) (*connect.Response[v1.ClaimResponse], error)
Release(context.Context, *connect.Request[v1.ReleaseRequest]) (*connect.Response[v1.ReleaseResponse], error)
ListClaims(context.Context, *connect.Request[v1.ListClaimsRequest]) (*connect.Response[v1.ListClaimsResponse], error)
AddTask(context.Context, *connect.Request[v1.AddTaskRequest]) (*connect.Response[v1.AddTaskResponse], error)
UpdateTask(context.Context, *connect.Request[v1.UpdateTaskRequest]) (*connect.Response[v1.UpdateTaskResponse], error)
ListTasks(context.Context, *connect.Request[v1.ListTasksRequest]) (*connect.Response[v1.ListTasksResponse], error)
}
CoordinationServiceHandler is an implementation of the vx.v1.CoordinationService service.
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)
// 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)
// 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 ¶
type ObjectServiceClient interface {
MissingObjects(context.Context, *connect.Request[v1.MissingObjectsRequest]) (*connect.Response[v1.MissingObjectsResponse], error)
PutObjects(context.Context, *connect.Request[v1.PutObjectsRequest]) (*connect.Response[v1.PutObjectsResponse], error)
GetObjects(context.Context, *connect.Request[v1.GetObjectsRequest]) (*connect.Response[v1.GetObjectsResponse], error)
}
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 ¶
type ObjectServiceHandler interface {
MissingObjects(context.Context, *connect.Request[v1.MissingObjectsRequest]) (*connect.Response[v1.MissingObjectsResponse], error)
PutObjects(context.Context, *connect.Request[v1.PutObjectsRequest]) (*connect.Response[v1.PutObjectsResponse], error)
GetObjects(context.Context, *connect.Request[v1.GetObjectsRequest]) (*connect.Response[v1.GetObjectsResponse], error)
}
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)
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)
// People (site admins): 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)
}
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)
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)
// People (site admins): 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)
}
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)
}
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)
}
RepoServiceHandler is an implementation of the vx.v1.RepoService 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.
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.
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) CreateAgent ¶
func (UnimplementedAuthServiceHandler) CreateAgent(context.Context, *connect.Request[v1.CreateAgentRequest]) (*connect.Response[v1.CreateAgentResponse], error)
func (UnimplementedAuthServiceHandler) CreateLoginCode ¶ added in v0.2.0
func (UnimplementedAuthServiceHandler) CreateLoginCode(context.Context, *connect.Request[v1.CreateLoginCodeRequest]) (*connect.Response[v1.CreateLoginCodeResponse], error)
func (UnimplementedAuthServiceHandler) CreateToken ¶ added in v0.2.0
func (UnimplementedAuthServiceHandler) CreateToken(context.Context, *connect.Request[v1.CreateTokenRequest]) (*connect.Response[v1.CreateTokenResponse], error)
func (UnimplementedAuthServiceHandler) ListAgents ¶ added in v0.2.0
func (UnimplementedAuthServiceHandler) ListAgents(context.Context, *connect.Request[v1.ListAgentsRequest]) (*connect.Response[v1.ListAgentsResponse], error)
func (UnimplementedAuthServiceHandler) ListTokens ¶ added in v0.2.0
func (UnimplementedAuthServiceHandler) ListTokens(context.Context, *connect.Request[v1.ListTokensRequest]) (*connect.Response[v1.ListTokensResponse], error)
func (UnimplementedAuthServiceHandler) RevokeToken ¶ added in v0.2.0
func (UnimplementedAuthServiceHandler) RevokeToken(context.Context, *connect.Request[v1.RevokeTokenRequest]) (*connect.Response[v1.RevokeTokenResponse], error)
func (UnimplementedAuthServiceHandler) WhoAmI ¶
func (UnimplementedAuthServiceHandler) WhoAmI(context.Context, *connect.Request[v1.WhoAmIRequest]) (*connect.Response[v1.WhoAmIResponse], error)
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) Answer(context.Context, *connect.Request[v1.AnswerRequest]) (*connect.Response[v1.AnswerResponse], error)
func (UnimplementedBoardServiceHandler) Ask ¶ added in v0.2.0
func (UnimplementedBoardServiceHandler) Ask(context.Context, *connect.Request[v1.AskRequest]) (*connect.Response[v1.AskResponse], error)
func (UnimplementedBoardServiceHandler) Context ¶ added in v0.2.0
func (UnimplementedBoardServiceHandler) Context(context.Context, *connect.Request[v1.ContextRequest]) (*connect.Response[v1.ContextResponse], error)
func (UnimplementedBoardServiceHandler) Inbox ¶ added in v0.2.0
func (UnimplementedBoardServiceHandler) Inbox(context.Context, *connect.Request[v1.InboxRequest]) (*connect.Response[v1.InboxResponse], error)
func (UnimplementedBoardServiceHandler) ListNotes ¶ added in v0.2.0
func (UnimplementedBoardServiceHandler) ListNotes(context.Context, *connect.Request[v1.ListNotesRequest]) (*connect.Response[v1.ListNotesResponse], error)
func (UnimplementedBoardServiceHandler) PostNote ¶ added in v0.2.0
func (UnimplementedBoardServiceHandler) PostNote(context.Context, *connect.Request[v1.PostNoteRequest]) (*connect.Response[v1.PostNoteResponse], error)
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) AddTask(context.Context, *connect.Request[v1.AddTaskRequest]) (*connect.Response[v1.AddTaskResponse], error)
func (UnimplementedCoordinationServiceHandler) Claim ¶ added in v0.2.0
func (UnimplementedCoordinationServiceHandler) Claim(context.Context, *connect.Request[v1.ClaimRequest]) (*connect.Response[v1.ClaimResponse], error)
func (UnimplementedCoordinationServiceHandler) ListClaims ¶ added in v0.2.0
func (UnimplementedCoordinationServiceHandler) ListClaims(context.Context, *connect.Request[v1.ListClaimsRequest]) (*connect.Response[v1.ListClaimsResponse], error)
func (UnimplementedCoordinationServiceHandler) ListTasks ¶ added in v0.2.0
func (UnimplementedCoordinationServiceHandler) ListTasks(context.Context, *connect.Request[v1.ListTasksRequest]) (*connect.Response[v1.ListTasksResponse], error)
func (UnimplementedCoordinationServiceHandler) Release ¶ added in v0.2.0
func (UnimplementedCoordinationServiceHandler) Release(context.Context, *connect.Request[v1.ReleaseRequest]) (*connect.Response[v1.ReleaseResponse], error)
func (UnimplementedCoordinationServiceHandler) UpdateTask ¶ added in v0.2.0
func (UnimplementedCoordinationServiceHandler) UpdateTask(context.Context, *connect.Request[v1.UpdateTaskRequest]) (*connect.Response[v1.UpdateTaskResponse], error)
type UnimplementedEffortServiceHandler ¶
type UnimplementedEffortServiceHandler struct{}
UnimplementedEffortServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedEffortServiceHandler) AbortRebase ¶ added in v0.2.0
func (UnimplementedEffortServiceHandler) AbortRebase(context.Context, *connect.Request[v1.AbortRebaseRequest]) (*connect.Response[v1.AbortRebaseResponse], error)
func (UnimplementedEffortServiceHandler) ContinueRebase ¶ added in v0.2.0
func (UnimplementedEffortServiceHandler) ContinueRebase(context.Context, *connect.Request[v1.ContinueRebaseRequest]) (*connect.Response[v1.ContinueRebaseResponse], error)
func (UnimplementedEffortServiceHandler) CreateEffort ¶
func (UnimplementedEffortServiceHandler) CreateEffort(context.Context, *connect.Request[v1.CreateEffortRequest]) (*connect.Response[v1.CreateEffortResponse], error)
func (UnimplementedEffortServiceHandler) GetChangeset ¶
func (UnimplementedEffortServiceHandler) GetChangeset(context.Context, *connect.Request[v1.GetChangesetRequest]) (*connect.Response[v1.GetChangesetResponse], error)
func (UnimplementedEffortServiceHandler) GetEffort ¶
func (UnimplementedEffortServiceHandler) GetEffort(context.Context, *connect.Request[v1.GetEffortRequest]) (*connect.Response[v1.GetEffortResponse], error)
func (UnimplementedEffortServiceHandler) GetRebase ¶ added in v0.2.0
func (UnimplementedEffortServiceHandler) GetRebase(context.Context, *connect.Request[v1.GetRebaseRequest]) (*connect.Response[v1.GetRebaseResponse], error)
func (UnimplementedEffortServiceHandler) ListEfforts ¶
func (UnimplementedEffortServiceHandler) ListEfforts(context.Context, *connect.Request[v1.ListEffortsRequest]) (*connect.Response[v1.ListEffortsResponse], error)
func (UnimplementedEffortServiceHandler) Log ¶
func (UnimplementedEffortServiceHandler) Log(context.Context, *connect.Request[v1.LogRequest]) (*connect.Response[v1.LogResponse], error)
func (UnimplementedEffortServiceHandler) RebaseEffort ¶ added in v0.2.0
func (UnimplementedEffortServiceHandler) RebaseEffort(context.Context, *connect.Request[v1.RebaseEffortRequest]) (*connect.Response[v1.RebaseEffortResponse], error)
type UnimplementedObjectServiceHandler ¶
type UnimplementedObjectServiceHandler struct{}
UnimplementedObjectServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedObjectServiceHandler) GetObjects ¶
func (UnimplementedObjectServiceHandler) GetObjects(context.Context, *connect.Request[v1.GetObjectsRequest]) (*connect.Response[v1.GetObjectsResponse], error)
func (UnimplementedObjectServiceHandler) MissingObjects ¶
func (UnimplementedObjectServiceHandler) MissingObjects(context.Context, *connect.Request[v1.MissingObjectsRequest]) (*connect.Response[v1.MissingObjectsResponse], error)
func (UnimplementedObjectServiceHandler) PutObjects ¶
func (UnimplementedObjectServiceHandler) PutObjects(context.Context, *connect.Request[v1.PutObjectsRequest]) (*connect.Response[v1.PutObjectsResponse], error)
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) CreateOrg(context.Context, *connect.Request[v1.CreateOrgRequest]) (*connect.Response[v1.CreateOrgResponse], error)
func (UnimplementedOrgServiceHandler) CreatePerson ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) CreatePerson(context.Context, *connect.Request[v1.CreatePersonRequest]) (*connect.Response[v1.CreatePersonResponse], error)
func (UnimplementedOrgServiceHandler) CreateTeam ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) CreateTeam(context.Context, *connect.Request[v1.CreateTeamRequest]) (*connect.Response[v1.CreateTeamResponse], error)
func (UnimplementedOrgServiceHandler) DeleteTeam ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) DeleteTeam(context.Context, *connect.Request[v1.DeleteTeamRequest]) (*connect.Response[v1.DeleteTeamResponse], error)
func (UnimplementedOrgServiceHandler) GetOrg ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) GetOrg(context.Context, *connect.Request[v1.GetOrgRequest]) (*connect.Response[v1.GetOrgResponse], error)
func (UnimplementedOrgServiceHandler) GrantRepo ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) GrantRepo(context.Context, *connect.Request[v1.GrantRepoRequest]) (*connect.Response[v1.GrantRepoResponse], error)
func (UnimplementedOrgServiceHandler) ListOrgs ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) ListOrgs(context.Context, *connect.Request[v1.ListOrgsRequest]) (*connect.Response[v1.ListOrgsResponse], error)
func (UnimplementedOrgServiceHandler) ListPeople ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) ListPeople(context.Context, *connect.Request[v1.ListPeopleRequest]) (*connect.Response[v1.ListPeopleResponse], error)
func (UnimplementedOrgServiceHandler) RemoveMember ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) RemoveMember(context.Context, *connect.Request[v1.RemoveMemberRequest]) (*connect.Response[v1.RemoveMemberResponse], error)
func (UnimplementedOrgServiceHandler) RemoveTeamMember ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) RemoveTeamMember(context.Context, *connect.Request[v1.RemoveTeamMemberRequest]) (*connect.Response[v1.RemoveTeamMemberResponse], error)
func (UnimplementedOrgServiceHandler) RepoAccess ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) RepoAccess(context.Context, *connect.Request[v1.RepoAccessRequest]) (*connect.Response[v1.RepoAccessResponse], error)
func (UnimplementedOrgServiceHandler) RevokeRepo ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) RevokeRepo(context.Context, *connect.Request[v1.RevokeRepoRequest]) (*connect.Response[v1.RevokeRepoResponse], error)
func (UnimplementedOrgServiceHandler) SetMember ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) SetMember(context.Context, *connect.Request[v1.SetMemberRequest]) (*connect.Response[v1.SetMemberResponse], error)
func (UnimplementedOrgServiceHandler) SetTeamMember ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) SetTeamMember(context.Context, *connect.Request[v1.SetTeamMemberRequest]) (*connect.Response[v1.SetTeamMemberResponse], error)
func (UnimplementedOrgServiceHandler) UpdateOrg ¶ added in v0.2.0
func (UnimplementedOrgServiceHandler) UpdateOrg(context.Context, *connect.Request[v1.UpdateOrgRequest]) (*connect.Response[v1.UpdateOrgResponse], error)
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) PollCLILogin(context.Context, *connect.Request[v1.PollCLILoginRequest]) (*connect.Response[v1.PollCLILoginResponse], error)
func (UnimplementedPublicServiceHandler) ServerInfo ¶ added in v0.2.0
func (UnimplementedPublicServiceHandler) ServerInfo(context.Context, *connect.Request[v1.ServerInfoRequest]) (*connect.Response[v1.ServerInfoResponse], error)
func (UnimplementedPublicServiceHandler) StartCLILogin ¶ added in v0.2.0
func (UnimplementedPublicServiceHandler) StartCLILogin(context.Context, *connect.Request[v1.StartCLILoginRequest]) (*connect.Response[v1.StartCLILoginResponse], error)
type UnimplementedRepoServiceHandler ¶
type UnimplementedRepoServiceHandler struct{}
UnimplementedRepoServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedRepoServiceHandler) CreateRepo ¶
func (UnimplementedRepoServiceHandler) CreateRepo(context.Context, *connect.Request[v1.CreateRepoRequest]) (*connect.Response[v1.CreateRepoResponse], error)
func (UnimplementedRepoServiceHandler) GetRepo ¶
func (UnimplementedRepoServiceHandler) GetRepo(context.Context, *connect.Request[v1.GetRepoRequest]) (*connect.Response[v1.GetRepoResponse], error)
func (UnimplementedRepoServiceHandler) ListRepos ¶
func (UnimplementedRepoServiceHandler) ListRepos(context.Context, *connect.Request[v1.ListReposRequest]) (*connect.Response[v1.ListReposResponse], error)
func (UnimplementedRepoServiceHandler) SyncBranch ¶
func (UnimplementedRepoServiceHandler) SyncBranch(context.Context, *connect.Request[v1.SyncBranchRequest]) (*connect.Response[v1.SyncBranchResponse], error)
type UnimplementedShipServiceHandler ¶
type UnimplementedShipServiceHandler struct{}
UnimplementedShipServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedShipServiceHandler) ListShipments ¶
func (UnimplementedShipServiceHandler) ListShipments(context.Context, *connect.Request[v1.ListShipmentsRequest]) (*connect.Response[v1.ListShipmentsResponse], error)
func (UnimplementedShipServiceHandler) OpenShipment ¶
func (UnimplementedShipServiceHandler) OpenShipment(context.Context, *connect.Request[v1.OpenShipmentRequest]) (*connect.Response[v1.OpenShipmentResponse], error)
func (UnimplementedShipServiceHandler) PlanShipment ¶
func (UnimplementedShipServiceHandler) PlanShipment(context.Context, *connect.Request[v1.PlanShipmentRequest]) (*connect.Response[v1.PlanShipmentResponse], error)
type UnimplementedWorkspaceServiceHandler ¶
type UnimplementedWorkspaceServiceHandler struct{}
UnimplementedWorkspaceServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedWorkspaceServiceHandler) Abandon ¶
func (UnimplementedWorkspaceServiceHandler) Abandon(context.Context, *connect.Request[v1.AbandonRequest]) (*connect.Response[v1.AbandonResponse], error)
func (UnimplementedWorkspaceServiceHandler) GetWorkspace ¶
func (UnimplementedWorkspaceServiceHandler) GetWorkspace(context.Context, *connect.Request[v1.GetWorkspaceRequest]) (*connect.Response[v1.GetWorkspaceResponse], error)
func (UnimplementedWorkspaceServiceHandler) Land ¶
func (UnimplementedWorkspaceServiceHandler) Land(context.Context, *connect.Request[v1.LandRequest]) (*connect.Response[v1.LandResponse], error)
func (UnimplementedWorkspaceServiceHandler) OpenWorkspace ¶
func (UnimplementedWorkspaceServiceHandler) OpenWorkspace(context.Context, *connect.Request[v1.OpenWorkspaceRequest]) (*connect.Response[v1.OpenWorkspaceResponse], error)
func (UnimplementedWorkspaceServiceHandler) SetBase ¶
func (UnimplementedWorkspaceServiceHandler) SetBase(context.Context, *connect.Request[v1.SetBaseRequest]) (*connect.Response[v1.SetBaseResponse], error)
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)
}
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)
}
WorkspaceServiceHandler is an implementation of the vx.v1.WorkspaceService service.