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 a worker's view of the state.

    func NewClient

    func NewClient(caller base.APICaller) *Client

      NewClient returns a version of the state that provides functionality required by the worker.

      func (*Client) UpdateLatestRevisions

      func (st *Client) UpdateLatestRevisions() error

        UpdateLatestRevisions retrieves charm revision info from a repository and updates the revision info in state.

        Source Files