input

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const NamespacePrefix = "shoot--logging--test-"

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerController

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

func NewLoggerController

func NewLoggerController(plugin valiplugin.Vali, cfg LoggerControllerConfig) LoggerController

func (*LoggerController) GetPods

func (c *LoggerController) GetPods() []Pod

func (*LoggerController) Run

func (c *LoggerController) Run()

func (*LoggerController) Wait

func (c *LoggerController) Wait()

type LoggerControllerConfig

type LoggerControllerConfig struct {
	NumberOfClusters int
	NumberOfLogs     int
}

type Pod

type Pod interface {
	GenerateLogRecord() map[interface{}]interface{}
	GetOutput() PodOutput
}

func NewPod added in v0.62.0

func NewPod(namespace, podName, container string) Pod

type PodOutput

type PodOutput interface {
	GetLabelSet() model.LabelSet
	GetGeneratedLogsCount() int
}

Jump to

Keyboard shortcuts

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