Documentation
¶
Index ¶
- func Retries(r uint8) option
- func Timeout(t time.Duration) option
- type DeviceParameterDirector
- func (dpd *DeviceParameterDirector) Finished() bool
- func (dpd *DeviceParameterDirector) Option(opts ...option) (option, error)
- func (dpd *DeviceParameterDirector) Start(filepath string) error
- func (dpd *DeviceParameterDirector) StartWithTemplate(filepath string, template string, nodelist string) error
- func (dpd *DeviceParameterDirector) Stop()
- type DeviceParameterTask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.