monitor

package
v0.1.144-pre-4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 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(ctx context.Context, 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