Documentation ¶
Index ¶
- type VpaTargetSelectorFetcher
- func NewBeta1TargetSelectorFetcher(config *rest.Config) VpaTargetSelectorFetcher
- func NewCompositeTargetSelectorFetcher(primary, backup VpaTargetSelectorFetcher) VpaTargetSelectorFetcher
- func NewVpaTargetSelectorFetcher(config *rest.Config, kubeClient kube_client.Interface, ...) VpaTargetSelectorFetcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VpaTargetSelectorFetcher ¶
type VpaTargetSelectorFetcher interface { // Fetch returns a labelSelector used to gather Pods controlled by the given VPA. // If error is nil, the returned labelSelector is not nil. Fetch(vpa *vpa_types.VerticalPodAutoscaler) (labels.Selector, error) }
VpaTargetSelectorFetcher gets a labelSelector used to gather Pods controlled by the given VPA.
func NewBeta1TargetSelectorFetcher ¶
func NewBeta1TargetSelectorFetcher(config *rest.Config) VpaTargetSelectorFetcher
NewBeta1TargetSelectorFetcher returns new instance of VpaTargetSelectorFetcher that uses selector from deprecated v1beta1
func NewCompositeTargetSelectorFetcher ¶
func NewCompositeTargetSelectorFetcher(primary, backup VpaTargetSelectorFetcher) VpaTargetSelectorFetcher
NewCompositeTargetSelectorFetcher returns a new VpaTargetSelectorFetcher that uses primary VpaTargetSelectorFetcher by default and when it fails tries backup VpaTargetSelectorFetcher.
func NewVpaTargetSelectorFetcher ¶
func NewVpaTargetSelectorFetcher(config *rest.Config, kubeClient kube_client.Interface, factory informers.SharedInformerFactory) VpaTargetSelectorFetcher
NewVpaTargetSelectorFetcher returns new instance of VpaTargetSelectorFetcher
Click to show internal directories.
Click to hide internal directories.