Documentation
¶
Index ¶
- Constants
- func CompareTimePtr(t1, t2 *time.Time) int
- func EmptyOrContains[S ~[]E, E comparable](elements S, e E) bool
- func LoadConfigInto(conf any, fromDir string) error
- func NamespacedUUID(segments ...string) string
- func NewZapLogger(logLevel zapcore.Level) (logr.Logger, zap.AtomicLevel, error)
- func NilOrEquals[E comparable](value *E, expectedValue E) bool
- func ParseDuration(dur string) (time.Duration, error)
- func PtrTo[T any](o T) *T
- func SyncLogLevel(ctx context.Context, logger logr.Logger, eventChan chan string, ...)
- func ToCredentialsSecretData(credentials any) (map[string][]byte, error)
- func Uniq[S ~[]E, E cmp.Ordered](elements S) S
- func WatchForConfigChangeEvents(ctx context.Context, configFilePath string, logger logr.Logger, ...) error
- func ZeroIfNil[T any, PT *T](value PT) T
- type LogLevelGetter
- type LogrWriter
Constants ¶
View Source
const CredentialsSecretKey = "credentials"
Variables ¶
This section is empty.
Functions ¶
func CompareTimePtr ¶ added in v0.13.0
func EmptyOrContains ¶ added in v0.13.0
func EmptyOrContains[S ~[]E, E comparable](elements S, e E) bool
func LoadConfigInto ¶
func NamespacedUUID ¶ added in v0.13.0
func NewZapLogger ¶ added in v0.7.0
func NilOrEquals ¶ added in v0.13.0
func NilOrEquals[E comparable](value *E, expectedValue E) bool
func SyncLogLevel ¶ added in v0.7.0
func SyncLogLevel(ctx context.Context, logger logr.Logger, eventChan chan string, atomicLevel zap.AtomicLevel, getLogLevelFromPath LogLevelGetter)
func ToCredentialsSecretData ¶ added in v0.13.0
func WatchForConfigChangeEvents ¶ added in v0.7.0
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.