Documentation ¶
Index ¶
- type FakeRelayerChainInteroperators
- func (f *FakeRelayerChainInteroperators) ChainStatus(ctx context.Context, id relay.ID) (types.ChainStatus, error)
- func (f *FakeRelayerChainInteroperators) ChainStatuses(ctx context.Context, offset, limit int) ([]types.ChainStatus, int, error)
- func (f *FakeRelayerChainInteroperators) Get(id relay.ID) (loop.Relayer, error)
- func (f *FakeRelayerChainInteroperators) LegacyEVMChains() legacyevm.LegacyChainContainer
- func (f *FakeRelayerChainInteroperators) List(filter erinaceus.FilterFn) erinaceus.RelayerChainInteroperators
- func (f *FakeRelayerChainInteroperators) NodeStatuses(ctx context.Context, offset, limit int, relayIDs ...relay.ID) (nodes []types.NodeStatus, count int, err error)
- func (f *FakeRelayerChainInteroperators) Services() []services2.ServiceCtx
- func (f *FakeRelayerChainInteroperators) Slice() []loop.Relayer
- type GeneralConfig
- func (_m *GeneralConfig) AppID() uuid.UUID
- func (_m *GeneralConfig) AuditLogger() config.AuditLogger
- func (_m *GeneralConfig) AutoPprof() config.AutoPprof
- func (_m *GeneralConfig) ConfigTOML() (string, string)
- func (_m *GeneralConfig) Database() config.Database
- func (_m *GeneralConfig) EVMConfigs() toml.EVMConfigs
- func (_m *GeneralConfig) EVMEnabled() bool
- func (_m *GeneralConfig) EVMRPCEnabled() bool
- func (_m *GeneralConfig) Feature() config.Feature
- func (_m *GeneralConfig) Insecure() config.Insecure
- func (_m *GeneralConfig) InsecureFastScrypt() bool
- func (_m *GeneralConfig) JobPipeline() config.JobPipeline
- func (_m *GeneralConfig) Log() config.Log
- func (_m *GeneralConfig) LogConfiguration(log config.LogfFn, warn config.LogfFn)
- func (_m *GeneralConfig) Password() config.Password
- func (_m *GeneralConfig) Prometheus() config.Prometheus
- func (_m *GeneralConfig) Pyroscope() config.Pyroscope
- func (_m *GeneralConfig) RootDir() string
- func (_m *GeneralConfig) Sentry() config.Sentry
- func (_m *GeneralConfig) SetLogLevel(lvl zapcore.Level) error
- func (_m *GeneralConfig) SetLogSQL(logSQL bool)
- func (_m *GeneralConfig) SetPasswords(keystore *string, vrf *string)
- func (_m *GeneralConfig) ShutdownGracePeriod() time.Duration
- func (_m *GeneralConfig) Threshold() config.Threshold
- func (_m *GeneralConfig) Tracing() config.Tracing
- func (_m *GeneralConfig) Validate() error
- func (_m *GeneralConfig) ValidateDB() error
- func (_m *GeneralConfig) WebServer() config.WebServer
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 (f *FakeRelayerChainInteroperators) ChainStatus(ctx context.Context, id relay.ID) (types.ChainStatus, error)
func (*FakeRelayerChainInteroperators) ChainStatuses ¶
func (f *FakeRelayerChainInteroperators) ChainStatuses(ctx context.Context, offset, limit int) ([]types.ChainStatus, int, error)
func (*FakeRelayerChainInteroperators) LegacyEVMChains ¶
func (f *FakeRelayerChainInteroperators) LegacyEVMChains() legacyevm.LegacyChainContainer
func (*FakeRelayerChainInteroperators) List ¶
func (f *FakeRelayerChainInteroperators) List(filter erinaceus.FilterFn) erinaceus.RelayerChainInteroperators
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 (f *FakeRelayerChainInteroperators) Services() []services2.ServiceCtx
func (*FakeRelayerChainInteroperators) Slice ¶
func (f *FakeRelayerChainInteroperators) Slice() []loop.Relayer
type GeneralConfig ¶
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: