Documentation
¶
Overview ¶
Package clients is a generated GoMock package.
Index ¶
- func FetchTopic(ctx context.Context, topicAPIClient TopicAPIClient, topicID string, ...) (*topicAPIModels.Topic, error)
- func FetchTopics(ctx context.Context, topicAPIClient TopicAPIClient, topicIDs []string, ...) ([]*topicAPIModels.Topic, error)
- type APIClientsGoDatasetClient
- type ClientError
- type DatasetAPISdkClient
- type FilesAPIClient
- type FilterClient
- type MockAPIClientsGoDatasetClient
- func (m *MockAPIClientsGoDatasetClient) EXPECT() *MockAPIClientsGoDatasetClientMockRecorder
- func (m *MockAPIClientsGoDatasetClient) Get(arg0 context.Context, arg1, arg2, arg3, arg4 string) (dataset.DatasetDetails, error)
- func (m *MockAPIClientsGoDatasetClient) GetByPath(arg0 context.Context, arg1, arg2, arg3, arg4 string) (dataset.DatasetDetails, error)
- func (m *MockAPIClientsGoDatasetClient) GetEdition(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) (dataset.Edition, error)
- func (m *MockAPIClientsGoDatasetClient) GetEditions(arg0 context.Context, arg1, arg2, arg3, arg4 string) ([]dataset.Edition, error)
- func (m *MockAPIClientsGoDatasetClient) GetOptions(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6, arg7 string, ...) (dataset.Options, error)
- func (m *MockAPIClientsGoDatasetClient) GetVersion(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6, arg7 string) (dataset.Version, error)
- func (m *MockAPIClientsGoDatasetClient) GetVersionDimensions(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6 string) (dataset.VersionDimensions, error)
- func (m *MockAPIClientsGoDatasetClient) GetVersionMetadata(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6 string) (dataset.Metadata, error)
- func (m *MockAPIClientsGoDatasetClient) GetVersions(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6 string, ...) (dataset.VersionsList, error)
- type MockAPIClientsGoDatasetClientMockRecorder
- func (mr *MockAPIClientsGoDatasetClientMockRecorder) Get(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetByPath(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetEdition(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetEditions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetOptions(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
- func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetVersion(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
- func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetVersionDimensions(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetVersionMetadata(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetVersions(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
- type MockClientError
- type MockClientErrorMockRecorder
- type MockDatasetAPISdkClient
- func (m *MockDatasetAPISdkClient) EXPECT() *MockDatasetAPISdkClientMockRecorder
- func (m *MockDatasetAPISdkClient) GetDataset(arg0 context.Context, arg1 sdk.Headers, arg2 string) (models.Dataset, error)
- func (m *MockDatasetAPISdkClient) GetDatasetByPath(arg0 context.Context, arg1 sdk.Headers, arg2 string) (models.Dataset, error)
- func (m *MockDatasetAPISdkClient) GetEdition(arg0 context.Context, arg1 sdk.Headers, arg2, arg3 string) (models.Edition, error)
- func (m *MockDatasetAPISdkClient) GetEditions(arg0 context.Context, arg1 sdk.Headers, arg2 string, arg3 *sdk.QueryParams) (sdk.EditionsList, error)
- func (m *MockDatasetAPISdkClient) GetVersion(arg0 context.Context, arg1 sdk.Headers, arg2, arg3, arg4 string) (models.Version, error)
- func (m *MockDatasetAPISdkClient) GetVersionDimensionOptions(arg0 context.Context, arg1 sdk.Headers, arg2, arg3, arg4, arg5 string, ...) (sdk.VersionDimensionOptionsList, error)
- func (m *MockDatasetAPISdkClient) GetVersionDimensions(arg0 context.Context, arg1 sdk.Headers, arg2, arg3, arg4 string) (sdk.VersionDimensionsList, error)
- func (m *MockDatasetAPISdkClient) GetVersionMetadata(arg0 context.Context, arg1 sdk.Headers, arg2, arg3, arg4 string) (models.Metadata, error)
- func (m *MockDatasetAPISdkClient) GetVersionV2(arg0 context.Context, arg1 sdk.Headers, arg2, arg3, arg4 string) (models.Version, error)
- func (m *MockDatasetAPISdkClient) GetVersions(arg0 context.Context, arg1 sdk.Headers, arg2, arg3 string, ...) (sdk.VersionsList, error)
- func (m *MockDatasetAPISdkClient) PutVersionState(arg0 context.Context, arg1 sdk.Headers, arg2, arg3, arg4, arg5 string) error
- type MockDatasetAPISdkClientMockRecorder
- func (mr *MockDatasetAPISdkClientMockRecorder) GetDataset(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDatasetAPISdkClientMockRecorder) GetDatasetByPath(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDatasetAPISdkClientMockRecorder) GetEdition(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDatasetAPISdkClientMockRecorder) GetEditions(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDatasetAPISdkClientMockRecorder) GetVersion(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDatasetAPISdkClientMockRecorder) GetVersionDimensionOptions(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockDatasetAPISdkClientMockRecorder) GetVersionDimensions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDatasetAPISdkClientMockRecorder) GetVersionMetadata(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDatasetAPISdkClientMockRecorder) GetVersionV2(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDatasetAPISdkClientMockRecorder) GetVersions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDatasetAPISdkClientMockRecorder) PutVersionState(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- type MockFilesAPIClient
- type MockFilesAPIClientMockRecorder
- type MockFilterClient
- func (m *MockFilterClient) CreateBlueprint(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6, arg7 string, ...) (string, string, error)
- func (m *MockFilterClient) CreateCustomFilter(arg0 context.Context, arg1, arg2, arg3 string) (string, error)
- func (m *MockFilterClient) CreateFlexibleBlueprint(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6, arg7 string, ...) (string, string, error)
- func (m *MockFilterClient) CreateFlexibleBlueprintCustom(arg0 context.Context, arg1, arg2, arg3 string, ...) (string, string, error)
- func (m *MockFilterClient) EXPECT() *MockFilterClientMockRecorder
- func (m *MockFilterClient) GetDimensionOptions(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string, ...) (filter.DimensionOptions, string, error)
- func (m *MockFilterClient) GetOutput(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) (filter.Model, error)
- type MockFilterClientMockRecorder
- func (mr *MockFilterClientMockRecorder) CreateBlueprint(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
- func (mr *MockFilterClientMockRecorder) CreateCustomFilter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockFilterClientMockRecorder) CreateFlexibleBlueprint(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 interface{}) *gomock.Call
- func (mr *MockFilterClientMockRecorder) CreateFlexibleBlueprintCustom(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockFilterClientMockRecorder) GetDimensionOptions(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockFilterClientMockRecorder) GetOutput(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- type MockPopulationClient
- func (m *MockPopulationClient) EXPECT() *MockPopulationClientMockRecorder
- func (m *MockPopulationClient) GetArea(arg0 context.Context, arg1 population.GetAreaInput) (population.GetAreaResponse, error)
- func (m *MockPopulationClient) GetAreas(arg0 context.Context, arg1 population.GetAreasInput) (population.GetAreasResponse, error)
- func (m *MockPopulationClient) GetBlockedAreaCount(arg0 context.Context, arg1 population.GetBlockedAreaCountInput) (*cantabular.GetBlockedAreaCountResult, error)
- func (m *MockPopulationClient) GetCategorisations(arg0 context.Context, arg1 population.GetCategorisationsInput) (population.GetCategorisationsResponse, error)
- func (m *MockPopulationClient) GetDimensionCategories(arg0 context.Context, arg1 population.GetDimensionCategoryInput) (population.GetDimensionCategoriesResponse, error)
- func (m *MockPopulationClient) GetDimensionsDescription(arg0 context.Context, arg1 population.GetDimensionsDescriptionInput) (population.GetDimensionsResponse, error)
- func (m *MockPopulationClient) GetPopulationType(arg0 context.Context, arg1 population.GetPopulationTypeInput) (population.GetPopulationTypeResponse, error)
- func (m *MockPopulationClient) GetPopulationTypeMetadata(arg0 context.Context, arg1 population.GetPopulationTypeMetadataInput) (population.GetPopulationTypeMetadataResponse, error)
- func (m *MockPopulationClient) GetPopulationTypes(arg0 context.Context, arg1 population.GetPopulationTypesInput) (population.GetPopulationTypesResponse, error)
- type MockPopulationClientMockRecorder
- func (mr *MockPopulationClientMockRecorder) GetArea(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPopulationClientMockRecorder) GetAreas(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPopulationClientMockRecorder) GetBlockedAreaCount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPopulationClientMockRecorder) GetCategorisations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPopulationClientMockRecorder) GetDimensionCategories(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPopulationClientMockRecorder) GetDimensionsDescription(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPopulationClientMockRecorder) GetPopulationType(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPopulationClientMockRecorder) GetPopulationTypeMetadata(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPopulationClientMockRecorder) GetPopulationTypes(arg0, arg1 interface{}) *gomock.Call
- type MockRenderClient
- type MockRenderClientMockRecorder
- type MockTopicAPIClient
- func (m *MockTopicAPIClient) EXPECT() *MockTopicAPIClientMockRecorder
- func (m *MockTopicAPIClient) GetTopicPrivate(arg0 context.Context, arg1 sdk0.Headers, arg2 string) (*models0.TopicResponse, errors.Error)
- func (m *MockTopicAPIClient) GetTopicPublic(arg0 context.Context, arg1 sdk0.Headers, arg2 string) (*models0.Topic, errors.Error)
- type MockTopicAPIClientMockRecorder
- type MockZebedeeClient
- func (m *MockZebedeeClient) EXPECT() *MockZebedeeClientMockRecorder
- func (m *MockZebedeeClient) Get(arg0 context.Context, arg1, arg2 string) ([]byte, error)
- func (m *MockZebedeeClient) GetBreadcrumb(arg0 context.Context, arg1, arg2, arg3, arg4 string) ([]zebedee.Breadcrumb, error)
- func (m *MockZebedeeClient) GetDataset(arg0 context.Context, arg1, arg2, arg3, arg4 string) (zebedee.Dataset, error)
- func (m *MockZebedeeClient) GetDatasetLandingPage(arg0 context.Context, arg1, arg2, arg3, arg4 string) (zebedee.DatasetLandingPage, error)
- func (m *MockZebedeeClient) GetHomepageContent(arg0 context.Context, arg1, arg2, arg3, arg4 string) (zebedee.HomepageContent, error)
- type MockZebedeeClientMockRecorder
- func (mr *MockZebedeeClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockZebedeeClientMockRecorder) GetBreadcrumb(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockZebedeeClientMockRecorder) GetDataset(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockZebedeeClientMockRecorder) GetDatasetLandingPage(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockZebedeeClientMockRecorder) GetHomepageContent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type PopulationClient
- type RenderClient
- type TopicAPIClient
- type ZebedeeClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchTopic ¶
func FetchTopic(ctx context.Context, topicAPIClient TopicAPIClient, topicID string, isPublishing bool, userAccessToken string) (*topicAPIModels.Topic, error)
FetchTopic retrieves a single topic from the topic API. The userAccessToken is only required when isPublishing is true.
func FetchTopics ¶
func FetchTopics(ctx context.Context, topicAPIClient TopicAPIClient, topicIDs []string, isPublishing bool, userAccessToken string) ([]*topicAPIModels.Topic, error)
FetchTopics retrieves a list of topics from the topic API for the given topic IDs. The userAccessToken is only required when isPublishing is true.
Types ¶
type APIClientsGoDatasetClient ¶
type APIClientsGoDatasetClient interface {
Get(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, datasetID string) (m dataset.DatasetDetails, err error)
GetByPath(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, path string) (m dataset.DatasetDetails, err error)
GetEditions(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, datasetID string) (m []dataset.Edition, err error)
GetEdition(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, datasetID, edition string) (dataset.Edition, error)
GetVersions(ctx context.Context, userAuthToken, serviceAuthToken, downloadServiceAuthToken, collectionID, datasetID, edition string, q *dataset.QueryParams) (m dataset.VersionsList, err error)
GetVersion(ctx context.Context, userAuthToken, serviceAuthToken, downloadServiceAuthToken, collectionID, datasetID, edition, version string) (m dataset.Version, err error)
GetVersionMetadata(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, id, edition, version string) (m dataset.Metadata, err error)
GetVersionDimensions(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, id, edition, version string) (m dataset.VersionDimensions, err error)
GetOptions(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, id, edition, version, dimension string, q *dataset.QueryParams) (m dataset.Options, err error)
}
Interface with methods required for a dp-api-clients-go dataset client
type ClientError ¶
ClientError is an interface that can be used to retrieve the status code if a client has errored
type DatasetAPISdkClient ¶
type DatasetAPISdkClient interface {
GetDataset(ctx context.Context, headers datasetAPISDK.Headers, datasetID string) (m datasetAPIModels.Dataset, err error)
GetDatasetByPath(ctx context.Context, headers datasetAPISDK.Headers, path string) (m datasetAPIModels.Dataset, err error)
GetEditions(ctx context.Context, headers datasetAPISDK.Headers, datasetID string, q *datasetAPISDK.QueryParams) (m datasetAPISDK.EditionsList, err error)
GetEdition(ctx context.Context, headers datasetAPISDK.Headers, datasetID, edition string) (datasetAPIModels.Edition, error)
GetVersions(ctx context.Context, headers datasetAPISDK.Headers, datasetID, editionID string, q *datasetAPISDK.QueryParams) (m datasetAPISDK.VersionsList, err error)
GetVersion(ctx context.Context, headers datasetAPISDK.Headers, datasetID, editionID, versionID string) (m datasetAPIModels.Version, err error)
GetVersionV2(ctx context.Context, headers datasetAPISDK.Headers, datasetID, editionID, versionID string) (m datasetAPIModels.Version, err error)
GetVersionMetadata(ctx context.Context, headers datasetAPISDK.Headers, datasetID, editionID, versionID string) (m datasetAPIModels.Metadata, err error)
GetVersionDimensions(ctx context.Context, headers datasetAPISDK.Headers, datasetID, editionID, versionID string) (m datasetAPISDK.VersionDimensionsList, err error)
GetVersionDimensionOptions(ctx context.Context, headers datasetAPISDK.Headers, datasetID, editionID, versionID, dimensionID string, q *datasetAPISDK.QueryParams) (m datasetAPISDK.VersionDimensionOptionsList, err error)
PutVersionState(ctx context.Context, headers datasetAPISDK.Headers, datasetID, editionID, versionID, state string) (err error)
}
Interface with methods required for a dp-dataset-api/sdk dataset client
type FilesAPIClient ¶
type FilesAPIClient interface {
GetFile(ctx context.Context, path string, authToken string) (files.FileMetaData, error)
}
FilesAPIClient is an interface with methods required for getting metadata from Files API
type FilterClient ¶
type FilterClient interface {
CreateBlueprint(ctx context.Context, userAuthToken, serviceAuthToken, downloadServiceToken, collectionID, datasetID, edition, version string, names []string) (filterID, eTag string, err error)
CreateCustomFilter(ctx context.Context, userAuthToken, serviceAuthToken, populationType string) (filterID string, err error)
CreateFlexibleBlueprint(ctx context.Context, userAuthToken, serviceAuthToken, downloadServiceToken, collectionID, datasetID, edition, version string, dimensions []filter.ModelDimension, populationType string) (filterID, eTag string, err error)
GetOutput(ctx context.Context, userAuthToken, serviceAuthToken, downloadServiceToken, collectionID, filterOutputID string) (m filter.Model, err error)
GetDimensionOptions(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, filterID, name string, q *filter.QueryParams) (opts filter.DimensionOptions, eTag string, err error)
CreateFlexibleBlueprintCustom(ctx context.Context, uAuthToken, svcAuthToken, dlServiceToken string, req filter.CreateFlexBlueprintCustomRequest) (filterID, eTag string, err error)
}
FilterClient is an interface with the methods required for a filter client
type MockAPIClientsGoDatasetClient ¶
type MockAPIClientsGoDatasetClient struct {
// contains filtered or unexported fields
}
MockAPIClientsGoDatasetClient is a mock of APIClientsGoDatasetClient interface.
func NewMockAPIClientsGoDatasetClient ¶
func NewMockAPIClientsGoDatasetClient(ctrl *gomock.Controller) *MockAPIClientsGoDatasetClient
NewMockAPIClientsGoDatasetClient creates a new mock instance.
func (*MockAPIClientsGoDatasetClient) EXPECT ¶
func (m *MockAPIClientsGoDatasetClient) EXPECT() *MockAPIClientsGoDatasetClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPIClientsGoDatasetClient) Get ¶
func (m *MockAPIClientsGoDatasetClient) Get(arg0 context.Context, arg1, arg2, arg3, arg4 string) (dataset.DatasetDetails, error)
Get mocks base method.
func (*MockAPIClientsGoDatasetClient) GetByPath ¶
func (m *MockAPIClientsGoDatasetClient) GetByPath(arg0 context.Context, arg1, arg2, arg3, arg4 string) (dataset.DatasetDetails, error)
GetByPath mocks base method.
func (*MockAPIClientsGoDatasetClient) GetEdition ¶
func (m *MockAPIClientsGoDatasetClient) GetEdition(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) (dataset.Edition, error)
GetEdition mocks base method.
func (*MockAPIClientsGoDatasetClient) GetEditions ¶
func (m *MockAPIClientsGoDatasetClient) GetEditions(arg0 context.Context, arg1, arg2, arg3, arg4 string) ([]dataset.Edition, error)
GetEditions mocks base method.
func (*MockAPIClientsGoDatasetClient) GetOptions ¶
func (m *MockAPIClientsGoDatasetClient) GetOptions(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6, arg7 string, arg8 *dataset.QueryParams) (dataset.Options, error)
GetOptions mocks base method.
func (*MockAPIClientsGoDatasetClient) GetVersion ¶
func (m *MockAPIClientsGoDatasetClient) GetVersion(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6, arg7 string) (dataset.Version, error)
GetVersion mocks base method.
func (*MockAPIClientsGoDatasetClient) GetVersionDimensions ¶
func (m *MockAPIClientsGoDatasetClient) GetVersionDimensions(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6 string) (dataset.VersionDimensions, error)
GetVersionDimensions mocks base method.
func (*MockAPIClientsGoDatasetClient) GetVersionMetadata ¶
func (m *MockAPIClientsGoDatasetClient) GetVersionMetadata(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6 string) (dataset.Metadata, error)
GetVersionMetadata mocks base method.
func (*MockAPIClientsGoDatasetClient) GetVersions ¶
func (m *MockAPIClientsGoDatasetClient) GetVersions(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6 string, arg7 *dataset.QueryParams) (dataset.VersionsList, error)
GetVersions mocks base method.
type MockAPIClientsGoDatasetClientMockRecorder ¶
type MockAPIClientsGoDatasetClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIClientsGoDatasetClientMockRecorder is the mock recorder for MockAPIClientsGoDatasetClient.
func (*MockAPIClientsGoDatasetClientMockRecorder) Get ¶
func (mr *MockAPIClientsGoDatasetClientMockRecorder) Get(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockAPIClientsGoDatasetClientMockRecorder) GetByPath ¶
func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetByPath(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetByPath indicates an expected call of GetByPath.
func (*MockAPIClientsGoDatasetClientMockRecorder) GetEdition ¶
func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetEdition(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
GetEdition indicates an expected call of GetEdition.
func (*MockAPIClientsGoDatasetClientMockRecorder) GetEditions ¶
func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetEditions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetEditions indicates an expected call of GetEditions.
func (*MockAPIClientsGoDatasetClientMockRecorder) GetOptions ¶
func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetOptions(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
GetOptions indicates an expected call of GetOptions.
func (*MockAPIClientsGoDatasetClientMockRecorder) GetVersion ¶
func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetVersion(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
GetVersion indicates an expected call of GetVersion.
func (*MockAPIClientsGoDatasetClientMockRecorder) GetVersionDimensions ¶
func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetVersionDimensions(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
GetVersionDimensions indicates an expected call of GetVersionDimensions.
func (*MockAPIClientsGoDatasetClientMockRecorder) GetVersionMetadata ¶
func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetVersionMetadata(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
GetVersionMetadata indicates an expected call of GetVersionMetadata.
func (*MockAPIClientsGoDatasetClientMockRecorder) GetVersions ¶
func (mr *MockAPIClientsGoDatasetClientMockRecorder) GetVersions(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
GetVersions indicates an expected call of GetVersions.
type MockClientError ¶
type MockClientError struct {
// contains filtered or unexported fields
}
MockClientError is a mock of ClientError interface.
func NewMockClientError ¶
func NewMockClientError(ctrl *gomock.Controller) *MockClientError
NewMockClientError creates a new mock instance.
func (*MockClientError) EXPECT ¶
func (m *MockClientError) EXPECT() *MockClientErrorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClientErrorMockRecorder ¶
type MockClientErrorMockRecorder struct {
// contains filtered or unexported fields
}
MockClientErrorMockRecorder is the mock recorder for MockClientError.
func (*MockClientErrorMockRecorder) Code ¶
func (mr *MockClientErrorMockRecorder) Code() *gomock.Call
Code indicates an expected call of Code.
func (*MockClientErrorMockRecorder) Error ¶
func (mr *MockClientErrorMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
type MockDatasetAPISdkClient ¶
type MockDatasetAPISdkClient struct {
// contains filtered or unexported fields
}
MockDatasetAPISdkClient is a mock of DatasetAPISdkClient interface.
func NewMockDatasetAPISdkClient ¶
func NewMockDatasetAPISdkClient(ctrl *gomock.Controller) *MockDatasetAPISdkClient
NewMockDatasetAPISdkClient creates a new mock instance.
func (*MockDatasetAPISdkClient) EXPECT ¶
func (m *MockDatasetAPISdkClient) EXPECT() *MockDatasetAPISdkClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDatasetAPISdkClient) GetDataset ¶
func (m *MockDatasetAPISdkClient) GetDataset(arg0 context.Context, arg1 sdk.Headers, arg2 string) (models.Dataset, error)
GetDataset mocks base method.
func (*MockDatasetAPISdkClient) GetDatasetByPath ¶
func (m *MockDatasetAPISdkClient) GetDatasetByPath(arg0 context.Context, arg1 sdk.Headers, arg2 string) (models.Dataset, error)
GetDatasetByPath mocks base method.
func (*MockDatasetAPISdkClient) GetEdition ¶
func (m *MockDatasetAPISdkClient) GetEdition(arg0 context.Context, arg1 sdk.Headers, arg2, arg3 string) (models.Edition, error)
GetEdition mocks base method.
func (*MockDatasetAPISdkClient) GetEditions ¶
func (m *MockDatasetAPISdkClient) GetEditions(arg0 context.Context, arg1 sdk.Headers, arg2 string, arg3 *sdk.QueryParams) (sdk.EditionsList, error)
GetEditions mocks base method.
func (*MockDatasetAPISdkClient) GetVersion ¶
func (m *MockDatasetAPISdkClient) GetVersion(arg0 context.Context, arg1 sdk.Headers, arg2, arg3, arg4 string) (models.Version, error)
GetVersion mocks base method.
func (*MockDatasetAPISdkClient) GetVersionDimensionOptions ¶
func (m *MockDatasetAPISdkClient) GetVersionDimensionOptions(arg0 context.Context, arg1 sdk.Headers, arg2, arg3, arg4, arg5 string, arg6 *sdk.QueryParams) (sdk.VersionDimensionOptionsList, error)
GetVersionDimensionOptions mocks base method.
func (*MockDatasetAPISdkClient) GetVersionDimensions ¶
func (m *MockDatasetAPISdkClient) GetVersionDimensions(arg0 context.Context, arg1 sdk.Headers, arg2, arg3, arg4 string) (sdk.VersionDimensionsList, error)
GetVersionDimensions mocks base method.
func (*MockDatasetAPISdkClient) GetVersionMetadata ¶
func (m *MockDatasetAPISdkClient) GetVersionMetadata(arg0 context.Context, arg1 sdk.Headers, arg2, arg3, arg4 string) (models.Metadata, error)
GetVersionMetadata mocks base method.
func (*MockDatasetAPISdkClient) GetVersionV2 ¶
func (m *MockDatasetAPISdkClient) GetVersionV2(arg0 context.Context, arg1 sdk.Headers, arg2, arg3, arg4 string) (models.Version, error)
GetVersionV2 mocks base method.
func (*MockDatasetAPISdkClient) GetVersions ¶
func (m *MockDatasetAPISdkClient) GetVersions(arg0 context.Context, arg1 sdk.Headers, arg2, arg3 string, arg4 *sdk.QueryParams) (sdk.VersionsList, error)
GetVersions mocks base method.
func (*MockDatasetAPISdkClient) PutVersionState ¶
func (m *MockDatasetAPISdkClient) PutVersionState(arg0 context.Context, arg1 sdk.Headers, arg2, arg3, arg4, arg5 string) error
PutVersionState mocks base method.
type MockDatasetAPISdkClientMockRecorder ¶
type MockDatasetAPISdkClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDatasetAPISdkClientMockRecorder is the mock recorder for MockDatasetAPISdkClient.
func (*MockDatasetAPISdkClientMockRecorder) GetDataset ¶
func (mr *MockDatasetAPISdkClientMockRecorder) GetDataset(arg0, arg1, arg2 interface{}) *gomock.Call
GetDataset indicates an expected call of GetDataset.
func (*MockDatasetAPISdkClientMockRecorder) GetDatasetByPath ¶
func (mr *MockDatasetAPISdkClientMockRecorder) GetDatasetByPath(arg0, arg1, arg2 interface{}) *gomock.Call
GetDatasetByPath indicates an expected call of GetDatasetByPath.
func (*MockDatasetAPISdkClientMockRecorder) GetEdition ¶
func (mr *MockDatasetAPISdkClientMockRecorder) GetEdition(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetEdition indicates an expected call of GetEdition.
func (*MockDatasetAPISdkClientMockRecorder) GetEditions ¶
func (mr *MockDatasetAPISdkClientMockRecorder) GetEditions(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetEditions indicates an expected call of GetEditions.
func (*MockDatasetAPISdkClientMockRecorder) GetVersion ¶
func (mr *MockDatasetAPISdkClientMockRecorder) GetVersion(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetVersion indicates an expected call of GetVersion.
func (*MockDatasetAPISdkClientMockRecorder) GetVersionDimensionOptions ¶
func (mr *MockDatasetAPISdkClientMockRecorder) GetVersionDimensionOptions(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
GetVersionDimensionOptions indicates an expected call of GetVersionDimensionOptions.
func (*MockDatasetAPISdkClientMockRecorder) GetVersionDimensions ¶
func (mr *MockDatasetAPISdkClientMockRecorder) GetVersionDimensions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetVersionDimensions indicates an expected call of GetVersionDimensions.
func (*MockDatasetAPISdkClientMockRecorder) GetVersionMetadata ¶
func (mr *MockDatasetAPISdkClientMockRecorder) GetVersionMetadata(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetVersionMetadata indicates an expected call of GetVersionMetadata.
func (*MockDatasetAPISdkClientMockRecorder) GetVersionV2 ¶
func (mr *MockDatasetAPISdkClientMockRecorder) GetVersionV2(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetVersionV2 indicates an expected call of GetVersionV2.
func (*MockDatasetAPISdkClientMockRecorder) GetVersions ¶
func (mr *MockDatasetAPISdkClientMockRecorder) GetVersions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetVersions indicates an expected call of GetVersions.
func (*MockDatasetAPISdkClientMockRecorder) PutVersionState ¶
func (mr *MockDatasetAPISdkClientMockRecorder) PutVersionState(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
PutVersionState indicates an expected call of PutVersionState.
type MockFilesAPIClient ¶
type MockFilesAPIClient struct {
// contains filtered or unexported fields
}
MockFilesAPIClient is a mock of FilesAPIClient interface.
func NewMockFilesAPIClient ¶
func NewMockFilesAPIClient(ctrl *gomock.Controller) *MockFilesAPIClient
NewMockFilesAPIClient creates a new mock instance.
func (*MockFilesAPIClient) EXPECT ¶
func (m *MockFilesAPIClient) EXPECT() *MockFilesAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFilesAPIClient) GetFile ¶
func (m *MockFilesAPIClient) GetFile(arg0 context.Context, arg1, arg2 string) (files.FileMetaData, error)
GetFile mocks base method.
type MockFilesAPIClientMockRecorder ¶
type MockFilesAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFilesAPIClientMockRecorder is the mock recorder for MockFilesAPIClient.
func (*MockFilesAPIClientMockRecorder) GetFile ¶
func (mr *MockFilesAPIClientMockRecorder) GetFile(arg0, arg1, arg2 interface{}) *gomock.Call
GetFile indicates an expected call of GetFile.
type MockFilterClient ¶
type MockFilterClient struct {
// contains filtered or unexported fields
}
MockFilterClient is a mock of FilterClient interface.
func NewMockFilterClient ¶
func NewMockFilterClient(ctrl *gomock.Controller) *MockFilterClient
NewMockFilterClient creates a new mock instance.
func (*MockFilterClient) CreateBlueprint ¶
func (m *MockFilterClient) CreateBlueprint(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6, arg7 string, arg8 []string) (string, string, error)
CreateBlueprint mocks base method.
func (*MockFilterClient) CreateCustomFilter ¶
func (m *MockFilterClient) CreateCustomFilter(arg0 context.Context, arg1, arg2, arg3 string) (string, error)
CreateCustomFilter mocks base method.
func (*MockFilterClient) CreateFlexibleBlueprint ¶
func (m *MockFilterClient) CreateFlexibleBlueprint(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6, arg7 string, arg8 []filter.ModelDimension, arg9 string) (string, string, error)
CreateFlexibleBlueprint mocks base method.
func (*MockFilterClient) CreateFlexibleBlueprintCustom ¶
func (m *MockFilterClient) CreateFlexibleBlueprintCustom(arg0 context.Context, arg1, arg2, arg3 string, arg4 filter.CreateFlexBlueprintCustomRequest) (string, string, error)
CreateFlexibleBlueprintCustom mocks base method.
func (*MockFilterClient) EXPECT ¶
func (m *MockFilterClient) EXPECT() *MockFilterClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFilterClient) GetDimensionOptions ¶
func (m *MockFilterClient) GetDimensionOptions(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string, arg6 *filter.QueryParams) (filter.DimensionOptions, string, error)
GetDimensionOptions mocks base method.
type MockFilterClientMockRecorder ¶
type MockFilterClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFilterClientMockRecorder is the mock recorder for MockFilterClient.
func (*MockFilterClientMockRecorder) CreateBlueprint ¶
func (mr *MockFilterClientMockRecorder) CreateBlueprint(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
CreateBlueprint indicates an expected call of CreateBlueprint.
func (*MockFilterClientMockRecorder) CreateCustomFilter ¶
func (mr *MockFilterClientMockRecorder) CreateCustomFilter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateCustomFilter indicates an expected call of CreateCustomFilter.
func (*MockFilterClientMockRecorder) CreateFlexibleBlueprint ¶
func (mr *MockFilterClientMockRecorder) CreateFlexibleBlueprint(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 interface{}) *gomock.Call
CreateFlexibleBlueprint indicates an expected call of CreateFlexibleBlueprint.
func (*MockFilterClientMockRecorder) CreateFlexibleBlueprintCustom ¶
func (mr *MockFilterClientMockRecorder) CreateFlexibleBlueprintCustom(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CreateFlexibleBlueprintCustom indicates an expected call of CreateFlexibleBlueprintCustom.
func (*MockFilterClientMockRecorder) GetDimensionOptions ¶
func (mr *MockFilterClientMockRecorder) GetDimensionOptions(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
GetDimensionOptions indicates an expected call of GetDimensionOptions.
func (*MockFilterClientMockRecorder) GetOutput ¶
func (mr *MockFilterClientMockRecorder) GetOutput(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
GetOutput indicates an expected call of GetOutput.
type MockPopulationClient ¶
type MockPopulationClient struct {
// contains filtered or unexported fields
}
MockPopulationClient is a mock of PopulationClient interface.
func NewMockPopulationClient ¶
func NewMockPopulationClient(ctrl *gomock.Controller) *MockPopulationClient
NewMockPopulationClient creates a new mock instance.
func (*MockPopulationClient) EXPECT ¶
func (m *MockPopulationClient) EXPECT() *MockPopulationClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPopulationClient) GetArea ¶
func (m *MockPopulationClient) GetArea(arg0 context.Context, arg1 population.GetAreaInput) (population.GetAreaResponse, error)
GetArea mocks base method.
func (*MockPopulationClient) GetAreas ¶
func (m *MockPopulationClient) GetAreas(arg0 context.Context, arg1 population.GetAreasInput) (population.GetAreasResponse, error)
GetAreas mocks base method.
func (*MockPopulationClient) GetBlockedAreaCount ¶
func (m *MockPopulationClient) GetBlockedAreaCount(arg0 context.Context, arg1 population.GetBlockedAreaCountInput) (*cantabular.GetBlockedAreaCountResult, error)
GetBlockedAreaCount mocks base method.
func (*MockPopulationClient) GetCategorisations ¶
func (m *MockPopulationClient) GetCategorisations(arg0 context.Context, arg1 population.GetCategorisationsInput) (population.GetCategorisationsResponse, error)
GetCategorisations mocks base method.
func (*MockPopulationClient) GetDimensionCategories ¶
func (m *MockPopulationClient) GetDimensionCategories(arg0 context.Context, arg1 population.GetDimensionCategoryInput) (population.GetDimensionCategoriesResponse, error)
GetDimensionCategories mocks base method.
func (*MockPopulationClient) GetDimensionsDescription ¶
func (m *MockPopulationClient) GetDimensionsDescription(arg0 context.Context, arg1 population.GetDimensionsDescriptionInput) (population.GetDimensionsResponse, error)
GetDimensionsDescription mocks base method.
func (*MockPopulationClient) GetPopulationType ¶
func (m *MockPopulationClient) GetPopulationType(arg0 context.Context, arg1 population.GetPopulationTypeInput) (population.GetPopulationTypeResponse, error)
GetPopulationType mocks base method.
func (*MockPopulationClient) GetPopulationTypeMetadata ¶
func (m *MockPopulationClient) GetPopulationTypeMetadata(arg0 context.Context, arg1 population.GetPopulationTypeMetadataInput) (population.GetPopulationTypeMetadataResponse, error)
GetPopulationTypeMetadata mocks base method.
func (*MockPopulationClient) GetPopulationTypes ¶
func (m *MockPopulationClient) GetPopulationTypes(arg0 context.Context, arg1 population.GetPopulationTypesInput) (population.GetPopulationTypesResponse, error)
GetPopulationTypes mocks base method.
type MockPopulationClientMockRecorder ¶
type MockPopulationClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPopulationClientMockRecorder is the mock recorder for MockPopulationClient.
func (*MockPopulationClientMockRecorder) GetArea ¶
func (mr *MockPopulationClientMockRecorder) GetArea(arg0, arg1 interface{}) *gomock.Call
GetArea indicates an expected call of GetArea.
func (*MockPopulationClientMockRecorder) GetAreas ¶
func (mr *MockPopulationClientMockRecorder) GetAreas(arg0, arg1 interface{}) *gomock.Call
GetAreas indicates an expected call of GetAreas.
func (*MockPopulationClientMockRecorder) GetBlockedAreaCount ¶
func (mr *MockPopulationClientMockRecorder) GetBlockedAreaCount(arg0, arg1 interface{}) *gomock.Call
GetBlockedAreaCount indicates an expected call of GetBlockedAreaCount.
func (*MockPopulationClientMockRecorder) GetCategorisations ¶
func (mr *MockPopulationClientMockRecorder) GetCategorisations(arg0, arg1 interface{}) *gomock.Call
GetCategorisations indicates an expected call of GetCategorisations.
func (*MockPopulationClientMockRecorder) GetDimensionCategories ¶
func (mr *MockPopulationClientMockRecorder) GetDimensionCategories(arg0, arg1 interface{}) *gomock.Call
GetDimensionCategories indicates an expected call of GetDimensionCategories.
func (*MockPopulationClientMockRecorder) GetDimensionsDescription ¶
func (mr *MockPopulationClientMockRecorder) GetDimensionsDescription(arg0, arg1 interface{}) *gomock.Call
GetDimensionsDescription indicates an expected call of GetDimensionsDescription.
func (*MockPopulationClientMockRecorder) GetPopulationType ¶
func (mr *MockPopulationClientMockRecorder) GetPopulationType(arg0, arg1 interface{}) *gomock.Call
GetPopulationType indicates an expected call of GetPopulationType.
func (*MockPopulationClientMockRecorder) GetPopulationTypeMetadata ¶
func (mr *MockPopulationClientMockRecorder) GetPopulationTypeMetadata(arg0, arg1 interface{}) *gomock.Call
GetPopulationTypeMetadata indicates an expected call of GetPopulationTypeMetadata.
func (*MockPopulationClientMockRecorder) GetPopulationTypes ¶
func (mr *MockPopulationClientMockRecorder) GetPopulationTypes(arg0, arg1 interface{}) *gomock.Call
GetPopulationTypes indicates an expected call of GetPopulationTypes.
type MockRenderClient ¶
type MockRenderClient struct {
// contains filtered or unexported fields
}
MockRenderClient is a mock of RenderClient interface.
func NewMockRenderClient ¶
func NewMockRenderClient(ctrl *gomock.Controller) *MockRenderClient
NewMockRenderClient creates a new mock instance.
func (*MockRenderClient) BuildPage ¶
func (m *MockRenderClient) BuildPage(arg0 io.Writer, arg1 interface{}, arg2 string)
BuildPage mocks base method.
func (*MockRenderClient) EXPECT ¶
func (m *MockRenderClient) EXPECT() *MockRenderClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRenderClient) NewBasePageModel ¶
func (m *MockRenderClient) NewBasePageModel() model.Page
NewBasePageModel mocks base method.
type MockRenderClientMockRecorder ¶
type MockRenderClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRenderClientMockRecorder is the mock recorder for MockRenderClient.
func (*MockRenderClientMockRecorder) BuildPage ¶
func (mr *MockRenderClientMockRecorder) BuildPage(arg0, arg1, arg2 interface{}) *gomock.Call
BuildPage indicates an expected call of BuildPage.
func (*MockRenderClientMockRecorder) NewBasePageModel ¶
func (mr *MockRenderClientMockRecorder) NewBasePageModel() *gomock.Call
NewBasePageModel indicates an expected call of NewBasePageModel.
type MockTopicAPIClient ¶
type MockTopicAPIClient struct {
// contains filtered or unexported fields
}
MockTopicAPIClient is a mock of TopicAPIClient interface.
func NewMockTopicAPIClient ¶
func NewMockTopicAPIClient(ctrl *gomock.Controller) *MockTopicAPIClient
NewMockTopicAPIClient creates a new mock instance.
func (*MockTopicAPIClient) EXPECT ¶
func (m *MockTopicAPIClient) EXPECT() *MockTopicAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTopicAPIClient) GetTopicPrivate ¶
func (m *MockTopicAPIClient) GetTopicPrivate(arg0 context.Context, arg1 sdk0.Headers, arg2 string) (*models0.TopicResponse, errors.Error)
GetTopicPrivate mocks base method.
type MockTopicAPIClientMockRecorder ¶
type MockTopicAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTopicAPIClientMockRecorder is the mock recorder for MockTopicAPIClient.
func (*MockTopicAPIClientMockRecorder) GetTopicPrivate ¶
func (mr *MockTopicAPIClientMockRecorder) GetTopicPrivate(arg0, arg1, arg2 interface{}) *gomock.Call
GetTopicPrivate indicates an expected call of GetTopicPrivate.
func (*MockTopicAPIClientMockRecorder) GetTopicPublic ¶
func (mr *MockTopicAPIClientMockRecorder) GetTopicPublic(arg0, arg1, arg2 interface{}) *gomock.Call
GetTopicPublic indicates an expected call of GetTopicPublic.
type MockZebedeeClient ¶
type MockZebedeeClient struct {
// contains filtered or unexported fields
}
MockZebedeeClient is a mock of ZebedeeClient interface.
func NewMockZebedeeClient ¶
func NewMockZebedeeClient(ctrl *gomock.Controller) *MockZebedeeClient
NewMockZebedeeClient creates a new mock instance.
func (*MockZebedeeClient) EXPECT ¶
func (m *MockZebedeeClient) EXPECT() *MockZebedeeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockZebedeeClient) GetBreadcrumb ¶
func (m *MockZebedeeClient) GetBreadcrumb(arg0 context.Context, arg1, arg2, arg3, arg4 string) ([]zebedee.Breadcrumb, error)
GetBreadcrumb mocks base method.
func (*MockZebedeeClient) GetDataset ¶
func (m *MockZebedeeClient) GetDataset(arg0 context.Context, arg1, arg2, arg3, arg4 string) (zebedee.Dataset, error)
GetDataset mocks base method.
func (*MockZebedeeClient) GetDatasetLandingPage ¶
func (m *MockZebedeeClient) GetDatasetLandingPage(arg0 context.Context, arg1, arg2, arg3, arg4 string) (zebedee.DatasetLandingPage, error)
GetDatasetLandingPage mocks base method.
func (*MockZebedeeClient) GetHomepageContent ¶
func (m *MockZebedeeClient) GetHomepageContent(arg0 context.Context, arg1, arg2, arg3, arg4 string) (zebedee.HomepageContent, error)
GetHomepageContent mocks base method.
type MockZebedeeClientMockRecorder ¶
type MockZebedeeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockZebedeeClientMockRecorder is the mock recorder for MockZebedeeClient.
func (*MockZebedeeClientMockRecorder) Get ¶
func (mr *MockZebedeeClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockZebedeeClientMockRecorder) GetBreadcrumb ¶
func (mr *MockZebedeeClientMockRecorder) GetBreadcrumb(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetBreadcrumb indicates an expected call of GetBreadcrumb.
func (*MockZebedeeClientMockRecorder) GetDataset ¶
func (mr *MockZebedeeClientMockRecorder) GetDataset(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetDataset indicates an expected call of GetDataset.
func (*MockZebedeeClientMockRecorder) GetDatasetLandingPage ¶
func (mr *MockZebedeeClientMockRecorder) GetDatasetLandingPage(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetDatasetLandingPage indicates an expected call of GetDatasetLandingPage.
func (*MockZebedeeClientMockRecorder) GetHomepageContent ¶
func (mr *MockZebedeeClientMockRecorder) GetHomepageContent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetHomepageContent indicates an expected call of GetHomepageContent.
type PopulationClient ¶
type PopulationClient interface {
GetArea(ctx context.Context, input population.GetAreaInput) (population.GetAreaResponse, error)
GetAreas(ctx context.Context, input population.GetAreasInput) (population.GetAreasResponse, error)
GetBlockedAreaCount(ctx context.Context, input population.GetBlockedAreaCountInput) (*cantabular.GetBlockedAreaCountResult, error)
GetDimensionCategories(ctx context.Context, input population.GetDimensionCategoryInput) (population.GetDimensionCategoriesResponse, error)
GetDimensionsDescription(ctx context.Context, input population.GetDimensionsDescriptionInput) (population.GetDimensionsResponse, error)
GetCategorisations(ctx context.Context, input population.GetCategorisationsInput) (population.GetCategorisationsResponse, error)
GetPopulationType(ctx context.Context, input population.GetPopulationTypeInput) (population.GetPopulationTypeResponse, error)
GetPopulationTypes(ctx context.Context, input population.GetPopulationTypesInput) (population.GetPopulationTypesResponse, error)
GetPopulationTypeMetadata(ctx context.Context, input population.GetPopulationTypeMetadataInput) (population.GetPopulationTypeMetadataResponse, error)
}
PopulationClient is an interface with methods required for a population client
type RenderClient ¶
type RenderClient interface {
BuildPage(w io.Writer, pageModel interface{}, templateName string)
NewBasePageModel() model.Page
}
RenderClient is an interface with methods for require for rendering a template
type TopicAPIClient ¶
type TopicAPIClient interface {
GetTopicPublic(ctx context.Context, headers topicAPISDK.Headers, id string) (*topicAPIModels.Topic, topicAPIErrors.Error)
GetTopicPrivate(ctx context.Context, headers topicAPISDK.Headers, id string) (*topicAPIModels.TopicResponse, topicAPIErrors.Error)
}
TopicClient is an interface with methods required for a topic client
type ZebedeeClient ¶
type ZebedeeClient interface {
GetBreadcrumb(ctx context.Context, userAccessToken, collectionID, lang, path string) ([]zebedee.Breadcrumb, error)
Get(ctx context.Context, userAccessToken, path string) ([]byte, error)
GetDatasetLandingPage(ctx context.Context, userAccessToken, collectionID, lang, path string) (zebedee.DatasetLandingPage, error)
GetDataset(ctx context.Context, userAccessToken, collectionID, lang, path string) (zebedee.Dataset, error)
GetHomepageContent(ctx context.Context, userAccessToken, collectionID, lang, path string) (m zebedee.HomepageContent, err error)
}
ZebedeeClient is an interface for a zebedee client