target

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MpaTargetSelectorFetcher

type MpaTargetSelectorFetcher interface {
	// Fetch returns a labelSelector used to gather Pods controlled by the given MPA.
	// If error is nil, the returned labelSelector is not nil.
	Fetch(mpa *mpa_types.MultidimPodAutoscaler) (labels.Selector, error)
}

MpaTargetSelectorFetcher gets a labelSelector used to gather Pods controlled by the given MPA.

func NewMpaTargetSelectorFetcher

func NewMpaTargetSelectorFetcher(config *rest.Config, kubeClient kube_client.Interface, factory informers.SharedInformerFactory) MpaTargetSelectorFetcher

NewMpaTargetSelectorFetcher returns new instance of MpaTargetSelectorFetcher

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL