command

package
v3.0.0-alpha.4 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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Commands  []string
	Env       map[string]string
	StdIn     pufferpanel.StdinConsoleConfiguration
	Variables map[string]interface{}
}

func (Command) Run

func (c Command) Run(env pufferpanel.Environment) pufferpanel.OperationResult

type OperationFactory

type OperationFactory struct {
	pufferpanel.OperationFactory
}
var Factory OperationFactory

func (OperationFactory) Create

func (of OperationFactory) Create(op pufferpanel.CreateOperation) (pufferpanel.Operation, error)

func (OperationFactory) Key

func (of OperationFactory) Key() string

Jump to

Keyboard shortcuts

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