package
0.1.1
Repository: https://github.com/clarkezone/boosted-go.git
Documentation: pkg.go.dev

# Functions

Getenv returns environment variables for use in tests.
GetTestConfigPath returns a local testing config for k8s.
InitConfig reads in config file and ENV variables if set.
SetupGitRoot finds the gitroot for this repo.

# Constants

InitialBranchVar is the name environment variable for the webhook listen flag.
InitialBuildVar is name of environment variable for the initial clone flag.
InitialCloneVar is name of environment variable for the initial clone flag.
KubeConfigPathVar is name of environment variable for kube config path.
LocalDirVar is name of environment variable container local repo path.
LogLevelVar is name of environment variable containing loglevel.
NamespaceVar is name of environment variable for kube namespace.
ServiceURLVar is the name of the environment variable for the service url.
StartupMode is the name of the environment variable for the startup mode.
TargetRepoVar is name of environment variable containing target repo URL.
WebhookListenVar is name of environment variable for the webhook listen flag.

# Variables

GitRoot is the root of current git repo used in testing.
InitialBranch holds the branch that should be cloned on startup.
InitialBuild indicates if the source should be built at startup time.
InitialClone indicates if an initial clone should be performed at startup time.
KubeConfigPath is the path to a valid KubeConfig file.
LocalDir absolute path to local dir.
LogLevel is read from env.
Namespace is the kubernetes namespace to create resources in.
ServiceURL is the url of the service.
TargetRepo Url to target repo.
WebhookListen indicates if the webhook should listener should be run at startup time.