director

package
v0.4.0-1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Retries

func Retries(r uint8) option

func Timeout

func Timeout(t time.Duration) option

Types

type DeviceParameterDirector

type DeviceParameterDirector struct {
	loggers.DIWEloggers
	// contains filtered or unexported fields
}

func NewDeviceParameterDirector

func NewDeviceParameterDirector(conn moteconnection.MoteConnection,
	group moteconnection.AMGroup, address moteconnection.AMAddr,
	opts ...option) (*DeviceParameterDirector, error)

func (*DeviceParameterDirector) Finished

func (dpd *DeviceParameterDirector) Finished() bool

func (*DeviceParameterDirector) Option

func (dpd *DeviceParameterDirector) Option(opts ...option) (option, error)

func (*DeviceParameterDirector) Start

func (dpd *DeviceParameterDirector) Start(filepath string) error

func (*DeviceParameterDirector) StartWithTemplate

func (dpd *DeviceParameterDirector) StartWithTemplate(filepath string, template string, nodelist string) error

func (*DeviceParameterDirector) Stop

func (dpd *DeviceParameterDirector) Stop()

type DeviceParameterTask

type DeviceParameterTask struct {
	Address   moteconnection.AMAddr
	Parameter string
	Type      dp.DeviceParameterType
	Desired   []byte
	Actual    []byte
	Info      string

	Disabled bool // Has been commented out
	Blocked  bool // Something wrong with it
}

func (*DeviceParameterTask) ToCSV

func (task *DeviceParameterTask) ToCSV() []string

Jump to

Keyboard shortcuts

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