Documentation
¶
Index ¶
- type CantabularClient
- func (c *CantabularClient) CheckQueryCount(context.Context, cantabular.StaticDatasetQueryRequest) (int, error)
- 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) GetAreasTotalCount(_ context.Context, _ cantabular.GetAreasRequest) (int, error)
- func (c *CantabularClient) GetBaseVariable(_ context.Context, _ cantabular.GetBaseVariableRequest) (*cantabular.GetBaseVariableResponse, error)
- func (c *CantabularClient) GetBlockedAreaCount(_ context.Context, _ cantabular.GetBlockedAreaCountRequest) (*cantabular.GetBlockedAreaCountResult, error)
- func (c *CantabularClient) GetCategorisations(_ context.Context, _ cantabular.GetCategorisationsRequest) (*cantabular.GetCategorisationsResponse, error)
- func (c *CantabularClient) GetDimensionCategories(_ context.Context, _ cantabular.GetDimensionCategoriesRequest) (*cantabular.GetDimensionCategoriesResponse, error)
- func (c *CantabularClient) GetDimensions(_ context.Context, _ cantabular.GetDimensionsRequest) (*cantabular.GetDimensionsResponse, error)
- func (c *CantabularClient) GetDimensionsDescription(_ context.Context, _ cantabular.GetDimensionsDescriptionRequest) (*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) (*cantabular.ListDatasetsResponse, error)
- func (c *CantabularClient) StaticDatasetQuery(context.Context, cantabular.StaticDatasetQueryRequest) (*cantabular.StaticDatasetQuery, error)
- func (c *CantabularClient) StaticDatasetQueryStreamJSON(context.Context, cantabular.StaticDatasetQueryRequest, ...) (cantabular.GetObservationsResponse, error)
- func (c *CantabularClient) StaticDatasetType(ctx context.Context, datasetName string) (*gql.Dataset, 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
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
func (c *CantabularClient) CheckQueryCount(context.Context, cantabular.StaticDatasetQueryRequest) (int, error)
CheckQueryCount implements service.CantabularClient.
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) 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 (c *CantabularClient) GetBaseVariable(_ context.Context, _ cantabular.GetBaseVariableRequest) (*cantabular.GetBaseVariableResponse, error)
func (*CantabularClient) GetBlockedAreaCount ¶ added in v1.22.0
func (c *CantabularClient) GetBlockedAreaCount(_ context.Context, _ cantabular.GetBlockedAreaCountRequest) (*cantabular.GetBlockedAreaCountResult, error)
func (*CantabularClient) GetCategorisations ¶ added in v1.9.0
func (c *CantabularClient) GetCategorisations(_ context.Context, _ cantabular.GetCategorisationsRequest) (*cantabular.GetCategorisationsResponse, error)
func (*CantabularClient) GetDimensionCategories ¶ added in v1.21.0
func (c *CantabularClient) GetDimensionCategories(_ context.Context, _ cantabular.GetDimensionCategoriesRequest) ( *cantabular.GetDimensionCategoriesResponse, error)
func (*CantabularClient) GetDimensions ¶ added in v1.8.0
func (c *CantabularClient) GetDimensions(_ context.Context, _ cantabular.GetDimensionsRequest) (*cantabular.GetDimensionsResponse, error)
func (*CantabularClient) GetDimensionsDescription ¶ added in v1.21.0
func (c *CantabularClient) GetDimensionsDescription(_ context.Context, _ cantabular.GetDimensionsDescriptionRequest) (*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) (*cantabular.ListDatasetsResponse, error)
func (*CantabularClient) StaticDatasetQuery ¶ added in v1.25.0
func (c *CantabularClient) StaticDatasetQuery(context.Context, cantabular.StaticDatasetQueryRequest) (*cantabular.StaticDatasetQuery, error)
func (*CantabularClient) StaticDatasetQueryStreamJSON ¶ added in v1.32.0
func (c *CantabularClient) StaticDatasetQueryStreamJSON(context.Context, cantabular.StaticDatasetQueryRequest, func(ctx context.Context, r io.Reader) error) (cantabular.GetObservationsResponse, error)
StaticDatasetQueryStreamJson implements service.CantabularClient.
func (*CantabularClient) StaticDatasetType ¶ added in v1.26.0
func (*CantabularClient) StatusCode ¶
func (c *CantabularClient) StatusCode(_ error) int
Click to show internal directories.
Click to hide internal directories.