mocks

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LightningClient

type LightningClient struct {
	mock.Mock
}

LightningClient is an autogenerated mock type for the LightningClient type

func NewLightningClient

func NewLightningClient(t mockConstructorTestingTNewLightningClient) *LightningClient

NewLightningClient creates a new instance of LightningClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*LightningClient) AbandonChannel

AbandonChannel provides a mock function with given fields: ctx, in, opts

func (*LightningClient) AddInvoice

func (_m *LightningClient) AddInvoice(ctx context.Context, in *lnrpc.Invoice, opts ...grpc.CallOption) (*lnrpc.AddInvoiceResponse, error)

AddInvoice provides a mock function with given fields: ctx, in, opts

func (*LightningClient) BakeMacaroon

BakeMacaroon provides a mock function with given fields: ctx, in, opts

func (*LightningClient) BatchOpenChannel

BatchOpenChannel provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ChannelAcceptor

ChannelAcceptor provides a mock function with given fields: ctx, opts

func (*LightningClient) ChannelBalance

ChannelBalance provides a mock function with given fields: ctx, in, opts

func (*LightningClient) CheckMacaroonPermissions

func (_m *LightningClient) CheckMacaroonPermissions(ctx context.Context, in *lnrpc.CheckMacPermRequest, opts ...grpc.CallOption) (*lnrpc.CheckMacPermResponse, error)

CheckMacaroonPermissions provides a mock function with given fields: ctx, in, opts

func (*LightningClient) CloseChannel

CloseChannel provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ClosedChannels

ClosedChannels provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ConnectPeer

ConnectPeer provides a mock function with given fields: ctx, in, opts

func (*LightningClient) DebugLevel

DebugLevel provides a mock function with given fields: ctx, in, opts

func (*LightningClient) DecodePayReq

func (_m *LightningClient) DecodePayReq(ctx context.Context, in *lnrpc.PayReqString, opts ...grpc.CallOption) (*lnrpc.PayReq, error)

DecodePayReq provides a mock function with given fields: ctx, in, opts

func (*LightningClient) DeleteAllPayments

DeleteAllPayments provides a mock function with given fields: ctx, in, opts

func (*LightningClient) DeleteMacaroonID

DeleteMacaroonID provides a mock function with given fields: ctx, in, opts

func (*LightningClient) DeletePayment

DeletePayment provides a mock function with given fields: ctx, in, opts

func (*LightningClient) DescribeGraph

DescribeGraph provides a mock function with given fields: ctx, in, opts

func (*LightningClient) DisconnectPeer

DisconnectPeer provides a mock function with given fields: ctx, in, opts

func (*LightningClient) EstimateFee

EstimateFee provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ExportAllChannelBackups

func (_m *LightningClient) ExportAllChannelBackups(ctx context.Context, in *lnrpc.ChanBackupExportRequest, opts ...grpc.CallOption) (*lnrpc.ChanBackupSnapshot, error)

ExportAllChannelBackups provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ExportChannelBackup

func (_m *LightningClient) ExportChannelBackup(ctx context.Context, in *lnrpc.ExportChannelBackupRequest, opts ...grpc.CallOption) (*lnrpc.ChannelBackup, error)

ExportChannelBackup provides a mock function with given fields: ctx, in, opts

func (*LightningClient) FeeReport

FeeReport provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ForwardingHistory

ForwardingHistory provides a mock function with given fields: ctx, in, opts

func (*LightningClient) FundingStateStep

FundingStateStep provides a mock function with given fields: ctx, in, opts

func (*LightningClient) GetChanInfo

func (_m *LightningClient) GetChanInfo(ctx context.Context, in *lnrpc.ChanInfoRequest, opts ...grpc.CallOption) (*lnrpc.ChannelEdge, error)

GetChanInfo provides a mock function with given fields: ctx, in, opts

func (*LightningClient) GetInfo

GetInfo provides a mock function with given fields: ctx, in, opts

func (*LightningClient) GetNetworkInfo

func (_m *LightningClient) GetNetworkInfo(ctx context.Context, in *lnrpc.NetworkInfoRequest, opts ...grpc.CallOption) (*lnrpc.NetworkInfo, error)

GetNetworkInfo provides a mock function with given fields: ctx, in, opts

func (*LightningClient) GetNodeInfo

func (_m *LightningClient) GetNodeInfo(ctx context.Context, in *lnrpc.NodeInfoRequest, opts ...grpc.CallOption) (*lnrpc.NodeInfo, error)

GetNodeInfo provides a mock function with given fields: ctx, in, opts

func (*LightningClient) GetNodeMetrics

GetNodeMetrics provides a mock function with given fields: ctx, in, opts

func (*LightningClient) GetRecoveryInfo

GetRecoveryInfo provides a mock function with given fields: ctx, in, opts

func (*LightningClient) GetTransactions

GetTransactions provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ListAliases

ListAliases provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ListChannels

ListChannels provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ListInvoices

ListInvoices provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ListMacaroonIDs

ListMacaroonIDs provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ListPayments

ListPayments provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ListPeers

ListPeers provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ListPermissions

ListPermissions provides a mock function with given fields: ctx, in, opts

func (*LightningClient) ListUnspent

ListUnspent provides a mock function with given fields: ctx, in, opts

func (*LightningClient) LookupHtlcResolution

LookupHtlcResolution provides a mock function with given fields: ctx, in, opts

func (*LightningClient) LookupInvoice

func (_m *LightningClient) LookupInvoice(ctx context.Context, in *lnrpc.PaymentHash, opts ...grpc.CallOption) (*lnrpc.Invoice, error)

LookupInvoice provides a mock function with given fields: ctx, in, opts

func (*LightningClient) NewAddress

NewAddress provides a mock function with given fields: ctx, in, opts

func (*LightningClient) OpenChannel

OpenChannel provides a mock function with given fields: ctx, in, opts

func (*LightningClient) OpenChannelSync

func (_m *LightningClient) OpenChannelSync(ctx context.Context, in *lnrpc.OpenChannelRequest, opts ...grpc.CallOption) (*lnrpc.ChannelPoint, error)

OpenChannelSync provides a mock function with given fields: ctx, in, opts

func (*LightningClient) PendingChannels

PendingChannels provides a mock function with given fields: ctx, in, opts

func (*LightningClient) QueryRoutes

QueryRoutes provides a mock function with given fields: ctx, in, opts

func (*LightningClient) RegisterRPCMiddleware

RegisterRPCMiddleware provides a mock function with given fields: ctx, opts

func (*LightningClient) RestoreChannelBackups

RestoreChannelBackups provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SendCoins

SendCoins provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SendCustomMessage

SendCustomMessage provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SendMany

SendMany provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SendPayment

SendPayment provides a mock function with given fields: ctx, opts

func (*LightningClient) SendPaymentSync

func (_m *LightningClient) SendPaymentSync(ctx context.Context, in *lnrpc.SendRequest, opts ...grpc.CallOption) (*lnrpc.SendResponse, error)

SendPaymentSync provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SendToRoute

SendToRoute provides a mock function with given fields: ctx, opts

func (*LightningClient) SendToRouteSync

func (_m *LightningClient) SendToRouteSync(ctx context.Context, in *lnrpc.SendToRouteRequest, opts ...grpc.CallOption) (*lnrpc.SendResponse, error)

SendToRouteSync provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SignMessage

SignMessage provides a mock function with given fields: ctx, in, opts

func (*LightningClient) StopDaemon

func (_m *LightningClient) StopDaemon(ctx context.Context, in *lnrpc.StopRequest, opts ...grpc.CallOption) (*lnrpc.StopResponse, error)

StopDaemon provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SubscribeChannelBackups

SubscribeChannelBackups provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SubscribeChannelEvents

SubscribeChannelEvents provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SubscribeChannelGraph

SubscribeChannelGraph provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SubscribeCustomMessages

SubscribeCustomMessages provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SubscribeInvoices

SubscribeInvoices provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SubscribePeerEvents

SubscribePeerEvents provides a mock function with given fields: ctx, in, opts

func (*LightningClient) SubscribeTransactions

SubscribeTransactions provides a mock function with given fields: ctx, in, opts

func (*LightningClient) UpdateChannelPolicy

func (_m *LightningClient) UpdateChannelPolicy(ctx context.Context, in *lnrpc.PolicyUpdateRequest, opts ...grpc.CallOption) (*lnrpc.PolicyUpdateResponse, error)

UpdateChannelPolicy provides a mock function with given fields: ctx, in, opts

func (*LightningClient) VerifyChanBackup

VerifyChanBackup provides a mock function with given fields: ctx, in, opts

func (*LightningClient) VerifyMessage

VerifyMessage provides a mock function with given fields: ctx, in, opts

func (*LightningClient) WalletBalance

WalletBalance provides a mock function with given fields: ctx, in, opts

Jump to

Keyboard shortcuts

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