elasticsearch

package
v0.0.0-...-e980c40 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 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 ActiveAlert

type ActiveAlert struct {
	InstanceId string
	RuleUUID   string
}

type EsWrapper

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

func NewActiveAlerts

func NewActiveAlerts(esClient *elasticsearch.Client) *EsWrapper

func (*EsWrapper) GetInstanceIdsForActiveAlerts

func (a *EsWrapper) GetInstanceIdsForActiveAlerts() []ActiveAlert

func (*EsWrapper) Info

func (a *EsWrapper) Info() (*esapi.Response, error)

Jump to

Keyboard shortcuts

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