integration

package
v0.0.0-...-c218ebb Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPluginBinary

func BuildPluginBinary(t *testing.T, target, binaryName string) string

func TestProvisioning

func TestProvisioning(t *testing.T, plugin string, config Config)

Types

type Config

type Config struct {
	// PluginConfig is the plugin config.
	PluginConfig any

	// ConnectorConfig is the connector config.
	ConnectorConfig provider.ConnectorConfig

	// MaxInstances is the maximum number of instances that is usable
	// by the integration tests. This doesn't mean that they will all be
	// used, but some tests might require 2-3 instances.
	MaxInstances int

	// UseExternalAddr uses the external address of the instance to connect to.
	UseExternalAddr bool
}

Jump to

Keyboard shortcuts

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