mock

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 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
	GetGeographyDimensionsResponse *cantabular.GetGeographyDimensionsResponse
	GetAreasResponse               *cantabular.GetAreasResponse
	GetParentsResponse             *cantabular.GetParentsResponse
	ListDatasetsResponse           []string
}

func (*CantabularClient) Checker

func (c *CantabularClient) Checker(ctx context.Context, state *healthcheck.CheckState) error

func (*CantabularClient) GetAreas

func (*CantabularClient) ListDatasets

func (c *CantabularClient) ListDatasets(ctx 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