indexeres

package
v0.0.2-pre Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	UserNameIndex           = "auth.harvesterhci.io/user-username-index"
	RbByRoleAndSubjectIndex = "auth.harvesterhci.io/crb-by-role-and-subject"
	PVCByVMIndex            = "harvesterhci.io/pvc-by-vm-index"
	VMByNetworkIndex        = "vm.harvesterhci.io/vm-by-network"
	PodByNodeNameIndex      = "harvesterhci.io/pod-by-nodename"
)

Variables

This section is empty.

Functions

func PodByNodeName

func PodByNodeName(obj *corev1.Pod) ([]string, error)

func RbRoleSubjectKey

func RbRoleSubjectKey(roleName string, subject rbacv1.Subject) string

func RegisterManagementIndexers

func RegisterManagementIndexers(management *config.Management)

func RegisterScaledIndexers

func RegisterScaledIndexers(scaled *config.Scaled)

func VMByNetwork

func VMByNetwork(obj *kubevirtv1.VirtualMachine) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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