providertest

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package providertest contains a standard test suite for provider implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeclareTestSuite

func DeclareTestSuite(
	setUp func(context.Context) TestContext,
)

DeclareTestSuite declares a Ginkgo test suite for a provider implementation.

Types

type TestContext

type TestContext struct {
	Provider      provider.Provider
	Domain        string
	NameServers   func(ctx context.Context) ([]string, error)
	DeleteRecords func(ctx context.Context) error
}

TestContext contains provider-specific testing-related information.

Jump to

Keyboard shortcuts

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