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

package file

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

Index

Package Files

file.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(path string, heartbeat time.Duration, ttl 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 file imports 5 packages (graph) and is imported by 20 packages. Updated 2020-03-19. Refresh now. Tools for package owners.