mock

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 16 Imported by: ? modules, 0 packages

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

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CantabularClient

type CantabularClient struct {
	ErrStatus               int
	OptionsHappy            bool
	ExpectedFilterDimension string
	GetObservationsResponse *cantabular.GetObservationsResponse
}

func (*CantabularClient) CheckQueryCount added in v1.29.0

func (*CantabularClient) Checker

func (*CantabularClient) CheckerAPIExt

func (c *CantabularClient) CheckerAPIExt(_ context.Context, _ *healthcheck.CheckState) error

func (*CantabularClient) GetArea added in v1.13.0

func (*CantabularClient) GetCategorisations added in v1.16.0

func (*CantabularClient) GetDimensionsByName added in v1.10.0

func (*CantabularClient) GetGeographyDimensionsInBatches added in v1.13.0

func (c *CantabularClient) GetGeographyDimensionsInBatches(context.Context, string, int, int) (*gql.Dataset, error)

func (*CantabularClient) StaticDatasetQuery added in v1.2.0

func (*CantabularClient) StaticDatasetQueryStreamJSON added in v1.29.0

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) CheckQueryCount added in v1.29.0

CheckQueryCount mocks base method.

func (*MockcantabularClient) EXPECT added in v1.2.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockcantabularClient) GetArea added in v1.13.0

GetArea mocks base method.

func (*MockcantabularClient) GetCategorisations added in v1.16.0

GetCategorisations mocks base method.

func (*MockcantabularClient) GetDimensionOptions added in v1.2.0

GetDimensionOptions mocks base method.

func (*MockcantabularClient) GetDimensionsByName added in v1.10.0

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

StaticDatasetQuery mocks base method.

func (*MockcantabularClient) StaticDatasetQueryStreamJSON added in v1.29.0

StaticDatasetQueryStreamJSON 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) CheckQueryCount added in v1.29.0

func (mr *MockcantabularClientMockRecorder) CheckQueryCount(arg0, arg1 interface{}) *gomock.Call

CheckQueryCount indicates an expected call of CheckQueryCount.

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) StaticDatasetQueryStreamJSON added in v1.29.0

func (mr *MockcantabularClientMockRecorder) StaticDatasetQueryStreamJSON(arg0, arg1, arg2 interface{}) *gomock.Call

StaticDatasetQueryStreamJSON indicates an expected call of StaticDatasetQueryStreamJSON.

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) Code added in v1.2.0

func (m *Mockcoder) Code() int

Code mocks base method.

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

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

func (m *Mockdatastore) CreateFilter(arg0 context.Context, arg1 *model.Filter) error

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*Mockdatastore) GetFilter added in v1.2.0

func (m *Mockdatastore) GetFilter(arg0 context.Context, arg1 string) (*model.Filter, error)

GetFilter mocks base method.

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockmetadataAPIClient) GetDefaultClassification added in v1.16.0

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

Checker mocks base method.

func (*MockpopulationTypesAPIClient) EXPECT added in v1.18.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockpopulationTypesAPIClient) GetCategorisations added in v1.18.0

GetCategorisations mocks base method.

func (*MockpopulationTypesAPIClient) GetPopulationTypeMetadata added in v1.18.0

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

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

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.

Jump to

Keyboard shortcuts

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