utils

package
v0.0.0-...-ed127e3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (
	KUSTOMIZE                = "kustomize"
	OC                       = "oc"
	Ok        ResponseStatus = iota
	Failed
)

Variables

This section is empty.

Functions

func CreateDir

func CreateDir(filepath string)

func FileExists

func FileExists(filename string) bool

func GetLogger

func GetLogger(debug bool) *logrus.Logger

func PrettyPrint

func PrettyPrint(logger *logrus.Logger, message string, obj any)

func StringifyMap

func StringifyMap(mapSrc map[string][]string) string

func ValidateRequirements

func ValidateRequirements(prog string) error

Types

type ResponseStatus

type ResponseStatus int64

func (ResponseStatus) String

func (s ResponseStatus) String() string

Jump to

Keyboard shortcuts

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