juju: github.com/juju/juju/apiserver/facades/client/highavailability Index | Files

package highavailability

import "github.com/juju/juju/apiserver/facades/client/highavailability"


Package Files


type HighAvailability Uses

type HighAvailability interface {
    EnableHA(args params.ControllersSpecs) (params.ControllersChangeResults, error)

HighAvailability defines the methods on the highavailability API end point.

type HighAvailabilityAPI Uses

type HighAvailabilityAPI struct {
    // contains filtered or unexported fields

HighAvailabilityAPI implements the HighAvailability interface and is the concrete implementation of the api end point.

func NewHighAvailabilityAPI Uses

func NewHighAvailabilityAPI(st *state.State, resources facade.Resources, authorizer facade.Authorizer) (*HighAvailabilityAPI, error)

NewHighAvailabilityAPI creates a new server-side highavailability API end point.

func (*HighAvailabilityAPI) EnableHA Uses

func (api *HighAvailabilityAPI) EnableHA(args params.ControllersSpecs) (params.ControllersChangeResults, error)

EnableHA adds controller machines as necessary to ensure the controller has the number of machines specified.

Package highavailability imports 17 packages (graph) and is imported by 4 packages. Updated 2020-07-22. Refresh now. Tools for package owners.