types

package
v0.0.0-...-c2a1d65 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device map[string]string

type Devices

type Devices map[string]map[string]string

func (Devices) Contains

func (list Devices) Contains(k string, d Device) bool

func (Devices) ContainsName

func (list Devices) ContainsName(k string) bool

func (Devices) DeviceNames

func (devices Devices) DeviceNames() []string

DeviceNames returns the device names for this Devices in sorted order

func (Devices) ExtendFromProfile

func (newBaseDevices Devices) ExtendFromProfile(currentFullDevices Devices, newDevicesFromProfile Devices) error

func (Devices) Update

func (old Devices) Update(newlist Devices) (map[string]Device, map[string]Device, map[string]Device)

Jump to

Keyboard shortcuts

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