mirror of
https://github.com/luxfi/netrunner.git
synced 2026-10-30 15:24:46 +00:00
187 lines
3.6 KiB
Go
187 lines
3.6 KiB
Go
// Code generated by mockery v2.10.6. DO NOT EDIT.
|
|
|
|
package mocks
|
|
|
|
import (
|
|
api "github.com/luxfi/netrunner/api"
|
|
admin "github.com/luxfi/node/api/admin"
|
|
|
|
xvm "github.com/luxfi/node/vms/xvm"
|
|
|
|
evmclient "github.com/luxfi/evm/plugin/evm/client"
|
|
|
|
health "github.com/luxfi/node/api/health"
|
|
|
|
indexer "github.com/luxfi/node/indexer"
|
|
|
|
info "github.com/luxfi/node/api/info"
|
|
|
|
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() evmclient.Client {
|
|
ret := _m.Called()
|
|
|
|
var r0 evmclient.Client
|
|
if rf, ok := ret.Get(0).(func() evmclient.Client); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(evmclient.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
|
|
}
|
|
|
|
// 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() *xvm.Client {
|
|
ret := _m.Called()
|
|
|
|
var r0 *xvm.Client
|
|
if rf, ok := ret.Get(0).(func() *xvm.Client); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(*xvm.Client)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// XChainWalletAPI provides a mock function with given fields:
|
|
func (_m *Client) XChainWalletAPI() *xvm.WalletClient {
|
|
ret := _m.Called()
|
|
|
|
var r0 *xvm.WalletClient
|
|
if rf, ok := ret.Get(0).(func() *xvm.WalletClient); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).(*xvm.WalletClient)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
} |