Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNamespace ¶
GetNamespace returns a namespace object when given a name.
func SetInstance ¶
func SetInstance(kc ClientInstance)
SetInstance sets the Kubernetes interface to use - this is for testing only
Types ¶
type ClientInstance ¶
type ClientInstance struct {
Client kubernetes.Interface
}
ClientInstance is a wrapper around the kubernetes interface for testing purposes
func GetInstance ¶
func GetInstance() *ClientInstance
GetInstance returns a Kubernetes interface based on the current configuration
type VPAClientInstance ¶
type VPAClientInstance struct {
Client autoscalingv1beta2.Interface
}
VPAClientInstance is a wrapper around the autoscaling interface for testing purposes
func GetVPAInstance ¶
func GetVPAInstance() *VPAClientInstance
GetVPAInstance returns an interface for VPA based on the current configuration
Click to show internal directories.
Click to hide internal directories.