action

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	Start() error
	Wait() error
	Interrupt() error
	Success() bool
}

type ExecAction

type ExecAction struct {
	Command        util.Command
	CommandMapping map[string]string
	ForwardStdout  bool
	ForwardStderr  bool
	// contains filtered or unexported fields
}

func (*ExecAction) Interrupt

func (a *ExecAction) Interrupt() error

func (*ExecAction) Start

func (a *ExecAction) Start() error

func (*ExecAction) Success

func (a *ExecAction) Success() bool

func (*ExecAction) Wait

func (a *ExecAction) Wait() error

type HttpGetAction

type HttpGetAction struct {
	Path       string
	Port       int
	HttpHeader map[string]string
	// contains filtered or unexported fields
}

func (*HttpGetAction) Interrupt

func (a *HttpGetAction) Interrupt() error

func (*HttpGetAction) Start

func (a *HttpGetAction) Start() error

func (*HttpGetAction) Success

func (a *HttpGetAction) Success() bool

func (*HttpGetAction) Wait

func (a *HttpGetAction) Wait() error

Jump to

Keyboard shortcuts

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