pubsub

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GooglePubSub

type GooglePubSub struct {
	// contains filtered or unexported fields
}

GooglePubSub handles Google Pub/Sub notifications.

func (*GooglePubSub) Start

func (h *GooglePubSub) Start() error

Start begins polling the Google Pub/Sub for messages.

func (*GooglePubSub) Stop

func (h *GooglePubSub) Stop() error

Stop stops polling the Google Pub/Sub.

type Provider

type Provider struct{}

func (*Provider) CreateListener

func (p *Provider) CreateListener(ctx context.Context, config *v1alpha1.NotificationSource, client client.Client, eventChan chan events.SecretRotationEvent, logger logr.Logger) (schema.Listener, error)

NewGooglePubSubListener creates a new GooglePubSubListener.

Jump to

Keyboard shortcuts

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