Documentation
¶
Index ¶
- func GetDirectoryNameFromPath(path string) string
- func GetEnvironmentFrom(env []string) map[string]string
- func GetEnvironmentMerge(env []string, overwrite []string) map[string]string
- func GetHostFromURL(addr string) (string, error)
- func GetMachineEnvironment() map[string]string
- func GetProjectUID(repository v1.Repository, project v1.Project) string
- func GetWorkingDirectory() string
- func ProcessIgnoreFiles(files []string) *ignore.GitIgnore
- func ToEnvName(input string) string
- type Normalizer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDirectoryNameFromPath ¶
GetDirectoryNameFromPath gets the directory name from a path
func GetEnvironmentFrom ¶
GetEnvironmentFrom returns a map with all environment variables contained in env
func GetEnvironmentMerge ¶
GetEnvironmentMerge returns a map with all environment variables contained in env
func GetHostFromURL ¶
GetHostFromURL gets the host from a url
func GetMachineEnvironment ¶
GetMachineEnvironment returns a map with all environment variables set on the machine
func GetProjectUID ¶
func GetProjectUID(repository v1.Repository, project v1.Project) string
func GetWorkingDirectory ¶
func GetWorkingDirectory() string
GetWorkingDirectory returns the current working directory
func ProcessIgnoreFiles ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.