exec

package
v0.0.0-...-6d354f4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exec

type Exec struct {
	Bin    string
	Args   []string
	Pwd    string
	Stdin  string
	Stdout *iowriter.IOWriter
	Stderr *iowriter.IOWriter
}

func (*Exec) Run

func (e *Exec) Run(ctx context.Context) error

type GRPCClient

type GRPCClient struct {
	Warden wardentypes.QueryClient
	Intent intenttypes.QueryClient
}

type WardenNode

type WardenNode struct {
	BinPath string
	Home    string
	Stdout  *iowriter.IOWriter
	Stderr  *iowriter.IOWriter
	// contains filtered or unexported fields
}

func NewWardenNode

func NewWardenNode(t *testing.T, binPath string) *WardenNode

func (*WardenNode) CometPortRPC

func (w *WardenNode) CometPortRPC() int

func (*WardenNode) GRPCClient

func (w *WardenNode) GRPCClient(t *testing.T) *GRPCClient

func (*WardenNode) LoadSnapshot

func (w *WardenNode) LoadSnapshot(t *testing.T, src string)

func (*WardenNode) Start

func (w *WardenNode) Start(t *testing.T, ctx context.Context, snapshot string)

func (*WardenNode) WaitRunnning

func (w *WardenNode) WaitRunnning(t *testing.T)

type Wardend

type Wardend struct {
	BinPath string
	Append  string
}

func NewWardend

func NewWardend(node *WardenNode, name string) *Wardend

func (*Wardend) Run

func (cli *Wardend) Run(t *testing.T, command string)

Jump to

Keyboard shortcuts

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