highavailability

package
v0.0.0-...-a002913 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2015 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureAvailabilitySingle

func EnsureAvailabilitySingle(st *state.State, spec params.StateServersSpec) (params.StateServersChanges, error)

EnsureAvailabilitySingle applies a single StateServersSpec specification to the current environment. Exported so it can be called by the legacy client API in the client package.

Types

type HighAvailability

type HighAvailability interface {
	EnsureAvailability(args params.StateServersSpecs) (params.StateServersChangeResults, 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 *common.Resources, authorizer common.Authorizer) (*HighAvailabilityAPI, error)

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

func (*HighAvailabilityAPI) EnsureAvailability

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL