util

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContainerUser added in v0.2.0

func GetContainerUser() string

GetContainerUser returns the user id and group id of the current user to mirror it in the container TODO: This is not working yet because of some issues, we still require root as of now

func GetStringOrDefault added in v0.2.0

func GetStringOrDefault(value string, defaultValue string) string

func GetUserConfigDirectory added in v0.2.0

func GetUserConfigDirectory() string

func RegexFormat

func RegexFormat(input string, regexExpr string, outputTemplate string) (string, error)

RegexFormat will evaluate a regex expr to render a template

Types

This section is empty.

Jump to

Keyboard shortcuts

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