generic

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCountEvaluator

func NewCountEvaluator(gr schema.GroupResource, typ client.Object) quota.Evaluator

Types

type CapabilitiesReader

type CapabilitiesReader interface {
	Get(ctx context.Context, className string) (corev1alpha1.ResourceList, bool)
}

func NewGetterCapabilitiesReader

func NewGetterCapabilitiesReader[T onmetalutilruntime.DeepCopier[T], K any](
	getter resourceaccess.Getter[T, K],
	extractCapabilities func(T) corev1alpha1.ResourceList,
	makeKey func(className string) K,
) CapabilitiesReader

Jump to

Keyboard shortcuts

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