package
0.0.0-20220801053434-d7e65e350950
Repository: https://github.com/logicmonitor/lm-k8s-webhook.git
Documentation: pkg.go.dev

# Functions

GetConfig returns the external config object.
LoadConfig loads the external config passed by the user.
NewK8sClient creates and returns kuberentes client.
NewK8sClientSet creates and returns client set.

# Structs

Config holds the external configuration.
K8sClient represents the Kubernetes client object.
LMEnvVars holds the env variables for mutation.
MutationConfig holds the mutation config.
OperationEnv represents the env variables that will be used by application, without passing it as a resource attribute.
ResourceEnv represents the env variables which will be passed as a resource attributes with OTEL_RESOURCE_ATTRIBUTES env variable.