Help us shape the future of Go! Take the 2026 Go Developer Survey

indexer

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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

func CreateDeviceIndexKey(label string) string

CreateDeviceIndexKey creates a key for the device index which is basically the workload name

func CreateWorkloadIndexKey

func CreateWorkloadIndexKey(label, value string) string

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.

Jump to

Keyboard shortcuts

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