package
0.58.0
Repository: https://github.com/fluxcd/pkg.git
Documentation: pkg.go.dev

# Functions

GetConfigOrDie wraps ctrl.GetConfigOrDie and checks if the Kubernetes apiserver has PriorityAndFairness flow control filter enabled.
KubeConfig sanitises a kubeconfig represented as *rest.Config using KubeConfigOptions to inform the transformation decisions.
NewDynamicRESTMapper creates a new HTTP client using the provided config.
NewImpersonator creates an Impersonator from the given arguments.
WithKubeConfig sets the kubeconfig options for the Impersonator.
WithPolling sets the polling options for the Impersonator.
WithScheme sets the scheme for the Impersonator.
WithServiceAccount sets the service account options for the Impersonator.

# Structs

Impersonator holds the state for impersonating a Kubernetes account.
KubeConfigOptions defines options for KubeConfig sanitization.
Options contains the runtime configuration for a Kubernetes client.

# Type aliases

ImpersonatorOption is a functional option for configuring the Impersonator.