integrationtestutils

package
v0.100.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEventsFromSplunk

func CheckEventsFromSplunk(searchQuery string, startTime string, endTimeOptional ...string) []any

func CheckMetricsFromSplunk

func CheckMetricsFromSplunk(index string, metricName string) []any

func CreateAnIndexInSplunk

func CreateAnIndexInSplunk(index string, indexType string)

func GetConfigVariable

func GetConfigVariable(key string) string

func SetConfigVariable

func SetConfigVariable(key string, value string)

Types

type IntegrationTestsConfig

type IntegrationTestsConfig struct {
	Host           string `yaml:"HOST"`
	User           string `yaml:"USER"`
	Password       string `yaml:"PASSWORD"`
	UIPort         string `yaml:"UI_PORT"`
	HecPort        string `yaml:"HEC_PORT"`
	ManagementPort string `yaml:"MANAGEMENT_PORT"`
	EventIndex     string `yaml:"EVENT_INDEX"`
	MetricIndex    string `yaml:"METRIC_INDEX"`
	TraceIndex     string `yaml:"TRACE_INDEX"`
	HecToken       string `yaml:"HEC_TOKEN"`
	SplunkImage    string `yaml:"SPLUNK_IMAGE"`
}

Jump to

Keyboard shortcuts

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