utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnv added in v0.2.0

func GetEnv(name string) string

Getenv retrieves the value of the environment variable

func GetFilesWithSuffix

func GetFilesWithSuffix(baseDir string, suffixes ...string) ([]string, error)

GetFilesWithSuffix returns all files under a given base directory that have a specific suffix The operation is performed recurively on sub directories as well

func IsCRD added in v0.2.0

func IsCRD(obj *unstructured.Unstructured) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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