test

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	*pufferpanel.BaseEnvironment
	// contains filtered or unexported fields
}

func CreateEnvironment

func CreateEnvironment() *Environment

func (*Environment) Create

func (t *Environment) Create() error

func (*Environment) CreateWrapper

func (*Environment) CreateWrapper() io.Writer

func (*Environment) DisplayToConsole

func (*Environment) DisplayToConsole(prefix bool, msg string, data ...interface{})

func (*Environment) ExecuteInMainProcess

func (t *Environment) ExecuteInMainProcess(cmd string) (err error)

func (*Environment) GetRootDirectory

func (*Environment) GetRootDirectory() string

func (*Environment) GetStats

func (t *Environment) GetStats() (*pufferpanel.ServerStats, error)

func (*Environment) IsRunning

func (t *Environment) IsRunning() (isRunning bool, err error)

func (*Environment) Kill

func (t *Environment) Kill() (err error)

func (*Environment) SendCode

func (t *Environment) SendCode(code int) error

func (*Environment) WaitForMainProcess

func (t *Environment) WaitForMainProcess() error

func (*Environment) WaitForMainProcessFor

func (t *Environment) WaitForMainProcessFor(timeout time.Duration) (err error)

Jump to

Keyboard shortcuts

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