device

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2018 License: Apache-2.0 Imports: 7 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 device

func NewResolver

func NewResolver(labels map[string]string) *Resolver

NewResolver creates new resolver with static device labels

func (*Resolver) GetInfo

func (r *Resolver) GetInfo(grpcPort int, version string) *model.DeviceInfo

GetInfo resolves information about the device

Jump to

Keyboard shortcuts

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