pubsub

package
v1.14.0-rc.11 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*options)

Option is a function that configures the process.

func WithPubSub

func WithPubSub(pubsub pubsub.PubSub) Option

func WithPullMessagesChannel added in v1.13.2

func WithPullMessagesChannel(ch <-chan *compv1pb.PullMessagesResponse) Option

func WithSocket added in v1.13.2

func WithSocket(socket *socket.Socket) Option

type PubSub

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

PubSub is a pluggable pubsub component for Dapr.

func New

func New(t *testing.T, fopts ...Option) *PubSub

func (*PubSub) Cleanup

func (p *PubSub) Cleanup(t *testing.T)

func (*PubSub) Run

func (p *PubSub) Run(t *testing.T, ctx context.Context)

func (*PubSub) SocketName

func (p *PubSub) SocketName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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