package
0.0.0-20240403101949-d5bad45209be
Repository: https://github.com/hellofresh/kangal.git
Documentation: pkg.go.dev
# Functions
BuildConfig builds a config from the file.
CreateLoadTest creates a load test CR.
DeleteLoadTest deletes a load test CR.
GetDistributedPods returns a number of distributed pods in load test namespace.
GetLoadTest returns a load test name.
GetLoadTestEnvVars returns a load test name.
GetLoadTestLabels returns load test labels.
GetLoadTestNamespace returns a load test namespace.
GetLoadTestPhase returns the current phase of given loadtest.
GetLoadTestTestdata returns a load test name.
GetSecret returns a list of created secrets according to the given label.
NewController returns a new sample controller.
NewMetricsReporter contains loadtest metrics definition.
Run runs an instance of kubernetes kubeController.
RunMetricsServer starts Prometheus metrics server.
WaitLoadTest waits until Loadtest resources exists.
# Structs
Config is the possible Kangal Controller configurations.
Controller is the controller implementation for LoadTest resources.
MetricsReporter used to interface with the metrics configurations.
Runner encapsulates all Kangal Controller dependencies.