testing

package
v2.7.6 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTelegrafConfig

func CreateTelegrafConfig(
	init telegrafTestFactoryFunc,
	t *testing.T,
)

CreateTelegrafConfig testing.

func DeleteTelegrafConfig

func DeleteTelegrafConfig(
	init telegrafTestFactoryFunc,
	t *testing.T,
)

DeleteTelegrafConfig testing.

func FindTelegrafConfigByID

func FindTelegrafConfigByID(
	init telegrafTestFactoryFunc,
	t *testing.T,
)

FindTelegrafConfigByID testing.

func FindTelegrafConfigs

func FindTelegrafConfigs(
	init telegrafTestFactoryFunc,
	t *testing.T,
)

FindTelegrafConfigs testing

func TelegrafConfigStore

func TelegrafConfigStore(
	init telegrafTestFactoryFunc, t *testing.T,
)

TelegrafConfigStore tests all the service functions.

func UpdateTelegrafConfig

func UpdateTelegrafConfig(
	init telegrafTestFactoryFunc,
	t *testing.T,
)

UpdateTelegrafConfig testing.

Types

type TelegrafConfigFields

type TelegrafConfigFields struct {
	IDGenerator     platform.IDGenerator
	TelegrafConfigs []*influxdb.TelegrafConfig
}

TelegrafConfigFields includes prepopulated data for mapping tests.

Jump to

Keyboard shortcuts

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