monitor

package
v0.0.363-pre-2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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