bootstrapwatch

package
v0.0.0-...-5a0513b Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConsoleStdout = NewConsoleWriter(os.Stdout)
	ConsoleStderr = NewConsoleWriter(os.Stderr)
)
View Source
var ErrClosed = errors.New("closed")
View Source
var ErrDrained = errors.New("drained")

Functions

This section is empty.

Types

type CancellableCtx

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

func (*CancellableCtx) Cancel

func (a *CancellableCtx) Cancel()

func (*CancellableCtx) CancelAndNew

func (a *CancellableCtx) CancelAndNew(ctx context.Context) context.Context

func (*CancellableCtx) Done

func (a *CancellableCtx) Done()

type ConsoleWriter

type ConsoleWriter struct {
	*os.File
	// contains filtered or unexported fields
}

func NewConsoleWriter

func NewConsoleWriter(w *os.File) *ConsoleWriter

func (*ConsoleWriter) Close

func (c *ConsoleWriter) Close() error

func (*ConsoleWriter) Connect

func (c *ConsoleWriter) Connect()

func (*ConsoleWriter) Disconnect

func (c *ConsoleWriter) Disconnect()

func (*ConsoleWriter) Drain

func (c *ConsoleWriter) Drain()

func (*ConsoleWriter) Write

func (c *ConsoleWriter) Write(b []byte) (n int, err error)

type State

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

func Boot

func Boot(ctx context.Context, root *hroot.State, bootopts bootstrap.BootOpts, cliopts bootstrap.RunOpts, rropts targetrun.RequestOpts, m specs.Matcher, targs []string, ignore []string) (*State, error)

func (*State) Close

func (s *State) Close()

func (*State) Start

func (s *State) Start() error

Jump to

Keyboard shortcuts

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