util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCustomResourceDefinition

func IsCustomResourceDefinition(path string) bool

func IsNamespaceDefinition

func IsNamespaceDefinition(path string) bool

func LowerCamelFilenameWithoutExt

func LowerCamelFilenameWithoutExt(path string) string

func ReflectValue

func ReflectValue(v reflect.Value) reflect.Value

func SortedMapKeys

func SortedMapKeys(m reflect.Value, root string) []reflect.Value

Take the reflected map keys which have no guaranteed order and sort them Apply special ordering for certain keys at root, metadata or container level, and sort remaning keys naturally.

Types

This section is empty.

Jump to

Keyboard shortcuts

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