Documentation ¶
Index ¶
- Constants
- type KubeMQ
- func (k *KubeMQ) Close(_ context.Context) error
- func (k *KubeMQ) DisplayError(msg *records.ErrorRecord) error
- func (k *KubeMQ) DisplayMessage(cliOpts *opts.CLIOptions, msg *records.ReadRecord) error
- func (k *KubeMQ) Dynamic(ctx context.Context, dynamicOpts *opts.DynamicOptions, ...) error
- func (k *KubeMQ) Name() string
- func (k *KubeMQ) Read(ctx context.Context, readOpts *opts.ReadOptions, ...) error
- func (k *KubeMQ) Relay(ctx context.Context, relayOpts *opts.RelayOptions, relayCh chan interface{}, ...) error
- func (k *KubeMQ) Test(_ context.Context) error
- func (k *KubeMQ) Write(ctx context.Context, writeOpts *opts.WriteOptions, ...) error
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 (*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) Dynamic ¶ added in v1.0.0
func (k *KubeMQ) Dynamic(ctx context.Context, dynamicOpts *opts.DynamicOptions, dynamicSvc dynamic.IDynamic, errorCh chan<- *records.ErrorRecord) error
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) Write ¶ added in v1.0.0
func (k *KubeMQ) Write(ctx context.Context, writeOpts *opts.WriteOptions, errorCh chan<- *records.ErrorRecord, messages ...*records.WriteRecord) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.