mock

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CantabularClient

type CantabularClient struct {
	Healthy                          bool
	BadRequest                       bool
	NotFound                         bool
	BadGateway                       bool
	ResponseTooLarge                 bool
	GetGeographyDimensionsResponse   *cantabular.GetGeographyDimensionsResponse
	GetDimensionsResponse            *cantabular.GetDimensionsResponse
	GetDimensionsDescriptionResponse *cantabular.GetDimensionsResponse
	GetAreasResponse                 *cantabular.GetAreasResponse
	GetAreaResponse                  *cantabular.GetAreaResponse
	GetParentsResponse               *cantabular.GetParentsResponse
	GetParentAreaCountResult         *cantabular.GetParentAreaCountResult
	GetCategorisationsResponse       *cantabular.GetCategorisationsResponse
	GetBaseVariableResponse          *cantabular.GetBaseVariableResponse
	GetDimensionCategoriesRespnse    *cantabular.GetDimensionCategoriesResponse
	ListDatasetsResponse             *cantabular.ListDatasetsResponse
	GetBlockedAreaCountResult        *cantabular.GetBlockedAreaCountResult
	GetStaticDatasetQuery            *cantabular.StaticDatasetQuery
	GetStaticDataset                 *gql.Dataset
	GetObservationsResponse          *cantabular.GetObservationsResponse
}

func (*CantabularClient) CheckQueryCount added in v1.31.0

CheckQueryCount implements service.CantabularClient.

func (*CantabularClient) Checker

func (*CantabularClient) CheckerAPIExt added in v1.10.0

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

func (*CantabularClient) GetArea added in v1.9.0

func (*CantabularClient) GetAreas

func (*CantabularClient) GetAreasTotalCount added in v1.18.0

func (c *CantabularClient) GetAreasTotalCount(_ context.Context, _ cantabular.GetAreasRequest) (int, error)

func (*CantabularClient) GetBaseVariable added in v1.13.0

func (*CantabularClient) GetBlockedAreaCount added in v1.22.0

func (*CantabularClient) GetCategorisations added in v1.9.0

func (*CantabularClient) GetDimensionCategories added in v1.21.0

func (*CantabularClient) GetDimensions added in v1.8.0

func (*CantabularClient) GetDimensionsDescription added in v1.21.0

func (*CantabularClient) GetParentAreaCount added in v1.11.0

func (*CantabularClient) ListDatasets

func (*CantabularClient) StaticDatasetQuery added in v1.25.0

func (*CantabularClient) StaticDatasetQueryStreamJSON added in v1.32.0

StaticDatasetQueryStreamJson implements service.CantabularClient.

func (*CantabularClient) StaticDatasetType added in v1.26.0

func (c *CantabularClient) StaticDatasetType(ctx context.Context, datasetName string) (*gql.Dataset, error)

func (*CantabularClient) StatusCode

func (c *CantabularClient) StatusCode(_ error) int

Jump to

Keyboard shortcuts

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