ci

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvMapToStringSlice

func EnvMapToStringSlice(env map[string]string) []string

func GetHostFromGitRemote

func GetHostFromGitRemote(input string) (string, error)

func GetMapValueOrDefault

func GetMapValueOrDefault(entity map[string]string, key string, defaultValue string) (val string)

GetMapValueOrDefault returns a value in a map or a default value

func IsCI

func IsCI() (val bool)

IsCI checks if the current environment is a CI environment

func ToEnvName

func ToEnvName(input string) string

func ToUnixPath

func ToUnixPath(path string) string

ToUnixPath turns a windows path into a unix path

func ToUnixPathArgs

func ToUnixPathArgs(data string) string

ToUnixPathArgs checks each argument and turns it into a unix path if needed

Types

This section is empty.

Jump to

Keyboard shortcuts

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