Documentation
¶
Index ¶
- Constants
- type CantabularClient
- func (c *CantabularClient) Checker(_ context.Context, _ *healthcheck.CheckState) error
- func (c *CantabularClient) CheckerAPIExt(_ context.Context, _ *healthcheck.CheckState) error
- func (c *CantabularClient) GetDimensionOptions(_ context.Context, _ cantabular.GetDimensionOptionsRequest) (*cantabular.GetDimensionOptionsResponse, error)
- func (c *CantabularClient) StatusCode(_ error) int
- type Generator
Constants ¶
View Source
const ( TestUUID = "94310d8d-72d6-492a-bc30-27584627edb1" TestTimestamp = "2022-01-26T12:27:04.783936865Z" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CantabularClient ¶
func (*CantabularClient) Checker ¶
func (c *CantabularClient) Checker(_ context.Context, _ *healthcheck.CheckState) error
func (*CantabularClient) CheckerAPIExt ¶
func (c *CantabularClient) CheckerAPIExt(_ context.Context, _ *healthcheck.CheckState) error
func (*CantabularClient) GetDimensionOptions ¶
func (c *CantabularClient) GetDimensionOptions(_ context.Context, _ cantabular.GetDimensionOptionsRequest) (*cantabular.GetDimensionOptionsResponse, error)
func (*CantabularClient) StatusCode ¶
func (c *CantabularClient) StatusCode(_ error) int
type Generator ¶
type Generator struct {
URLHost string
}
Generator is responsible for generating mocked constant strings and tokens for tests
func (*Generator) URL ¶
URL generates a URL from a constant host and a path made from a printf string + arguments
func (*Generator) UniqueTimestamp ¶
Timestamp generates a constant timestamp
Click to show internal directories.
Click to hide internal directories.