Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentToolsAPI ¶
type AgentToolsAPI struct {
// contains filtered or unexported fields
}
AgentToolsAPI implements the API used by the machine model worker.
func NewAgentToolsAPI ¶
func NewAgentToolsAPI(st *state.State, resources *common.Resources, authorizer common.Authorizer) (*AgentToolsAPI, error)
NewAgentToolsAPI creates a new instance of the Model API.
func (*AgentToolsAPI) UpdateToolsAvailable ¶
func (api *AgentToolsAPI) UpdateToolsAvailable() error
UpdateToolsAvailable invokes a lookup and further update in environ for new patches of the current tool versions.
type EnvironGetter ¶
EnvironGetter represents a struct that can provide a state.Environment.
Click to show internal directories.
Click to hide internal directories.