input

package
v0.55.5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

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
	NumberOfOperatorLoggers int
	NumberOfUserLoggers     int
	NumberOfLogs            int
}

type Pod

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

func NewOperatorPod

func NewOperatorPod(namespace, podName, container string) Pod

NewOperatorPod creates new operator Pod

func NewUserPod

func NewUserPod(namespace, podName, container string) Pod

NewPod creates new Pod

type PodOutput

type PodOutput interface {
	GetLabelSet() model.LabelSet
	GetTenants() []string
	GetGeneratedLogsCount() int
}

Jump to

Keyboard shortcuts

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