Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { base.ClientFacade // contains filtered or unexported fields }
Client provides methods that the Juju client command uses to interact with models stored in the Juju Server.
func NewClient ¶
func NewClient(st base.APICallCloser) *Client
NewClient creates a new `Client` based on an existing authenticated API connection.
func (*Client) AddGeneration ¶
AddGeneration adds a model generation to the config.
func (*Client) AdvanceGeneration ¶
AdvanceGeneration advances a unit and/or applications to the 'next' generation. The boolean return indicates whether the generation was automatically completed as a result of unit advancement.
func (*Client) CancelGeneration ¶
CancelGeneration cancels a model generation to the config.
Click to show internal directories.
Click to hide internal directories.