Documentation
¶
Overview ¶
Package client calls the SPECTRE server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client calls the SPECTRE server.
func (*Client) ClearDivergences ¶
ClearDivergences removes the divergences of one service environment.
func (*Client) ListDivergences ¶
func (c *Client) ListDivergences(ctx context.Context, filter model.DivergenceFilter) ([]model.Divergence, error)
ListDivergences returns the divergences that filter selects, ordered by source.
func (*Client) Quarantine ¶
Quarantine records a mirror's quarantine. A mirror reports each one only once, so failures retry with backoff until the server accepts or rejects it.
Click to show internal directories.
Click to hide internal directories.