exec

package
v3.0.0-...-181f513 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cli.Command{
	Name:      "exec",
	Usage:     "execute a local pipeline",
	ArgsUsage: "[path/to/.woodpecker.yaml]",
	Action:    run,
	Flags:     utils.MergeSlices(flags, docker.Flags, kubernetes.Flags, local.Flags),
}

Command exports the exec command.

Functions

func NewLineWriter

func NewLineWriter(stepName, stepUUID string) io.WriteCloser

NewLineWriter returns a new line reader.

Types

type LineWriter

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

LineWriter sends logs to the client.

func (*LineWriter) Close

func (w *LineWriter) Close() error

func (*LineWriter) Write

func (w *LineWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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