testutils

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugTest

func DebugTest(ctx context.Context, clientset *kubernetes.Clientset, namespace string, printLevel string) error

Types

type LogEntry

type LogEntry struct {
	Level         LogLevel `json:"level"`
	Message       string   `json:"message"`
	Time          string   `json:"time"`
	Context       string   `json:"context"`
	ParsedContext map[string]any
	Logger        string `json:"logger"`
	PodName       string `json:"podName"`
	ContainerName string `json:"containerName"`
	Namespace     string `json:"namespace"`
}

type LogLevel

type LogLevel string
const (
	LogLevelTrace LogLevel = "trace"
	LogLevelDebug LogLevel = "debug"
	LogLevelInfo  LogLevel = "info"
	LogLevelWarn  LogLevel = "warning"
	LogLevelError LogLevel = "error"
)

func (LogLevel) Number

func (l LogLevel) Number() int

Jump to

Keyboard shortcuts

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