memory

package
v2.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName string = "memory"

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

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

func (*Plugin) Available added in v2.4.0

func (p *Plugin) Available()

func (*Plugin) FromPipeline added in v2.4.0

func (p *Plugin) FromPipeline(pipeline *pipeline.Pipeline, e events.Handler, pq priorityqueue.Queue) (jobs.Consumer, error)

FromPipeline creates new ephemeral consumer from the provided pipeline

func (*Plugin) Init

func (p *Plugin) Init(log logger.Logger, cfg config.Configurer) error

func (*Plugin) JobsConstruct added in v2.4.0

func (p *Plugin) JobsConstruct(configKey string, e events.Handler, pq priorityqueue.Queue) (jobs.Consumer, error)

JobsConstruct creates new ephemeral consumer from the configuration

func (*Plugin) KVConstruct

func (p *Plugin) KVConstruct(key string) (kv.Storage, error)

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) PSConstruct

func (p *Plugin) PSConstruct(key string) (pubsub.PubSub, error)

func (*Plugin) Serve

func (p *Plugin) Serve() chan error

func (*Plugin) Stop

func (p *Plugin) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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