logs

package
v2.24.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WatchControllerLogs

func WatchControllerLogs(ctx context.Context, c *v1.CoreV1Client, controllerNamespace string, kdKey client.ObjectKey, reconcileId string, since time.Duration, follow bool) (chan LogLine, error)

Types

type LogLine

type LogLine struct {
	Level       string    `json:"level"`
	Timestamp   time.Time `json:"ts"`
	Msg         string    `json:"msg"`
	Name        string    `json:"name"`
	Namespace   string    `json:"namespace"`
	ReconcileID string    `json:"reconcileID"`
}

Jump to

Keyboard shortcuts

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