util

package
v0.0.71 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

internal/util/env.go

internal/util/logger.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCollectionPolicySpecFromEnv

func LoadCollectionPolicySpecFromEnv() (v1.CollectionPolicySpec, error)

LoadCollectionPolicySpecFromEnv reads environment variables, applies them over the provided oldSpec, and returns the new spec along with a boolean indicating whether any field changed, or an error if parsing fails.

func NewLogger

func NewLogger(name string) logr.Logger

NewLogger creates a new logger with the given name

Types

This section is empty.

Jump to

Keyboard shortcuts

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