kubemq_queue

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dynamic

func Dynamic(opts *cli.Options) error

Dynamic starts up a new GRPC client connected to the dProxy service and receives a stream of outbound replay messages which are then written to the message bus.

func NewClient

func NewClient(opts *cli.Options) (*queues_stream.QueuesStreamClient, error)

func Read

func Read(opts *cli.Options, md *desc.MessageDescriptor) error

func Relay

func Relay(opts *cli.Options, relayCh chan interface{}, shutdownCtx context.Context) (relay.IRelayBackend, error)

func Write

func Write(opts *cli.Options, md *desc.MessageDescriptor) error

Types

type KubeMQQueue

type KubeMQQueue struct {
	Options *cli.Options
	Client  *queues_stream.QueuesStreamClient
	Context context.Context
	MsgDesc *desc.MessageDescriptor
	// contains filtered or unexported fields
}

func (*KubeMQQueue) Read

func (k *KubeMQQueue) Read() error

func (*KubeMQQueue) Write

func (k *KubeMQQueue) Write(writeValues [][]byte) error

type Relayer

type Relayer struct {
	Options *cli.Options
	RelayCh chan interface{}

	Looper      *director.FreeLooper
	ShutdownCtx context.Context
	// contains filtered or unexported fields
}

func (*Relayer) Relay

func (r *Relayer) Relay() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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