eventgrid

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureEventGridListener

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

func (*AzureEventGridListener) Start

func (a *AzureEventGridListener) Start() error

func (*AzureEventGridListener) Stop

func (a *AzureEventGridListener) Stop() error

type EventGridEvent

type EventGridEvent struct {
	ID              string          `json:"id"`
	Topic           string          `json:"topic"`
	Subject         string          `json:"subject"`
	EventType       string          `json:"eventType"`
	EventTime       time.Time       `json:"eventTime"`
	MetadataVersion string          `json:"metadataVersion"`
	DataVersion     string          `json:"dataVersion"`
	Data            json.RawMessage `json:"data"`
}

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)

type SecretNewVersionCreatedData

type SecretNewVersionCreatedData struct {
	ObjectType string `json:"objectType"`
	ObjectName string `json:"objectName"`
}

type SubscriptionValidationData

type SubscriptionValidationData struct {
	ValidationCode string `json:"validationCode"`
	ValidationURL  string `json:"validationUrl"`
}

Jump to

Keyboard shortcuts

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