elasticsearch

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CloseOpDelete   = CloseOp("delete")
	CloseOpPut      = CloseOp("put")
	CloseOpMergePut = CloseOp("merge-put")
	CloseOpMove     = CloseOp("move")
)

Functions

This section is empty.

Types

type CloseOp

type CloseOp string

type Elasticsearch

type Elasticsearch struct {
	Client   *elasticsearch8.Client
	Address  string
	Username string
	Password string
	// TLS
	EnableTLS     *bool
	TLSInsecure   *bool
	TLSCert       *string
	TLSKey        *string
	TLSCA         *string
	RetrieveIndex *string
	RetrieveQuery string
	ClearDoc      string
	ClearIndex    *string
	ClearOp       CloseOp
	FailDoc       string
	FailIndex     *string
	FailOp        CloseOp
	Key           *string
	// contains filtered or unexported fields
}

func (*Elasticsearch) Cleanup

func (d *Elasticsearch) Cleanup() error

func (*Elasticsearch) ClearWork

func (d *Elasticsearch) ClearWork() error

func (*Elasticsearch) GetWork

func (d *Elasticsearch) GetWork() (io.Reader, error)

func (*Elasticsearch) HandleFailure

func (d *Elasticsearch) HandleFailure() error

func (*Elasticsearch) Init

func (d *Elasticsearch) Init() error

func (*Elasticsearch) LoadEnv

func (d *Elasticsearch) LoadEnv(prefix string) error

func (*Elasticsearch) LoadFlags

func (d *Elasticsearch) LoadFlags() error

Jump to

Keyboard shortcuts

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