runtime

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunOptions

type RunOptions struct {
	NodeName string
	Command  string
	Timeout  int
}

RunOptions contains the options for running a command on a node.

type RunResult

type RunResult struct {
	Stdout string
	Stderr string
}

RunResult contains the result of running a command on a node.

type Runtime

type Runtime interface {
	RunCommand(ctx context.Context, opts *RunOptions) (*RunResult, error)
}

Runtime abstracts command execution on a node.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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