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

package retrystrategy

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

Index

Package Files

retrystrategy.go

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) and is imported by 21 packages. Updated 2019-08-23. Refresh now. Tools for package owners.