package
0.15.7
Repository: https://github.com/uselagoon/remote-controller.git
Documentation: pkg.go.dev

# Functions

BuildContainsStatus .
CancelExtraBuilds cancels extra builds.
Check if the version of lagoon provided in the internal_system scope variable is greater than or equal to the checked version.
ContainsString check if a slice contains a string.
GenerateNamespaceName handles the generation of the namespace name from environment and project name with prefixes and patterns.
No description provided by the author
No description provided by the author
GetEnv get environment variable.
GetEnvBool get environment variable as bool accepts fallback values 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False anything else is false.
GetEnvInt get environment variable as int.
GetLagoonFeatureFlags pull all the environment variables and check if there are any with the flag prefix.
GetLagoonVariable returns a given environment variable.
No description provided by the author
HashString get the hash of a given string.
IgnoreNotFound will ignore not found errors.
Int32Ptr .
Int64Ptr .
IntPtr .
MakeSafe ensures that any string is dns safe.
RandString .
RemoveBuild remove a LagoonBuild from a slice of LagoonBuilds.
RemoveString remove string from a sliced.
ReplaceOrAddVariable will replace or add an environment variable to a slice of environment variables.
ShortenEnvironment shortens the environment name down the same way that Lagoon does.
ShortName returns a deterministic random short name of 8 lowercase alphabetic and numeric characters.
StringToUintPtr .
TaskContainsStatus .
UintPtr .
VariableExists checks if a variable exists in a slice of environment variables.

# Constants

DefaultNamespacePattern is what is used when one is not provided.

# Variables

BuildCompletedCancelledFailedStatus .
BuildRunningPendingStatus .
BuildRunningPendingStatus .
TaskCompletedCancelledFailedStatus .
TaskRunningPendingStatus .
TaskRunningPendingStatus .

# Structs

Auths struct contains an embedded RegistriesStruct of name auths.
LagoonAPIConfiguration is for the settings for task API/SSH host/ports.
LagoonEnvironmentVariable is used to define Lagoon environment variables.
RegistryCredentials defines the fields stored per registry in an docker config secret.

# Type aliases

RegistriesStruct is a map of registries to their credentials.