events

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

type Printer interface {
	Print(input string, events <-chan types.Progress) error
}

func NewPrinter

func NewPrinter(ctx context.Context, c *apiclient.Client, quiet, details bool) Printer

type Quiet

type Quiet struct {
	Client *apiclient.Client
	Ctx    context.Context
}

func (*Quiet) Print

func (q *Quiet) Print(input string, events <-chan types.Progress) error

type Verbose

type Verbose struct {
	Details bool
	Client  *apiclient.Client
	Ctx     context.Context
}

func (*Verbose) Print

func (v *Verbose) Print(input string, events <-chan types.Progress) error

Jump to

Keyboard shortcuts

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