Documentation
¶
Index ¶
Constants ¶
View Source
const NamespacePrefix = "shoot--logging--test-"
NamespacePrefix is the prefix used for the namespaces created by the logger controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerController ¶
type LoggerController struct {
// contains filtered or unexported fields
}
LoggerController is responsible for managing the logger pods and sending log records.
func NewLoggerController ¶
func NewLoggerController(outputPlugin plugin.OutputPlugin, cfg LoggerControllerConfig) LoggerController
NewLoggerController creates a new instance of LoggerController with the given plugin and configuration.
func (*LoggerController) GetPods ¶
func (c *LoggerController) GetPods() []Pod
GetPods returns the list of pods managed by the LoggerController.
func (*LoggerController) Run ¶
func (c *LoggerController) Run()
Run starts the logger pods and sends log records.
func (*LoggerController) Wait ¶
func (c *LoggerController) Wait()
Wait waits for all logger pods to finish sending log records.
type LoggerControllerConfig ¶
LoggerControllerConfig holds the configuration for the LoggerController.
Click to show internal directories.
Click to hide internal directories.