Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SelectorFetcher ¶
type SelectorFetcher interface { // Fetch returns a labelSelector used to gather Pods controlled by the given targetRef. Fetch(targetRef *corev1.ObjectReference) (labels.Selector, error) }
SelectorFetcher gets a labelSelector used to gather Pods controlled by the given targetRef.
func NewSelectorFetcher ¶
func NewSelectorFetcher(scheme *runtime.Scheme, restMapper meta.RESTMapper, scaleClient scale.ScalesGetter, kubeClient client.Client) SelectorFetcher
NewSelectorFetcher returns new instance of SelectorFetcher
Click to show internal directories.
Click to hide internal directories.