Documentation

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 provides access to the retry strategy api

    func NewClient

    func NewClient(apiCaller base.APICaller) *Client

      NewClient creates a client for accessing the retry strategy api

      func (*Client) RetryStrategy

      func (c *Client) RetryStrategy(agentTag names.Tag) (params.RetryStrategy, error)

        RetryStrategy returns the configuration for the agent specified by the agentTag.

        func (*Client) WatchRetryStrategy

        func (c *Client) WatchRetryStrategy(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.