devices

package
v0.0.0-...-5fda629 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MulanPSL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultVersion     = "v1"
	DefaultDeviceName  = "hello-world-cluster"
	DefaultDevicesType = "physical_device"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Version    string `json:"version"`
	DeviceName string `json:"name"`
	DeviceType string `json:"type"`

	Guid          string `json:"guid"`
	ResourceType  string `json:"resourceType"`
	ResourceID    string `json:"resourceID"`
	ProductID     string `json:"productID"`
	ManufactureID string `json:"manufactureID"`
}

func NewDefaultDevice

func NewDefaultDevice() *Device

func (*Device) DeepCopy

func (r *Device) DeepCopy() *Device

Jump to

Keyboard shortcuts

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