Documentation
¶
Index ¶
- type CantabularClient
- func (c *CantabularClient) Checker(_ context.Context, _ *healthcheck.CheckState) error
- func (c *CantabularClient) CheckerAPIExt(_ context.Context, _ *healthcheck.CheckState) error
- func (c *CantabularClient) GetArea(_ context.Context, _ cantabular.GetAreaRequest) (*cantabular.GetAreaResponse, error)
- func (c *CantabularClient) GetAreas(_ context.Context, _ cantabular.GetAreasRequest) (*cantabular.GetAreasResponse, error)
- func (c *CantabularClient) GetCategorisations(_ context.Context, _ cantabular.GetCategorisationsRequest) (*cantabular.GetCategorisationsResponse, error)
- func (c *CantabularClient) GetDimensions(_ context.Context, _ cantabular.GetDimensionsRequest) (*cantabular.GetDimensionsResponse, error)
- func (c *CantabularClient) GetGeographyDimensions(_ context.Context, _ cantabular.GetGeographyDimensionsRequest) (*cantabular.GetGeographyDimensionsResponse, error)
- func (c *CantabularClient) GetParentAreaCount(_ context.Context, _ cantabular.GetParentAreaCountRequest) (*cantabular.GetParentAreaCountResult, error)
- func (c *CantabularClient) GetParents(_ context.Context, _ cantabular.GetParentsRequest) (*cantabular.GetParentsResponse, error)
- func (c *CantabularClient) ListDatasets(_ context.Context) ([]string, error)
- func (c *CantabularClient) StatusCode(_ error) int
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
GetGeographyDimensionsResponse *cantabular.GetGeographyDimensionsResponse
GetDimensionsResponse *cantabular.GetDimensionsResponse
GetAreasResponse *cantabular.GetAreasResponse
GetAreaResponse *cantabular.GetAreaResponse
GetParentsResponse *cantabular.GetParentsResponse
GetParentAreaCountResult *cantabular.GetParentAreaCountResult
GetCategorisationsResponse *cantabular.GetCategorisationsResponse
ListDatasetsResponse []string
}
func (*CantabularClient) Checker ¶
func (c *CantabularClient) Checker(_ context.Context, _ *healthcheck.CheckState) error
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 (c *CantabularClient) GetArea(_ context.Context, _ cantabular.GetAreaRequest) (*cantabular.GetAreaResponse, error)
func (*CantabularClient) GetAreas ¶
func (c *CantabularClient) GetAreas(_ context.Context, _ cantabular.GetAreasRequest) (*cantabular.GetAreasResponse, error)
func (*CantabularClient) GetCategorisations ¶ added in v1.9.0
func (c *CantabularClient) GetCategorisations(_ context.Context, _ cantabular.GetCategorisationsRequest) (*cantabular.GetCategorisationsResponse, error)
func (*CantabularClient) GetDimensions ¶ added in v1.8.0
func (c *CantabularClient) GetDimensions(_ context.Context, _ cantabular.GetDimensionsRequest) (*cantabular.GetDimensionsResponse, error)
func (*CantabularClient) GetGeographyDimensions ¶
func (c *CantabularClient) GetGeographyDimensions(_ context.Context, _ cantabular.GetGeographyDimensionsRequest) (*cantabular.GetGeographyDimensionsResponse, error)
func (*CantabularClient) GetParentAreaCount ¶ added in v1.11.0
func (c *CantabularClient) GetParentAreaCount(_ context.Context, _ cantabular.GetParentAreaCountRequest) (*cantabular.GetParentAreaCountResult, error)
func (*CantabularClient) GetParents ¶
func (c *CantabularClient) GetParents(_ context.Context, _ cantabular.GetParentsRequest) (*cantabular.GetParentsResponse, error)
func (*CantabularClient) ListDatasets ¶
func (c *CantabularClient) ListDatasets(_ context.Context) ([]string, error)
func (*CantabularClient) StatusCode ¶
func (c *CantabularClient) StatusCode(_ error) int
Click to show internal directories.
Click to hide internal directories.