docker: github.com/docker/docker/pkg/discovery/nodes Index | Files

package nodes

import "github.com/docker/docker/pkg/discovery/nodes"

Index

Package Files

nodes.go

func Init Uses

func Init()

Init is exported

type Discovery Uses

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

Discovery is exported

func (*Discovery) Initialize Uses

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

Initialize is exported

func (*Discovery) Register Uses

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

Register is exported

func (*Discovery) Watch Uses

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

Watch is exported

Package nodes imports 4 packages (graph) and is imported by 20 packages. Updated 2020-03-02. Refresh now. Tools for package owners.