Documentation ¶
Index ¶
- Variables
- func Register(registry facade.FacadeRegistry)
- type AgentAPI
- func (api *AgentAPI) GetEntities(args params.Entities) params.AgentGetEntitiesResults
- func (api *AgentAPI) IsMaster() (params.IsMasterResult, error)
- func (api *AgentAPI) StateServingInfo() (result params.StateServingInfo, err error)
- func (api *AgentAPI) WatchCredentials(args params.Entities) (params.NotifyWatchResults, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoIsMaster = mongo.IsMaster
MongoIsMaster is called by the IsMaster API call instead of mongo.IsMaster. It exists so it can be overridden by tests.
Functions ¶
func Register ¶
func Register(registry facade.FacadeRegistry)
Register is called to expose a package of facades onto a given registry.
Types ¶
type AgentAPI ¶
type AgentAPI struct { *common.PasswordChanger *common.RebootFlagClearer *common.ModelWatcher *common.ControllerConfigAPI cloudspec.CloudSpecer // contains filtered or unexported fields }
AgentAPI implements the version 3 of the API provided to an agent.
func (*AgentAPI) GetEntities ¶
func (api *AgentAPI) GetEntities(args params.Entities) params.AgentGetEntitiesResults
func (*AgentAPI) StateServingInfo ¶
func (api *AgentAPI) StateServingInfo() (result params.StateServingInfo, err error)
func (*AgentAPI) WatchCredentials ¶
WatchCredentials watches for changes to the specified credentials.
Click to show internal directories.
Click to hide internal directories.