Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HighAvailability ¶
type HighAvailability interface {
EnableHA(args params.ControllersSpecs) (params.ControllersChangeResults, error)
}
HighAvailability defines the methods on the highavailability API end point.
type HighAvailabilityAPI ¶
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 ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.