mock

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 7 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
	GetGeographyDimensionsResponse *cantabular.GetGeographyDimensionsResponse
	GetDimensionsResponse          *cantabular.GetDimensionsResponse
	GetAreasResponse               *cantabular.GetAreasResponse
	GetAreaResponse                *cantabular.GetAreaResponse
	GetParentsResponse             *cantabular.GetParentsResponse
	GetParentAreaCountResult       *cantabular.GetParentAreaCountResult
	GetCategorisationsResponse     *cantabular.GetCategorisationsResponse
	GetBaseVariableResponse        *cantabular.GetBaseVariableResponse
	ListDatasetsResponse           []string
}

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) GetBaseVariable added in v1.13.0

func (*CantabularClient) GetCategorisations added in v1.9.0

func (*CantabularClient) GetDimensions added in v1.8.0

func (*CantabularClient) GetParentAreaCount added in v1.11.0

func (*CantabularClient) ListDatasets

func (c *CantabularClient) ListDatasets(_ context.Context) ([]string, 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