time

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MetaNow = func() metav1.Time {
	return metav1.Time{Time: Now()}
}

MetaNow is a wrapper around metav1.Now() and used to override behavior in tests.

View Source
var MetaTime = func(time time.Time) metav1.Time {
	return metav1.Time{Time: time}
}

MetaTime is a wrapper around metav1.Time and used to override behavior in tests.

View Source
var Now = time.Now

Now is a wrapper around time.Now() and used to override behavior in tests.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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