zookeeper

package
v0.4.1-0...-55a38b9 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct{}

func (*Factory) New

func (f *Factory) New(uri *url.URL) bridge.RegistryAdapter

type ZkAdapter

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

func (*ZkAdapter) Deregister

func (r *ZkAdapter) Deregister(service *bridge.Service) error

func (*ZkAdapter) Ping

func (r *ZkAdapter) Ping() error

func (*ZkAdapter) Refresh

func (r *ZkAdapter) Refresh(service *bridge.Service) error

func (*ZkAdapter) Register

func (r *ZkAdapter) Register(service *bridge.Service) error

func (*ZkAdapter) Services

func (r *ZkAdapter) Services() ([]*bridge.Service, error)

type ZnodeBody

type ZnodeBody struct {
	Name        string
	IP          string
	PublicPort  int
	PrivatePort int
	ContainerID string
	Tags        []string
	Attrs       map[string]string
}

Jump to

Keyboard shortcuts

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