package file

import "github.com/docker/cli/components/engine/pkg/discovery/file"

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(path string, heartbeat time.Duration, ttl time.Duration, _ map[string]string) 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

file.go

Version
v17.12.0-ce-rc2+incompatible
Published
Dec 12, 2017
Platform
js/wasm
Imports
5 packages
Last checked
4 hours ago

Tools for package owners.