target

package
v0.8.0 Latest Latest
Warning

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

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

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

Jump to

Keyboard shortcuts

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