visitor

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 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 ByName

type ByName struct{ Devs }

func (ByName) Less

func (s ByName) Less(i, j int) bool

type Dev

type Dev struct {
	Identifier             string
	Name                   string
	OperationSystem        string
	OperationSystemVersion string
	SupportedArchitectures string
	Status                 string
}

func DeviceList

func DeviceList(m DeviceManager) (deviceList []*Dev)

type DeviceManager

type DeviceManager interface {
	Devices() ([]device.Device, error)
}

type Devs

type Devs []*Dev

func (Devs) Len

func (s Devs) Len() int

func (Devs) Swap

func (s Devs) Swap(i, j int)

Jump to

Keyboard shortcuts

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