juju: github.com/juju/juju/api/highavailability Index | Files

package highavailability

import "github.com/juju/juju/api/highavailability"


Package Files


type Client Uses

type Client struct {
    // contains filtered or unexported fields

Client provides access to the high availability service, used to manage controllers.

func NewClient Uses

func NewClient(caller base.APICallCloser) *Client

NewClient returns a new HighAvailability client.

func (*Client) EnableHA Uses

func (c *Client) EnableHA(
    numControllers int, cons constraints.Value, placement []string,
) (params.ControllersChanges, error)

EnableHA ensures the availability of Juju controllers.

Package highavailability imports 5 packages (graph) and is imported by 40 packages. Updated 2020-04-09. Refresh now. Tools for package owners.