workers

package
Version: v0.0.0-...-c80f8ab Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2015 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyFile

type CopyFile struct {
}

func (*CopyFile) Details

func (d *CopyFile) Details() *tasky.WorkerDetails

func (*CopyFile) MaxNumTasks

func (d *CopyFile) MaxNumTasks() uint64

func (*CopyFile) Name

func (d *CopyFile) Name() string

func (*CopyFile) Perform

func (d *CopyFile) Perform(job []byte, dataCh chan []byte, errCh chan error, quitCh chan bool)

func (*CopyFile) Signal

func (d *CopyFile) Signal(act tasky.Action) bool

func (*CopyFile) Status

func (d *CopyFile) Status() string

func (*CopyFile) Usage

func (d *CopyFile) Usage() string

type Ifconfig

type Ifconfig struct {
	IName        string `json:"interface_name"`
	HardwareAddr string `json:"mac_address"`
	Ipnet        string `json:"ip_network"`
}

func (*Ifconfig) Details

func (d *Ifconfig) Details() *tasky.WorkerDetails

func (*Ifconfig) MaxNumTasks

func (d *Ifconfig) MaxNumTasks() uint64

func (*Ifconfig) Name

func (d *Ifconfig) Name() string

func (*Ifconfig) Perform

func (d *Ifconfig) Perform(job []byte, dataCh chan []byte, errCh chan error, quitCh chan bool)

func (*Ifconfig) Signal

func (d *Ifconfig) Signal(act tasky.Action) bool

func (*Ifconfig) Status

func (d *Ifconfig) Status() string

func (*Ifconfig) Usage

func (d *Ifconfig) Usage() string

type Sleeper

type Sleeper struct {
}

func (*Sleeper) Details

func (d *Sleeper) Details() *tasky.WorkerDetails

func (*Sleeper) MaxNumTasks

func (d *Sleeper) MaxNumTasks() uint64

func (*Sleeper) Name

func (d *Sleeper) Name() string

func (*Sleeper) Perform

func (d *Sleeper) Perform(job []byte, dataCh chan []byte, errCh chan error, quitCh chan bool)

func (*Sleeper) Signal

func (d *Sleeper) Signal(act tasky.Action) bool

func (*Sleeper) Status

func (d *Sleeper) Status() string

func (*Sleeper) Usage

func (d *Sleeper) Usage() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL