node

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

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

Resolver provides information about the node

func NewResolver

func NewResolver(grpcPort int, version string, labels map[string]string) *Resolver

NewResolver creates new resolver with static node labels

func (*Resolver) GetInfo

func (r *Resolver) GetInfo() *model.NodeInfo

GetInfo resolves information about the node

Jump to

Keyboard shortcuts

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