setup

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ESManager

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

func NewESManager

func NewESManager(c conf.ElasticsearchConf) (*ESManager, error)

func (*ESManager) DeleteMapping

func (s *ESManager) DeleteMapping(client *http.Client) error

func (*ESManager) MappingAlreadyExist

func (s *ESManager) MappingAlreadyExist(client *http.Client) (bool, error)

func (*ESManager) PutMapping

func (s *ESManager) PutMapping(client *http.Client) error

type ESManagerInterface

type ESManagerInterface interface {
	MappingAlreadyExist(client *http.Client) (bool, error)
	DeleteMapping(client *http.Client) error
	PutMapping(client *http.Client) error
}

type Setup

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

func NewSetup

func NewSetup(c conf.Conf) (*Setup, error)

func (*Setup) SetupElasticsearch

func (s *Setup) SetupElasticsearch() error

func (*Setup) SetupKibana

func (s *Setup) SetupKibana() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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