fields

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package fields contains helpers for working with fields in the CRDs. These are mostly used when setting up field indexers.

Index

Constants

View Source
const (
	// GlobalDatasourceSecretRefName is the path to the credential secret
	// reference name.
	GlobalDatasourceSecretRefName = ".spec.credentialsSecretRef.name"
	// GlobalDatasourceSecretRefNamespace is the path to the credential secret
	// reference namespace.
	GlobalDatasourceSecretRefNamespace = ".spec.credentialsSecretRef.namespace"
)
View Source
const (
	// SystemCredentialsSecretName is the path to the credential secret name.
	SystemCredentialsSecretName = ".spec.sourceControl.origin.credentialsSecretName"
)

Variables

This section is empty.

Functions

func GlobalDatasourceCredentialsSecretRefFieldSelector

func GlobalDatasourceCredentialsSecretRefFieldSelector(namespace, name string) fields.Selector

GlobalDatasourceCredentialsSecretRefFieldSelector returns a field selector for finding the GlobalDatasources referencing a secret.

func SystemCredentialsSecretNameSelector

func SystemCredentialsSecretNameSelector(name string) fields.Selector

SystemCredentialsSecretNameSelector returns a field selector for finding the Systems referencing a secret.

Types

This section is empty.

Jump to

Keyboard shortcuts

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