kubemq_queue

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultReadTimeout = 10000 // Milliseconds
	BackendName        = "kubemq"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeMQ added in v1.0.0

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

func New added in v1.0.0

func New(opts *opts.ConnectionOptions) (*KubeMQ, error)

func (*KubeMQ) Close added in v1.0.0

func (k *KubeMQ) Close(_ context.Context) error

func (*KubeMQ) DisplayError added in v1.0.0

func (k *KubeMQ) DisplayError(msg *records.ErrorRecord) error

DisplayError will parse an Error record and print (pretty) output to STDOUT

func (*KubeMQ) DisplayMessage added in v1.0.0

func (k *KubeMQ) DisplayMessage(cliOpts *opts.CLIOptions, msg *records.ReadRecord) error

func (*KubeMQ) Name added in v1.0.0

func (k *KubeMQ) Name() string

func (*KubeMQ) Read added in v1.0.0

func (k *KubeMQ) Read(ctx context.Context, readOpts *opts.ReadOptions, resultsChan chan *records.ReadRecord, errorChan chan *records.ErrorRecord) error

func (*KubeMQ) Relay added in v1.0.0

func (k *KubeMQ) Relay(ctx context.Context, relayOpts *opts.RelayOptions, relayCh chan interface{}, errorCh chan<- *records.ErrorRecord) error

func (*KubeMQ) Test added in v1.0.0

func (k *KubeMQ) Test(_ context.Context) error

func (*KubeMQ) Tunnel added in v1.4.0

func (k *KubeMQ) Tunnel(ctx context.Context, tunnelOpts *opts.TunnelOptions, tunnelSvc tunnel.ITunnel, errorCh chan<- *records.ErrorRecord) error

func (*KubeMQ) Write added in v1.0.0

func (k *KubeMQ) Write(ctx context.Context, writeOpts *opts.WriteOptions, errorCh chan<- *records.ErrorRecord, messages ...*records.WriteRecord) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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