batch

package
v0.0.0-...-db26c95 Latest Latest
Warning

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

Go to latest
Published: May 26, 2018 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

type Batch struct {
	// contains filtered or unexported fields
}

Batch - Jobs executed in parralele

func NewBatch

NewBatch returns batch

func (*Batch) Cancel

func (b *Batch) Cancel()

func (*Batch) Dispatch

func (b *Batch) Dispatch()

Dispatch executes the batch

func (Batch) GetCancelChan

func (b Batch) GetCancelChan() chan struct{}

func (Batch) GetJobs

func (b Batch) GetJobs() []job.JobRequestMultiple

GetJobs return jobs

func (Batch) GetStatus

func (b Batch) GetStatus() string

GetStatus returns status

func (Batch) Result

func (b Batch) Result() []job.JobRequestMultiple

Result returns result

Jump to

Keyboard shortcuts

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