implementations

package
v1.16.8 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 29 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudEventsPublisher

func NewCloudEventsPublisher(sender interfaces.Sender, scope promutils.Scope, eventTypes []string) interfaces.Publisher

func NewCloudEventsWrappedPublisher added in v1.10.7

func NewCloudEventsWrappedPublisher(
	db repositoryInterfaces.Repository, sender interfaces.Sender, scope promutils.Scope, storageClient *storage.DataStore, urlData dataInterfaces.RemoteURLInterface, remoteDataConfig runtimeInterfaces.RemoteDataConfig, eventPublisherConfig runtimeInterfaces.EventsPublisherConfig) interfaces.Publisher

Types

type CloudEventWrappedPublisher added in v1.10.7

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

func (*CloudEventWrappedPublisher) Publish added in v1.10.7

func (c *CloudEventWrappedPublisher) Publish(ctx context.Context, notificationType string, msg proto.Message) error

func (*CloudEventWrappedPublisher) TransformNodeExecutionEvent added in v1.10.7

func (c *CloudEventWrappedPublisher) TransformNodeExecutionEvent(ctx context.Context, rawEvent *event.NodeExecutionEvent) (*event.CloudEventNodeExecution, error)

func (*CloudEventWrappedPublisher) TransformTaskExecutionEvent added in v1.10.7

func (c *CloudEventWrappedPublisher) TransformTaskExecutionEvent(ctx context.Context, rawEvent *event.TaskExecutionEvent) (*event.CloudEventTaskExecution, error)

func (*CloudEventWrappedPublisher) TransformWorkflowExecutionEvent added in v1.10.7

func (c *CloudEventWrappedPublisher) TransformWorkflowExecutionEvent(ctx context.Context, rawEvent *event.WorkflowExecutionEvent) (*event.CloudEventWorkflowExecution, error)

type KafkaSender

type KafkaSender struct {
	Client cloudevents.Client
}

KafkaSender Implementation of Sender

func (*KafkaSender) Send

func (s *KafkaSender) Send(ctx context.Context, notificationType string, event cloudevents.Event) error

type NatsSender added in v1.16.0

type NatsSender struct {
	Client cloudevents.Client
}

Nats Implementation of Sender

func (*NatsSender) Send added in v1.16.0

func (s *NatsSender) Send(ctx context.Context, notificationType string, event cloudevents.Event) error

type PubSubSender

type PubSubSender struct {
	Pub pubsub.Publisher
}

PubSubSender Implementation of Sender

func (*PubSubSender) Send

func (s *PubSubSender) Send(ctx context.Context, notificationType string, event cloudevents.Event) error

type Publisher

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

Publisher This event publisher acts to asynchronously publish workflow execution events.

func (*Publisher) Publish

func (p *Publisher) Publish(ctx context.Context, notificationType string, msg proto.Message) error

type Receiver

type Receiver = string
const (
	Kafka Receiver = "kafka"
	Nats  Receiver = "nats"
)

Jump to

Keyboard shortcuts

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