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 ¶
func (u *UpgraderAPI) SetTools(args params.SetAgentTools) (params.SetAgentToolsResults, error)
SetTools updates the recorded tools version for the agents.
func (*UpgraderAPI) Tools ¶
func (u *UpgraderAPI) Tools(args params.Entities) (params.AgentToolsResults, error)
Find the Tools necessary for the given agents
func (*UpgraderAPI) WatchAPIVersion ¶
func (u *UpgraderAPI) WatchAPIVersion(args params.Entities) (params.NotifyWatchResults, error)
Start a watcher to track if there is a new version of the API that we want to upgrade to
Click to show internal directories.
Click to hide internal directories.