Documentation ¶
Overview ¶
Package index provides indexes for the api.
Index ¶
Constants ¶
View Source
const (
// MinerPodNameField is used by the Miner Controller to index Miners by Pod name, and add a watch on Pods.
MinerPodNameField = "status.podRef.name"
)
Variables ¶
This section is empty.
Functions ¶
func AddDefaultIndexes ¶
AddDefaultIndexes registers the default list of indexes.
func ByMinerPod ¶
ByMinerPod adds the miner pod name index to the managers cache.
func MinerByPodName ¶
MinerByPodName contains the logic to index Miners by Pod name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.