command

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerError

type HandlerError struct {
	Message string
}

func NewHandlerError

func NewHandlerError(msg string) *HandlerError

func (*HandlerError) Error

func (u *HandlerError) Error() string

type RunResult

type RunResult struct {
	Error  error
	Stream io.ReadCloser
	Name   string
}

type Runner

type Runner interface {
	Run() RunResult
}

func NewCommandRunner

func NewCommandRunner(
	token string,
	options config.FileOptions,
	wkspc workspace.Workspace,
	log *logrus.Entry,
) Runner

type UserError

type UserError struct {
	Message string
}

func NewUserError

func NewUserError(msg string) *UserError

func (*UserError) Error

func (u *UserError) Error() string

Jump to

Keyboard shortcuts

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