index

package
v0.0.0-...-9264194 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package index implements several indexes for the controller-runtime Managers cache.

Index

Constants

View Source
const (
	// IPAddressPoolRefCombinedField is an index for the poolRef of an IPAddress.
	IPAddressPoolRefCombinedField = "index.poolRef"

	// IPAddressClaimPoolRefCombinedField is an index for the poolRef of an IPAddressClaim.
	IPAddressClaimPoolRefCombinedField = "index.poolRef"
)

Variables

This section is empty.

Functions

func IPAddressByCombinedPoolRef

func IPAddressByCombinedPoolRef(o client.Object) []string

IPAddressByCombinedPoolRef fulfills the IndexerFunc for IPAddress poolRefs.

func IPPoolRefValue

func IPPoolRefValue(ref corev1.TypedLocalObjectReference) string

IPPoolRefValue turns a corev1.TypedLocalObjectReference to an indexable value.

func SetupIndexes

func SetupIndexes(ctx context.Context, mgr manager.Manager) error

SetupIndexes adds indexes to the cache of a Manager.

Types

This section is empty.

Jump to

Keyboard shortcuts

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