vnode

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry struct {
	*logger.Logger
	// contains filtered or unexported fields
}

func NewRegistry

func NewRegistry(confDir string) *Registry

func (*Registry) Lookup

func (r *Registry) Lookup(key string) (*VirtualNode, bool)

type VirtualNode

type VirtualNode struct {
	GUID     string            `yaml:"guid"`
	Hostname string            `yaml:"hostname"`
	Labels   map[string]string `yaml:"labels"`
}

Jump to

Keyboard shortcuts

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