utils

package
v0.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatTimestamp added in v0.7.0

func FormatTimestamp(in string) string

func GetTTLTimeAgoFromBase added in v0.7.0

func GetTTLTimeAgoFromBase(baseTime time.Time, dur string) string

func LoadUnstructuredTemplate

func LoadUnstructuredTemplate(file string, tplVals config.TemplateVals, forDelete bool) (any, error)

func UnstructuredToNameAndSpec added in v0.7.0

func UnstructuredToNameAndSpec(un any) (name string, spec any, err error)

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