pluginprovider

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContractTransmitter is a static implementation of the ContractTransmitterTester interface for testing
	ContractTransmitter = staticContractTransmitter{
						// contains filtered or unexported fields
	}

	// OffchainConfigDigester is a static implementation of the OffchainConfigDigesterTester interface for testing
	OffchainConfigDigester = staticOffchainConfigDigester{
							// contains filtered or unexported fields
	}

	// ContractConfigTracker is a static implementation of the ContractConfigTrackerTester interface for testing
	ContractConfigTracker = staticContractConfigTracker{
							// contains filtered or unexported fields
	}
)

Functions

func AgnosticPluginProvider

func AgnosticPluginProvider(lggr logger.Logger) staticPluginProvider

AgnosticPluginProvider is a static implementation of the PluginProviderTester interface for testing

func ConfigProvider

func ConfigProvider(lggr logger.Logger) staticConfigProvider

ConfigProvider is a static implementation of the ConfigProviderTester interface for testing

Types

type ConfigProviderTester

type ConfigProviderTester interface {
	types.ConfigProvider
	// AssertEqual checks that the sub-components of the other ConfigProvider are equal to this one
	AssertEqual(ctx context.Context, t *testing.T, other types.ConfigProvider)
}

ConfigProviderTester is a helper interface for testing ConfigProviders

Jump to

Keyboard shortcuts

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