Documentation
¶
Index ¶
- Constants
- func NewGeneratorTimer(generatorType string) *prometheus.Timer
- func NewReconcileTimer(name, namespace string) *prometheus.Timer
- func RecordGeneratorExecution(generatorType, status string)
- func RecordReconcileComplete(name, namespace string, duration float64)
- func RecordReconcileError(name, namespace string)
- func RecordSecretSkipped(name, namespace string)
- func RecordSuccessfulGeneration(name, namespace string)
- func RecordTemplateValidationFailed(name, namespace string)
- func UpdateSecretInstances(name, namespace string, count float64)
- type SecretSantaReconciler
Constants ¶
View Source
const ( SecretSantaFinalizer = "secrets.secret-santa.io/finalizer" MaxGeneratorConfigSize = 1024 * 1024 // 1MB )
Variables ¶
This section is empty.
Functions ¶
func NewGeneratorTimer ¶
func NewGeneratorTimer(generatorType string) *prometheus.Timer
func NewReconcileTimer ¶
func NewReconcileTimer(name, namespace string) *prometheus.Timer
Production metrics wrapper functions
func RecordGeneratorExecution ¶
func RecordGeneratorExecution(generatorType, status string)
func RecordReconcileComplete ¶
func RecordReconcileError ¶
func RecordReconcileError(name, namespace string)
func RecordSecretSkipped ¶
func RecordSecretSkipped(name, namespace string)
func RecordSuccessfulGeneration ¶ added in v0.3.0
func RecordSuccessfulGeneration(name, namespace string)
func RecordTemplateValidationFailed ¶ added in v0.3.0
func RecordTemplateValidationFailed(name, namespace string)
func UpdateSecretInstances ¶
Types ¶
type SecretSantaReconciler ¶
type SecretSantaReconciler struct {
client.Client
Scheme *runtime.Scheme
IncludeAnnotations []string
ExcludeAnnotations []string
IncludeLabels []string
ExcludeLabels []string
DryRun bool
EnableMetadata bool
}
func (*SecretSantaReconciler) SetupWithManager ¶
func (r *SecretSantaReconciler) SetupWithManager(mgr ctrl.Manager, maxConcurrentReconciles int) error
Click to show internal directories.
Click to hide internal directories.