component-basek8s.io/component-base/logs/internal/setverbositylevel Index | Files

package setverbositylevel

import "k8s.io/component-base/logs/internal/setverbositylevel"

Package setverbositylevel stores callbacks that will be invoked by logs.GlogLevel.

This is a separate package to avoid a dependency from k8s.io/component-base/logs (uses the callbacks) to k8s.io/component-base/logs/api/v1 (adds them). Not all users of the logs package also use the API.

Index

Variables

var (
	// Mutex controls access to the callbacks.
	Mutex sync.Mutex

	Callbacks []func(v uint32) error
)

Source Files

setverbositylevel.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
6 hours ago

Tools for package owners.