# Functions
HugePageResourceName returns a ResourceName with the canonical hugepage prefix prepended for the specified page size.
HugePageSizeFromResourceName returns the page size for the specified huge page resource name.
IsAttachableVolumeResourceName checks if the resource is an attachable volume.
IsExtendedResourceName checks if the resource is an extended resource.
IsHugePageResourceName returns true if the resource name has the huge page resource prefix.
IsNativeResource returns true if the resource name is in the *kubernetes.io/ namespace.
IsPrefixedNativeResource returns true if the resource name is in the *kubernetes.io/ namespace.
IsScalarResourceName checks if the resource is a scalar.
New is used to create a predicateHandler instance.
NewInTreeRegistry is used to instantiate a built-in registry.
NewResource creates a Resource from ResourceList.
WithCallTimeout is the grpc timeout to be used while accessing remotes with predicates.
WithLogger defines the logger to be used with predicate handler.
WithOutOfTreeRegistry is used to extend the built-in registry with a custom set.
WithParallelism defines the parallelism factor used while running the filter predicates.
# Variables
ErrAlreadyExists is returned when an entry already exists in registry.
ErrInvalidResource error is used when an input resource is invalid.
ErrNoPredicate is returned when a predicate is not implemented.
# Structs
PredicateHandler is a framework used to run through all the predicates.
Resource is a collection of compute resource.
# Interfaces
FilterPredicate defines an interface to implement filter predicate handlers.
PodSetHandle defines the interface for a podset used with predicate handler.
Predicate defines an interface to implement predicate handlers.
PredicateHandle defines a handle used while initializing the predicate.
ScorePredicate defines an interface to implement scoring a node assignment for the pod.
# Type aliases
Option is the option used while creating the predicate handler.
PredicateFactory is the initialization routine used to create a new predicate instance.
Registry contains a map of predicates to their initialization function.