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

package highavailability

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

Index

Package Files

highavailability.go

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 16 packages (graph) and is imported by 3 packages. Updated 2019-11-16. Refresh now. Tools for package owners.