batchserial

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	bouncer.BaseRunner
	// contains filtered or unexported fields
}

Runner holds data for a particular batch-serial run Note that in the batch-serial case, asgs will always be of length 1

func NewRunner

func NewRunner(ctx context.Context, opts *bouncer.RunnerOpts) (*Runner, error)

NewRunner instantiates a new batch-serial runner

func (*Runner) Run

func (r *Runner) Run() error

Run has the meat of the batch job

func (*Runner) ValidatePrereqs

func (r *Runner) ValidatePrereqs(ctx context.Context) error

ValidatePrereqs checks that the batch runner is safe to proceed

Jump to

Keyboard shortcuts

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