Documentation ¶
Index ¶
- type API
- func (_m *API) ChangelistLastUpdated(ctx context.Context, qCLID string) (time.Time, error)
- func (_m *API) ComputeGUIStatus(ctx context.Context) (frontend.GUIStatus, error)
- func (_m *API) CountDigestsByTest(ctx context.Context, q frontend.ListTestsQuery) (frontend.ListTestsResponse, error)
- func (_m *API) GetBlamesForUntriagedDigests(ctx context.Context, corpus string) (search.BlameSummaryV1, error)
- func (_m *API) GetChangelistParamset(ctx context.Context, crs string, clID string) (paramtools.ReadOnlyParamSet, error)
- func (_m *API) GetCluster(ctx context.Context, opts search.ClusterOptions) (frontend.ClusterDiffResult, error)
- func (_m *API) GetCommitsInWindow(ctx context.Context) ([]frontend.Commit, error)
- func (_m *API) GetDigestDetails(ctx context.Context, grouping paramtools.Params, digest types.Digest, ...) (frontend.DigestDetails, error)
- func (_m *API) GetDigestsDiff(ctx context.Context, grouping paramtools.Params, left types.Digest, ...) (frontend.DigestComparison, error)
- func (_m *API) GetDigestsForGrouping(ctx context.Context, grouping paramtools.Params) (frontend.DigestListResponse, error)
- func (_m *API) GetPrimaryBranchParamset(ctx context.Context) (paramtools.ReadOnlyParamSet, error)
- func (_m *API) NewAndUntriagedSummaryForCL(ctx context.Context, qCLID string) (search.NewAndUntriagedSummary, error)
- func (_m *API) Search(_a0 context.Context, _a1 *query.Search) (*frontend.SearchResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is an autogenerated mock type for the API type
func NewAPI ¶
NewAPI creates a new instance of API. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*API) ChangelistLastUpdated ¶
ChangelistLastUpdated provides a mock function with given fields: ctx, qCLID
func (*API) ComputeGUIStatus ¶
ComputeGUIStatus provides a mock function with given fields: ctx
func (*API) CountDigestsByTest ¶
func (_m *API) CountDigestsByTest(ctx context.Context, q frontend.ListTestsQuery) (frontend.ListTestsResponse, error)
CountDigestsByTest provides a mock function with given fields: ctx, q
func (*API) GetBlamesForUntriagedDigests ¶
func (_m *API) GetBlamesForUntriagedDigests(ctx context.Context, corpus string) (search.BlameSummaryV1, error)
GetBlamesForUntriagedDigests provides a mock function with given fields: ctx, corpus
func (*API) GetChangelistParamset ¶
func (_m *API) GetChangelistParamset(ctx context.Context, crs string, clID string) (paramtools.ReadOnlyParamSet, error)
GetChangelistParamset provides a mock function with given fields: ctx, crs, clID
func (*API) GetCluster ¶
func (_m *API) GetCluster(ctx context.Context, opts search.ClusterOptions) (frontend.ClusterDiffResult, error)
GetCluster provides a mock function with given fields: ctx, opts
func (*API) GetCommitsInWindow ¶
GetCommitsInWindow provides a mock function with given fields: ctx
func (*API) GetDigestDetails ¶
func (_m *API) GetDigestDetails(ctx context.Context, grouping paramtools.Params, digest types.Digest, clID string, crs string) (frontend.DigestDetails, error)
GetDigestDetails provides a mock function with given fields: ctx, grouping, digest, clID, crs
func (*API) GetDigestsDiff ¶
func (_m *API) GetDigestsDiff(ctx context.Context, grouping paramtools.Params, left types.Digest, right types.Digest, clID string, crs string) (frontend.DigestComparison, error)
GetDigestsDiff provides a mock function with given fields: ctx, grouping, left, right, clID, crs
func (*API) GetDigestsForGrouping ¶
func (_m *API) GetDigestsForGrouping(ctx context.Context, grouping paramtools.Params) (frontend.DigestListResponse, error)
GetDigestsForGrouping provides a mock function with given fields: ctx, grouping
func (*API) GetPrimaryBranchParamset ¶
func (_m *API) GetPrimaryBranchParamset(ctx context.Context) (paramtools.ReadOnlyParamSet, error)
GetPrimaryBranchParamset provides a mock function with given fields: ctx
func (*API) NewAndUntriagedSummaryForCL ¶
func (_m *API) NewAndUntriagedSummaryForCL(ctx context.Context, qCLID string) (search.NewAndUntriagedSummary, error)
NewAndUntriagedSummaryForCL provides a mock function with given fields: ctx, qCLID