elastic

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func NewClient

func NewClient(config *config.ImportConfig) (*Repository, error)

func NewDefaultClient

func NewDefaultClient() (*Repository, error)

func (*Repository) Delete

func (repo *Repository) Delete(index string) error

func (*Repository) FindIndexContent

func (repo *Repository) FindIndexContent(index, sortingField string) (*io.ReadCloser, error)

func (*Repository) FindLastUpdate

func (repo *Repository) FindLastUpdate(index, sortingField string) (*time.Time, error)

func (*Repository) FindLastUpdateOrEpochDate

func (repo *Repository) FindLastUpdateOrEpochDate(index, sortingField string) (*time.Time, error)

func (*Repository) GetBulkIndexer

func (repo *Repository) GetBulkIndexer(index string) (esutil.BulkIndexer, error)

func (*Repository) Refresh

func (repo *Repository) Refresh(index string) error

Jump to

Keyboard shortcuts

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