Documentation
¶
Index ¶
- type AccountsClient
- func (s *AccountsClient) Create(ctx context.Context, in *sourcegraph.NewAccount, opts ...grpc.CallOption) (*sourcegraph.UserSpec, error)
- func (s *AccountsClient) RequestPasswordReset(ctx context.Context, in *sourcegraph.EmailAddr, opts ...grpc.CallOption) (*sourcegraph.User, error)
- func (s *AccountsClient) ResetPassword(ctx context.Context, in *sourcegraph.NewPassword, opts ...grpc.CallOption) (*pbtypes.Void, error)
- func (s *AccountsClient) Update(ctx context.Context, in *sourcegraph.User, opts ...grpc.CallOption) (*pbtypes.Void, error)
- type AccountsServer
- func (s *AccountsServer) Create(v0 context.Context, v1 *sourcegraph.NewAccount) (*sourcegraph.UserSpec, error)
- func (s *AccountsServer) RequestPasswordReset(v0 context.Context, v1 *sourcegraph.EmailAddr) (*sourcegraph.User, error)
- func (s *AccountsServer) ResetPassword(v0 context.Context, v1 *sourcegraph.NewPassword) (*pbtypes.Void, error)
- func (s *AccountsServer) Update(v0 context.Context, v1 *sourcegraph.User) (*pbtypes.Void, error)
- type AuthClient
- func (s *AuthClient) GetAccessToken(ctx context.Context, in *sourcegraph.AccessTokenRequest, ...) (*sourcegraph.AccessTokenResponse, error)
- func (s *AuthClient) GetAuthorizationCode(ctx context.Context, in *sourcegraph.AuthorizationCodeRequest, ...) (*sourcegraph.AuthorizationCode, error)
- func (s *AuthClient) Identify(ctx context.Context, in *pbtypes.Void, opts ...grpc.CallOption) (*sourcegraph.AuthInfo, error)
- type AuthServer
- func (s *AuthServer) GetAccessToken(v0 context.Context, v1 *sourcegraph.AccessTokenRequest) (*sourcegraph.AccessTokenResponse, error)
- func (s *AuthServer) GetAuthorizationCode(v0 context.Context, v1 *sourcegraph.AuthorizationCodeRequest) (*sourcegraph.AuthorizationCode, error)
- func (s *AuthServer) Identify(v0 context.Context, v1 *pbtypes.Void) (*sourcegraph.AuthInfo, error)
- type BuildsClient
- func (s *BuildsClient) Create(ctx context.Context, in *sourcegraph.BuildsCreateOp, opts ...grpc.CallOption) (*sourcegraph.Build, error)
- func (s *BuildsClient) CreateTasks(ctx context.Context, in *sourcegraph.BuildsCreateTasksOp, ...) (*sourcegraph.BuildTaskList, error)
- func (s *BuildsClient) DequeueNext(ctx context.Context, in *sourcegraph.BuildsDequeueNextOp, ...) (*sourcegraph.Build, error)
- func (s *BuildsClient) Get(ctx context.Context, in *sourcegraph.BuildSpec, opts ...grpc.CallOption) (*sourcegraph.Build, error)
- func (s *BuildsClient) GetLog(ctx context.Context, in *sourcegraph.BuildsGetLogOp, opts ...grpc.CallOption) (*sourcegraph.LogEntries, error)
- func (s *BuildsClient) GetRepoBuildInfo(ctx context.Context, in *sourcegraph.BuildsGetRepoBuildInfoOp, ...) (*sourcegraph.RepoBuildInfo, error)
- func (s *BuildsClient) GetTaskLog(ctx context.Context, in *sourcegraph.BuildsGetTaskLogOp, ...) (*sourcegraph.LogEntries, error)
- func (s *BuildsClient) List(ctx context.Context, in *sourcegraph.BuildListOptions, opts ...grpc.CallOption) (*sourcegraph.BuildList, error)
- func (s *BuildsClient) ListBuildTasks(ctx context.Context, in *sourcegraph.BuildsListBuildTasksOp, ...) (*sourcegraph.BuildTaskList, error)
- func (s *BuildsClient) MockGetRepoBuildInfo(t *testing.T, info *sourcegraph.RepoBuildInfo) (called *bool)
- func (s *BuildsClient) MockGet_Return(t *testing.T, want *sourcegraph.Build) (called *bool)
- func (s *BuildsClient) MockList(t *testing.T, want ...*sourcegraph.Build) (called *bool)
- func (s *BuildsClient) MockListBuildTasks(t *testing.T, want ...*sourcegraph.BuildTask) (called *bool)
- func (s *BuildsClient) Update(ctx context.Context, in *sourcegraph.BuildsUpdateOp, opts ...grpc.CallOption) (*sourcegraph.Build, error)
- func (s *BuildsClient) UpdateTask(ctx context.Context, in *sourcegraph.BuildsUpdateTaskOp, ...) (*sourcegraph.BuildTask, error)
- type BuildsServer
- func (s *BuildsServer) Create(v0 context.Context, v1 *sourcegraph.BuildsCreateOp) (*sourcegraph.Build, error)
- func (s *BuildsServer) CreateTasks(v0 context.Context, v1 *sourcegraph.BuildsCreateTasksOp) (*sourcegraph.BuildTaskList, error)
- func (s *BuildsServer) DequeueNext(v0 context.Context, v1 *sourcegraph.BuildsDequeueNextOp) (*sourcegraph.Build, error)
- func (s *BuildsServer) Get(v0 context.Context, v1 *sourcegraph.BuildSpec) (*sourcegraph.Build, error)
- func (s *BuildsServer) GetLog(v0 context.Context, v1 *sourcegraph.BuildsGetLogOp) (*sourcegraph.LogEntries, error)
- func (s *BuildsServer) GetRepoBuildInfo(v0 context.Context, v1 *sourcegraph.BuildsGetRepoBuildInfoOp) (*sourcegraph.RepoBuildInfo, error)
- func (s *BuildsServer) GetTaskLog(v0 context.Context, v1 *sourcegraph.BuildsGetTaskLogOp) (*sourcegraph.LogEntries, error)
- func (s *BuildsServer) List(v0 context.Context, v1 *sourcegraph.BuildListOptions) (*sourcegraph.BuildList, error)
- func (s *BuildsServer) ListBuildTasks(v0 context.Context, v1 *sourcegraph.BuildsListBuildTasksOp) (*sourcegraph.BuildTaskList, error)
- func (s *BuildsServer) MockGetRepoBuildInfo(t *testing.T, info *sourcegraph.RepoBuildInfo) (called *bool)
- func (s *BuildsServer) MockGet_Return(t *testing.T, want *sourcegraph.Build) (called *bool)
- func (s *BuildsServer) MockList(t *testing.T, want ...*sourcegraph.Build) (called *bool)
- func (s *BuildsServer) MockListBuildTasks(t *testing.T, want ...*sourcegraph.BuildTask) (called *bool)
- func (s *BuildsServer) Update(v0 context.Context, v1 *sourcegraph.BuildsUpdateOp) (*sourcegraph.Build, error)
- func (s *BuildsServer) UpdateTask(v0 context.Context, v1 *sourcegraph.BuildsUpdateTaskOp) (*sourcegraph.BuildTask, error)
- type ChangesetsClient
- func (s *ChangesetsClient) Create(ctx context.Context, in *sourcegraph.ChangesetCreateOp, ...) (*sourcegraph.Changeset, error)
- func (s *ChangesetsClient) CreateReview(ctx context.Context, in *sourcegraph.ChangesetCreateReviewOp, ...) (*sourcegraph.ChangesetReview, error)
- func (s *ChangesetsClient) Get(ctx context.Context, in *sourcegraph.ChangesetSpec, opts ...grpc.CallOption) (*sourcegraph.Changeset, error)
- func (s *ChangesetsClient) List(ctx context.Context, in *sourcegraph.ChangesetListOp, opts ...grpc.CallOption) (*sourcegraph.ChangesetList, error)
- func (s *ChangesetsClient) ListEvents(ctx context.Context, in *sourcegraph.ChangesetSpec, opts ...grpc.CallOption) (*sourcegraph.ChangesetEventList, error)
- func (s *ChangesetsClient) ListReviews(ctx context.Context, in *sourcegraph.ChangesetListReviewsOp, ...) (*sourcegraph.ChangesetReviewList, error)
- func (s *ChangesetsClient) Update(ctx context.Context, in *sourcegraph.ChangesetUpdateOp, ...) (*sourcegraph.ChangesetEvent, error)
- type ChangesetsServer
- func (s *ChangesetsServer) Create(v0 context.Context, v1 *sourcegraph.ChangesetCreateOp) (*sourcegraph.Changeset, error)
- func (s *ChangesetsServer) CreateReview(v0 context.Context, v1 *sourcegraph.ChangesetCreateReviewOp) (*sourcegraph.ChangesetReview, error)
- func (s *ChangesetsServer) Get(v0 context.Context, v1 *sourcegraph.ChangesetSpec) (*sourcegraph.Changeset, error)
- func (s *ChangesetsServer) List(v0 context.Context, v1 *sourcegraph.ChangesetListOp) (*sourcegraph.ChangesetList, error)
- func (s *ChangesetsServer) ListEvents(v0 context.Context, v1 *sourcegraph.ChangesetSpec) (*sourcegraph.ChangesetEventList, error)
- func (s *ChangesetsServer) ListReviews(v0 context.Context, v1 *sourcegraph.ChangesetListReviewsOp) (*sourcegraph.ChangesetReviewList, error)
- func (s *ChangesetsServer) Update(v0 context.Context, v1 *sourcegraph.ChangesetUpdateOp) (*sourcegraph.ChangesetEvent, error)
- type DefsClient
- func (s *DefsClient) Get(ctx context.Context, in *sourcegraph.DefsGetOp, opts ...grpc.CallOption) (*sourcegraph.Def, error)
- func (s *DefsClient) List(ctx context.Context, in *sourcegraph.DefListOptions, opts ...grpc.CallOption) (*sourcegraph.DefList, error)
- func (s *DefsClient) ListAuthors(ctx context.Context, in *sourcegraph.DefsListAuthorsOp, ...) (*sourcegraph.DefAuthorList, error)
- func (s *DefsClient) ListClients(ctx context.Context, in *sourcegraph.DefsListClientsOp, ...) (*sourcegraph.DefClientList, error)
- func (s *DefsClient) ListExamples(ctx context.Context, in *sourcegraph.DefsListExamplesOp, ...) (*sourcegraph.ExampleList, error)
- func (s *DefsClient) ListRefs(ctx context.Context, in *sourcegraph.DefsListRefsOp, opts ...grpc.CallOption) (*sourcegraph.RefList, error)
- func (s *DefsClient) MockGet(t *testing.T, wantDef sourcegraph.DefSpec) (called *bool)
- func (s *DefsClient) MockGet_Return(t *testing.T, wantDef *sourcegraph.Def) (called *bool)
- func (s *DefsClient) MockList(t *testing.T, wantDefs ...*sourcegraph.Def) (called *bool)
- type DefsServer
- func (s *DefsServer) Get(v0 context.Context, v1 *sourcegraph.DefsGetOp) (*sourcegraph.Def, error)
- func (s *DefsServer) List(v0 context.Context, v1 *sourcegraph.DefListOptions) (*sourcegraph.DefList, error)
- func (s *DefsServer) ListAuthors(v0 context.Context, v1 *sourcegraph.DefsListAuthorsOp) (*sourcegraph.DefAuthorList, error)
- func (s *DefsServer) ListClients(v0 context.Context, v1 *sourcegraph.DefsListClientsOp) (*sourcegraph.DefClientList, error)
- func (s *DefsServer) ListExamples(v0 context.Context, v1 *sourcegraph.DefsListExamplesOp) (*sourcegraph.ExampleList, error)
- func (s *DefsServer) ListRefs(v0 context.Context, v1 *sourcegraph.DefsListRefsOp) (*sourcegraph.RefList, error)
- func (s *DefsServer) MockGet(t *testing.T, wantDef sourcegraph.DefSpec) (called *bool)
- func (s *DefsServer) MockGet_Return(t *testing.T, wantDef *sourcegraph.Def) (called *bool)
- func (s *DefsServer) MockList(t *testing.T, wantDefs ...*sourcegraph.Def) (called *bool)
- type DeltasClient
- func (s *DeltasClient) Get(ctx context.Context, in *sourcegraph.DeltaSpec, opts ...grpc.CallOption) (*sourcegraph.Delta, error)
- func (s *DeltasClient) ListAffectedAuthors(ctx context.Context, in *sourcegraph.DeltasListAffectedAuthorsOp, ...) (*sourcegraph.DeltaAffectedPersonList, error)
- func (s *DeltasClient) ListAffectedClients(ctx context.Context, in *sourcegraph.DeltasListAffectedClientsOp, ...) (*sourcegraph.DeltaAffectedPersonList, error)
- func (s *DeltasClient) ListDefs(ctx context.Context, in *sourcegraph.DeltasListDefsOp, opts ...grpc.CallOption) (*sourcegraph.DeltaDefs, error)
- func (s *DeltasClient) ListFiles(ctx context.Context, in *sourcegraph.DeltasListFilesOp, ...) (*sourcegraph.DeltaFiles, error)
- func (s *DeltasClient) ListUnits(ctx context.Context, in *sourcegraph.DeltasListUnitsOp, ...) (*sourcegraph.UnitDeltaList, error)
- type DeltasServer
- func (s *DeltasServer) Get(v0 context.Context, v1 *sourcegraph.DeltaSpec) (*sourcegraph.Delta, error)
- func (s *DeltasServer) ListAffectedAuthors(v0 context.Context, v1 *sourcegraph.DeltasListAffectedAuthorsOp) (*sourcegraph.DeltaAffectedPersonList, error)
- func (s *DeltasServer) ListAffectedClients(v0 context.Context, v1 *sourcegraph.DeltasListAffectedClientsOp) (*sourcegraph.DeltaAffectedPersonList, error)
- func (s *DeltasServer) ListDefs(v0 context.Context, v1 *sourcegraph.DeltasListDefsOp) (*sourcegraph.DeltaDefs, error)
- func (s *DeltasServer) ListFiles(v0 context.Context, v1 *sourcegraph.DeltasListFilesOp) (*sourcegraph.DeltaFiles, error)
- func (s *DeltasServer) ListUnits(v0 context.Context, v1 *sourcegraph.DeltasListUnitsOp) (*sourcegraph.UnitDeltaList, error)
- type DiscussionsClient
- func (s *DiscussionsClient) Create(ctx context.Context, in *sourcegraph.Discussion, opts ...grpc.CallOption) (*sourcegraph.Discussion, error)
- func (s *DiscussionsClient) CreateComment(ctx context.Context, in *sourcegraph.DiscussionCommentCreateOp, ...) (*sourcegraph.DiscussionComment, error)
- func (s *DiscussionsClient) Get(ctx context.Context, in *sourcegraph.DiscussionSpec, opts ...grpc.CallOption) (*sourcegraph.Discussion, error)
- func (s *DiscussionsClient) List(ctx context.Context, in *sourcegraph.DiscussionListOp, opts ...grpc.CallOption) (*sourcegraph.DiscussionList, error)
- func (s *DiscussionsClient) UpdateRating(ctx context.Context, in *sourcegraph.DiscussionRatingUpdateOp, ...) (*pbtypes.Void, error)
- type DiscussionsServer
- func (s *DiscussionsServer) Create(v0 context.Context, v1 *sourcegraph.Discussion) (*sourcegraph.Discussion, error)
- func (s *DiscussionsServer) CreateComment(v0 context.Context, v1 *sourcegraph.DiscussionCommentCreateOp) (*sourcegraph.DiscussionComment, error)
- func (s *DiscussionsServer) Get(v0 context.Context, v1 *sourcegraph.DiscussionSpec) (*sourcegraph.Discussion, error)
- func (s *DiscussionsServer) List(v0 context.Context, v1 *sourcegraph.DiscussionListOp) (*sourcegraph.DiscussionList, error)
- func (s *DiscussionsServer) UpdateRating(v0 context.Context, v1 *sourcegraph.DiscussionRatingUpdateOp) (*pbtypes.Void, error)
- type GraphUplinkClient
- type GraphUplinkServer
- type MarkdownClient
- type MarkdownServer
- type MetaClient
- type MetaServer
- type MirrorReposClient
- type MirrorReposServer
- type MirroredRepoSSHKeysClient
- func (s *MirroredRepoSSHKeysClient) Create(ctx context.Context, in *sourcegraph.MirroredRepoSSHKeysCreateOp, ...) (*pbtypes.Void, error)
- func (s *MirroredRepoSSHKeysClient) Delete(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*pbtypes.Void, error)
- func (s *MirroredRepoSSHKeysClient) Get(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*sourcegraph.SSHPrivateKey, error)
- type MirroredRepoSSHKeysServer
- func (s *MirroredRepoSSHKeysServer) Create(v0 context.Context, v1 *sourcegraph.MirroredRepoSSHKeysCreateOp) (*pbtypes.Void, error)
- func (s *MirroredRepoSSHKeysServer) Delete(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error)
- func (s *MirroredRepoSSHKeysServer) Get(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.SSHPrivateKey, error)
- type OrgsClient
- func (s *OrgsClient) Get(ctx context.Context, in *sourcegraph.OrgSpec, opts ...grpc.CallOption) (*sourcegraph.Org, error)
- func (s *OrgsClient) List(ctx context.Context, in *sourcegraph.OrgsListOp, opts ...grpc.CallOption) (*sourcegraph.OrgList, error)
- func (s *OrgsClient) ListMembers(ctx context.Context, in *sourcegraph.OrgsListMembersOp, ...) (*sourcegraph.UserList, error)
- type OrgsServer
- func (s *OrgsServer) Get(v0 context.Context, v1 *sourcegraph.OrgSpec) (*sourcegraph.Org, error)
- func (s *OrgsServer) List(v0 context.Context, v1 *sourcegraph.OrgsListOp) (*sourcegraph.OrgList, error)
- func (s *OrgsServer) ListMembers(v0 context.Context, v1 *sourcegraph.OrgsListMembersOp) (*sourcegraph.UserList, error)
- type PeopleClient
- type PeopleServer
- type RegisteredClientsClient
- func (s *RegisteredClientsClient) Create(ctx context.Context, in *sourcegraph.RegisteredClient, opts ...grpc.CallOption) (*sourcegraph.RegisteredClient, error)
- func (s *RegisteredClientsClient) Delete(ctx context.Context, in *sourcegraph.RegisteredClientSpec, ...) (*pbtypes.Void, error)
- func (s *RegisteredClientsClient) Get(ctx context.Context, in *sourcegraph.RegisteredClientSpec, ...) (*sourcegraph.RegisteredClient, error)
- func (s *RegisteredClientsClient) GetCurrent(ctx context.Context, in *pbtypes.Void, opts ...grpc.CallOption) (*sourcegraph.RegisteredClient, error)
- func (s *RegisteredClientsClient) GetUserPermissions(ctx context.Context, in *sourcegraph.UserPermissionsOptions, ...) (*sourcegraph.UserPermissions, error)
- func (s *RegisteredClientsClient) List(ctx context.Context, in *sourcegraph.RegisteredClientListOptions, ...) (*sourcegraph.RegisteredClientList, error)
- func (s *RegisteredClientsClient) ListUserPermissions(ctx context.Context, in *sourcegraph.RegisteredClientSpec, ...) (*sourcegraph.UserPermissionsList, error)
- func (s *RegisteredClientsClient) SetUserPermissions(ctx context.Context, in *sourcegraph.UserPermissions, opts ...grpc.CallOption) (*pbtypes.Void, error)
- func (s *RegisteredClientsClient) Update(ctx context.Context, in *sourcegraph.RegisteredClient, opts ...grpc.CallOption) (*pbtypes.Void, error)
- type RegisteredClientsServer
- func (s *RegisteredClientsServer) Create(v0 context.Context, v1 *sourcegraph.RegisteredClient) (*sourcegraph.RegisteredClient, error)
- func (s *RegisteredClientsServer) Delete(v0 context.Context, v1 *sourcegraph.RegisteredClientSpec) (*pbtypes.Void, error)
- func (s *RegisteredClientsServer) Get(v0 context.Context, v1 *sourcegraph.RegisteredClientSpec) (*sourcegraph.RegisteredClient, error)
- func (s *RegisteredClientsServer) GetCurrent(v0 context.Context, v1 *pbtypes.Void) (*sourcegraph.RegisteredClient, error)
- func (s *RegisteredClientsServer) GetUserPermissions(v0 context.Context, v1 *sourcegraph.UserPermissionsOptions) (*sourcegraph.UserPermissions, error)
- func (s *RegisteredClientsServer) List(v0 context.Context, v1 *sourcegraph.RegisteredClientListOptions) (*sourcegraph.RegisteredClientList, error)
- func (s *RegisteredClientsServer) ListUserPermissions(v0 context.Context, v1 *sourcegraph.RegisteredClientSpec) (*sourcegraph.UserPermissionsList, error)
- func (s *RegisteredClientsServer) SetUserPermissions(v0 context.Context, v1 *sourcegraph.UserPermissions) (*pbtypes.Void, error)
- func (s *RegisteredClientsServer) Update(v0 context.Context, v1 *sourcegraph.RegisteredClient) (*pbtypes.Void, error)
- type RepoBadgesClient
- func (s *RepoBadgesClient) CountHits(ctx context.Context, in *sourcegraph.RepoBadgesCountHitsOp, ...) (*sourcegraph.RepoBadgesCountHitsResult, error)
- func (s *RepoBadgesClient) ListBadges(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*sourcegraph.BadgeList, error)
- func (s *RepoBadgesClient) ListCounters(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*sourcegraph.CounterList, error)
- func (s *RepoBadgesClient) RecordHit(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*pbtypes.Void, error)
- type RepoBadgesServer
- func (s *RepoBadgesServer) CountHits(v0 context.Context, v1 *sourcegraph.RepoBadgesCountHitsOp) (*sourcegraph.RepoBadgesCountHitsResult, error)
- func (s *RepoBadgesServer) ListBadges(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.BadgeList, error)
- func (s *RepoBadgesServer) ListCounters(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.CounterList, error)
- func (s *RepoBadgesServer) RecordHit(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error)
- type RepoStatusesClient
- type RepoStatusesServer
- type RepoTreeClient
- func (s *RepoTreeClient) Get(ctx context.Context, in *sourcegraph.RepoTreeGetOp, opts ...grpc.CallOption) (*sourcegraph.TreeEntry, error)
- func (s *RepoTreeClient) List(ctx context.Context, in *sourcegraph.RepoTreeListOp, opts ...grpc.CallOption) (*sourcegraph.RepoTreeListResult, error)
- func (s *RepoTreeClient) Search(ctx context.Context, in *sourcegraph.RepoTreeSearchOp, opts ...grpc.CallOption) (*sourcegraph.VCSSearchResultList, error)
- type RepoTreeServer
- func (s *RepoTreeServer) Get(v0 context.Context, v1 *sourcegraph.RepoTreeGetOp) (*sourcegraph.TreeEntry, error)
- func (s *RepoTreeServer) List(v0 context.Context, v1 *sourcegraph.RepoTreeListOp) (*sourcegraph.RepoTreeListResult, error)
- func (s *RepoTreeServer) Search(v0 context.Context, v1 *sourcegraph.RepoTreeSearchOp) (*sourcegraph.VCSSearchResultList, error)
- type ReposClient
- func (s *ReposClient) Create(ctx context.Context, in *sourcegraph.ReposCreateOp, opts ...grpc.CallOption) (*sourcegraph.Repo, error)
- func (s *ReposClient) Delete(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*pbtypes.Void, error)
- func (s *ReposClient) Disable(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*pbtypes.Void, error)
- func (s *ReposClient) Enable(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*pbtypes.Void, error)
- func (s *ReposClient) Get(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*sourcegraph.Repo, error)
- func (s *ReposClient) GetCommit(ctx context.Context, in *sourcegraph.RepoRevSpec, opts ...grpc.CallOption) (*vcs.Commit, error)
- func (s *ReposClient) GetConfig(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*sourcegraph.RepoConfig, error)
- func (s *ReposClient) GetReadme(ctx context.Context, in *sourcegraph.RepoRevSpec, opts ...grpc.CallOption) (*sourcegraph.Readme, error)
- func (s *ReposClient) List(ctx context.Context, in *sourcegraph.RepoListOptions, opts ...grpc.CallOption) (*sourcegraph.RepoList, error)
- func (s *ReposClient) ListBranches(ctx context.Context, in *sourcegraph.ReposListBranchesOp, ...) (*sourcegraph.BranchList, error)
- func (s *ReposClient) ListCommits(ctx context.Context, in *sourcegraph.ReposListCommitsOp, ...) (*sourcegraph.CommitList, error)
- func (s *ReposClient) ListCommitters(ctx context.Context, in *sourcegraph.ReposListCommittersOp, ...) (*sourcegraph.CommitterList, error)
- func (s *ReposClient) ListTags(ctx context.Context, in *sourcegraph.ReposListTagsOp, opts ...grpc.CallOption) (*sourcegraph.TagList, error)
- func (s *ReposClient) MockGet(t *testing.T, wantRepo string) (called *bool)
- func (s *ReposClient) MockGetCommit_ByID_NoCheck(t *testing.T, commitID vcs.CommitID) (called *bool)
- func (s *ReposClient) MockGetCommit_Return_NoCheck(t *testing.T, commit *vcs.Commit) (called *bool)
- func (s *ReposClient) MockGet_Return(t *testing.T, returns *sourcegraph.Repo) (called *bool)
- func (s *ReposClient) MockList(t *testing.T, wantRepos ...string) (called *bool)
- func (s *ReposClient) MockListCommits(t *testing.T, wantCommitIDs ...vcs.CommitID) (called *bool)
- func (s *ReposClient) Update(ctx context.Context, in *sourcegraph.ReposUpdateOp, opts ...grpc.CallOption) (*sourcegraph.Repo, error)
- type ReposServer
- func (s *ReposServer) Create(v0 context.Context, v1 *sourcegraph.ReposCreateOp) (*sourcegraph.Repo, error)
- func (s *ReposServer) Delete(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error)
- func (s *ReposServer) Disable(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error)
- func (s *ReposServer) Enable(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error)
- func (s *ReposServer) Get(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.Repo, error)
- func (s *ReposServer) GetCommit(v0 context.Context, v1 *sourcegraph.RepoRevSpec) (*vcs.Commit, error)
- func (s *ReposServer) GetConfig(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.RepoConfig, error)
- func (s *ReposServer) GetReadme(v0 context.Context, v1 *sourcegraph.RepoRevSpec) (*sourcegraph.Readme, error)
- func (s *ReposServer) List(v0 context.Context, v1 *sourcegraph.RepoListOptions) (*sourcegraph.RepoList, error)
- func (s *ReposServer) ListBranches(v0 context.Context, v1 *sourcegraph.ReposListBranchesOp) (*sourcegraph.BranchList, error)
- func (s *ReposServer) ListCommits(v0 context.Context, v1 *sourcegraph.ReposListCommitsOp) (*sourcegraph.CommitList, error)
- func (s *ReposServer) ListCommitters(v0 context.Context, v1 *sourcegraph.ReposListCommittersOp) (*sourcegraph.CommitterList, error)
- func (s *ReposServer) ListTags(v0 context.Context, v1 *sourcegraph.ReposListTagsOp) (*sourcegraph.TagList, error)
- func (s *ReposServer) MockGet(t *testing.T, wantRepo string) (called *bool)
- func (s *ReposServer) MockGetCommit_ByID_NoCheck(t *testing.T, commitID vcs.CommitID) (called *bool)
- func (s *ReposServer) MockGetCommit_Return_NoCheck(t *testing.T, commit *vcs.Commit) (called *bool)
- func (s *ReposServer) MockGet_Return(t *testing.T, returns *sourcegraph.Repo) (called *bool)
- func (s *ReposServer) MockList(t *testing.T, wantRepos ...string) (called *bool)
- func (s *ReposServer) MockListCommits(t *testing.T, wantCommitIDs ...vcs.CommitID) (called *bool)
- func (s *ReposServer) Update(v0 context.Context, v1 *sourcegraph.ReposUpdateOp) (*sourcegraph.Repo, error)
- type SearchClient
- func (s *SearchClient) Complete(ctx context.Context, in *sourcegraph.RawQuery, opts ...grpc.CallOption) (*sourcegraph.Completions, error)
- func (s *SearchClient) Search(ctx context.Context, in *sourcegraph.SearchOptions, opts ...grpc.CallOption) (*sourcegraph.SearchResults, error)
- func (s *SearchClient) SearchText(ctx context.Context, in *sourcegraph.TextSearchOptions, ...) (*sourcegraph.VCSSearchResultList, error)
- func (s *SearchClient) SearchTokens(ctx context.Context, in *sourcegraph.TokenSearchOptions, ...) (*sourcegraph.DefList, error)
- func (s *SearchClient) Suggest(ctx context.Context, in *sourcegraph.RawQuery, opts ...grpc.CallOption) (*sourcegraph.SuggestionList, error)
- type SearchServer
- func (s *SearchServer) Complete(v0 context.Context, v1 *sourcegraph.RawQuery) (*sourcegraph.Completions, error)
- func (s *SearchServer) Search(v0 context.Context, v1 *sourcegraph.SearchOptions) (*sourcegraph.SearchResults, error)
- func (s *SearchServer) SearchText(v0 context.Context, v1 *sourcegraph.TextSearchOptions) (*sourcegraph.VCSSearchResultList, error)
- func (s *SearchServer) SearchTokens(v0 context.Context, v1 *sourcegraph.TokenSearchOptions) (*sourcegraph.DefList, error)
- func (s *SearchServer) Suggest(v0 context.Context, v1 *sourcegraph.RawQuery) (*sourcegraph.SuggestionList, error)
- type UnitsClient
- type UnitsServer
- type UsersClient
- func (s *UsersClient) Get(ctx context.Context, in *sourcegraph.UserSpec, opts ...grpc.CallOption) (*sourcegraph.User, error)
- func (s *UsersClient) List(ctx context.Context, in *sourcegraph.UsersListOptions, opts ...grpc.CallOption) (*sourcegraph.UserList, error)
- func (s *UsersClient) ListEmails(ctx context.Context, in *sourcegraph.UserSpec, opts ...grpc.CallOption) (*sourcegraph.EmailAddrList, error)
- func (s *UsersClient) MockGet(t *testing.T, wantUser string) (called *bool)
- func (s *UsersClient) MockGet_Return(t *testing.T, returns *sourcegraph.User) (called *bool)
- func (s *UsersClient) MockList(t *testing.T, wantUsers ...string) (called *bool)
- type UsersServer
- func (s *UsersServer) Get(v0 context.Context, v1 *sourcegraph.UserSpec) (*sourcegraph.User, error)
- func (s *UsersServer) List(v0 context.Context, v1 *sourcegraph.UsersListOptions) (*sourcegraph.UserList, error)
- func (s *UsersServer) ListEmails(v0 context.Context, v1 *sourcegraph.UserSpec) (*sourcegraph.EmailAddrList, error)
- func (s *UsersServer) MockGet(t *testing.T, wantUser string) (called *bool)
- func (s *UsersServer) MockGet_Return(t *testing.T, returns *sourcegraph.User) (called *bool)
- func (s *UsersServer) MockList(t *testing.T, wantUsers ...string) (called *bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsClient ¶
type AccountsClient struct { Create_ func(ctx context.Context, in *sourcegraph.NewAccount) (*sourcegraph.UserSpec, error) RequestPasswordReset_ func(ctx context.Context, in *sourcegraph.EmailAddr) (*sourcegraph.User, error) ResetPassword_ func(ctx context.Context, in *sourcegraph.NewPassword) (*pbtypes.Void, error) Update_ func(ctx context.Context, in *sourcegraph.User) (*pbtypes.Void, error) }
func (*AccountsClient) Create ¶
func (s *AccountsClient) Create(ctx context.Context, in *sourcegraph.NewAccount, opts ...grpc.CallOption) (*sourcegraph.UserSpec, error)
func (*AccountsClient) RequestPasswordReset ¶
func (s *AccountsClient) RequestPasswordReset(ctx context.Context, in *sourcegraph.EmailAddr, opts ...grpc.CallOption) (*sourcegraph.User, error)
func (*AccountsClient) ResetPassword ¶
func (s *AccountsClient) ResetPassword(ctx context.Context, in *sourcegraph.NewPassword, opts ...grpc.CallOption) (*pbtypes.Void, error)
func (*AccountsClient) Update ¶
func (s *AccountsClient) Update(ctx context.Context, in *sourcegraph.User, opts ...grpc.CallOption) (*pbtypes.Void, error)
type AccountsServer ¶
type AccountsServer struct { Create_ func(v0 context.Context, v1 *sourcegraph.NewAccount) (*sourcegraph.UserSpec, error) RequestPasswordReset_ func(v0 context.Context, v1 *sourcegraph.EmailAddr) (*sourcegraph.User, error) ResetPassword_ func(v0 context.Context, v1 *sourcegraph.NewPassword) (*pbtypes.Void, error) Update_ func(v0 context.Context, v1 *sourcegraph.User) (*pbtypes.Void, error) }
func (*AccountsServer) Create ¶
func (s *AccountsServer) Create(v0 context.Context, v1 *sourcegraph.NewAccount) (*sourcegraph.UserSpec, error)
func (*AccountsServer) RequestPasswordReset ¶
func (s *AccountsServer) RequestPasswordReset(v0 context.Context, v1 *sourcegraph.EmailAddr) (*sourcegraph.User, error)
func (*AccountsServer) ResetPassword ¶
func (s *AccountsServer) ResetPassword(v0 context.Context, v1 *sourcegraph.NewPassword) (*pbtypes.Void, error)
func (*AccountsServer) Update ¶
func (s *AccountsServer) Update(v0 context.Context, v1 *sourcegraph.User) (*pbtypes.Void, error)
type AuthClient ¶
type AuthClient struct { GetAuthorizationCode_ func(ctx context.Context, in *sourcegraph.AuthorizationCodeRequest) (*sourcegraph.AuthorizationCode, error) GetAccessToken_ func(ctx context.Context, in *sourcegraph.AccessTokenRequest) (*sourcegraph.AccessTokenResponse, error) Identify_ func(ctx context.Context, in *pbtypes.Void) (*sourcegraph.AuthInfo, error) }
func (*AuthClient) GetAccessToken ¶
func (s *AuthClient) GetAccessToken(ctx context.Context, in *sourcegraph.AccessTokenRequest, opts ...grpc.CallOption) (*sourcegraph.AccessTokenResponse, error)
func (*AuthClient) GetAuthorizationCode ¶
func (s *AuthClient) GetAuthorizationCode(ctx context.Context, in *sourcegraph.AuthorizationCodeRequest, opts ...grpc.CallOption) (*sourcegraph.AuthorizationCode, error)
func (*AuthClient) Identify ¶
func (s *AuthClient) Identify(ctx context.Context, in *pbtypes.Void, opts ...grpc.CallOption) (*sourcegraph.AuthInfo, error)
type AuthServer ¶
type AuthServer struct { GetAuthorizationCode_ func(v0 context.Context, v1 *sourcegraph.AuthorizationCodeRequest) (*sourcegraph.AuthorizationCode, error) GetAccessToken_ func(v0 context.Context, v1 *sourcegraph.AccessTokenRequest) (*sourcegraph.AccessTokenResponse, error) Identify_ func(v0 context.Context, v1 *pbtypes.Void) (*sourcegraph.AuthInfo, error) }
func (*AuthServer) GetAccessToken ¶
func (s *AuthServer) GetAccessToken(v0 context.Context, v1 *sourcegraph.AccessTokenRequest) (*sourcegraph.AccessTokenResponse, error)
func (*AuthServer) GetAuthorizationCode ¶
func (s *AuthServer) GetAuthorizationCode(v0 context.Context, v1 *sourcegraph.AuthorizationCodeRequest) (*sourcegraph.AuthorizationCode, error)
func (*AuthServer) Identify ¶
func (s *AuthServer) Identify(v0 context.Context, v1 *pbtypes.Void) (*sourcegraph.AuthInfo, error)
type BuildsClient ¶
type BuildsClient struct { Get_ func(ctx context.Context, in *sourcegraph.BuildSpec) (*sourcegraph.Build, error) GetRepoBuildInfo_ func(ctx context.Context, in *sourcegraph.BuildsGetRepoBuildInfoOp) (*sourcegraph.RepoBuildInfo, error) List_ func(ctx context.Context, in *sourcegraph.BuildListOptions) (*sourcegraph.BuildList, error) Create_ func(ctx context.Context, in *sourcegraph.BuildsCreateOp) (*sourcegraph.Build, error) Update_ func(ctx context.Context, in *sourcegraph.BuildsUpdateOp) (*sourcegraph.Build, error) ListBuildTasks_ func(ctx context.Context, in *sourcegraph.BuildsListBuildTasksOp) (*sourcegraph.BuildTaskList, error) CreateTasks_ func(ctx context.Context, in *sourcegraph.BuildsCreateTasksOp) (*sourcegraph.BuildTaskList, error) UpdateTask_ func(ctx context.Context, in *sourcegraph.BuildsUpdateTaskOp) (*sourcegraph.BuildTask, error) GetLog_ func(ctx context.Context, in *sourcegraph.BuildsGetLogOp) (*sourcegraph.LogEntries, error) GetTaskLog_ func(ctx context.Context, in *sourcegraph.BuildsGetTaskLogOp) (*sourcegraph.LogEntries, error) DequeueNext_ func(ctx context.Context, in *sourcegraph.BuildsDequeueNextOp) (*sourcegraph.Build, error) }
func (*BuildsClient) Create ¶
func (s *BuildsClient) Create(ctx context.Context, in *sourcegraph.BuildsCreateOp, opts ...grpc.CallOption) (*sourcegraph.Build, error)
func (*BuildsClient) CreateTasks ¶
func (s *BuildsClient) CreateTasks(ctx context.Context, in *sourcegraph.BuildsCreateTasksOp, opts ...grpc.CallOption) (*sourcegraph.BuildTaskList, error)
func (*BuildsClient) DequeueNext ¶
func (s *BuildsClient) DequeueNext(ctx context.Context, in *sourcegraph.BuildsDequeueNextOp, opts ...grpc.CallOption) (*sourcegraph.Build, error)
func (*BuildsClient) Get ¶
func (s *BuildsClient) Get(ctx context.Context, in *sourcegraph.BuildSpec, opts ...grpc.CallOption) (*sourcegraph.Build, error)
func (*BuildsClient) GetLog ¶
func (s *BuildsClient) GetLog(ctx context.Context, in *sourcegraph.BuildsGetLogOp, opts ...grpc.CallOption) (*sourcegraph.LogEntries, error)
func (*BuildsClient) GetRepoBuildInfo ¶
func (s *BuildsClient) GetRepoBuildInfo(ctx context.Context, in *sourcegraph.BuildsGetRepoBuildInfoOp, opts ...grpc.CallOption) (*sourcegraph.RepoBuildInfo, error)
func (*BuildsClient) GetTaskLog ¶
func (s *BuildsClient) GetTaskLog(ctx context.Context, in *sourcegraph.BuildsGetTaskLogOp, opts ...grpc.CallOption) (*sourcegraph.LogEntries, error)
func (*BuildsClient) List ¶
func (s *BuildsClient) List(ctx context.Context, in *sourcegraph.BuildListOptions, opts ...grpc.CallOption) (*sourcegraph.BuildList, error)
func (*BuildsClient) ListBuildTasks ¶
func (s *BuildsClient) ListBuildTasks(ctx context.Context, in *sourcegraph.BuildsListBuildTasksOp, opts ...grpc.CallOption) (*sourcegraph.BuildTaskList, error)
func (*BuildsClient) MockGetRepoBuildInfo ¶
func (s *BuildsClient) MockGetRepoBuildInfo(t *testing.T, info *sourcegraph.RepoBuildInfo) (called *bool)
func (*BuildsClient) MockGet_Return ¶
func (s *BuildsClient) MockGet_Return(t *testing.T, want *sourcegraph.Build) (called *bool)
func (*BuildsClient) MockList ¶
func (s *BuildsClient) MockList(t *testing.T, want ...*sourcegraph.Build) (called *bool)
func (*BuildsClient) MockListBuildTasks ¶
func (s *BuildsClient) MockListBuildTasks(t *testing.T, want ...*sourcegraph.BuildTask) (called *bool)
func (*BuildsClient) Update ¶
func (s *BuildsClient) Update(ctx context.Context, in *sourcegraph.BuildsUpdateOp, opts ...grpc.CallOption) (*sourcegraph.Build, error)
func (*BuildsClient) UpdateTask ¶
func (s *BuildsClient) UpdateTask(ctx context.Context, in *sourcegraph.BuildsUpdateTaskOp, opts ...grpc.CallOption) (*sourcegraph.BuildTask, error)
type BuildsServer ¶
type BuildsServer struct { Get_ func(v0 context.Context, v1 *sourcegraph.BuildSpec) (*sourcegraph.Build, error) GetRepoBuildInfo_ func(v0 context.Context, v1 *sourcegraph.BuildsGetRepoBuildInfoOp) (*sourcegraph.RepoBuildInfo, error) List_ func(v0 context.Context, v1 *sourcegraph.BuildListOptions) (*sourcegraph.BuildList, error) Create_ func(v0 context.Context, v1 *sourcegraph.BuildsCreateOp) (*sourcegraph.Build, error) Update_ func(v0 context.Context, v1 *sourcegraph.BuildsUpdateOp) (*sourcegraph.Build, error) ListBuildTasks_ func(v0 context.Context, v1 *sourcegraph.BuildsListBuildTasksOp) (*sourcegraph.BuildTaskList, error) CreateTasks_ func(v0 context.Context, v1 *sourcegraph.BuildsCreateTasksOp) (*sourcegraph.BuildTaskList, error) UpdateTask_ func(v0 context.Context, v1 *sourcegraph.BuildsUpdateTaskOp) (*sourcegraph.BuildTask, error) GetLog_ func(v0 context.Context, v1 *sourcegraph.BuildsGetLogOp) (*sourcegraph.LogEntries, error) GetTaskLog_ func(v0 context.Context, v1 *sourcegraph.BuildsGetTaskLogOp) (*sourcegraph.LogEntries, error) DequeueNext_ func(v0 context.Context, v1 *sourcegraph.BuildsDequeueNextOp) (*sourcegraph.Build, error) }
func (*BuildsServer) Create ¶
func (s *BuildsServer) Create(v0 context.Context, v1 *sourcegraph.BuildsCreateOp) (*sourcegraph.Build, error)
func (*BuildsServer) CreateTasks ¶
func (s *BuildsServer) CreateTasks(v0 context.Context, v1 *sourcegraph.BuildsCreateTasksOp) (*sourcegraph.BuildTaskList, error)
func (*BuildsServer) DequeueNext ¶
func (s *BuildsServer) DequeueNext(v0 context.Context, v1 *sourcegraph.BuildsDequeueNextOp) (*sourcegraph.Build, error)
func (*BuildsServer) Get ¶
func (s *BuildsServer) Get(v0 context.Context, v1 *sourcegraph.BuildSpec) (*sourcegraph.Build, error)
func (*BuildsServer) GetLog ¶
func (s *BuildsServer) GetLog(v0 context.Context, v1 *sourcegraph.BuildsGetLogOp) (*sourcegraph.LogEntries, error)
func (*BuildsServer) GetRepoBuildInfo ¶
func (s *BuildsServer) GetRepoBuildInfo(v0 context.Context, v1 *sourcegraph.BuildsGetRepoBuildInfoOp) (*sourcegraph.RepoBuildInfo, error)
func (*BuildsServer) GetTaskLog ¶
func (s *BuildsServer) GetTaskLog(v0 context.Context, v1 *sourcegraph.BuildsGetTaskLogOp) (*sourcegraph.LogEntries, error)
func (*BuildsServer) List ¶
func (s *BuildsServer) List(v0 context.Context, v1 *sourcegraph.BuildListOptions) (*sourcegraph.BuildList, error)
func (*BuildsServer) ListBuildTasks ¶
func (s *BuildsServer) ListBuildTasks(v0 context.Context, v1 *sourcegraph.BuildsListBuildTasksOp) (*sourcegraph.BuildTaskList, error)
func (*BuildsServer) MockGetRepoBuildInfo ¶
func (s *BuildsServer) MockGetRepoBuildInfo(t *testing.T, info *sourcegraph.RepoBuildInfo) (called *bool)
func (*BuildsServer) MockGet_Return ¶
func (s *BuildsServer) MockGet_Return(t *testing.T, want *sourcegraph.Build) (called *bool)
func (*BuildsServer) MockList ¶
func (s *BuildsServer) MockList(t *testing.T, want ...*sourcegraph.Build) (called *bool)
func (*BuildsServer) MockListBuildTasks ¶
func (s *BuildsServer) MockListBuildTasks(t *testing.T, want ...*sourcegraph.BuildTask) (called *bool)
func (*BuildsServer) Update ¶
func (s *BuildsServer) Update(v0 context.Context, v1 *sourcegraph.BuildsUpdateOp) (*sourcegraph.Build, error)
func (*BuildsServer) UpdateTask ¶
func (s *BuildsServer) UpdateTask(v0 context.Context, v1 *sourcegraph.BuildsUpdateTaskOp) (*sourcegraph.BuildTask, error)
type ChangesetsClient ¶
type ChangesetsClient struct { Create_ func(ctx context.Context, in *sourcegraph.ChangesetCreateOp) (*sourcegraph.Changeset, error) Get_ func(ctx context.Context, in *sourcegraph.ChangesetSpec) (*sourcegraph.Changeset, error) List_ func(ctx context.Context, in *sourcegraph.ChangesetListOp) (*sourcegraph.ChangesetList, error) Update_ func(ctx context.Context, in *sourcegraph.ChangesetUpdateOp) (*sourcegraph.ChangesetEvent, error) CreateReview_ func(ctx context.Context, in *sourcegraph.ChangesetCreateReviewOp) (*sourcegraph.ChangesetReview, error) ListReviews_ func(ctx context.Context, in *sourcegraph.ChangesetListReviewsOp) (*sourcegraph.ChangesetReviewList, error) ListEvents_ func(ctx context.Context, in *sourcegraph.ChangesetSpec) (*sourcegraph.ChangesetEventList, error) }
func (*ChangesetsClient) Create ¶
func (s *ChangesetsClient) Create(ctx context.Context, in *sourcegraph.ChangesetCreateOp, opts ...grpc.CallOption) (*sourcegraph.Changeset, error)
func (*ChangesetsClient) CreateReview ¶
func (s *ChangesetsClient) CreateReview(ctx context.Context, in *sourcegraph.ChangesetCreateReviewOp, opts ...grpc.CallOption) (*sourcegraph.ChangesetReview, error)
func (*ChangesetsClient) Get ¶
func (s *ChangesetsClient) Get(ctx context.Context, in *sourcegraph.ChangesetSpec, opts ...grpc.CallOption) (*sourcegraph.Changeset, error)
func (*ChangesetsClient) List ¶
func (s *ChangesetsClient) List(ctx context.Context, in *sourcegraph.ChangesetListOp, opts ...grpc.CallOption) (*sourcegraph.ChangesetList, error)
func (*ChangesetsClient) ListEvents ¶
func (s *ChangesetsClient) ListEvents(ctx context.Context, in *sourcegraph.ChangesetSpec, opts ...grpc.CallOption) (*sourcegraph.ChangesetEventList, error)
func (*ChangesetsClient) ListReviews ¶
func (s *ChangesetsClient) ListReviews(ctx context.Context, in *sourcegraph.ChangesetListReviewsOp, opts ...grpc.CallOption) (*sourcegraph.ChangesetReviewList, error)
func (*ChangesetsClient) Update ¶
func (s *ChangesetsClient) Update(ctx context.Context, in *sourcegraph.ChangesetUpdateOp, opts ...grpc.CallOption) (*sourcegraph.ChangesetEvent, error)
type ChangesetsServer ¶
type ChangesetsServer struct { Create_ func(v0 context.Context, v1 *sourcegraph.ChangesetCreateOp) (*sourcegraph.Changeset, error) Get_ func(v0 context.Context, v1 *sourcegraph.ChangesetSpec) (*sourcegraph.Changeset, error) List_ func(v0 context.Context, v1 *sourcegraph.ChangesetListOp) (*sourcegraph.ChangesetList, error) Update_ func(v0 context.Context, v1 *sourcegraph.ChangesetUpdateOp) (*sourcegraph.ChangesetEvent, error) CreateReview_ func(v0 context.Context, v1 *sourcegraph.ChangesetCreateReviewOp) (*sourcegraph.ChangesetReview, error) ListReviews_ func(v0 context.Context, v1 *sourcegraph.ChangesetListReviewsOp) (*sourcegraph.ChangesetReviewList, error) ListEvents_ func(v0 context.Context, v1 *sourcegraph.ChangesetSpec) (*sourcegraph.ChangesetEventList, error) }
func (*ChangesetsServer) Create ¶
func (s *ChangesetsServer) Create(v0 context.Context, v1 *sourcegraph.ChangesetCreateOp) (*sourcegraph.Changeset, error)
func (*ChangesetsServer) CreateReview ¶
func (s *ChangesetsServer) CreateReview(v0 context.Context, v1 *sourcegraph.ChangesetCreateReviewOp) (*sourcegraph.ChangesetReview, error)
func (*ChangesetsServer) Get ¶
func (s *ChangesetsServer) Get(v0 context.Context, v1 *sourcegraph.ChangesetSpec) (*sourcegraph.Changeset, error)
func (*ChangesetsServer) List ¶
func (s *ChangesetsServer) List(v0 context.Context, v1 *sourcegraph.ChangesetListOp) (*sourcegraph.ChangesetList, error)
func (*ChangesetsServer) ListEvents ¶
func (s *ChangesetsServer) ListEvents(v0 context.Context, v1 *sourcegraph.ChangesetSpec) (*sourcegraph.ChangesetEventList, error)
func (*ChangesetsServer) ListReviews ¶
func (s *ChangesetsServer) ListReviews(v0 context.Context, v1 *sourcegraph.ChangesetListReviewsOp) (*sourcegraph.ChangesetReviewList, error)
func (*ChangesetsServer) Update ¶
func (s *ChangesetsServer) Update(v0 context.Context, v1 *sourcegraph.ChangesetUpdateOp) (*sourcegraph.ChangesetEvent, error)
type DefsClient ¶
type DefsClient struct { Get_ func(ctx context.Context, in *sourcegraph.DefsGetOp) (*sourcegraph.Def, error) List_ func(ctx context.Context, in *sourcegraph.DefListOptions) (*sourcegraph.DefList, error) ListRefs_ func(ctx context.Context, in *sourcegraph.DefsListRefsOp) (*sourcegraph.RefList, error) ListExamples_ func(ctx context.Context, in *sourcegraph.DefsListExamplesOp) (*sourcegraph.ExampleList, error) ListAuthors_ func(ctx context.Context, in *sourcegraph.DefsListAuthorsOp) (*sourcegraph.DefAuthorList, error) ListClients_ func(ctx context.Context, in *sourcegraph.DefsListClientsOp) (*sourcegraph.DefClientList, error) }
func (*DefsClient) Get ¶
func (s *DefsClient) Get(ctx context.Context, in *sourcegraph.DefsGetOp, opts ...grpc.CallOption) (*sourcegraph.Def, error)
func (*DefsClient) List ¶
func (s *DefsClient) List(ctx context.Context, in *sourcegraph.DefListOptions, opts ...grpc.CallOption) (*sourcegraph.DefList, error)
func (*DefsClient) ListAuthors ¶
func (s *DefsClient) ListAuthors(ctx context.Context, in *sourcegraph.DefsListAuthorsOp, opts ...grpc.CallOption) (*sourcegraph.DefAuthorList, error)
func (*DefsClient) ListClients ¶
func (s *DefsClient) ListClients(ctx context.Context, in *sourcegraph.DefsListClientsOp, opts ...grpc.CallOption) (*sourcegraph.DefClientList, error)
func (*DefsClient) ListExamples ¶
func (s *DefsClient) ListExamples(ctx context.Context, in *sourcegraph.DefsListExamplesOp, opts ...grpc.CallOption) (*sourcegraph.ExampleList, error)
func (*DefsClient) ListRefs ¶
func (s *DefsClient) ListRefs(ctx context.Context, in *sourcegraph.DefsListRefsOp, opts ...grpc.CallOption) (*sourcegraph.RefList, error)
func (*DefsClient) MockGet ¶
func (s *DefsClient) MockGet(t *testing.T, wantDef sourcegraph.DefSpec) (called *bool)
func (*DefsClient) MockGet_Return ¶
func (s *DefsClient) MockGet_Return(t *testing.T, wantDef *sourcegraph.Def) (called *bool)
func (*DefsClient) MockList ¶
func (s *DefsClient) MockList(t *testing.T, wantDefs ...*sourcegraph.Def) (called *bool)
type DefsServer ¶
type DefsServer struct { Get_ func(v0 context.Context, v1 *sourcegraph.DefsGetOp) (*sourcegraph.Def, error) List_ func(v0 context.Context, v1 *sourcegraph.DefListOptions) (*sourcegraph.DefList, error) ListRefs_ func(v0 context.Context, v1 *sourcegraph.DefsListRefsOp) (*sourcegraph.RefList, error) ListExamples_ func(v0 context.Context, v1 *sourcegraph.DefsListExamplesOp) (*sourcegraph.ExampleList, error) ListAuthors_ func(v0 context.Context, v1 *sourcegraph.DefsListAuthorsOp) (*sourcegraph.DefAuthorList, error) ListClients_ func(v0 context.Context, v1 *sourcegraph.DefsListClientsOp) (*sourcegraph.DefClientList, error) }
func (*DefsServer) Get ¶
func (s *DefsServer) Get(v0 context.Context, v1 *sourcegraph.DefsGetOp) (*sourcegraph.Def, error)
func (*DefsServer) List ¶
func (s *DefsServer) List(v0 context.Context, v1 *sourcegraph.DefListOptions) (*sourcegraph.DefList, error)
func (*DefsServer) ListAuthors ¶
func (s *DefsServer) ListAuthors(v0 context.Context, v1 *sourcegraph.DefsListAuthorsOp) (*sourcegraph.DefAuthorList, error)
func (*DefsServer) ListClients ¶
func (s *DefsServer) ListClients(v0 context.Context, v1 *sourcegraph.DefsListClientsOp) (*sourcegraph.DefClientList, error)
func (*DefsServer) ListExamples ¶
func (s *DefsServer) ListExamples(v0 context.Context, v1 *sourcegraph.DefsListExamplesOp) (*sourcegraph.ExampleList, error)
func (*DefsServer) ListRefs ¶
func (s *DefsServer) ListRefs(v0 context.Context, v1 *sourcegraph.DefsListRefsOp) (*sourcegraph.RefList, error)
func (*DefsServer) MockGet ¶
func (s *DefsServer) MockGet(t *testing.T, wantDef sourcegraph.DefSpec) (called *bool)
func (*DefsServer) MockGet_Return ¶
func (s *DefsServer) MockGet_Return(t *testing.T, wantDef *sourcegraph.Def) (called *bool)
func (*DefsServer) MockList ¶
func (s *DefsServer) MockList(t *testing.T, wantDefs ...*sourcegraph.Def) (called *bool)
type DeltasClient ¶
type DeltasClient struct { Get_ func(ctx context.Context, in *sourcegraph.DeltaSpec) (*sourcegraph.Delta, error) ListUnits_ func(ctx context.Context, in *sourcegraph.DeltasListUnitsOp) (*sourcegraph.UnitDeltaList, error) ListDefs_ func(ctx context.Context, in *sourcegraph.DeltasListDefsOp) (*sourcegraph.DeltaDefs, error) ListFiles_ func(ctx context.Context, in *sourcegraph.DeltasListFilesOp) (*sourcegraph.DeltaFiles, error) ListAffectedAuthors_ func(ctx context.Context, in *sourcegraph.DeltasListAffectedAuthorsOp) (*sourcegraph.DeltaAffectedPersonList, error) ListAffectedClients_ func(ctx context.Context, in *sourcegraph.DeltasListAffectedClientsOp) (*sourcegraph.DeltaAffectedPersonList, error) }
func (*DeltasClient) Get ¶
func (s *DeltasClient) Get(ctx context.Context, in *sourcegraph.DeltaSpec, opts ...grpc.CallOption) (*sourcegraph.Delta, error)
func (*DeltasClient) ListAffectedAuthors ¶
func (s *DeltasClient) ListAffectedAuthors(ctx context.Context, in *sourcegraph.DeltasListAffectedAuthorsOp, opts ...grpc.CallOption) (*sourcegraph.DeltaAffectedPersonList, error)
func (*DeltasClient) ListAffectedClients ¶
func (s *DeltasClient) ListAffectedClients(ctx context.Context, in *sourcegraph.DeltasListAffectedClientsOp, opts ...grpc.CallOption) (*sourcegraph.DeltaAffectedPersonList, error)
func (*DeltasClient) ListDefs ¶
func (s *DeltasClient) ListDefs(ctx context.Context, in *sourcegraph.DeltasListDefsOp, opts ...grpc.CallOption) (*sourcegraph.DeltaDefs, error)
func (*DeltasClient) ListFiles ¶
func (s *DeltasClient) ListFiles(ctx context.Context, in *sourcegraph.DeltasListFilesOp, opts ...grpc.CallOption) (*sourcegraph.DeltaFiles, error)
func (*DeltasClient) ListUnits ¶
func (s *DeltasClient) ListUnits(ctx context.Context, in *sourcegraph.DeltasListUnitsOp, opts ...grpc.CallOption) (*sourcegraph.UnitDeltaList, error)
type DeltasServer ¶
type DeltasServer struct { Get_ func(v0 context.Context, v1 *sourcegraph.DeltaSpec) (*sourcegraph.Delta, error) ListUnits_ func(v0 context.Context, v1 *sourcegraph.DeltasListUnitsOp) (*sourcegraph.UnitDeltaList, error) ListDefs_ func(v0 context.Context, v1 *sourcegraph.DeltasListDefsOp) (*sourcegraph.DeltaDefs, error) ListFiles_ func(v0 context.Context, v1 *sourcegraph.DeltasListFilesOp) (*sourcegraph.DeltaFiles, error) ListAffectedAuthors_ func(v0 context.Context, v1 *sourcegraph.DeltasListAffectedAuthorsOp) (*sourcegraph.DeltaAffectedPersonList, error) ListAffectedClients_ func(v0 context.Context, v1 *sourcegraph.DeltasListAffectedClientsOp) (*sourcegraph.DeltaAffectedPersonList, error) }
func (*DeltasServer) Get ¶
func (s *DeltasServer) Get(v0 context.Context, v1 *sourcegraph.DeltaSpec) (*sourcegraph.Delta, error)
func (*DeltasServer) ListAffectedAuthors ¶
func (s *DeltasServer) ListAffectedAuthors(v0 context.Context, v1 *sourcegraph.DeltasListAffectedAuthorsOp) (*sourcegraph.DeltaAffectedPersonList, error)
func (*DeltasServer) ListAffectedClients ¶
func (s *DeltasServer) ListAffectedClients(v0 context.Context, v1 *sourcegraph.DeltasListAffectedClientsOp) (*sourcegraph.DeltaAffectedPersonList, error)
func (*DeltasServer) ListDefs ¶
func (s *DeltasServer) ListDefs(v0 context.Context, v1 *sourcegraph.DeltasListDefsOp) (*sourcegraph.DeltaDefs, error)
func (*DeltasServer) ListFiles ¶
func (s *DeltasServer) ListFiles(v0 context.Context, v1 *sourcegraph.DeltasListFilesOp) (*sourcegraph.DeltaFiles, error)
func (*DeltasServer) ListUnits ¶
func (s *DeltasServer) ListUnits(v0 context.Context, v1 *sourcegraph.DeltasListUnitsOp) (*sourcegraph.UnitDeltaList, error)
type DiscussionsClient ¶
type DiscussionsClient struct { Create_ func(ctx context.Context, in *sourcegraph.Discussion) (*sourcegraph.Discussion, error) Get_ func(ctx context.Context, in *sourcegraph.DiscussionSpec) (*sourcegraph.Discussion, error) List_ func(ctx context.Context, in *sourcegraph.DiscussionListOp) (*sourcegraph.DiscussionList, error) CreateComment_ func(ctx context.Context, in *sourcegraph.DiscussionCommentCreateOp) (*sourcegraph.DiscussionComment, error) UpdateRating_ func(ctx context.Context, in *sourcegraph.DiscussionRatingUpdateOp) (*pbtypes.Void, error) }
func (*DiscussionsClient) Create ¶
func (s *DiscussionsClient) Create(ctx context.Context, in *sourcegraph.Discussion, opts ...grpc.CallOption) (*sourcegraph.Discussion, error)
func (*DiscussionsClient) CreateComment ¶
func (s *DiscussionsClient) CreateComment(ctx context.Context, in *sourcegraph.DiscussionCommentCreateOp, opts ...grpc.CallOption) (*sourcegraph.DiscussionComment, error)
func (*DiscussionsClient) Get ¶
func (s *DiscussionsClient) Get(ctx context.Context, in *sourcegraph.DiscussionSpec, opts ...grpc.CallOption) (*sourcegraph.Discussion, error)
func (*DiscussionsClient) List ¶
func (s *DiscussionsClient) List(ctx context.Context, in *sourcegraph.DiscussionListOp, opts ...grpc.CallOption) (*sourcegraph.DiscussionList, error)
func (*DiscussionsClient) UpdateRating ¶
func (s *DiscussionsClient) UpdateRating(ctx context.Context, in *sourcegraph.DiscussionRatingUpdateOp, opts ...grpc.CallOption) (*pbtypes.Void, error)
type DiscussionsServer ¶
type DiscussionsServer struct { Create_ func(v0 context.Context, v1 *sourcegraph.Discussion) (*sourcegraph.Discussion, error) Get_ func(v0 context.Context, v1 *sourcegraph.DiscussionSpec) (*sourcegraph.Discussion, error) List_ func(v0 context.Context, v1 *sourcegraph.DiscussionListOp) (*sourcegraph.DiscussionList, error) CreateComment_ func(v0 context.Context, v1 *sourcegraph.DiscussionCommentCreateOp) (*sourcegraph.DiscussionComment, error) UpdateRating_ func(v0 context.Context, v1 *sourcegraph.DiscussionRatingUpdateOp) (*pbtypes.Void, error) }
func (*DiscussionsServer) Create ¶
func (s *DiscussionsServer) Create(v0 context.Context, v1 *sourcegraph.Discussion) (*sourcegraph.Discussion, error)
func (*DiscussionsServer) CreateComment ¶
func (s *DiscussionsServer) CreateComment(v0 context.Context, v1 *sourcegraph.DiscussionCommentCreateOp) (*sourcegraph.DiscussionComment, error)
func (*DiscussionsServer) Get ¶
func (s *DiscussionsServer) Get(v0 context.Context, v1 *sourcegraph.DiscussionSpec) (*sourcegraph.Discussion, error)
func (*DiscussionsServer) List ¶
func (s *DiscussionsServer) List(v0 context.Context, v1 *sourcegraph.DiscussionListOp) (*sourcegraph.DiscussionList, error)
func (*DiscussionsServer) UpdateRating ¶
func (s *DiscussionsServer) UpdateRating(v0 context.Context, v1 *sourcegraph.DiscussionRatingUpdateOp) (*pbtypes.Void, error)
type GraphUplinkClient ¶
type GraphUplinkClient struct { Push_ func(ctx context.Context, in *sourcegraph.MetricsSnapshot) (*pbtypes.Void, error) PushEvents_ func(ctx context.Context, in *sourcegraph.UserEventList) (*pbtypes.Void, error) }
func (*GraphUplinkClient) Push ¶
func (s *GraphUplinkClient) Push(ctx context.Context, in *sourcegraph.MetricsSnapshot, opts ...grpc.CallOption) (*pbtypes.Void, error)
func (*GraphUplinkClient) PushEvents ¶
func (s *GraphUplinkClient) PushEvents(ctx context.Context, in *sourcegraph.UserEventList, opts ...grpc.CallOption) (*pbtypes.Void, error)
type GraphUplinkServer ¶
type GraphUplinkServer struct { Push_ func(v0 context.Context, v1 *sourcegraph.MetricsSnapshot) (*pbtypes.Void, error) PushEvents_ func(v0 context.Context, v1 *sourcegraph.UserEventList) (*pbtypes.Void, error) }
func (*GraphUplinkServer) Push ¶
func (s *GraphUplinkServer) Push(v0 context.Context, v1 *sourcegraph.MetricsSnapshot) (*pbtypes.Void, error)
func (*GraphUplinkServer) PushEvents ¶
func (s *GraphUplinkServer) PushEvents(v0 context.Context, v1 *sourcegraph.UserEventList) (*pbtypes.Void, error)
type MarkdownClient ¶
type MarkdownClient struct {
Render_ func(ctx context.Context, in *sourcegraph.MarkdownRenderOp) (*sourcegraph.MarkdownData, error)
}
func (*MarkdownClient) Render ¶
func (s *MarkdownClient) Render(ctx context.Context, in *sourcegraph.MarkdownRenderOp, opts ...grpc.CallOption) (*sourcegraph.MarkdownData, error)
type MarkdownServer ¶
type MarkdownServer struct {
Render_ func(v0 context.Context, v1 *sourcegraph.MarkdownRenderOp) (*sourcegraph.MarkdownData, error)
}
func (*MarkdownServer) Render ¶
func (s *MarkdownServer) Render(v0 context.Context, v1 *sourcegraph.MarkdownRenderOp) (*sourcegraph.MarkdownData, error)
type MetaClient ¶
type MetaClient struct { Status_ func(ctx context.Context, in *pbtypes.Void) (*sourcegraph.ServerStatus, error) Config_ func(ctx context.Context, in *pbtypes.Void) (*sourcegraph.ServerConfig, error) }
func (*MetaClient) Config ¶
func (s *MetaClient) Config(ctx context.Context, in *pbtypes.Void, opts ...grpc.CallOption) (*sourcegraph.ServerConfig, error)
func (*MetaClient) Status ¶
func (s *MetaClient) Status(ctx context.Context, in *pbtypes.Void, opts ...grpc.CallOption) (*sourcegraph.ServerStatus, error)
type MetaServer ¶
type MetaServer struct { Status_ func(v0 context.Context, v1 *pbtypes.Void) (*sourcegraph.ServerStatus, error) Config_ func(v0 context.Context, v1 *pbtypes.Void) (*sourcegraph.ServerConfig, error) }
func (*MetaServer) Config ¶
func (s *MetaServer) Config(v0 context.Context, v1 *pbtypes.Void) (*sourcegraph.ServerConfig, error)
func (*MetaServer) Status ¶
func (s *MetaServer) Status(v0 context.Context, v1 *pbtypes.Void) (*sourcegraph.ServerStatus, error)
type MirrorReposClient ¶
type MirrorReposClient struct {
RefreshVCS_ func(ctx context.Context, in *sourcegraph.MirrorReposRefreshVCSOp) (*pbtypes.Void, error)
}
func (*MirrorReposClient) RefreshVCS ¶
func (s *MirrorReposClient) RefreshVCS(ctx context.Context, in *sourcegraph.MirrorReposRefreshVCSOp, opts ...grpc.CallOption) (*pbtypes.Void, error)
type MirrorReposServer ¶
type MirrorReposServer struct {
RefreshVCS_ func(v0 context.Context, v1 *sourcegraph.MirrorReposRefreshVCSOp) (*pbtypes.Void, error)
}
func (*MirrorReposServer) RefreshVCS ¶
func (s *MirrorReposServer) RefreshVCS(v0 context.Context, v1 *sourcegraph.MirrorReposRefreshVCSOp) (*pbtypes.Void, error)
type MirroredRepoSSHKeysClient ¶
type MirroredRepoSSHKeysClient struct { Create_ func(ctx context.Context, in *sourcegraph.MirroredRepoSSHKeysCreateOp) (*pbtypes.Void, error) Get_ func(ctx context.Context, in *sourcegraph.RepoSpec) (*sourcegraph.SSHPrivateKey, error) Delete_ func(ctx context.Context, in *sourcegraph.RepoSpec) (*pbtypes.Void, error) }
func (*MirroredRepoSSHKeysClient) Create ¶
func (s *MirroredRepoSSHKeysClient) Create(ctx context.Context, in *sourcegraph.MirroredRepoSSHKeysCreateOp, opts ...grpc.CallOption) (*pbtypes.Void, error)
func (*MirroredRepoSSHKeysClient) Delete ¶
func (s *MirroredRepoSSHKeysClient) Delete(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*pbtypes.Void, error)
func (*MirroredRepoSSHKeysClient) Get ¶
func (s *MirroredRepoSSHKeysClient) Get(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*sourcegraph.SSHPrivateKey, error)
type MirroredRepoSSHKeysServer ¶
type MirroredRepoSSHKeysServer struct { Create_ func(v0 context.Context, v1 *sourcegraph.MirroredRepoSSHKeysCreateOp) (*pbtypes.Void, error) Get_ func(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.SSHPrivateKey, error) Delete_ func(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error) }
func (*MirroredRepoSSHKeysServer) Create ¶
func (s *MirroredRepoSSHKeysServer) Create(v0 context.Context, v1 *sourcegraph.MirroredRepoSSHKeysCreateOp) (*pbtypes.Void, error)
func (*MirroredRepoSSHKeysServer) Delete ¶
func (s *MirroredRepoSSHKeysServer) Delete(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error)
func (*MirroredRepoSSHKeysServer) Get ¶
func (s *MirroredRepoSSHKeysServer) Get(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.SSHPrivateKey, error)
type OrgsClient ¶
type OrgsClient struct { Get_ func(ctx context.Context, in *sourcegraph.OrgSpec) (*sourcegraph.Org, error) List_ func(ctx context.Context, in *sourcegraph.OrgsListOp) (*sourcegraph.OrgList, error) ListMembers_ func(ctx context.Context, in *sourcegraph.OrgsListMembersOp) (*sourcegraph.UserList, error) }
func (*OrgsClient) Get ¶
func (s *OrgsClient) Get(ctx context.Context, in *sourcegraph.OrgSpec, opts ...grpc.CallOption) (*sourcegraph.Org, error)
func (*OrgsClient) List ¶
func (s *OrgsClient) List(ctx context.Context, in *sourcegraph.OrgsListOp, opts ...grpc.CallOption) (*sourcegraph.OrgList, error)
func (*OrgsClient) ListMembers ¶
func (s *OrgsClient) ListMembers(ctx context.Context, in *sourcegraph.OrgsListMembersOp, opts ...grpc.CallOption) (*sourcegraph.UserList, error)
type OrgsServer ¶
type OrgsServer struct { Get_ func(v0 context.Context, v1 *sourcegraph.OrgSpec) (*sourcegraph.Org, error) List_ func(v0 context.Context, v1 *sourcegraph.OrgsListOp) (*sourcegraph.OrgList, error) ListMembers_ func(v0 context.Context, v1 *sourcegraph.OrgsListMembersOp) (*sourcegraph.UserList, error) }
func (*OrgsServer) Get ¶
func (s *OrgsServer) Get(v0 context.Context, v1 *sourcegraph.OrgSpec) (*sourcegraph.Org, error)
func (*OrgsServer) List ¶
func (s *OrgsServer) List(v0 context.Context, v1 *sourcegraph.OrgsListOp) (*sourcegraph.OrgList, error)
func (*OrgsServer) ListMembers ¶
func (s *OrgsServer) ListMembers(v0 context.Context, v1 *sourcegraph.OrgsListMembersOp) (*sourcegraph.UserList, error)
type PeopleClient ¶
type PeopleClient struct {
Get_ func(ctx context.Context, in *sourcegraph.PersonSpec) (*sourcegraph.Person, error)
}
func (*PeopleClient) Get ¶
func (s *PeopleClient) Get(ctx context.Context, in *sourcegraph.PersonSpec, opts ...grpc.CallOption) (*sourcegraph.Person, error)
type PeopleServer ¶
type PeopleServer struct {
Get_ func(v0 context.Context, v1 *sourcegraph.PersonSpec) (*sourcegraph.Person, error)
}
func (*PeopleServer) Get ¶
func (s *PeopleServer) Get(v0 context.Context, v1 *sourcegraph.PersonSpec) (*sourcegraph.Person, error)
type RegisteredClientsClient ¶
type RegisteredClientsClient struct { Get_ func(ctx context.Context, in *sourcegraph.RegisteredClientSpec) (*sourcegraph.RegisteredClient, error) GetCurrent_ func(ctx context.Context, in *pbtypes.Void) (*sourcegraph.RegisteredClient, error) Create_ func(ctx context.Context, in *sourcegraph.RegisteredClient) (*sourcegraph.RegisteredClient, error) Update_ func(ctx context.Context, in *sourcegraph.RegisteredClient) (*pbtypes.Void, error) Delete_ func(ctx context.Context, in *sourcegraph.RegisteredClientSpec) (*pbtypes.Void, error) List_ func(ctx context.Context, in *sourcegraph.RegisteredClientListOptions) (*sourcegraph.RegisteredClientList, error) GetUserPermissions_ func(ctx context.Context, in *sourcegraph.UserPermissionsOptions) (*sourcegraph.UserPermissions, error) SetUserPermissions_ func(ctx context.Context, in *sourcegraph.UserPermissions) (*pbtypes.Void, error) ListUserPermissions_ func(ctx context.Context, in *sourcegraph.RegisteredClientSpec) (*sourcegraph.UserPermissionsList, error) }
func (*RegisteredClientsClient) Create ¶
func (s *RegisteredClientsClient) Create(ctx context.Context, in *sourcegraph.RegisteredClient, opts ...grpc.CallOption) (*sourcegraph.RegisteredClient, error)
func (*RegisteredClientsClient) Delete ¶
func (s *RegisteredClientsClient) Delete(ctx context.Context, in *sourcegraph.RegisteredClientSpec, opts ...grpc.CallOption) (*pbtypes.Void, error)
func (*RegisteredClientsClient) Get ¶
func (s *RegisteredClientsClient) Get(ctx context.Context, in *sourcegraph.RegisteredClientSpec, opts ...grpc.CallOption) (*sourcegraph.RegisteredClient, error)
func (*RegisteredClientsClient) GetCurrent ¶
func (s *RegisteredClientsClient) GetCurrent(ctx context.Context, in *pbtypes.Void, opts ...grpc.CallOption) (*sourcegraph.RegisteredClient, error)
func (*RegisteredClientsClient) GetUserPermissions ¶
func (s *RegisteredClientsClient) GetUserPermissions(ctx context.Context, in *sourcegraph.UserPermissionsOptions, opts ...grpc.CallOption) (*sourcegraph.UserPermissions, error)
func (*RegisteredClientsClient) List ¶
func (s *RegisteredClientsClient) List(ctx context.Context, in *sourcegraph.RegisteredClientListOptions, opts ...grpc.CallOption) (*sourcegraph.RegisteredClientList, error)
func (*RegisteredClientsClient) ListUserPermissions ¶
func (s *RegisteredClientsClient) ListUserPermissions(ctx context.Context, in *sourcegraph.RegisteredClientSpec, opts ...grpc.CallOption) (*sourcegraph.UserPermissionsList, error)
func (*RegisteredClientsClient) SetUserPermissions ¶
func (s *RegisteredClientsClient) SetUserPermissions(ctx context.Context, in *sourcegraph.UserPermissions, opts ...grpc.CallOption) (*pbtypes.Void, error)
func (*RegisteredClientsClient) Update ¶
func (s *RegisteredClientsClient) Update(ctx context.Context, in *sourcegraph.RegisteredClient, opts ...grpc.CallOption) (*pbtypes.Void, error)
type RegisteredClientsServer ¶
type RegisteredClientsServer struct { Get_ func(v0 context.Context, v1 *sourcegraph.RegisteredClientSpec) (*sourcegraph.RegisteredClient, error) GetCurrent_ func(v0 context.Context, v1 *pbtypes.Void) (*sourcegraph.RegisteredClient, error) Create_ func(v0 context.Context, v1 *sourcegraph.RegisteredClient) (*sourcegraph.RegisteredClient, error) Update_ func(v0 context.Context, v1 *sourcegraph.RegisteredClient) (*pbtypes.Void, error) Delete_ func(v0 context.Context, v1 *sourcegraph.RegisteredClientSpec) (*pbtypes.Void, error) List_ func(v0 context.Context, v1 *sourcegraph.RegisteredClientListOptions) (*sourcegraph.RegisteredClientList, error) GetUserPermissions_ func(v0 context.Context, v1 *sourcegraph.UserPermissionsOptions) (*sourcegraph.UserPermissions, error) SetUserPermissions_ func(v0 context.Context, v1 *sourcegraph.UserPermissions) (*pbtypes.Void, error) ListUserPermissions_ func(v0 context.Context, v1 *sourcegraph.RegisteredClientSpec) (*sourcegraph.UserPermissionsList, error) }
func (*RegisteredClientsServer) Create ¶
func (s *RegisteredClientsServer) Create(v0 context.Context, v1 *sourcegraph.RegisteredClient) (*sourcegraph.RegisteredClient, error)
func (*RegisteredClientsServer) Delete ¶
func (s *RegisteredClientsServer) Delete(v0 context.Context, v1 *sourcegraph.RegisteredClientSpec) (*pbtypes.Void, error)
func (*RegisteredClientsServer) Get ¶
func (s *RegisteredClientsServer) Get(v0 context.Context, v1 *sourcegraph.RegisteredClientSpec) (*sourcegraph.RegisteredClient, error)
func (*RegisteredClientsServer) GetCurrent ¶
func (s *RegisteredClientsServer) GetCurrent(v0 context.Context, v1 *pbtypes.Void) (*sourcegraph.RegisteredClient, error)
func (*RegisteredClientsServer) GetUserPermissions ¶
func (s *RegisteredClientsServer) GetUserPermissions(v0 context.Context, v1 *sourcegraph.UserPermissionsOptions) (*sourcegraph.UserPermissions, error)
func (*RegisteredClientsServer) List ¶
func (s *RegisteredClientsServer) List(v0 context.Context, v1 *sourcegraph.RegisteredClientListOptions) (*sourcegraph.RegisteredClientList, error)
func (*RegisteredClientsServer) ListUserPermissions ¶
func (s *RegisteredClientsServer) ListUserPermissions(v0 context.Context, v1 *sourcegraph.RegisteredClientSpec) (*sourcegraph.UserPermissionsList, error)
func (*RegisteredClientsServer) SetUserPermissions ¶
func (s *RegisteredClientsServer) SetUserPermissions(v0 context.Context, v1 *sourcegraph.UserPermissions) (*pbtypes.Void, error)
func (*RegisteredClientsServer) Update ¶
func (s *RegisteredClientsServer) Update(v0 context.Context, v1 *sourcegraph.RegisteredClient) (*pbtypes.Void, error)
type RepoBadgesClient ¶
type RepoBadgesClient struct { ListBadges_ func(ctx context.Context, in *sourcegraph.RepoSpec) (*sourcegraph.BadgeList, error) ListCounters_ func(ctx context.Context, in *sourcegraph.RepoSpec) (*sourcegraph.CounterList, error) RecordHit_ func(ctx context.Context, in *sourcegraph.RepoSpec) (*pbtypes.Void, error) CountHits_ func(ctx context.Context, in *sourcegraph.RepoBadgesCountHitsOp) (*sourcegraph.RepoBadgesCountHitsResult, error) }
func (*RepoBadgesClient) CountHits ¶
func (s *RepoBadgesClient) CountHits(ctx context.Context, in *sourcegraph.RepoBadgesCountHitsOp, opts ...grpc.CallOption) (*sourcegraph.RepoBadgesCountHitsResult, error)
func (*RepoBadgesClient) ListBadges ¶
func (s *RepoBadgesClient) ListBadges(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*sourcegraph.BadgeList, error)
func (*RepoBadgesClient) ListCounters ¶
func (s *RepoBadgesClient) ListCounters(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*sourcegraph.CounterList, error)
func (*RepoBadgesClient) RecordHit ¶
func (s *RepoBadgesClient) RecordHit(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*pbtypes.Void, error)
type RepoBadgesServer ¶
type RepoBadgesServer struct { ListBadges_ func(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.BadgeList, error) ListCounters_ func(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.CounterList, error) RecordHit_ func(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error) CountHits_ func(v0 context.Context, v1 *sourcegraph.RepoBadgesCountHitsOp) (*sourcegraph.RepoBadgesCountHitsResult, error) }
func (*RepoBadgesServer) CountHits ¶
func (s *RepoBadgesServer) CountHits(v0 context.Context, v1 *sourcegraph.RepoBadgesCountHitsOp) (*sourcegraph.RepoBadgesCountHitsResult, error)
func (*RepoBadgesServer) ListBadges ¶
func (s *RepoBadgesServer) ListBadges(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.BadgeList, error)
func (*RepoBadgesServer) ListCounters ¶
func (s *RepoBadgesServer) ListCounters(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.CounterList, error)
func (*RepoBadgesServer) RecordHit ¶
func (s *RepoBadgesServer) RecordHit(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error)
type RepoStatusesClient ¶
type RepoStatusesClient struct { GetCombined_ func(ctx context.Context, in *sourcegraph.RepoRevSpec) (*sourcegraph.CombinedStatus, error) Create_ func(ctx context.Context, in *sourcegraph.RepoStatusesCreateOp) (*sourcegraph.RepoStatus, error) }
func (*RepoStatusesClient) Create ¶
func (s *RepoStatusesClient) Create(ctx context.Context, in *sourcegraph.RepoStatusesCreateOp, opts ...grpc.CallOption) (*sourcegraph.RepoStatus, error)
func (*RepoStatusesClient) GetCombined ¶
func (s *RepoStatusesClient) GetCombined(ctx context.Context, in *sourcegraph.RepoRevSpec, opts ...grpc.CallOption) (*sourcegraph.CombinedStatus, error)
type RepoStatusesServer ¶
type RepoStatusesServer struct { GetCombined_ func(v0 context.Context, v1 *sourcegraph.RepoRevSpec) (*sourcegraph.CombinedStatus, error) Create_ func(v0 context.Context, v1 *sourcegraph.RepoStatusesCreateOp) (*sourcegraph.RepoStatus, error) }
func (*RepoStatusesServer) Create ¶
func (s *RepoStatusesServer) Create(v0 context.Context, v1 *sourcegraph.RepoStatusesCreateOp) (*sourcegraph.RepoStatus, error)
func (*RepoStatusesServer) GetCombined ¶
func (s *RepoStatusesServer) GetCombined(v0 context.Context, v1 *sourcegraph.RepoRevSpec) (*sourcegraph.CombinedStatus, error)
type RepoTreeClient ¶
type RepoTreeClient struct { Get_ func(ctx context.Context, in *sourcegraph.RepoTreeGetOp) (*sourcegraph.TreeEntry, error) Search_ func(ctx context.Context, in *sourcegraph.RepoTreeSearchOp) (*sourcegraph.VCSSearchResultList, error) List_ func(ctx context.Context, in *sourcegraph.RepoTreeListOp) (*sourcegraph.RepoTreeListResult, error) }
func (*RepoTreeClient) Get ¶
func (s *RepoTreeClient) Get(ctx context.Context, in *sourcegraph.RepoTreeGetOp, opts ...grpc.CallOption) (*sourcegraph.TreeEntry, error)
func (*RepoTreeClient) List ¶
func (s *RepoTreeClient) List(ctx context.Context, in *sourcegraph.RepoTreeListOp, opts ...grpc.CallOption) (*sourcegraph.RepoTreeListResult, error)
func (*RepoTreeClient) Search ¶
func (s *RepoTreeClient) Search(ctx context.Context, in *sourcegraph.RepoTreeSearchOp, opts ...grpc.CallOption) (*sourcegraph.VCSSearchResultList, error)
type RepoTreeServer ¶
type RepoTreeServer struct { Get_ func(v0 context.Context, v1 *sourcegraph.RepoTreeGetOp) (*sourcegraph.TreeEntry, error) Search_ func(v0 context.Context, v1 *sourcegraph.RepoTreeSearchOp) (*sourcegraph.VCSSearchResultList, error) List_ func(v0 context.Context, v1 *sourcegraph.RepoTreeListOp) (*sourcegraph.RepoTreeListResult, error) }
func (*RepoTreeServer) Get ¶
func (s *RepoTreeServer) Get(v0 context.Context, v1 *sourcegraph.RepoTreeGetOp) (*sourcegraph.TreeEntry, error)
func (*RepoTreeServer) List ¶
func (s *RepoTreeServer) List(v0 context.Context, v1 *sourcegraph.RepoTreeListOp) (*sourcegraph.RepoTreeListResult, error)
func (*RepoTreeServer) Search ¶
func (s *RepoTreeServer) Search(v0 context.Context, v1 *sourcegraph.RepoTreeSearchOp) (*sourcegraph.VCSSearchResultList, error)
type ReposClient ¶
type ReposClient struct { Get_ func(ctx context.Context, in *sourcegraph.RepoSpec) (*sourcegraph.Repo, error) List_ func(ctx context.Context, in *sourcegraph.RepoListOptions) (*sourcegraph.RepoList, error) Create_ func(ctx context.Context, in *sourcegraph.ReposCreateOp) (*sourcegraph.Repo, error) Update_ func(ctx context.Context, in *sourcegraph.ReposUpdateOp) (*sourcegraph.Repo, error) Delete_ func(ctx context.Context, in *sourcegraph.RepoSpec) (*pbtypes.Void, error) GetReadme_ func(ctx context.Context, in *sourcegraph.RepoRevSpec) (*sourcegraph.Readme, error) Enable_ func(ctx context.Context, in *sourcegraph.RepoSpec) (*pbtypes.Void, error) Disable_ func(ctx context.Context, in *sourcegraph.RepoSpec) (*pbtypes.Void, error) GetConfig_ func(ctx context.Context, in *sourcegraph.RepoSpec) (*sourcegraph.RepoConfig, error) GetCommit_ func(ctx context.Context, in *sourcegraph.RepoRevSpec) (*vcs.Commit, error) ListCommits_ func(ctx context.Context, in *sourcegraph.ReposListCommitsOp) (*sourcegraph.CommitList, error) ListBranches_ func(ctx context.Context, in *sourcegraph.ReposListBranchesOp) (*sourcegraph.BranchList, error) ListTags_ func(ctx context.Context, in *sourcegraph.ReposListTagsOp) (*sourcegraph.TagList, error) ListCommitters_ func(ctx context.Context, in *sourcegraph.ReposListCommittersOp) (*sourcegraph.CommitterList, error) }
func (*ReposClient) Create ¶
func (s *ReposClient) Create(ctx context.Context, in *sourcegraph.ReposCreateOp, opts ...grpc.CallOption) (*sourcegraph.Repo, error)
func (*ReposClient) Delete ¶
func (s *ReposClient) Delete(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*pbtypes.Void, error)
func (*ReposClient) Disable ¶
func (s *ReposClient) Disable(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*pbtypes.Void, error)
func (*ReposClient) Enable ¶
func (s *ReposClient) Enable(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*pbtypes.Void, error)
func (*ReposClient) Get ¶
func (s *ReposClient) Get(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*sourcegraph.Repo, error)
func (*ReposClient) GetCommit ¶
func (s *ReposClient) GetCommit(ctx context.Context, in *sourcegraph.RepoRevSpec, opts ...grpc.CallOption) (*vcs.Commit, error)
func (*ReposClient) GetConfig ¶
func (s *ReposClient) GetConfig(ctx context.Context, in *sourcegraph.RepoSpec, opts ...grpc.CallOption) (*sourcegraph.RepoConfig, error)
func (*ReposClient) GetReadme ¶
func (s *ReposClient) GetReadme(ctx context.Context, in *sourcegraph.RepoRevSpec, opts ...grpc.CallOption) (*sourcegraph.Readme, error)
func (*ReposClient) List ¶
func (s *ReposClient) List(ctx context.Context, in *sourcegraph.RepoListOptions, opts ...grpc.CallOption) (*sourcegraph.RepoList, error)
func (*ReposClient) ListBranches ¶
func (s *ReposClient) ListBranches(ctx context.Context, in *sourcegraph.ReposListBranchesOp, opts ...grpc.CallOption) (*sourcegraph.BranchList, error)
func (*ReposClient) ListCommits ¶
func (s *ReposClient) ListCommits(ctx context.Context, in *sourcegraph.ReposListCommitsOp, opts ...grpc.CallOption) (*sourcegraph.CommitList, error)
func (*ReposClient) ListCommitters ¶
func (s *ReposClient) ListCommitters(ctx context.Context, in *sourcegraph.ReposListCommittersOp, opts ...grpc.CallOption) (*sourcegraph.CommitterList, error)
func (*ReposClient) ListTags ¶
func (s *ReposClient) ListTags(ctx context.Context, in *sourcegraph.ReposListTagsOp, opts ...grpc.CallOption) (*sourcegraph.TagList, error)
func (*ReposClient) MockGet ¶
func (s *ReposClient) MockGet(t *testing.T, wantRepo string) (called *bool)
func (*ReposClient) MockGetCommit_ByID_NoCheck ¶
func (*ReposClient) MockGetCommit_Return_NoCheck ¶
func (*ReposClient) MockGet_Return ¶
func (s *ReposClient) MockGet_Return(t *testing.T, returns *sourcegraph.Repo) (called *bool)
func (*ReposClient) MockList ¶
func (s *ReposClient) MockList(t *testing.T, wantRepos ...string) (called *bool)
func (*ReposClient) MockListCommits ¶
func (*ReposClient) Update ¶
func (s *ReposClient) Update(ctx context.Context, in *sourcegraph.ReposUpdateOp, opts ...grpc.CallOption) (*sourcegraph.Repo, error)
type ReposServer ¶
type ReposServer struct { Get_ func(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.Repo, error) List_ func(v0 context.Context, v1 *sourcegraph.RepoListOptions) (*sourcegraph.RepoList, error) Create_ func(v0 context.Context, v1 *sourcegraph.ReposCreateOp) (*sourcegraph.Repo, error) Update_ func(v0 context.Context, v1 *sourcegraph.ReposUpdateOp) (*sourcegraph.Repo, error) Delete_ func(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error) GetReadme_ func(v0 context.Context, v1 *sourcegraph.RepoRevSpec) (*sourcegraph.Readme, error) Enable_ func(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error) Disable_ func(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error) GetConfig_ func(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.RepoConfig, error) GetCommit_ func(v0 context.Context, v1 *sourcegraph.RepoRevSpec) (*vcs.Commit, error) ListCommits_ func(v0 context.Context, v1 *sourcegraph.ReposListCommitsOp) (*sourcegraph.CommitList, error) ListBranches_ func(v0 context.Context, v1 *sourcegraph.ReposListBranchesOp) (*sourcegraph.BranchList, error) ListTags_ func(v0 context.Context, v1 *sourcegraph.ReposListTagsOp) (*sourcegraph.TagList, error) ListCommitters_ func(v0 context.Context, v1 *sourcegraph.ReposListCommittersOp) (*sourcegraph.CommitterList, error) }
func (*ReposServer) Create ¶
func (s *ReposServer) Create(v0 context.Context, v1 *sourcegraph.ReposCreateOp) (*sourcegraph.Repo, error)
func (*ReposServer) Delete ¶
func (s *ReposServer) Delete(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error)
func (*ReposServer) Disable ¶
func (s *ReposServer) Disable(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error)
func (*ReposServer) Enable ¶
func (s *ReposServer) Enable(v0 context.Context, v1 *sourcegraph.RepoSpec) (*pbtypes.Void, error)
func (*ReposServer) Get ¶
func (s *ReposServer) Get(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.Repo, error)
func (*ReposServer) GetCommit ¶
func (s *ReposServer) GetCommit(v0 context.Context, v1 *sourcegraph.RepoRevSpec) (*vcs.Commit, error)
func (*ReposServer) GetConfig ¶
func (s *ReposServer) GetConfig(v0 context.Context, v1 *sourcegraph.RepoSpec) (*sourcegraph.RepoConfig, error)
func (*ReposServer) GetReadme ¶
func (s *ReposServer) GetReadme(v0 context.Context, v1 *sourcegraph.RepoRevSpec) (*sourcegraph.Readme, error)
func (*ReposServer) List ¶
func (s *ReposServer) List(v0 context.Context, v1 *sourcegraph.RepoListOptions) (*sourcegraph.RepoList, error)
func (*ReposServer) ListBranches ¶
func (s *ReposServer) ListBranches(v0 context.Context, v1 *sourcegraph.ReposListBranchesOp) (*sourcegraph.BranchList, error)
func (*ReposServer) ListCommits ¶
func (s *ReposServer) ListCommits(v0 context.Context, v1 *sourcegraph.ReposListCommitsOp) (*sourcegraph.CommitList, error)
func (*ReposServer) ListCommitters ¶
func (s *ReposServer) ListCommitters(v0 context.Context, v1 *sourcegraph.ReposListCommittersOp) (*sourcegraph.CommitterList, error)
func (*ReposServer) ListTags ¶
func (s *ReposServer) ListTags(v0 context.Context, v1 *sourcegraph.ReposListTagsOp) (*sourcegraph.TagList, error)
func (*ReposServer) MockGet ¶
func (s *ReposServer) MockGet(t *testing.T, wantRepo string) (called *bool)
func (*ReposServer) MockGetCommit_ByID_NoCheck ¶
func (*ReposServer) MockGetCommit_Return_NoCheck ¶
func (*ReposServer) MockGet_Return ¶
func (s *ReposServer) MockGet_Return(t *testing.T, returns *sourcegraph.Repo) (called *bool)
func (*ReposServer) MockList ¶
func (s *ReposServer) MockList(t *testing.T, wantRepos ...string) (called *bool)
func (*ReposServer) MockListCommits ¶
func (*ReposServer) Update ¶
func (s *ReposServer) Update(v0 context.Context, v1 *sourcegraph.ReposUpdateOp) (*sourcegraph.Repo, error)
type SearchClient ¶
type SearchClient struct { Search_ func(ctx context.Context, in *sourcegraph.SearchOptions) (*sourcegraph.SearchResults, error) SearchTokens_ func(ctx context.Context, in *sourcegraph.TokenSearchOptions) (*sourcegraph.DefList, error) SearchText_ func(ctx context.Context, in *sourcegraph.TextSearchOptions) (*sourcegraph.VCSSearchResultList, error) Complete_ func(ctx context.Context, in *sourcegraph.RawQuery) (*sourcegraph.Completions, error) Suggest_ func(ctx context.Context, in *sourcegraph.RawQuery) (*sourcegraph.SuggestionList, error) }
func (*SearchClient) Complete ¶
func (s *SearchClient) Complete(ctx context.Context, in *sourcegraph.RawQuery, opts ...grpc.CallOption) (*sourcegraph.Completions, error)
func (*SearchClient) Search ¶
func (s *SearchClient) Search(ctx context.Context, in *sourcegraph.SearchOptions, opts ...grpc.CallOption) (*sourcegraph.SearchResults, error)
func (*SearchClient) SearchText ¶
func (s *SearchClient) SearchText(ctx context.Context, in *sourcegraph.TextSearchOptions, opts ...grpc.CallOption) (*sourcegraph.VCSSearchResultList, error)
func (*SearchClient) SearchTokens ¶
func (s *SearchClient) SearchTokens(ctx context.Context, in *sourcegraph.TokenSearchOptions, opts ...grpc.CallOption) (*sourcegraph.DefList, error)
func (*SearchClient) Suggest ¶
func (s *SearchClient) Suggest(ctx context.Context, in *sourcegraph.RawQuery, opts ...grpc.CallOption) (*sourcegraph.SuggestionList, error)
type SearchServer ¶
type SearchServer struct { Search_ func(v0 context.Context, v1 *sourcegraph.SearchOptions) (*sourcegraph.SearchResults, error) SearchTokens_ func(v0 context.Context, v1 *sourcegraph.TokenSearchOptions) (*sourcegraph.DefList, error) SearchText_ func(v0 context.Context, v1 *sourcegraph.TextSearchOptions) (*sourcegraph.VCSSearchResultList, error) Complete_ func(v0 context.Context, v1 *sourcegraph.RawQuery) (*sourcegraph.Completions, error) Suggest_ func(v0 context.Context, v1 *sourcegraph.RawQuery) (*sourcegraph.SuggestionList, error) }
func (*SearchServer) Complete ¶
func (s *SearchServer) Complete(v0 context.Context, v1 *sourcegraph.RawQuery) (*sourcegraph.Completions, error)
func (*SearchServer) Search ¶
func (s *SearchServer) Search(v0 context.Context, v1 *sourcegraph.SearchOptions) (*sourcegraph.SearchResults, error)
func (*SearchServer) SearchText ¶
func (s *SearchServer) SearchText(v0 context.Context, v1 *sourcegraph.TextSearchOptions) (*sourcegraph.VCSSearchResultList, error)
func (*SearchServer) SearchTokens ¶
func (s *SearchServer) SearchTokens(v0 context.Context, v1 *sourcegraph.TokenSearchOptions) (*sourcegraph.DefList, error)
func (*SearchServer) Suggest ¶
func (s *SearchServer) Suggest(v0 context.Context, v1 *sourcegraph.RawQuery) (*sourcegraph.SuggestionList, error)
type UnitsClient ¶
type UnitsClient struct { Get_ func(ctx context.Context, in *sourcegraph.UnitSpec) (*unit.RepoSourceUnit, error) List_ func(ctx context.Context, in *sourcegraph.UnitListOptions) (*sourcegraph.RepoSourceUnitList, error) }
func (*UnitsClient) Get ¶
func (s *UnitsClient) Get(ctx context.Context, in *sourcegraph.UnitSpec, opts ...grpc.CallOption) (*unit.RepoSourceUnit, error)
func (*UnitsClient) List ¶
func (s *UnitsClient) List(ctx context.Context, in *sourcegraph.UnitListOptions, opts ...grpc.CallOption) (*sourcegraph.RepoSourceUnitList, error)
type UnitsServer ¶
type UnitsServer struct { Get_ func(v0 context.Context, v1 *sourcegraph.UnitSpec) (*unit.RepoSourceUnit, error) List_ func(v0 context.Context, v1 *sourcegraph.UnitListOptions) (*sourcegraph.RepoSourceUnitList, error) }
func (*UnitsServer) Get ¶
func (s *UnitsServer) Get(v0 context.Context, v1 *sourcegraph.UnitSpec) (*unit.RepoSourceUnit, error)
func (*UnitsServer) List ¶
func (s *UnitsServer) List(v0 context.Context, v1 *sourcegraph.UnitListOptions) (*sourcegraph.RepoSourceUnitList, error)
type UsersClient ¶
type UsersClient struct { Get_ func(ctx context.Context, in *sourcegraph.UserSpec) (*sourcegraph.User, error) ListEmails_ func(ctx context.Context, in *sourcegraph.UserSpec) (*sourcegraph.EmailAddrList, error) List_ func(ctx context.Context, in *sourcegraph.UsersListOptions) (*sourcegraph.UserList, error) }
func (*UsersClient) Get ¶
func (s *UsersClient) Get(ctx context.Context, in *sourcegraph.UserSpec, opts ...grpc.CallOption) (*sourcegraph.User, error)
func (*UsersClient) List ¶
func (s *UsersClient) List(ctx context.Context, in *sourcegraph.UsersListOptions, opts ...grpc.CallOption) (*sourcegraph.UserList, error)
func (*UsersClient) ListEmails ¶
func (s *UsersClient) ListEmails(ctx context.Context, in *sourcegraph.UserSpec, opts ...grpc.CallOption) (*sourcegraph.EmailAddrList, error)
func (*UsersClient) MockGet ¶
func (s *UsersClient) MockGet(t *testing.T, wantUser string) (called *bool)
func (*UsersClient) MockGet_Return ¶
func (s *UsersClient) MockGet_Return(t *testing.T, returns *sourcegraph.User) (called *bool)
type UsersServer ¶
type UsersServer struct { Get_ func(v0 context.Context, v1 *sourcegraph.UserSpec) (*sourcegraph.User, error) ListEmails_ func(v0 context.Context, v1 *sourcegraph.UserSpec) (*sourcegraph.EmailAddrList, error) List_ func(v0 context.Context, v1 *sourcegraph.UsersListOptions) (*sourcegraph.UserList, error) }
func (*UsersServer) Get ¶
func (s *UsersServer) Get(v0 context.Context, v1 *sourcegraph.UserSpec) (*sourcegraph.User, error)
func (*UsersServer) List ¶
func (s *UsersServer) List(v0 context.Context, v1 *sourcegraph.UsersListOptions) (*sourcegraph.UserList, error)
func (*UsersServer) ListEmails ¶
func (s *UsersServer) ListEmails(v0 context.Context, v1 *sourcegraph.UserSpec) (*sourcegraph.EmailAddrList, error)
func (*UsersServer) MockGet ¶
func (s *UsersServer) MockGet(t *testing.T, wantUser string) (called *bool)
func (*UsersServer) MockGet_Return ¶
func (s *UsersServer) MockGet_Return(t *testing.T, returns *sourcegraph.User) (called *bool)
Click to show internal directories.
Click to hide internal directories.