mirror of
https://github.com/luxfi/netrunner.git
synced 2026-07-27 00:04:23 +00:00
224 lines
4.2 KiB
Go
224 lines
4.2 KiB
Go
// Code generated by mockery v2.10.6. DO NOT EDIT.
|
|
|
|
package mocks
|
|
|
|
import (
|
|
api "github.com/luxdefi/netrunner/api"
|
|
admin "github.com/luxfi/node/api/admin"
|
|
|
|
avm "github.com/luxfi/node/vms/avm"
|
|
|
|
evm "github.com/luxfi/geth/plugin/evm"
|
|
|
|
health "github.com/luxfi/node/api/health"
|
|
|
|
indexer "github.com/luxfi/node/indexer"
|
|
|
|
info "github.com/luxfi/node/api/info"
|
|
|
|
ipcs "github.com/luxfi/node/api/ipcs"
|
|
|
|
keystore "github.com/luxfi/node/api/keystore"
|
|
|
|
mock "github.com/stretchr/testify/mock"
|
|
|
|
platformvm "github.com/luxfi/node/vms/platformvm"
|
|
)
|
|
|
|
// Client is an autogenerated mock type for the Client type
|
|
type Client struct {
|
|
mock.Mock
|
|
}
|
|
|
|
// AdminAPI provides a mock function with given fields:
|
|
func (_m *Client) AdminAPI() admin.Client {
|
|
ret := _m.Called()
|
|
|
|
var r0 admin.Client
|
|
if rf, ok := ret.Get(0).(func() admin.Client); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(admin.Client)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// CChainAPI provides a mock function with given fields:
|
|
func (_m *Client) CChainAPI() evm.Client {
|
|
ret := _m.Called()
|
|
|
|
var r0 evm.Client
|
|
if rf, ok := ret.Get(0).(func() evm.Client); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(evm.Client)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// CChainEthAPI provides a mock function with given fields:
|
|
func (_m *Client) CChainEthAPI() api.EthClient {
|
|
ret := _m.Called()
|
|
|
|
var r0 api.EthClient
|
|
if rf, ok := ret.Get(0).(func() api.EthClient); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(api.EthClient)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// CChainIndexAPI provides a mock function with given fields:
|
|
func (_m *Client) CChainIndexAPI() indexer.Client {
|
|
ret := _m.Called()
|
|
|
|
var r0 indexer.Client
|
|
if rf, ok := ret.Get(0).(func() indexer.Client); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(indexer.Client)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// HealthAPI provides a mock function with given fields:
|
|
func (_m *Client) HealthAPI() health.Client {
|
|
ret := _m.Called()
|
|
|
|
var r0 health.Client
|
|
if rf, ok := ret.Get(0).(func() health.Client); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(health.Client)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// InfoAPI provides a mock function with given fields:
|
|
func (_m *Client) InfoAPI() info.Client {
|
|
ret := _m.Called()
|
|
|
|
var r0 info.Client
|
|
if rf, ok := ret.Get(0).(func() info.Client); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(info.Client)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// IpcsAPI provides a mock function with given fields:
|
|
func (_m *Client) IpcsAPI() ipcs.Client {
|
|
ret := _m.Called()
|
|
|
|
var r0 ipcs.Client
|
|
if rf, ok := ret.Get(0).(func() ipcs.Client); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(ipcs.Client)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// KeystoreAPI provides a mock function with given fields:
|
|
func (_m *Client) KeystoreAPI() keystore.Client {
|
|
ret := _m.Called()
|
|
|
|
var r0 keystore.Client
|
|
if rf, ok := ret.Get(0).(func() keystore.Client); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(keystore.Client)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// PChainAPI provides a mock function with given fields:
|
|
func (_m *Client) PChainAPI() platformvm.Client {
|
|
ret := _m.Called()
|
|
|
|
var r0 platformvm.Client
|
|
if rf, ok := ret.Get(0).(func() platformvm.Client); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(platformvm.Client)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// PChainIndexAPI provides a mock function with given fields:
|
|
func (_m *Client) PChainIndexAPI() indexer.Client {
|
|
ret := _m.Called()
|
|
|
|
var r0 indexer.Client
|
|
if rf, ok := ret.Get(0).(func() indexer.Client); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(indexer.Client)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// XChainAPI provides a mock function with given fields:
|
|
func (_m *Client) XChainAPI() avm.Client {
|
|
ret := _m.Called()
|
|
|
|
var r0 avm.Client
|
|
if rf, ok := ret.Get(0).(func() avm.Client); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(avm.Client)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// XChainWalletAPI provides a mock function with given fields:
|
|
func (_m *Client) XChainWalletAPI() avm.WalletClient {
|
|
ret := _m.Called()
|
|
|
|
var r0 avm.WalletClient
|
|
if rf, ok := ret.Get(0).(func() avm.WalletClient); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(avm.WalletClient)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|