indexes

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// IndexKeyServiceRefName is index key for services referenced by MultiClusterIngress.
	IndexKeyServiceRefName = "mci.serviceRef.name"
	// IndexKeySecretRefName is index key for secrets referenced by MultiClusterIngress.
	IndexKeySecretRefName = "mci.secretRef.name" // #nosec G101
)

Variables

This section is empty.

Functions

func BuildSecretRefIndexes

func BuildSecretRefIndexes(mci *networkingv1alpha1.MultiClusterIngress) []string

BuildSecretRefIndexes returns the secret refs in the MultiClusterIngress object.

func BuildServiceRefIndexes

func BuildServiceRefIndexes(mci *networkingv1alpha1.MultiClusterIngress) []string

BuildServiceRefIndexes returns the service refs in the MultiClusterIngress object.

func SetupSecretIndexesForMCI

func SetupSecretIndexesForMCI(ctx context.Context, fieldIndexer client.FieldIndexer) error

SetupSecretIndexesForMCI setups Secret Indexes for MultiClusterIngress object.

func SetupServiceIndexesForMCI

func SetupServiceIndexesForMCI(ctx context.Context, fieldIndexer client.FieldIndexer) error

SetupServiceIndexesForMCI setups Service Indexes for MultiClusterIngress object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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