provider

package
v0.0.0-...-c5683e2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrProviderNotRegistered = errors.New("Provider not registered")

Functions

func RegisterProviderFactory

func RegisterProviderFactory(ptype string, fac providerFactory)

Types

type InitializableProvider

type InitializableProvider interface {
	Initialize() error
}

type Provider

type Provider interface {
	AllocateVip(s *ipvs.Service) error
	ReleaseVip(s ipvs.Service) error
}

func GetProvider

func GetProvider() (Provider, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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