Documentation
¶
Index ¶
- type CantabularClient
- func (c *CantabularClient) Checker(ctx context.Context, state *healthcheck.CheckState) error
- func (c *CantabularClient) GetAreas(ctx context.Context, _ cantabular.GetAreasRequest) (*cantabular.GetAreasResponse, error)
- func (c *CantabularClient) GetGeographyDimensions(ctx context.Context, _ cantabular.GetGeographyDimensionsRequest) (*cantabular.GetGeographyDimensionsResponse, error)
- func (c *CantabularClient) GetParents(_ context.Context, _ cantabular.GetParentsRequest) (*cantabular.GetParentsResponse, error)
- func (c *CantabularClient) ListDatasets(ctx 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
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 (c *CantabularClient) GetAreas(ctx context.Context, _ cantabular.GetAreasRequest) (*cantabular.GetAreasResponse, error)
func (*CantabularClient) GetGeographyDimensions ¶
func (c *CantabularClient) GetGeographyDimensions(ctx context.Context, _ cantabular.GetGeographyDimensionsRequest) (*cantabular.GetGeographyDimensionsResponse, error)
func (*CantabularClient) GetParents ¶
func (c *CantabularClient) GetParents(_ context.Context, _ cantabular.GetParentsRequest) (*cantabular.GetParentsResponse, error)
func (*CantabularClient) ListDatasets ¶
func (c *CantabularClient) ListDatasets(ctx context.Context) ([]string, error)
func (*CantabularClient) StatusCode ¶
func (c *CantabularClient) StatusCode(_ error) int
Click to show internal directories.
Click to hide internal directories.