noop

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

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

Go to latest
Published: Nov 16, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

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

Backend is a scheduler backend that doesn't do anything which is useful for testing.

func NewBackend

func NewBackend(conf config.Config) *Backend

NewBackend returns a new noop Backend instance.

func (*Backend) Submit

func (b *Backend) Submit(task *tes.Task) error

Submit submits a task. For the noop backend this does nothing.

Jump to

Keyboard shortcuts

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