discoverd

package
v0.0.0-...-8488f5b Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2016 License: BSD-3-Clause, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegistry

func NewRegistry(client *discoverd.Client, serviceName string) (subnet.Registry, error)

Types

type Network

type Network struct {
	Config  json.RawMessage             `json:"config"`
	Subnets map[string]*json.RawMessage `json:"subnets"`
	// contains filtered or unexported fields
}

Network is stored in service metadata and contains both the config and list of subnet leases.

Jump to

Keyboard shortcuts

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