Documentation ¶
Index ¶
- func GenerateDsn(params db.ConnectionParams) string
- type RegistryBackend
- type Sink
- func (s *Sink) Dequeue(ctx context.Context, envelopes []envelope.Envelope, output string) error
- func (s *Sink) Enqueue(envelopes []envelope.Envelope) error
- func (s *Sink) Initialize(conf config.Sink) error
- func (s *Sink) Metadata() backendutils.SinkMetadata
- func (s *Sink) Shutdown() error
- func (s *Sink) StartWorker() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDsn ¶
func GenerateDsn(params db.ConnectionParams) string
GenerateDsn generates a dsn from the provided connection params
Types ¶
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) Metadata ¶
func (s *Sink) Metadata() backendutils.SinkMetadata
func (*Sink) StartWorker ¶
Click to show internal directories.
Click to hide internal directories.