retrystrategy

package
v0.0.0-...-6cf1bc9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2016 License: AGPL-3.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL