grpc

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertInternalHTTPConfig added in v0.2.0

func ConvertInternalHTTPConfig(config *webhooks.WebhookHTTPConfig) *pb.WebhookHTTPConfig

ConvertInternalHTTPConfig converts internal WebhookHTTPConfig to protobuf WebhookHTTPConfig

func ConvertProtoHTTPConfig added in v0.2.0

func ConvertProtoHTTPConfig(protoConfig *pb.WebhookHTTPConfig) *webhooks.WebhookHTTPConfig

ConvertProtoHTTPConfig converts protobuf WebhookHTTPConfig to internal WebhookHTTPConfig

func ConvertWebhookRegistrationToProto added in v0.2.0

func ConvertWebhookRegistrationToProto(webhook *webhooks.WebhookRegistration) *pb.RegisteredWebhook

ConvertWebhookRegistrationToProto converts internal WebhookRegistration to protobuf RegisteredWebhook

func CreateWebhookRegistrationRequest added in v0.2.0

func CreateWebhookRegistrationRequest(req *pb.RegisterWebhookRequest) webhooks.WebhookRegistrationRequest

CreateWebhookRegistrationRequest creates a WebhookRegistrationRequest from protobuf

Types

type WebhookServer

WebhookServer implements all gRPC services

func NewWebhookServer

func NewWebhookServer(service webhooks.WebhookServiceInterface) *WebhookServer

NewWebhookServer creates a new WebhookServer instance

func (*WebhookServer) CancelRepush added in v0.8.0

CancelRepush aborts a pending or in-progress batch re-push.

func (*WebhookServer) CancelRetry added in v0.8.0

CancelRetry aborts a pending or in-progress batch delivery retry.

func (*WebhookServer) CreateSubscription added in v0.2.0

CreateSubscription creates a new event subscription for a webhook

func (*WebhookServer) DeleteEvent

DeleteEvent deletes an event registration

func (*WebhookServer) DeleteSubscription added in v0.2.0

DeleteSubscription deletes a subscription

func (*WebhookServer) GetDeliveryAttempts added in v0.2.0

GetDeliveryAttempts retrieves individual attempt history for a delivery

func (*WebhookServer) GetDeliveryStatus added in v0.2.0

GetDeliveryStatus retrieves delivery status for specific delivery

func (*WebhookServer) GetEvent added in v0.2.0

GetEvent retrieves an event type by name

func (*WebhookServer) GetEventRecord added in v1.1.0

GetEventRecord retrieves a single pushed event instance by UUID with delivery statistics.

func (*WebhookServer) GetHealthSummary

GetHealthSummary gets a summary of webhook health

func (*WebhookServer) GetNamespaceStats

GetNamespaceStats retrieves statistics for a namespace

func (*WebhookServer) GetRepushStatus added in v0.8.0

GetRepushStatus returns the current progress of a batch re-push operation.

func (*WebhookServer) GetRetryStatus added in v0.8.0

GetRetryStatus returns the current progress of a batch delivery retry.

func (*WebhookServer) GetSubscription added in v0.2.0

GetSubscription retrieves a specific subscription by ID

func (*WebhookServer) GetTemplateFunctions added in v0.2.0

GetTemplateFunctions returns all available template functions with their descriptions

func (*WebhookServer) GetWebhookHealth

GetWebhookHealth gets health metrics for a webhook

func (*WebhookServer) ListDeliveries added in v0.2.0

ListDeliveries retrieves delivery history with filters

func (*WebhookServer) ListEventReports

ListEventReports lists all events in descending order, with optional filters

func (*WebhookServer) ListEvents

ListEvents lists all registered events

func (*WebhookServer) ListSubscriptions added in v0.2.0

ListSubscriptions lists all subscriptions for a webhook

func (*WebhookServer) ListWebhooks

ListWebhooks lists all registered webhooks for a namespace

func (*WebhookServer) ListWebhooksByHealth

ListWebhooksByHealth lists webhooks filtered by health status

func (*WebhookServer) PauseWebhook

PauseWebhook temporarily disables a webhook

func (*WebhookServer) PushEvent

PushEvent pushes an event that triggers registered webhooks. Schema validation is soft: events are always accepted and stored. If the payload does not match the registered schema, warnings are returned in the response but the event is still processed.

func (*WebhookServer) RePushEvent added in v0.9.3

RePushEvent replays a single previously pushed event as if it were pushed fresh. Loads the original event record and re-pushes through the standard PushEvent pipeline.

func (*WebhookServer) RePushEvents added in v0.8.0

RePushEvents starts a batch re-push of events previously snapshotted via ListEventReports.

func (*WebhookServer) RegisterEvent

RegisterEvent registers a new event type

func (*WebhookServer) RegisterWebhook

RegisterWebhook registers a URL for specific events in a namespace

func (*WebhookServer) ResumeWebhook

ResumeWebhook re-enables a paused webhook

func (*WebhookServer) RetryDeliveries added in v0.8.0

RetryDeliveries starts a batch retry of deliveries previously snapshotted via ListDeliveries.

func (*WebhookServer) RetryDelivery added in v0.2.0

RetryDelivery manually retries failed or pending webhook deliveries

func (*WebhookServer) TestSubscriptionTemplate added in v0.2.0

TestSubscriptionTemplate dry-runs a transformation template with sample data

func (*WebhookServer) UnregisterWebhook

UnregisterWebhook removes a webhook registration

func (*WebhookServer) UpdateEvent

UpdateEvent updates an event registration

func (*WebhookServer) UpdateSubscription added in v0.2.0

UpdateSubscription updates an existing subscription

func (*WebhookServer) UpdateWebhookConfig

UpdateWebhookConfig updates webhook configuration

Jump to

Keyboard shortcuts

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