logviewer

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Viewer

type Viewer struct {
	// Stream is the log stream client to use.
	Stream pb.Waypoint_GetLogStreamClient
}

Viewer implements component.LogViewer over the server-side log stream endpoint.

TODO(mitchellh): we should support some form of reconnection in the event of network errors.

func (*Viewer) NextLogBatch

func (v *Viewer) NextLogBatch(ctx context.Context) ([]component.LogEvent, error)

NextLogBatch implements component.LogViewer

Jump to

Keyboard shortcuts

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