action

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State struct {

	// Failed an error occurred during execution of action
	Failed bool
	// NoResults should be reported for action
	NoResults bool
	// Details for action to log on result report
	Details string
	// NoRestartOnDisconnect in the case of using websocket reconnect logic, don't restart action when a reconnect has happened
	NoRestartOnDisconnect bool
	// contains filtered or unexported fields
}

State holder for an action

func (*State) AddErrors

func (as *State) AddErrors(errs ...error)

AddErrors to error list

func (*State) Errors

func (as *State) Errors() error

Errors return action error

Jump to

Keyboard shortcuts

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