juju: github.com/wallyworld/juju/api/retrystrategy Index | Files

package retrystrategy

import "github.com/wallyworld/juju/api/retrystrategy"


Package Files


type Client Uses

type Client struct {
    // contains filtered or unexported fields

Client provides access to the retry strategy api

func NewClient Uses

func NewClient(apiCaller base.APICaller) *Client

NewClient creates a client for accessing the retry strategy api

func (*Client) RetryStrategy Uses

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

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

func (*Client) WatchRetryStrategy Uses

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.

Package retrystrategy imports 7 packages (graph). Updated 2020-08-06. Refresh now. Tools for package owners.