execute

package
v0.0.0-...-ff79166 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 24 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

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

func NewExecutor

func NewExecutor(clioptions *parse.CLIOptions, connectionSecretPath string) (*Executor, error)

func (*Executor) EnsureVMDeleted

func (e *Executor) EnsureVMDeleted() error

func (*Executor) EnsureVMRunning

func (e *Executor) EnsureVMRunning(timeout time.Duration) error

func (*Executor) EnsureVMStopped

func (e *Executor) EnsureVMStopped() error

func (*Executor) RemoteExecute

func (e *Executor) RemoteExecute(timeout time.Duration) error

func (*Executor) SetupConnection

func (e *Executor) SetupConnection(timeout time.Duration) error

type RemoteExecutor

type RemoteExecutor interface {
	Init(ipAddress string) error
	TestConnection() bool
	RemoteExecute(timeout time.Duration) error
}

Jump to

Keyboard shortcuts

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