webhook

package
v0.4.41 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationKeyPrefix = "secret-generator.cs.sap.com/prefix"
	DefaultPrefix       = "%generate"
	Symbols             = `-~!@#$%^&*()_+={}|:<>?,./` // caveat: important to have - at first place (to work in regexp character sets)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretWebhook

type SecretWebhook struct{}

func NewSecretWebhook

func NewSecretWebhook() *SecretWebhook

func (*SecretWebhook) MutateCreate

func (w *SecretWebhook) MutateCreate(ctx context.Context, secret *corev1.Secret) error

func (*SecretWebhook) MutateUpdate

func (w *SecretWebhook) MutateUpdate(ctx context.Context, oldSecret *corev1.Secret, newSecret *corev1.Secret) error

Jump to

Keyboard shortcuts

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