mocks

package
v0.0.0-...-3674750 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRelayerChainInteroperators

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

FakeRelayerChainInteroperators is a fake erinaceus.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

func (*FakeRelayerChainInteroperators) ChainStatuses

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

func (*FakeRelayerChainInteroperators) Get

func (*FakeRelayerChainInteroperators) LegacyEVMChains

func (*FakeRelayerChainInteroperators) List

func (*FakeRelayerChainInteroperators) NodeStatuses

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

func (*FakeRelayerChainInteroperators) Services

func (*FakeRelayerChainInteroperators) Slice

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

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

AuditLogger provides a mock function with given fields:

func (*GeneralConfig) AutoPprof

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) Database

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

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

Feature provides a mock function with given fields:

func (*GeneralConfig) Insecure

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

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

JobPipeline provides a mock function with given fields:

func (*GeneralConfig) Log

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) Password

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

Password provides a mock function with given fields:

func (*GeneralConfig) Prometheus

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

Prometheus provides a mock function with given fields:

func (*GeneralConfig) Pyroscope

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

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) Threshold

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

Threshold provides a mock function with given fields:

func (*GeneralConfig) Tracing

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

func (_m *GeneralConfig) ValidateDB() error

ValidateDB provides a mock function with given fields:

func (*GeneralConfig) WebServer

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