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 ¶
GlobalDatasourceCredentialsSecretRefFieldSelector returns a field selector for finding the GlobalDatasources referencing a secret.
func SystemCredentialsSecretNameSelector ¶
SystemCredentialsSecretNameSelector returns a field selector for finding the Systems referencing a secret.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.