testing

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 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