Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TargetInfoFetcher ¶
type TargetInfoFetcher interface {
// FetchSelector returns labelSelector, used to gather Pods controlled by the given targetRef.
FetchSelector(targetRef *corev1.ObjectReference) (labels.Selector, error)
// FetchReplicas return desired replicas, current replicas
FetchReplicas(targetRef *corev1.ObjectReference) (int32, int32, error)
}
func NewTargetInfoFetcher ¶
func NewTargetInfoFetcher(restMapper meta.RESTMapper, scaleClient scale.ScalesGetter, kubeClient clientset.Interface) TargetInfoFetcher
NewTargetInfoFetcher returns new instance of TargetInfoFetcher
Click to show internal directories.
Click to hide internal directories.