Documentation ¶
Overview ¶
Package indexer provides indexers for controller-runtime managers.
Index ¶
Constants ¶
View Source
const (
// FieldNodeNameFromPod is the field name of the node name of a pod.
FieldNodeNameFromPod = "spec.nodeName"
)
Variables ¶
This section is empty.
Functions ¶
func ExtractNodeName ¶
ExtractNodeName returns the node name of the given object.
func IndexField ¶
func IndexField(ctx context.Context, mgr ctrlruntime.Manager, obj client.Object, field string, indexerFunc client.IndexerFunc) error
IndexField indexes the given field on the given object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.