Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WithTracer = base.WithTracer
WithTracer returns an Option that configures the Client to use the supplied tracer.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides access to the retry strategy api
func (*Client) RetryStrategy ¶
func (c *Client) RetryStrategy(ctx context.Context, agentTag names.Tag) (params.RetryStrategy, error)
RetryStrategy returns the configuration for the agent specified by the agentTag.
func (*Client) WatchRetryStrategy ¶
func (c *Client) WatchRetryStrategy(ctx context.Context, agentTag names.Tag) (watcher.NotifyWatcher, error)
WatchRetryStrategy returns a notify watcher that looks for changes in the retry strategy config for the agent specified by agentTag Right now only the boolean that decides whether we retry can be modified.
Click to show internal directories.
Click to hide internal directories.