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

package highavailability

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

Index

Package Files

client.go

type Client Uses

type Client struct {
    base.ClientFacade
    // 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 36 packages. Updated 2019-09-24. Refresh now. Tools for package owners.