elastic

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 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 ElasticHandler

type ElasticHandler struct {
	RemoteURI    string
	Username     string
	Password     string
	NoDuplicates bool
	UseZincAwsS3 bool
}

func NewElasticHandler

func NewElasticHandler(uri string, username string, password string, noDuplicates bool) *ElasticHandler

func (ElasticHandler) Callback

func (e ElasticHandler) Callback(commits []commit.CommitEvent)

func (*ElasticHandler) DoPost

func (e *ElasticHandler) DoPost(path string, data string)

func (*ElasticHandler) Import

func (e *ElasticHandler) Import(commit commit.CommitEvent)

func (*ElasticHandler) ImportBulk

func (e *ElasticHandler) ImportBulk(commits []commit.CommitEvent)

func (*ElasticHandler) Setup

func (e *ElasticHandler) Setup()

Jump to

Keyboard shortcuts

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