Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type CantabularClient
- func (c *CantabularClient) Checker(_ context.Context, _ *healthcheck.CheckState) error
- func (c *CantabularClient) CheckerAPIExt(_ context.Context, _ *healthcheck.CheckState) error
- func (c *CantabularClient) GetArea(context.Context, cantabular.GetAreaRequest) (*cantabular.GetAreaResponse, error)
- func (c *CantabularClient) GetCategorisations(context.Context, cantabular.GetCategorisationsRequest) (*cantabular.GetCategorisationsResponse, error)
- func (c *CantabularClient) GetDimensionOptions(_ context.Context, req cantabular.GetDimensionOptionsRequest) (*cantabular.GetDimensionOptionsResponse, error)
- func (c *CantabularClient) GetDimensionsByName(_ context.Context, _ cantabular.GetDimensionsByNameRequest) (*cantabular.GetDimensionsResponse, error)
- func (c *CantabularClient) GetGeographyDimensionsInBatches(context.Context, string, int, int) (*gql.Dataset, error)
- func (c *CantabularClient) StaticDatasetQuery(context.Context, cantabular.StaticDatasetQueryRequest) (*cantabular.StaticDatasetQuery, error)
- func (c *CantabularClient) StatusCode(_ error) int
- type MockcantabularClient
- func (m *MockcantabularClient) EXPECT() *MockcantabularClientMockRecorder
- func (m *MockcantabularClient) GetArea(arg0 context.Context, arg1 cantabular.GetAreaRequest) (*cantabular.GetAreaResponse, error)
- func (m *MockcantabularClient) GetCategorisations(arg0 context.Context, arg1 cantabular.GetCategorisationsRequest) (*cantabular.GetCategorisationsResponse, error)
- func (m *MockcantabularClient) GetDimensionOptions(arg0 context.Context, arg1 cantabular.GetDimensionOptionsRequest) (*cantabular.GetDimensionOptionsResponse, error)
- func (m *MockcantabularClient) GetDimensionsByName(arg0 context.Context, arg1 cantabular.GetDimensionsByNameRequest) (*cantabular.GetDimensionsResponse, error)
- func (m *MockcantabularClient) GetGeographyDimensionsInBatches(ctx context.Context, datasetID string, batchSize, maxWorkers int) (*gql.Dataset, error)
- func (m *MockcantabularClient) StaticDatasetQuery(arg0 context.Context, arg1 cantabular.StaticDatasetQueryRequest) (*cantabular.StaticDatasetQuery, error)
- func (m *MockcantabularClient) StatusCode(arg0 error) int
- type MockcantabularClientMockRecorder
- func (mr *MockcantabularClientMockRecorder) GetArea(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockcantabularClientMockRecorder) GetCategorisations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockcantabularClientMockRecorder) GetDimensionOptions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockcantabularClientMockRecorder) GetDimensionsByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockcantabularClientMockRecorder) GetGeographyDimensionsInBatches(ctx, datasetID, batchSize, maxWorkers interface{}) *gomock.Call
- func (mr *MockcantabularClientMockRecorder) StaticDatasetQuery(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockcantabularClientMockRecorder) StatusCode(arg0 interface{}) *gomock.Call
- type Mockcoder
- type MockcoderMockRecorder
- type MockdatasetAPIClient
- func (m *MockdatasetAPIClient) EXPECT() *MockdatasetAPIClientMockRecorder
- func (m *MockdatasetAPIClient) GetDatasetCurrentAndNext(ctx context.Context, ...) (dataset.Dataset, error)
- func (m *MockdatasetAPIClient) GetMetadataURL(id, edition, version string) string
- func (m *MockdatasetAPIClient) GetOptionsInBatches(ctx context.Context, ...) (dataset.Options, error)
- func (m *MockdatasetAPIClient) GetVersion(ctx context.Context, ...) (dataset.Version, error)
- type MockdatasetAPIClientMockRecorder
- func (mr *MockdatasetAPIClientMockRecorder) GetDatasetCurrentAndNext(ctx, userAuthToken, serviceAuthToken, collectionID, datasetID interface{}) *gomock.Call
- func (mr *MockdatasetAPIClientMockRecorder) GetMetadataURL(id, edition, version interface{}) *gomock.Call
- func (mr *MockdatasetAPIClientMockRecorder) GetOptionsInBatches(...) *gomock.Call
- func (mr *MockdatasetAPIClientMockRecorder) GetVersion(...) *gomock.Call
- type Mockdatastore
- func (m *Mockdatastore) AddFilterDimension(arg0 context.Context, arg1 string, arg2 model.Dimension) error
- func (m *Mockdatastore) AddFilterOutputEvent(arg0 context.Context, arg1 string, arg2 *model.Event) error
- func (m *Mockdatastore) CreateFilter(arg0 context.Context, arg1 *model.Filter) error
- func (m *Mockdatastore) CreateFilterOutput(arg0 context.Context, arg1 *model.FilterOutput) error
- func (m *Mockdatastore) DeleteFilterDimension(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *Mockdatastore) DeleteFilterDimensionOptions(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *Mockdatastore) EXPECT() *MockdatastoreMockRecorder
- func (m *Mockdatastore) GetFilter(arg0 context.Context, arg1 string) (*model.Filter, error)
- func (m *Mockdatastore) GetFilterDimension(ctx context.Context, fID, dimName string) (model.Dimension, error)
- func (m *Mockdatastore) GetFilterDimensionOptions(arg0 context.Context, arg1, arg2 string, arg3, arg4 int) ([]string, int, string, error)
- func (m *Mockdatastore) GetFilterDimensions(arg0 context.Context, arg1 string, arg2, arg3 int) ([]model.Dimension, int, error)
- func (m *Mockdatastore) GetFilterOutput(arg0 context.Context, arg1 string) (*model.FilterOutput, error)
- func (m *Mockdatastore) RemoveFilterDimensionOption(ctx context.Context, filterID, dimension, option, currentETag string) (string, error)
- func (m *Mockdatastore) UpdateFilterDimension(ctx context.Context, filterID, dimensionName string, dimension model.Dimension, ...) (string, error)
- func (m *Mockdatastore) UpdateFilterOutput(arg0 context.Context, arg1 *model.FilterOutput) error
- type MockdatastoreMockRecorder
- func (mr *MockdatastoreMockRecorder) AddFilterDimension(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) AddFilterOutputEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) CreateFilter(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) CreateFilterOutput(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) DeleteFilterDimension(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) DeleteFilterDimensionOptions(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) GetFilter(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) GetFilterDimension(ctx, fID, dimName interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) GetFilterDimensionOptions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) GetFilterDimensions(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) GetFilterOutput(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) RemoveFilterDimensionOption(ctx, filterID, dimension, option, currentETag interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) UpdateFilterDimension(ctx, filterID, dimensionName, dimension, currentETag interface{}) *gomock.Call
- func (mr *MockdatastoreMockRecorder) UpdateFilterOutput(arg0, arg1 interface{}) *gomock.Call
- type Mockgenerator
- type MockgeneratorMockRecorder
- type MockmetadataAPIClient
- type MockmetadataAPIClientMockRecorder
- type MockpopulationTypesAPIClient
- func (m *MockpopulationTypesAPIClient) Checker(arg0 context.Context, arg1 *healthcheck.CheckState) error
- func (m *MockpopulationTypesAPIClient) EXPECT() *MockpopulationTypesAPIClientMockRecorder
- func (m *MockpopulationTypesAPIClient) GetCategorisations(arg0 context.Context, arg1 population.GetCategorisationsInput) (population.GetCategorisationsResponse, error)
- func (m *MockpopulationTypesAPIClient) GetPopulationTypeMetadata(arg0 context.Context, arg1 population.GetPopulationTypeMetadataInput) (population.GetPopulationTypeMetadataResponse, error)
- type MockpopulationTypesAPIClientMockRecorder
- func (mr *MockpopulationTypesAPIClientMockRecorder) Checker(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockpopulationTypesAPIClientMockRecorder) GetCategorisations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockpopulationTypesAPIClientMockRecorder) GetPopulationTypeMetadata(arg0, arg1 interface{}) *gomock.Call
- type Mockresponder
- func (m *Mockresponder) EXPECT() *MockresponderMockRecorder
- func (m *Mockresponder) Error(arg0 context.Context, arg1 http.ResponseWriter, arg2 int, arg3 error)
- func (m *Mockresponder) Errors(arg0 context.Context, arg1 http.ResponseWriter, arg2 int, arg3 []error)
- func (m *Mockresponder) JSON(arg0 context.Context, arg1 http.ResponseWriter, arg2 int, arg3 interface{})
- func (m *Mockresponder) StatusCode(arg0 http.ResponseWriter, arg1 int)
- type MockresponderMockRecorder
- func (mr *MockresponderMockRecorder) Error(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockresponderMockRecorder) Errors(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockresponderMockRecorder) JSON(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockresponderMockRecorder) StatusCode(arg0, arg1 interface{}) *gomock.Call
- type Mockvalidator
- type MockvalidatorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CantabularClient ¶
func (*CantabularClient) Checker ¶
func (c *CantabularClient) Checker(_ context.Context, _ *healthcheck.CheckState) error
func (*CantabularClient) CheckerAPIExt ¶
func (c *CantabularClient) CheckerAPIExt(_ context.Context, _ *healthcheck.CheckState) error
func (*CantabularClient) GetArea ¶ added in v1.13.0
func (c *CantabularClient) GetArea(context.Context, cantabular.GetAreaRequest) (*cantabular.GetAreaResponse, error)
func (*CantabularClient) GetCategorisations ¶ added in v1.16.0
func (c *CantabularClient) GetCategorisations(context.Context, cantabular.GetCategorisationsRequest) (*cantabular.GetCategorisationsResponse, error)
func (*CantabularClient) GetDimensionOptions ¶
func (c *CantabularClient) GetDimensionOptions(_ context.Context, req cantabular.GetDimensionOptionsRequest) (*cantabular.GetDimensionOptionsResponse, error)
func (*CantabularClient) GetDimensionsByName ¶ added in v1.10.0
func (c *CantabularClient) GetDimensionsByName(_ context.Context, _ cantabular.GetDimensionsByNameRequest) (*cantabular.GetDimensionsResponse, error)
func (*CantabularClient) GetGeographyDimensionsInBatches ¶ added in v1.13.0
func (*CantabularClient) StaticDatasetQuery ¶ added in v1.2.0
func (c *CantabularClient) StaticDatasetQuery(context.Context, cantabular.StaticDatasetQueryRequest) (*cantabular.StaticDatasetQuery, error)
func (*CantabularClient) StatusCode ¶
func (c *CantabularClient) StatusCode(_ error) int
type MockcantabularClient ¶ added in v1.2.0
type MockcantabularClient struct {
// contains filtered or unexported fields
}
MockcantabularClient is a mock of cantabularClient interface.
func NewMockcantabularClient ¶ added in v1.2.0
func NewMockcantabularClient(ctrl *gomock.Controller) *MockcantabularClient
NewMockcantabularClient creates a new mock instance.
func (*MockcantabularClient) EXPECT ¶ added in v1.2.0
func (m *MockcantabularClient) EXPECT() *MockcantabularClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockcantabularClient) GetArea ¶ added in v1.13.0
func (m *MockcantabularClient) GetArea(arg0 context.Context, arg1 cantabular.GetAreaRequest) (*cantabular.GetAreaResponse, error)
GetArea mocks base method.
func (*MockcantabularClient) GetCategorisations ¶ added in v1.16.0
func (m *MockcantabularClient) GetCategorisations(arg0 context.Context, arg1 cantabular.GetCategorisationsRequest) (*cantabular.GetCategorisationsResponse, error)
GetCategorisations mocks base method.
func (*MockcantabularClient) GetDimensionOptions ¶ added in v1.2.0
func (m *MockcantabularClient) GetDimensionOptions(arg0 context.Context, arg1 cantabular.GetDimensionOptionsRequest) (*cantabular.GetDimensionOptionsResponse, error)
GetDimensionOptions mocks base method.
func (*MockcantabularClient) GetDimensionsByName ¶ added in v1.10.0
func (m *MockcantabularClient) GetDimensionsByName(arg0 context.Context, arg1 cantabular.GetDimensionsByNameRequest) (*cantabular.GetDimensionsResponse, error)
GetDimensionsByName mocks base method.
func (*MockcantabularClient) GetGeographyDimensionsInBatches ¶ added in v1.13.0
func (m *MockcantabularClient) GetGeographyDimensionsInBatches(ctx context.Context, datasetID string, batchSize, maxWorkers int) (*gql.Dataset, error)
GetGeographyDimensionsInBatches mocks base method.
func (*MockcantabularClient) StaticDatasetQuery ¶ added in v1.2.0
func (m *MockcantabularClient) StaticDatasetQuery(arg0 context.Context, arg1 cantabular.StaticDatasetQueryRequest) (*cantabular.StaticDatasetQuery, error)
StaticDatasetQuery mocks base method.
func (*MockcantabularClient) StatusCode ¶ added in v1.2.0
func (m *MockcantabularClient) StatusCode(arg0 error) int
StatusCode mocks base method.
type MockcantabularClientMockRecorder ¶ added in v1.2.0
type MockcantabularClientMockRecorder struct {
// contains filtered or unexported fields
}
MockcantabularClientMockRecorder is the mock recorder for MockcantabularClient.
func (*MockcantabularClientMockRecorder) GetArea ¶ added in v1.13.0
func (mr *MockcantabularClientMockRecorder) GetArea(arg0, arg1 interface{}) *gomock.Call
GetArea indicates an expected call of GetArea.
func (*MockcantabularClientMockRecorder) GetCategorisations ¶ added in v1.16.0
func (mr *MockcantabularClientMockRecorder) GetCategorisations(arg0, arg1 interface{}) *gomock.Call
GetCategorisations indicates an expected call of GetCategorisations.
func (*MockcantabularClientMockRecorder) GetDimensionOptions ¶ added in v1.2.0
func (mr *MockcantabularClientMockRecorder) GetDimensionOptions(arg0, arg1 interface{}) *gomock.Call
GetDimensionOptions indicates an expected call of GetDimensionOptions.
func (*MockcantabularClientMockRecorder) GetDimensionsByName ¶ added in v1.10.0
func (mr *MockcantabularClientMockRecorder) GetDimensionsByName(arg0, arg1 interface{}) *gomock.Call
GetDimensionsByName indicates an expected call of GetDimensionsByName.
func (*MockcantabularClientMockRecorder) GetGeographyDimensionsInBatches ¶ added in v1.13.0
func (mr *MockcantabularClientMockRecorder) GetGeographyDimensionsInBatches(ctx, datasetID, batchSize, maxWorkers interface{}) *gomock.Call
GetGeographyDimensionsInBatches indicates an expected call of GetGeographyDimensionsInBatches.
func (*MockcantabularClientMockRecorder) StaticDatasetQuery ¶ added in v1.2.0
func (mr *MockcantabularClientMockRecorder) StaticDatasetQuery(arg0, arg1 interface{}) *gomock.Call
StaticDatasetQuery indicates an expected call of StaticDatasetQuery.
func (*MockcantabularClientMockRecorder) StatusCode ¶ added in v1.2.0
func (mr *MockcantabularClientMockRecorder) StatusCode(arg0 interface{}) *gomock.Call
StatusCode indicates an expected call of StatusCode.
type Mockcoder ¶ added in v1.2.0
type Mockcoder struct {
// contains filtered or unexported fields
}
Mockcoder is a mock of coder interface.
func NewMockcoder ¶ added in v1.2.0
func NewMockcoder(ctrl *gomock.Controller) *Mockcoder
NewMockcoder creates a new mock instance.
func (*Mockcoder) EXPECT ¶ added in v1.2.0
func (m *Mockcoder) EXPECT() *MockcoderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockcoderMockRecorder ¶ added in v1.2.0
type MockcoderMockRecorder struct {
// contains filtered or unexported fields
}
MockcoderMockRecorder is the mock recorder for Mockcoder.
func (*MockcoderMockRecorder) Code ¶ added in v1.2.0
func (mr *MockcoderMockRecorder) Code() *gomock.Call
Code indicates an expected call of Code.
type MockdatasetAPIClient ¶ added in v1.2.0
type MockdatasetAPIClient struct {
// contains filtered or unexported fields
}
MockdatasetAPIClient is a mock of datasetAPIClient interface.
func NewMockdatasetAPIClient ¶ added in v1.2.0
func NewMockdatasetAPIClient(ctrl *gomock.Controller) *MockdatasetAPIClient
NewMockdatasetAPIClient creates a new mock instance.
func (*MockdatasetAPIClient) EXPECT ¶ added in v1.2.0
func (m *MockdatasetAPIClient) EXPECT() *MockdatasetAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockdatasetAPIClient) GetDatasetCurrentAndNext ¶ added in v1.2.0
func (m *MockdatasetAPIClient) GetDatasetCurrentAndNext(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, datasetID string) (dataset.Dataset, error)
GetDatasetCurrentAndNext mocks base method.
func (*MockdatasetAPIClient) GetMetadataURL ¶ added in v1.13.0
func (m *MockdatasetAPIClient) GetMetadataURL(id, edition, version string) string
GetMetadataURL mocks base method.
func (*MockdatasetAPIClient) GetOptionsInBatches ¶ added in v1.2.0
func (m *MockdatasetAPIClient) GetOptionsInBatches(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, id, edition, version, dimension string, batchSize, maxWorkers int) (dataset.Options, error)
GetOptionsInBatches mocks base method.
func (*MockdatasetAPIClient) GetVersion ¶ added in v1.2.0
func (m *MockdatasetAPIClient) GetVersion(ctx context.Context, userAuthToken, svcAuthToken, downloadSvcAuthToken, collectionID, datasetID, edition, version string) (dataset.Version, error)
GetVersion mocks base method.
type MockdatasetAPIClientMockRecorder ¶ added in v1.2.0
type MockdatasetAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockdatasetAPIClientMockRecorder is the mock recorder for MockdatasetAPIClient.
func (*MockdatasetAPIClientMockRecorder) GetDatasetCurrentAndNext ¶ added in v1.2.0
func (mr *MockdatasetAPIClientMockRecorder) GetDatasetCurrentAndNext(ctx, userAuthToken, serviceAuthToken, collectionID, datasetID interface{}) *gomock.Call
GetDatasetCurrentAndNext indicates an expected call of GetDatasetCurrentAndNext.
func (*MockdatasetAPIClientMockRecorder) GetMetadataURL ¶ added in v1.13.0
func (mr *MockdatasetAPIClientMockRecorder) GetMetadataURL(id, edition, version interface{}) *gomock.Call
GetMetadataURL indicates an expected call of GetMetadataURL.
func (*MockdatasetAPIClientMockRecorder) GetOptionsInBatches ¶ added in v1.2.0
func (mr *MockdatasetAPIClientMockRecorder) GetOptionsInBatches(ctx, userAuthToken, serviceAuthToken, collectionID, id, edition, version, dimension, batchSize, maxWorkers interface{}) *gomock.Call
GetOptionsInBatches indicates an expected call of GetOptionsInBatches.
func (*MockdatasetAPIClientMockRecorder) GetVersion ¶ added in v1.2.0
func (mr *MockdatasetAPIClientMockRecorder) GetVersion(ctx, userAuthToken, svcAuthToken, downloadSvcAuthToken, collectionID, datasetID, edition, version interface{}) *gomock.Call
GetVersion indicates an expected call of GetVersion.
type Mockdatastore ¶ added in v1.2.0
type Mockdatastore struct {
// contains filtered or unexported fields
}
Mockdatastore is a mock of datastore interface.
func NewMockdatastore ¶ added in v1.2.0
func NewMockdatastore(ctrl *gomock.Controller) *Mockdatastore
NewMockdatastore creates a new mock instance.
func (*Mockdatastore) AddFilterDimension ¶ added in v1.2.0
func (m *Mockdatastore) AddFilterDimension(arg0 context.Context, arg1 string, arg2 model.Dimension) error
AddFilterDimension mocks base method.
func (*Mockdatastore) AddFilterOutputEvent ¶ added in v1.2.0
func (m *Mockdatastore) AddFilterOutputEvent(arg0 context.Context, arg1 string, arg2 *model.Event) error
AddFilterOutputEvent mocks base method.
func (*Mockdatastore) CreateFilter ¶ added in v1.2.0
CreateFilter mocks base method.
func (*Mockdatastore) CreateFilterOutput ¶ added in v1.2.0
func (m *Mockdatastore) CreateFilterOutput(arg0 context.Context, arg1 *model.FilterOutput) error
CreateFilterOutput mocks base method.
func (*Mockdatastore) DeleteFilterDimension ¶ added in v1.6.0
func (m *Mockdatastore) DeleteFilterDimension(arg0 context.Context, arg1, arg2 string) (string, error)
DeleteFilterDimension mocks base method.
func (*Mockdatastore) DeleteFilterDimensionOptions ¶ added in v1.2.0
func (m *Mockdatastore) DeleteFilterDimensionOptions(arg0 context.Context, arg1, arg2 string) (string, error)
DeleteFilterDimensionOptions mocks base method.
func (*Mockdatastore) EXPECT ¶ added in v1.2.0
func (m *Mockdatastore) EXPECT() *MockdatastoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockdatastore) GetFilterDimension ¶ added in v1.2.0
func (m *Mockdatastore) GetFilterDimension(ctx context.Context, fID, dimName string) (model.Dimension, error)
GetFilterDimension mocks base method.
func (*Mockdatastore) GetFilterDimensionOptions ¶ added in v1.2.0
func (m *Mockdatastore) GetFilterDimensionOptions(arg0 context.Context, arg1, arg2 string, arg3, arg4 int) ([]string, int, string, error)
GetFilterDimensionOptions mocks base method.
func (*Mockdatastore) GetFilterDimensions ¶ added in v1.2.0
func (m *Mockdatastore) GetFilterDimensions(arg0 context.Context, arg1 string, arg2, arg3 int) ([]model.Dimension, int, error)
GetFilterDimensions mocks base method.
func (*Mockdatastore) GetFilterOutput ¶ added in v1.2.0
func (m *Mockdatastore) GetFilterOutput(arg0 context.Context, arg1 string) (*model.FilterOutput, error)
GetFilterOutput mocks base method.
func (*Mockdatastore) RemoveFilterDimensionOption ¶ added in v1.2.0
func (m *Mockdatastore) RemoveFilterDimensionOption(ctx context.Context, filterID, dimension, option, currentETag string) (string, error)
RemoveFilterDimensionOption mocks base method.
func (*Mockdatastore) UpdateFilterDimension ¶ added in v1.2.0
func (m *Mockdatastore) UpdateFilterDimension(ctx context.Context, filterID, dimensionName string, dimension model.Dimension, currentETag string) (string, error)
UpdateFilterDimension mocks base method.
func (*Mockdatastore) UpdateFilterOutput ¶ added in v1.2.0
func (m *Mockdatastore) UpdateFilterOutput(arg0 context.Context, arg1 *model.FilterOutput) error
UpdateFilterOutput mocks base method.
type MockdatastoreMockRecorder ¶ added in v1.2.0
type MockdatastoreMockRecorder struct {
// contains filtered or unexported fields
}
MockdatastoreMockRecorder is the mock recorder for Mockdatastore.
func (*MockdatastoreMockRecorder) AddFilterDimension ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) AddFilterDimension(arg0, arg1, arg2 interface{}) *gomock.Call
AddFilterDimension indicates an expected call of AddFilterDimension.
func (*MockdatastoreMockRecorder) AddFilterOutputEvent ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) AddFilterOutputEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddFilterOutputEvent indicates an expected call of AddFilterOutputEvent.
func (*MockdatastoreMockRecorder) CreateFilter ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) CreateFilter(arg0, arg1 interface{}) *gomock.Call
CreateFilter indicates an expected call of CreateFilter.
func (*MockdatastoreMockRecorder) CreateFilterOutput ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) CreateFilterOutput(arg0, arg1 interface{}) *gomock.Call
CreateFilterOutput indicates an expected call of CreateFilterOutput.
func (*MockdatastoreMockRecorder) DeleteFilterDimension ¶ added in v1.6.0
func (mr *MockdatastoreMockRecorder) DeleteFilterDimension(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteFilterDimension indicates an expected call of DeleteFilterDimension.
func (*MockdatastoreMockRecorder) DeleteFilterDimensionOptions ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) DeleteFilterDimensionOptions(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteFilterDimensionOptions indicates an expected call of DeleteFilterDimensionOptions.
func (*MockdatastoreMockRecorder) GetFilter ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) GetFilter(arg0, arg1 interface{}) *gomock.Call
GetFilter indicates an expected call of GetFilter.
func (*MockdatastoreMockRecorder) GetFilterDimension ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) GetFilterDimension(ctx, fID, dimName interface{}) *gomock.Call
GetFilterDimension indicates an expected call of GetFilterDimension.
func (*MockdatastoreMockRecorder) GetFilterDimensionOptions ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) GetFilterDimensionOptions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetFilterDimensionOptions indicates an expected call of GetFilterDimensionOptions.
func (*MockdatastoreMockRecorder) GetFilterDimensions ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) GetFilterDimensions(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetFilterDimensions indicates an expected call of GetFilterDimensions.
func (*MockdatastoreMockRecorder) GetFilterOutput ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) GetFilterOutput(arg0, arg1 interface{}) *gomock.Call
GetFilterOutput indicates an expected call of GetFilterOutput.
func (*MockdatastoreMockRecorder) RemoveFilterDimensionOption ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) RemoveFilterDimensionOption(ctx, filterID, dimension, option, currentETag interface{}) *gomock.Call
RemoveFilterDimensionOption indicates an expected call of RemoveFilterDimensionOption.
func (*MockdatastoreMockRecorder) UpdateFilterDimension ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) UpdateFilterDimension(ctx, filterID, dimensionName, dimension, currentETag interface{}) *gomock.Call
UpdateFilterDimension indicates an expected call of UpdateFilterDimension.
func (*MockdatastoreMockRecorder) UpdateFilterOutput ¶ added in v1.2.0
func (mr *MockdatastoreMockRecorder) UpdateFilterOutput(arg0, arg1 interface{}) *gomock.Call
UpdateFilterOutput indicates an expected call of UpdateFilterOutput.
type Mockgenerator ¶ added in v1.2.0
type Mockgenerator struct {
// contains filtered or unexported fields
}
Mockgenerator is a mock of generator interface.
func NewMockgenerator ¶ added in v1.2.0
func NewMockgenerator(ctrl *gomock.Controller) *Mockgenerator
NewMockgenerator creates a new mock instance.
func (*Mockgenerator) EXPECT ¶ added in v1.2.0
func (m *Mockgenerator) EXPECT() *MockgeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockgenerator) Timestamp ¶ added in v1.2.0
func (m *Mockgenerator) Timestamp() time.Time
Timestamp mocks base method.
func (*Mockgenerator) URL ¶ added in v1.2.0
func (m *Mockgenerator) URL(host, path string, args ...interface{}) string
URL mocks base method.
func (*Mockgenerator) UniqueTimestamp ¶ added in v1.2.0
func (m *Mockgenerator) UniqueTimestamp() primitive.Timestamp
UniqueTimestamp mocks base method.
type MockgeneratorMockRecorder ¶ added in v1.2.0
type MockgeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockgeneratorMockRecorder is the mock recorder for Mockgenerator.
func (*MockgeneratorMockRecorder) Timestamp ¶ added in v1.2.0
func (mr *MockgeneratorMockRecorder) Timestamp() *gomock.Call
Timestamp indicates an expected call of Timestamp.
func (*MockgeneratorMockRecorder) URL ¶ added in v1.2.0
func (mr *MockgeneratorMockRecorder) URL(host, path interface{}, args ...interface{}) *gomock.Call
URL indicates an expected call of URL.
func (*MockgeneratorMockRecorder) UniqueTimestamp ¶ added in v1.2.0
func (mr *MockgeneratorMockRecorder) UniqueTimestamp() *gomock.Call
UniqueTimestamp indicates an expected call of UniqueTimestamp.
type MockmetadataAPIClient ¶ added in v1.16.0
type MockmetadataAPIClient struct {
// contains filtered or unexported fields
}
MockmetadataAPIClient is a mock of metadataAPIClient interface.
func NewMockmetadataAPIClient ¶ added in v1.16.0
func NewMockmetadataAPIClient(ctrl *gomock.Controller) *MockmetadataAPIClient
NewMockmetadataAPIClient creates a new mock instance.
func (*MockmetadataAPIClient) EXPECT ¶ added in v1.16.0
func (m *MockmetadataAPIClient) EXPECT() *MockmetadataAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockmetadataAPIClient) GetDefaultClassification ¶ added in v1.16.0
func (m *MockmetadataAPIClient) GetDefaultClassification(ctx context.Context, req cantabularmetadata.GetDefaultClassificationRequest) (*cantabularmetadata.GetDefaultClassificationResponse, error)
GetDefaultClassification mocks base method.
type MockmetadataAPIClientMockRecorder ¶ added in v1.16.0
type MockmetadataAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockmetadataAPIClientMockRecorder is the mock recorder for MockmetadataAPIClient.
func (*MockmetadataAPIClientMockRecorder) GetDefaultClassification ¶ added in v1.16.0
func (mr *MockmetadataAPIClientMockRecorder) GetDefaultClassification(ctx, req interface{}) *gomock.Call
GetDefaultClassification indicates an expected call of GetDefaultClassification.
type MockpopulationTypesAPIClient ¶ added in v1.18.0
type MockpopulationTypesAPIClient struct {
// contains filtered or unexported fields
}
MockpopulationTypesAPIClient is a mock of populationTypesAPIClient interface.
func NewMockpopulationTypesAPIClient ¶ added in v1.18.0
func NewMockpopulationTypesAPIClient(ctrl *gomock.Controller) *MockpopulationTypesAPIClient
NewMockpopulationTypesAPIClient creates a new mock instance.
func (*MockpopulationTypesAPIClient) Checker ¶ added in v1.18.0
func (m *MockpopulationTypesAPIClient) Checker(arg0 context.Context, arg1 *healthcheck.CheckState) error
Checker mocks base method.
func (*MockpopulationTypesAPIClient) EXPECT ¶ added in v1.18.0
func (m *MockpopulationTypesAPIClient) EXPECT() *MockpopulationTypesAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockpopulationTypesAPIClient) GetCategorisations ¶ added in v1.18.0
func (m *MockpopulationTypesAPIClient) GetCategorisations(arg0 context.Context, arg1 population.GetCategorisationsInput) (population.GetCategorisationsResponse, error)
GetCategorisations mocks base method.
func (*MockpopulationTypesAPIClient) GetPopulationTypeMetadata ¶ added in v1.18.0
func (m *MockpopulationTypesAPIClient) GetPopulationTypeMetadata(arg0 context.Context, arg1 population.GetPopulationTypeMetadataInput) (population.GetPopulationTypeMetadataResponse, error)
GetPopulationTypeMetadata mocks base method.
type MockpopulationTypesAPIClientMockRecorder ¶ added in v1.18.0
type MockpopulationTypesAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockpopulationTypesAPIClientMockRecorder is the mock recorder for MockpopulationTypesAPIClient.
func (*MockpopulationTypesAPIClientMockRecorder) Checker ¶ added in v1.18.0
func (mr *MockpopulationTypesAPIClientMockRecorder) Checker(arg0, arg1 interface{}) *gomock.Call
Checker indicates an expected call of Checker.
func (*MockpopulationTypesAPIClientMockRecorder) GetCategorisations ¶ added in v1.18.0
func (mr *MockpopulationTypesAPIClientMockRecorder) GetCategorisations(arg0, arg1 interface{}) *gomock.Call
GetCategorisations indicates an expected call of GetCategorisations.
func (*MockpopulationTypesAPIClientMockRecorder) GetPopulationTypeMetadata ¶ added in v1.18.0
func (mr *MockpopulationTypesAPIClientMockRecorder) GetPopulationTypeMetadata(arg0, arg1 interface{}) *gomock.Call
GetPopulationTypeMetadata indicates an expected call of GetPopulationTypeMetadata.
type Mockresponder ¶ added in v1.2.0
type Mockresponder struct {
// contains filtered or unexported fields
}
Mockresponder is a mock of responder interface.
func NewMockresponder ¶ added in v1.2.0
func NewMockresponder(ctrl *gomock.Controller) *Mockresponder
NewMockresponder creates a new mock instance.
func (*Mockresponder) EXPECT ¶ added in v1.2.0
func (m *Mockresponder) EXPECT() *MockresponderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockresponder) Error ¶ added in v1.2.0
func (m *Mockresponder) Error(arg0 context.Context, arg1 http.ResponseWriter, arg2 int, arg3 error)
Error mocks base method.
func (*Mockresponder) Errors ¶ added in v1.2.0
func (m *Mockresponder) Errors(arg0 context.Context, arg1 http.ResponseWriter, arg2 int, arg3 []error)
Errors mocks base method.
func (*Mockresponder) JSON ¶ added in v1.2.0
func (m *Mockresponder) JSON(arg0 context.Context, arg1 http.ResponseWriter, arg2 int, arg3 interface{})
JSON mocks base method.
func (*Mockresponder) StatusCode ¶ added in v1.2.0
func (m *Mockresponder) StatusCode(arg0 http.ResponseWriter, arg1 int)
StatusCode mocks base method.
type MockresponderMockRecorder ¶ added in v1.2.0
type MockresponderMockRecorder struct {
// contains filtered or unexported fields
}
MockresponderMockRecorder is the mock recorder for Mockresponder.
func (*MockresponderMockRecorder) Error ¶ added in v1.2.0
func (mr *MockresponderMockRecorder) Error(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockresponderMockRecorder) Errors ¶ added in v1.2.0
func (mr *MockresponderMockRecorder) Errors(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Errors indicates an expected call of Errors.
func (*MockresponderMockRecorder) JSON ¶ added in v1.2.0
func (mr *MockresponderMockRecorder) JSON(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
JSON indicates an expected call of JSON.
func (*MockresponderMockRecorder) StatusCode ¶ added in v1.2.0
func (mr *MockresponderMockRecorder) StatusCode(arg0, arg1 interface{}) *gomock.Call
StatusCode indicates an expected call of StatusCode.
type Mockvalidator ¶ added in v1.2.0
type Mockvalidator struct {
// contains filtered or unexported fields
}
Mockvalidator is a mock of validator interface.
func NewMockvalidator ¶ added in v1.2.0
func NewMockvalidator(ctrl *gomock.Controller) *Mockvalidator
NewMockvalidator creates a new mock instance.
func (*Mockvalidator) EXPECT ¶ added in v1.2.0
func (m *Mockvalidator) EXPECT() *MockvalidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockvalidator) Valid ¶ added in v1.2.0
func (m *Mockvalidator) Valid() error
Valid mocks base method.
type MockvalidatorMockRecorder ¶ added in v1.2.0
type MockvalidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockvalidatorMockRecorder is the mock recorder for Mockvalidator.
func (*MockvalidatorMockRecorder) Valid ¶ added in v1.2.0
func (mr *MockvalidatorMockRecorder) Valid() *gomock.Call
Valid indicates an expected call of Valid.