monitor

package
v0.0.257-pre-2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForRunningMachine added in v0.0.236

func WaitForRunningMachine(ctx context.Context, appName string, machineID string, apiClient *api.Client) (*api.Machine, error)

func WaitForRunningVM

func WaitForRunningVM(ctx context.Context, appName string, apiClient *api.Client) (err error)

func WatchLogs added in v0.0.201

func WatchLogs(cc *cmdctx.CmdContext, w io.Writer, opts LogOptions) error

Types

type LogOptions added in v0.0.201

type LogOptions struct {
	W io.Writer

	MaxBackoff time.Duration
	AppName    string
	VMID       string
	RegionCode string
}

type LogStream added in v0.0.201

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

func NewLogStream added in v0.0.201

func NewLogStream(apiClient *api.Client) *LogStream

func (*LogStream) Err added in v0.0.201

func (ls *LogStream) Err() error

func (*LogStream) Stream added in v0.0.201

func (ls *LogStream) Stream(ctx context.Context, opts LogOptions) <-chan []api.LogEntry

Jump to

Keyboard shortcuts

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