common

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureOwnerRef added in v0.4.1

func EnsureOwnerRef(owner, owned metav1.Object, blockDelete bool) error

func Owns added in v0.4.1

func Owns(owner, object metav1.Object) bool

func RandomizeDuration

func RandomizeDuration(variance float64, duration time.Duration) time.Duration

RandomizeDuration randomizes duration for a given variance. variance is expected to be of a format 0.1 for 10%, 0.5 for 50% and so on

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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