elasticsearch

package
v1.1.66 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RejectionLog added in v1.1.52

type RejectionLog struct {
	Index      string
	Action     string
	Error      string
	Source     string
	DocumentID []byte
}

type RejectionLogSinkResponseHandler added in v1.1.52

type RejectionLogSinkResponseHandler struct {
	Config              *config.Config
	ElasticsearchClient *elasticsearch.Client
	Index               string
}

func (*RejectionLogSinkResponseHandler) OnError added in v1.1.52

func (*RejectionLogSinkResponseHandler) OnInit added in v1.1.52

func (*RejectionLogSinkResponseHandler) OnSuccess added in v1.1.52

type SinkResponseHandler

type SinkResponseHandler interface {
	OnSuccess(ctx *SinkResponseHandlerContext)
	OnError(ctx *SinkResponseHandlerContext)
	OnInit(ctx *SinkResponseHandlerInitContext)
}

func NewRejectionLogSinkResponseHandler added in v1.1.52

func NewRejectionLogSinkResponseHandler() SinkResponseHandler

type SinkResponseHandlerContext

type SinkResponseHandlerContext struct {
	Action *document.ESActionDocument
	Err    error
}

type SinkResponseHandlerInitContext added in v1.1.52

type SinkResponseHandlerInitContext struct {
	Config              *config.Config
	ElasticsearchClient *elasticsearch.Client
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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