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.
Click to show internal directories.
Click to hide internal directories.