logger

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Logger logr.Logger

	Pods []v1.Pod
}

func SetupConfig

func SetupConfig() *Config

func (*Config) Validate

func (c *Config) Validate() error

type Logger

type Logger struct {

	// Pods defines the pods that the logger is responsible for
	// collecting logs from.
	Pods []v1.Pod
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(cfg *Config) *Logger

func (*Logger) Run

func (l *Logger) Run(stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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