index

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ClusterNamespaceField is used by the ClusterSummary Controller to index ClusterSummary
	// by CAPI Cluster namespace, and add a watch on CAPI Cluster.
	ClusterNamespaceField = ".spec.clusterNamespace"

	// ClusterNameField is used by the ClusterSummary Controller to index ClusterSummary
	// by CAPI Cluster name, and add a watch on CAPI Cluster.
	ClusterNameField = ".spec.clusterName"
)

Variables

This section is empty.

Functions

func AddDefaultIndexes

func AddDefaultIndexes(ctx context.Context, mgr ctrl.Manager) error

AddDefaultIndexes registers the default list of indexes.

func ByClusterName

func ByClusterName(ctx context.Context, mgr ctrl.Manager) error

ByClusterNamespace adds the CAPI Cluster name index to the managers cache.

func ByClusterNamespace

func ByClusterNamespace(ctx context.Context, mgr ctrl.Manager) error

ByClusterNamespace adds the CAPI Cluster namespace index to the managers cache.

Types

This section is empty.

Jump to

Keyboard shortcuts

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