monitor

package
v0.1.44 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamBuildLogs

func StreamBuildLogs(resp *http.Response, onLog func(string)) error

StreamBuildLogs streams build logs from an HTTP response

Types

type BuildLogWatcher

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

BuildLogWatcher watches build logs for a resource

func NewBuildLogWatcher

func NewBuildLogWatcher(client *sdk.ClientWithResponses, workspace, resourceType, resourceName string, onLog func(string)) *BuildLogWatcher

NewBuildLogWatcher creates a new build log watcher

func (*BuildLogWatcher) Start

func (w *BuildLogWatcher) Start()

Start begins watching build logs

func (*BuildLogWatcher) Stop

func (w *BuildLogWatcher) Stop()

Stop stops watching build logs

Jump to

Keyboard shortcuts

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