testutil

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBackupCompatibleInstallation

func CreateBackupCompatibleInstallation(t *testing.T, sqlStore *store.SQLStore) *model.Installation

CreateBackupCompatibleInstallation is a helper function for tests which creates Installation compatible with backup.

func DNSForInstallation added in v0.54.1

func DNSForInstallation(dns string) []*model.InstallationDNS

DNSForInstallation creates slice of DNSRecords for ease of use in tests.

func SetupTestEventsProducer added in v0.51.0

func SetupTestEventsProducer(sqlStore *store.SQLStore, logger logrus.FieldLogger) *events.EventProducer

SetupTestEventsProducer sets up testing event produced that does not deliver events.

Types

This section is empty.

Jump to

Keyboard shortcuts

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