mongodb

package
v0.18.5 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoSchemaDocument

type MongoSchemaDocument struct {
	ID       primitive.ObjectID `bson:"_id"`
	Name     string             `bson:"name"`
	Contents string             `bson:"contents"`
}

type RegistryBackend

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

func (*RegistryBackend) Close

func (b *RegistryBackend) Close()

func (*RegistryBackend) GetRemote

func (b *RegistryBackend) GetRemote(schema string) (contents []byte, err error)

func (*RegistryBackend) Initialize

func (b *RegistryBackend) Initialize(conf config.Backend) error

type Sink

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

func (*Sink) Dequeue

func (s *Sink) Dequeue(ctx context.Context, envelopes []envelope.Envelope, output string) error

func (*Sink) Enqueue

func (s *Sink) Enqueue(envelopes []envelope.Envelope) error

func (*Sink) Initialize

func (s *Sink) Initialize(conf config.Sink) error

func (*Sink) Metadata

func (s *Sink) Metadata() backendutils.SinkMetadata

func (*Sink) Shutdown

func (s *Sink) Shutdown() error

func (*Sink) StartWorker

func (s *Sink) StartWorker() error

Jump to

Keyboard shortcuts

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