console

package
v0.64.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

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

func New

func New(exitCode *int, output *string) (*Console, error)

func (*Console) ConditionResult

func (c *Console) ConditionResult() (bool, error)

ConditionResult defines the success criteria for a condition using the shell resource

func (*Console) PostCommand

func (c *Console) PostCommand(workingDir string) error

PostCommand defines operations needed to be executed after the shell command

func (*Console) PreCommand

func (c *Console) PreCommand(workingDir string) error

PreCommand defines operations needed to be executed before the shell command

func (*Console) SourceResult

func (c *Console) SourceResult(resultSource *result.Source) error

SourceResult defines the success criteria for a source using the shell resource

func (*Console) TargetResult

func (c *Console) TargetResult() (bool, error)

TargetResult defines the success criteria for a target using the shell resource

Jump to

Keyboard shortcuts

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