Documentation ¶
Index ¶
Constants ¶
View Source
const ( // WorkloadByDeviceIndexKey is the name of the indexer for workloads by device WorkloadByDeviceIndexKey = "workload-by-device" // DeviceByWorkloadIndexKey is the key of the indexer for devices by workload DeviceByWorkloadIndexKey = "device-by-workload" )
Variables ¶
This section is empty.
Functions ¶
func CreateDeviceIndexKey ¶
CreateDeviceIndexKey creates a key for the device index which is basically the workload name
func CreateWorkloadIndexKey ¶
CreateWorkloadIndexKey creates a key for the workload index The key is of the form: device or label
func DeviceByWorkloadIndexFunc ¶
func DeviceByWorkloadIndexFunc(obj ctrlruntimeclient.Object) []string
func WorkloadByDeviceIndexFunc ¶
func WorkloadByDeviceIndexFunc(obj ctrlruntimeclient.Object) []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.