mocks

package
v2.9.0-beta0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRelayerChainInteroperators added in v2.8.0

type FakeRelayerChainInteroperators struct {
	EVMChains legacyevm.LegacyChainContainer
	Nodes     []types.NodeStatus
	NodesErr  error
}

FakeRelayerChainInteroperators is a fake chainlink.RelayerChainInteroperators. This exists because mockery generation doesn't understand how to produce an alias instead of the underlying type (which is not exported in this case).

func (*FakeRelayerChainInteroperators) ChainStatus added in v2.8.0

func (*FakeRelayerChainInteroperators) ChainStatuses added in v2.8.0

func (f *FakeRelayerChainInteroperators) ChainStatuses(ctx context.Context, offset, limit int) ([]types.ChainStatus, int, error)

func (*FakeRelayerChainInteroperators) Get added in v2.8.0

func (*FakeRelayerChainInteroperators) LegacyCosmosChains added in v2.8.0

func (*FakeRelayerChainInteroperators) LegacyEVMChains added in v2.8.0

func (*FakeRelayerChainInteroperators) List added in v2.8.0

func (*FakeRelayerChainInteroperators) NodeStatuses added in v2.8.0

func (f *FakeRelayerChainInteroperators) NodeStatuses(ctx context.Context, offset, limit int, relayIDs ...relay.ID) (nodes []types.NodeStatus, count int, err error)

func (*FakeRelayerChainInteroperators) Services added in v2.8.0

func (*FakeRelayerChainInteroperators) Slice added in v2.8.0

type GeneralConfig

type GeneralConfig struct {
	mock.Mock
}

GeneralConfig is an autogenerated mock type for the GeneralConfig type

func NewGeneralConfig

func NewGeneralConfig(t interface {
	mock.TestingT
	Cleanup(func())
}) *GeneralConfig

NewGeneralConfig creates a new instance of GeneralConfig. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GeneralConfig) AppID

func (_m *GeneralConfig) AppID() uuid.UUID

AppID provides a mock function with given fields:

func (*GeneralConfig) AuditLogger added in v2.3.0

func (_m *GeneralConfig) AuditLogger() config.AuditLogger

AuditLogger provides a mock function with given fields:

func (*GeneralConfig) AutoPprof added in v2.3.0

func (_m *GeneralConfig) AutoPprof() config.AutoPprof

AutoPprof provides a mock function with given fields:

func (*GeneralConfig) ConfigTOML

func (_m *GeneralConfig) ConfigTOML() (string, string)

ConfigTOML provides a mock function with given fields:

func (*GeneralConfig) CosmosConfigs

func (_m *GeneralConfig) CosmosConfigs() cosmosconfig.TOMLConfigs

CosmosConfigs provides a mock function with given fields:

func (*GeneralConfig) CosmosEnabled

func (_m *GeneralConfig) CosmosEnabled() bool

CosmosEnabled provides a mock function with given fields:

func (*GeneralConfig) Database added in v2.3.0

func (_m *GeneralConfig) Database() config.Database

Database provides a mock function with given fields:

func (*GeneralConfig) EVMConfigs

func (_m *GeneralConfig) EVMConfigs() toml.EVMConfigs

EVMConfigs provides a mock function with given fields:

func (*GeneralConfig) EVMEnabled

func (_m *GeneralConfig) EVMEnabled() bool

EVMEnabled provides a mock function with given fields:

func (*GeneralConfig) EVMRPCEnabled

func (_m *GeneralConfig) EVMRPCEnabled() bool

EVMRPCEnabled provides a mock function with given fields:

func (*GeneralConfig) Feature added in v2.3.0

func (_m *GeneralConfig) Feature() config.Feature

Feature provides a mock function with given fields:

func (*GeneralConfig) FluxMonitor added in v2.3.0

func (_m *GeneralConfig) FluxMonitor() config.FluxMonitor

FluxMonitor provides a mock function with given fields:

func (*GeneralConfig) Insecure added in v2.3.0

func (_m *GeneralConfig) Insecure() config.Insecure

Insecure provides a mock function with given fields:

func (*GeneralConfig) InsecureFastScrypt

func (_m *GeneralConfig) InsecureFastScrypt() bool

InsecureFastScrypt provides a mock function with given fields:

func (*GeneralConfig) JobPipeline added in v2.3.0

func (_m *GeneralConfig) JobPipeline() config.JobPipeline

JobPipeline provides a mock function with given fields:

func (*GeneralConfig) Keeper added in v2.3.0

func (_m *GeneralConfig) Keeper() config.Keeper

Keeper provides a mock function with given fields:

func (*GeneralConfig) Log added in v2.3.0

func (_m *GeneralConfig) Log() config.Log

Log provides a mock function with given fields:

func (*GeneralConfig) LogConfiguration

func (_m *GeneralConfig) LogConfiguration(log config.LogfFn, warn config.LogfFn)

LogConfiguration provides a mock function with given fields: log, warn

func (*GeneralConfig) Mercury added in v2.3.0

func (_m *GeneralConfig) Mercury() config.Mercury

Mercury provides a mock function with given fields:

func (*GeneralConfig) OCR added in v2.3.0

func (_m *GeneralConfig) OCR() config.OCR

OCR provides a mock function with given fields:

func (*GeneralConfig) OCR2 added in v2.3.0

func (_m *GeneralConfig) OCR2() config.OCR2

OCR2 provides a mock function with given fields:

func (*GeneralConfig) P2P added in v2.3.0

func (_m *GeneralConfig) P2P() config.P2P

P2P provides a mock function with given fields:

func (*GeneralConfig) Password added in v2.3.0

func (_m *GeneralConfig) Password() config.Password

Password provides a mock function with given fields:

func (*GeneralConfig) Prometheus added in v2.3.0

func (_m *GeneralConfig) Prometheus() config.Prometheus

Prometheus provides a mock function with given fields:

func (*GeneralConfig) Pyroscope added in v2.3.0

func (_m *GeneralConfig) Pyroscope() config.Pyroscope

Pyroscope provides a mock function with given fields:

func (*GeneralConfig) RootDir

func (_m *GeneralConfig) RootDir() string

RootDir provides a mock function with given fields:

func (*GeneralConfig) Sentry added in v2.3.0

func (_m *GeneralConfig) Sentry() config.Sentry

Sentry provides a mock function with given fields:

func (*GeneralConfig) SetLogLevel

func (_m *GeneralConfig) SetLogLevel(lvl zapcore.Level) error

SetLogLevel provides a mock function with given fields: lvl

func (*GeneralConfig) SetLogSQL

func (_m *GeneralConfig) SetLogSQL(logSQL bool)

SetLogSQL provides a mock function with given fields: logSQL

func (*GeneralConfig) SetPasswords

func (_m *GeneralConfig) SetPasswords(keystore *string, vrf *string)

SetPasswords provides a mock function with given fields: keystore, vrf

func (*GeneralConfig) ShutdownGracePeriod

func (_m *GeneralConfig) ShutdownGracePeriod() time.Duration

ShutdownGracePeriod provides a mock function with given fields:

func (*GeneralConfig) SolanaConfigs

func (_m *GeneralConfig) SolanaConfigs() solana.TOMLConfigs

SolanaConfigs provides a mock function with given fields:

func (*GeneralConfig) SolanaEnabled

func (_m *GeneralConfig) SolanaEnabled() bool

SolanaEnabled provides a mock function with given fields:

func (*GeneralConfig) StarkNetEnabled

func (_m *GeneralConfig) StarkNetEnabled() bool

StarkNetEnabled provides a mock function with given fields:

func (*GeneralConfig) StarknetConfigs

func (_m *GeneralConfig) StarknetConfigs() chainlinkconfig.TOMLConfigs

StarknetConfigs provides a mock function with given fields:

func (*GeneralConfig) TelemetryIngress added in v2.3.0

func (_m *GeneralConfig) TelemetryIngress() config.TelemetryIngress

TelemetryIngress provides a mock function with given fields:

func (*GeneralConfig) Threshold added in v2.3.0

func (_m *GeneralConfig) Threshold() config.Threshold

Threshold provides a mock function with given fields:

func (*GeneralConfig) Tracing added in v2.7.0

func (_m *GeneralConfig) Tracing() config.Tracing

Tracing provides a mock function with given fields:

func (*GeneralConfig) Validate

func (_m *GeneralConfig) Validate() error

Validate provides a mock function with given fields:

func (*GeneralConfig) ValidateDB added in v2.1.0

func (_m *GeneralConfig) ValidateDB() error

ValidateDB provides a mock function with given fields:

func (*GeneralConfig) WebServer added in v2.3.0

func (_m *GeneralConfig) WebServer() config.WebServer

WebServer provides a mock function with given fields:

Jump to

Keyboard shortcuts

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