package nodes

import "github.com/docker/libnetwork/Godeps/_workspace/src/github.com/docker/swarm/discovery/nodes"

Index

Functions

func Init

func Init()

Init is exported

Types

type Discovery

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

Discovery is exported

func (*Discovery) Initialize

func (s *Discovery) Initialize(uris string, _ time.Duration, _ time.Duration) error

Initialize is exported

func (*Discovery) Register

func (s *Discovery) Register(addr string) error

Register is exported

func (*Discovery) Watch

func (s *Discovery) Watch(stopCh <-chan struct{}) (<-chan discovery.Entries, <-chan error)

Watch is exported

Source Files

nodes.go

Version
v0.7.0-dev.5
Published
Mar 9, 2016
Platform
linux/amd64
Imports
3 packages
Last checked
16 hours ago

Tools for package owners.