watchers

package
v1.11.8 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

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

func GitRepoCIVariableValueFromSecretKeyRefNameIndexFunc(obj client.Object) []string

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.

Jump to

Keyboard shortcuts

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