Documentation ¶
Index ¶
- Constants
- type AzureEventHub
- func (a *AzureEventHub) Close(_ context.Context) error
- func (a *AzureEventHub) DisplayError(msg *records.ErrorRecord) error
- func (a *AzureEventHub) DisplayMessage(cliOpts *opts.CLIOptions, msg *records.ReadRecord) error
- func (a *AzureEventHub) Name() string
- func (a *AzureEventHub) Read(ctx context.Context, readOpts *opts.ReadOptions, ...) error
- func (a *AzureEventHub) Relay(ctx context.Context, relayOpts *opts.RelayOptions, relayCh chan interface{}, ...) error
- func (a *AzureEventHub) Test(_ context.Context) error
- func (a *AzureEventHub) Tunnel(ctx context.Context, tunnelOpts *opts.TunnelOptions, tunnelSvc tunnel.ITunnel, ...) error
- func (a *AzureEventHub) Write(ctx context.Context, writeOpts *opts.WriteOptions, ...) error
Constants ¶
View Source
const BackendName = "azure-eventhub"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureEventHub ¶
type AzureEventHub struct {
// contains filtered or unexported fields
}
func New ¶ added in v1.0.0
func New(connOpts *opts.ConnectionOptions) (*AzureEventHub, error)
func (*AzureEventHub) Close ¶ added in v1.0.0
func (a *AzureEventHub) Close(_ context.Context) error
func (*AzureEventHub) DisplayError ¶ added in v1.0.0
func (a *AzureEventHub) DisplayError(msg *records.ErrorRecord) error
DisplayError will parse an Error record and print (pretty) output to STDOUT
func (*AzureEventHub) DisplayMessage ¶ added in v1.0.0
func (a *AzureEventHub) DisplayMessage(cliOpts *opts.CLIOptions, msg *records.ReadRecord) error
DisplayMessage will parse a Read record and print (pretty) output to STDOUT
func (*AzureEventHub) Name ¶ added in v1.0.0
func (a *AzureEventHub) Name() string
func (*AzureEventHub) Read ¶
func (a *AzureEventHub) Read(ctx context.Context, readOpts *opts.ReadOptions, resultsChan chan *records.ReadRecord, errorChan chan *records.ErrorRecord) error
func (*AzureEventHub) Relay ¶ added in v1.0.0
func (a *AzureEventHub) Relay(ctx context.Context, relayOpts *opts.RelayOptions, relayCh chan interface{}, errorCh chan<- *records.ErrorRecord) error
func (*AzureEventHub) Tunnel ¶ added in v1.4.0
func (a *AzureEventHub) Tunnel(ctx context.Context, tunnelOpts *opts.TunnelOptions, tunnelSvc tunnel.ITunnel, errorCh chan<- *records.ErrorRecord) error
func (*AzureEventHub) Write ¶
func (a *AzureEventHub) Write(ctx context.Context, writeOpts *opts.WriteOptions, errorCh chan<- *records.ErrorRecord, messages ...*records.WriteRecord) error
Click to show internal directories.
Click to hide internal directories.