exec

package
v0.0.0-...-5a6ef88 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 17 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
	Act    acttypes.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) 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
	Name        string
	QueryAppend string
	TxAppend    string

	Node *WardenNode
	// contains filtered or unexported fields
}

func NewWardend

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

func (*Wardend) Address

func (cli *Wardend) Address(t *testing.T) string

func (*Wardend) Tx

func (cli *Wardend) Tx(t *testing.T, command string) sdk.TxResponse

Jump to

Keyboard shortcuts

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