package
4.13.4+incompatible
Repository: https://github.com/fairwindsops/goldilocks.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetControllerUtilsInstance returns a Kubernetes client to be used for interfacing with Kubernetes controllers.
No description provided by the author
GetInstance returns a Kubernetes interface based on the current configuration.
GetMockClient returns a fake client instance for mocking.
GetMockControllerUtilsClient returns a fake controller client instance for mocking.
GetMockVPAClient returns fake vpa client instance for mocking.
GetMockVPAClient returns fake vpa client instance for mocking.
GetNamespace returns a namespace object when given a name.
GetVPAInstance returns an interface for VPA based on the current configuration.
SetControllerUtilsInstance sets a kubeClient for Controller.
SetVPAInstance sets the kubeClient for VPA.
SetInstance allows the user to set the kubeClient singleton.
SetVPAInstance sets the kubeClient for VPA.

# Structs

ClientInstance is a wrapper around the kubernetes interface for testing purposes.
ControllerUtilsClientInstance is a wrapper around the controller-utils client for testing purposes.
DynamicClientInstance is a wrapper around the dynamic interface for testing purposes.
VPAClientInstance is a wrapper around the autoscaling interface for testing purposes.