util

package
v0.0.0-kuberlr.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkerThreads = 25
	S3Backup      = "S3"
	PVBackup      = "PV"
)

Variables

This section is empty.

Functions

func DevMode

func DevMode() bool

func DevModeContext

func DevModeContext(ctx context.Context) bool

func ErrList

func ErrList(e []error) error

func GetChartNamespace

func GetChartNamespace() string

func GetChartNamespaceContext

func GetChartNamespaceContext(ctx context.Context) (string, error)

func GetObjectQueue

func GetObjectQueue(l interface{}, capacity int) chan interface{}

func SetChartNamespace

func SetChartNamespace(ns string)

func SetDevMode

func SetDevMode(enabled bool)

Types

type Initializer

type Initializer struct {
	// contains filtered or unexported fields
}

func (*Initializer) InitOnce

func (i *Initializer) InitOnce(f func())

func (*Initializer) Initialized

func (i *Initializer) Initialized() bool

func (*Initializer) WaitForInit

func (i *Initializer) WaitForInit()

func (*Initializer) WaitForInitContext

func (i *Initializer) WaitForInitContext(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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