package
2.0.3+incompatible
Repository: https://github.com/ensono/taskctl.git
Documentation: pkg.go.dev

# Functions

CascadeName builds the name using the ancestors with a pipeline separator.
ConvertEnv converts map representing the environment to array of strings in the form "key=value".
ConvertFromEnv takes a string array and coverts it to a map of strings since an env variable can only really be a string it's safe to convert to string and not interface downstream programs need to cast values to what they expect.
ConvertToMachineFriendly converts a string containing characters that would not play nice key names e.g.
ConvertToMapOfStrings converts map of interfaces to map of strings.
DecodeBase62 takes a EncodeBase62 generated string and and converts it back to its original human friendly form.
DefaultTaskctlEnv checks if there is a file in the current directory `taskctl.env` if we ingest it into the Env variable giving preference to the `taskctl.env` specified K/V.
EncodeBase62 takes a string and converts it to base62 format - this is safer than using regex or strings replace.
FileExists checks if the file exists.
GetFullPath.
IsExitError checks if given error is an instance of exec.ExitError.
IsURL checks if given string is a valid URL.
LastLine returns last line from provided reader.
MapKeys returns an array of map's keys.
MustGetUserHomeDir returns current working directory.
MustGetwd returns current working directory.
NewEnvFile creates a new instance of the EnvFile initializes it with some defaults.
ReadEnvFile reads env file inv `k=v` format.
ReaderFromPath returns an io.ReaderCloser from provided path Returning false if the file does not exist or is unable to read it.
RenderString parses given string as a template and executes it with provided params.
TailExtract takes the last possible node from a pipeline string.

# Constants

No description provided by the author
No description provided by the author
TASKCTL_ENV_FILE is the default location of env file ingested by taskctl for every run.

# Variables

No description provided by the author
No description provided by the author

# Structs

Binary is a structure for storing binary file path and arguments that should be passed on binary's invocation.
Container is the specific context for containers only available to docker API compliant implementations e.g.
Envile is a structure for storing the information required to generate an envfile which can be consumed by the specified binary.
No description provided by the author

# Type aliases

Opts is a task runner configuration function.