Documentation ¶
Index ¶
Constants ¶
View Source
const (
// GitRepoCIVariableValueFromSecretKeyRefNameIndex is the index name for the GitRepo objects that reference a secret by name.
GitRepoCIVariableValueFromSecretKeyRefNameIndex = "spec.ciVariables.valueFrom.secretKeyRef.name"
)
Variables ¶
This section is empty.
Functions ¶
func GitRepoCIVariableValueFromSecretKeyRefNameIndexFunc ¶
GitRepoCIVariableValueFromSecretKeyRefNameIndexFunc is an index function for GitRepo objects. It indexes the names of the secrets that are referenced by the CIVariables of the GitRepo.
func SecretGitRepoCIVariablesMapFunc ¶
func SecretGitRepoCIVariablesMapFunc(cli client.Client) func(ctx context.Context, o client.Object) []reconcile.Request
SecretGitRepoCIVariablesMapFunc returns a handler function that will return a list of reconcile.Requests for GitRepo objects that reference the secret in the given Secret object. It requires the field index GitRepoCIVariableValueFromSecretKeyRefNameIndex to be installed for the GitRepo objects.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.