upgrader

package
v0.0.0-...-9d6b0cf Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2013 License: AGPL-3.0, AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpgraderAPI

type UpgraderAPI struct {
	// contains filtered or unexported fields
}

UpgraderAPI provides access to the Upgrader API facade.

func NewUpgraderAPI

func NewUpgraderAPI(
	st *state.State,
	resources *common.Resources,
	authorizer common.Authorizer,
) (*UpgraderAPI, error)

NewUpgraderAPI creates a new client-side UpgraderAPI facade.

func (*UpgraderAPI) SetTools

SetTools updates the recorded tools version for the agents.

func (*UpgraderAPI) Tools

Tools finds the Tools necessary for the given agents.

func (*UpgraderAPI) WatchAPIVersion

func (u *UpgraderAPI) WatchAPIVersion(args params.Entities) (params.NotifyWatchResults, error)

WatchAPIVersion starts a watcher to track if there is a new version of the API that we want to upgrade to

Jump to

Keyboard shortcuts

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