testutils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeUID

func MakeUID(name string) types.UID

MakeUID returns a deterministically generated UID given an input string. nolint:gosec

func Mkmtime

func Mkmtime(value string) metav1.Time

Mkmtime parses a RFC3339 string or panics and returns a metav1.Time.

func Mkmtimep

func Mkmtimep(value string) *metav1.Time

Mkmtimep parses a RFC3339 string or panics and returns a *metav1.Time.

func Mktime

func Mktime(value string) time.Time

Mktime parses a RFC3339 string or panics and returns a time.Time.

func Mktimep

func Mktimep(value string) *time.Time

Mktimep parses a RFC3339 string or panics and returns a *time.Time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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