schema

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AWS_SQS               = "AwsSqs"
	AZURE_EVENT_GRID      = "AzureEventGrid"
	GOOGLE_PUB_SUB        = "GooglePubSub"
	WEBHOOK               = "Webhook"
	TCP_SOCKET            = "TCPSocket"
	HASHICORP_VAULT       = "HashicorpVault"
	MOCK                  = "Mock"
	KUBERNETES_SECRET     = "KubernetesSecret"
	KUBERNETES_CONFIG_MAP = "KubernetesConfigMap"
)

Variables

This section is empty.

Functions

func ForceRegister

func ForceRegister(name string, prov Provider)

func RegisterProvider

func RegisterProvider(name string, prov Provider) bool

Types

type Listener

type Listener interface {
	Start() error
	Stop() error
}

Listener defines the interface for starting and stopping a listener.

type Provider

type Provider interface {
	CreateListener(ctx context.Context, source *v1alpha1.NotificationSource, client client.Client, eventChan chan events.SecretRotationEvent, logger logr.Logger) (Listener, error)
}

Provider is an interface for creating event listeners for secret rotation events.

func GetProvider

func GetProvider(name string) Provider

Jump to

Keyboard shortcuts

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