vulcand

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2014 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MissingApiUrlError = errors.New("vulcand api endpoint not specified")
)

Functions

func NewVulcandBackend

func NewVulcandBackend(opts shared.OptionMap) (backends.Backend, error)

Types

type VulcandBackend

type VulcandBackend struct {
	// contains filtered or unexported fields
}

func (*VulcandBackend) AddEndpoint

func (vb *VulcandBackend) AddEndpoint(
	h shared.Host,
	e shared.Endpoint,
) error

func (*VulcandBackend) Initialise

func (vb *VulcandBackend) Initialise() error

func (*VulcandBackend) ListHosts

func (vb *VulcandBackend) ListHosts() (*shared.HostList, error)

func (*VulcandBackend) RemoveEndpoint

func (vb *VulcandBackend) RemoveEndpoint(
	h shared.Host,
	e shared.Endpoint,
) error

Jump to

Keyboard shortcuts

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