runner

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Output

type Output struct {
	Success bool   `json:"success"`
	Message string `json:"msg"`
}

Output is the base output we can expect from a runner job.

type Runner

type Runner struct{}

Runner can be used as the base object to base Job based applications.

func (*Runner) WriteTerminationMessage

func (r *Runner) WriteTerminationMessage(result interface{}) error

WriteTerminationMessage writes the result into the termination log as json.

Jump to

Keyboard shortcuts

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