mocks

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OverflowBetaClient

type OverflowBetaClient struct {
	mock.Mock
}

OverflowBetaClient is an autogenerated mock type for the OverflowBetaClient type

func NewOverflowBetaClient

func NewOverflowBetaClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *OverflowBetaClient

NewOverflowBetaClient creates a new instance of OverflowBetaClient. 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 (*OverflowBetaClient) Account

func (_m *OverflowBetaClient) Account(key string) *accounts.Account

Account provides a mock function with given fields: key

func (*OverflowBetaClient) AccountE

func (_m *OverflowBetaClient) AccountE(key string) (*accounts.Account, error)

AccountE provides a mock function with given fields: key

func (*OverflowBetaClient) AccountPublicKey added in v1.14.0

func (_m *OverflowBetaClient) AccountPublicKey(name string) (string, error)

AccountPublicKey provides a mock function with given fields: name

func (*OverflowBetaClient) AddContract

func (_m *OverflowBetaClient) AddContract(ctx context.Context, name string, code []byte, args []cadence.Value, filename string, update bool) error

AddContract provides a mock function with given fields: ctx, name, code, args, filename, update

func (*OverflowBetaClient) Address

func (_m *OverflowBetaClient) Address(key string) string

Address provides a mock function with given fields: key

func (*OverflowBetaClient) DownloadAndUploadFile

func (_m *OverflowBetaClient) DownloadAndUploadFile(url string, accountName string) error

DownloadAndUploadFile provides a mock function with given fields: url, accountName

func (*OverflowBetaClient) DownloadImageAndUploadAsDataUrl

func (_m *OverflowBetaClient) DownloadImageAndUploadAsDataUrl(url string, accountName string) error

DownloadImageAndUploadAsDataUrl provides a mock function with given fields: url, accountName

func (*OverflowBetaClient) EXPECT

func (*OverflowBetaClient) FetchEventsWithResult

FetchEventsWithResult provides a mock function with given fields: opts

func (*OverflowBetaClient) FillUpStorage

func (_m *OverflowBetaClient) FillUpStorage(accountName string) *overflow.OverflowState

FillUpStorage provides a mock function with given fields: accountName

func (*OverflowBetaClient) GetAccount

func (_m *OverflowBetaClient) GetAccount(ctx context.Context, key string) (*flow.Account, error)

GetAccount provides a mock function with given fields: ctx, key

func (*OverflowBetaClient) GetBlockAtHeight

func (_m *OverflowBetaClient) GetBlockAtHeight(ctx context.Context, height uint64) (*flow.Block, error)

GetBlockAtHeight provides a mock function with given fields: ctx, height

func (*OverflowBetaClient) GetBlockById

func (_m *OverflowBetaClient) GetBlockById(ctx context.Context, blockId string) (*flow.Block, error)

GetBlockById provides a mock function with given fields: ctx, blockId

func (*OverflowBetaClient) GetBlockResult added in v1.14.0

func (_m *OverflowBetaClient) GetBlockResult(ctx context.Context, height uint64, logger *zap.Logger) (*overflow.BlockResult, error)

GetBlockResult provides a mock function with given fields: ctx, height, logger

func (*OverflowBetaClient) GetFreeCapacity

func (_m *OverflowBetaClient) GetFreeCapacity(accountName string) int

GetFreeCapacity provides a mock function with given fields: accountName

func (*OverflowBetaClient) GetLatestBlock

func (_m *OverflowBetaClient) GetLatestBlock(ctx context.Context) (*flow.Block, error)

GetLatestBlock provides a mock function with given fields: ctx

func (*OverflowBetaClient) GetNetwork

func (_m *OverflowBetaClient) GetNetwork() string

GetNetwork provides a mock function with given fields:

func (*OverflowBetaClient) GetOverflowTransactionById

func (_m *OverflowBetaClient) GetOverflowTransactionById(ctx context.Context, id flow.Identifier) (*overflow.OverflowTransaction, error)

GetOverflowTransactionById provides a mock function with given fields: ctx, id

func (*OverflowBetaClient) GetTransactionById

func (_m *OverflowBetaClient) GetTransactionById(ctx context.Context, id flow.Identifier) (*flow.Transaction, error)

GetTransactionById provides a mock function with given fields: ctx, id

func (*OverflowBetaClient) GetTransactions

GetTransactions provides a mock function with given fields: ctx, id, logg

func (*OverflowBetaClient) MintFlowTokens

func (_m *OverflowBetaClient) MintFlowTokens(accountName string, amount float64) *overflow.OverflowState

MintFlowTokens provides a mock function with given fields: accountName, amount

func (*OverflowBetaClient) QualifiedIdentifier

func (_m *OverflowBetaClient) QualifiedIdentifier(contract string, name string) (string, error)

QualifiedIdentifier provides a mock function with given fields: contract, name

func (*OverflowBetaClient) QualifiedIdentifierFromSnakeCase

func (_m *OverflowBetaClient) QualifiedIdentifierFromSnakeCase(typeName string) (string, error)

QualifiedIdentifierFromSnakeCase provides a mock function with given fields: typeName

func (*OverflowBetaClient) Script

Script provides a mock function with given fields: filename, opts

func (*OverflowBetaClient) ScriptFN

ScriptFN provides a mock function with given fields: outerOpts

func (*OverflowBetaClient) ScriptFileNameFN

ScriptFileNameFN provides a mock function with given fields: filename, outerOpts

func (*OverflowBetaClient) SignUserMessage

func (_m *OverflowBetaClient) SignUserMessage(account string, message string) (string, error)

SignUserMessage provides a mock function with given fields: account, message

func (*OverflowBetaClient) StreamTransactions

func (_m *OverflowBetaClient) StreamTransactions(ctx context.Context, poll time.Duration, height uint64, logger *zap.Logger, channel chan<- overflow.BlockResult) error

StreamTransactions provides a mock function with given fields: ctx, poll, height, logger, channel

func (*OverflowBetaClient) Tx

Tx provides a mock function with given fields: filename, opts

func (*OverflowBetaClient) TxFN

TxFN provides a mock function with given fields: outerOpts

func (*OverflowBetaClient) TxFileNameFN

TxFileNameFN provides a mock function with given fields: filename, outerOpts

func (*OverflowBetaClient) UploadFile

func (_m *OverflowBetaClient) UploadFile(filename string, accountName string) error

UploadFile provides a mock function with given fields: filename, accountName

func (*OverflowBetaClient) UploadImageAsDataUrl

func (_m *OverflowBetaClient) UploadImageAsDataUrl(filename string, accountName string) error

UploadImageAsDataUrl provides a mock function with given fields: filename, accountName

func (*OverflowBetaClient) UploadString

func (_m *OverflowBetaClient) UploadString(content string, accountName string) error

UploadString provides a mock function with given fields: content, accountName

type OverflowBetaClient_AccountE_Call

type OverflowBetaClient_AccountE_Call struct {
	*mock.Call
}

OverflowBetaClient_AccountE_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountE'

func (*OverflowBetaClient_AccountE_Call) Return

func (*OverflowBetaClient_AccountE_Call) Run

func (*OverflowBetaClient_AccountE_Call) RunAndReturn

type OverflowBetaClient_AccountPublicKey_Call added in v1.14.0

type OverflowBetaClient_AccountPublicKey_Call struct {
	*mock.Call
}

OverflowBetaClient_AccountPublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountPublicKey'

func (*OverflowBetaClient_AccountPublicKey_Call) Return added in v1.14.0

func (*OverflowBetaClient_AccountPublicKey_Call) Run added in v1.14.0

func (*OverflowBetaClient_AccountPublicKey_Call) RunAndReturn added in v1.14.0

type OverflowBetaClient_Account_Call

type OverflowBetaClient_Account_Call struct {
	*mock.Call
}

OverflowBetaClient_Account_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Account'

func (*OverflowBetaClient_Account_Call) Return

func (*OverflowBetaClient_Account_Call) Run

func (*OverflowBetaClient_Account_Call) RunAndReturn

type OverflowBetaClient_AddContract_Call

type OverflowBetaClient_AddContract_Call struct {
	*mock.Call
}

OverflowBetaClient_AddContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddContract'

func (*OverflowBetaClient_AddContract_Call) Return

func (*OverflowBetaClient_AddContract_Call) Run

func (_c *OverflowBetaClient_AddContract_Call) Run(run func(ctx context.Context, name string, code []byte, args []cadence.Value, filename string, update bool)) *OverflowBetaClient_AddContract_Call

func (*OverflowBetaClient_AddContract_Call) RunAndReturn

type OverflowBetaClient_Address_Call

type OverflowBetaClient_Address_Call struct {
	*mock.Call
}

OverflowBetaClient_Address_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Address'

func (*OverflowBetaClient_Address_Call) Return

func (*OverflowBetaClient_Address_Call) Run

func (*OverflowBetaClient_Address_Call) RunAndReturn

type OverflowBetaClient_DownloadAndUploadFile_Call

type OverflowBetaClient_DownloadAndUploadFile_Call struct {
	*mock.Call
}

OverflowBetaClient_DownloadAndUploadFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAndUploadFile'

func (*OverflowBetaClient_DownloadAndUploadFile_Call) Return

func (*OverflowBetaClient_DownloadAndUploadFile_Call) Run

func (*OverflowBetaClient_DownloadAndUploadFile_Call) RunAndReturn

type OverflowBetaClient_DownloadImageAndUploadAsDataUrl_Call

type OverflowBetaClient_DownloadImageAndUploadAsDataUrl_Call struct {
	*mock.Call
}

OverflowBetaClient_DownloadImageAndUploadAsDataUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadImageAndUploadAsDataUrl'

func (*OverflowBetaClient_DownloadImageAndUploadAsDataUrl_Call) Return

func (*OverflowBetaClient_DownloadImageAndUploadAsDataUrl_Call) Run

func (*OverflowBetaClient_DownloadImageAndUploadAsDataUrl_Call) RunAndReturn

type OverflowBetaClient_Expecter

type OverflowBetaClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*OverflowBetaClient_Expecter) Account

func (_e *OverflowBetaClient_Expecter) Account(key interface{}) *OverflowBetaClient_Account_Call

Account is a helper method to define mock.On call

  • key string

func (*OverflowBetaClient_Expecter) AccountE

func (_e *OverflowBetaClient_Expecter) AccountE(key interface{}) *OverflowBetaClient_AccountE_Call

AccountE is a helper method to define mock.On call

  • key string

func (*OverflowBetaClient_Expecter) AccountPublicKey added in v1.14.0

func (_e *OverflowBetaClient_Expecter) AccountPublicKey(name interface{}) *OverflowBetaClient_AccountPublicKey_Call

AccountPublicKey is a helper method to define mock.On call

  • name string

func (*OverflowBetaClient_Expecter) AddContract

func (_e *OverflowBetaClient_Expecter) AddContract(ctx interface{}, name interface{}, code interface{}, args interface{}, filename interface{}, update interface{}) *OverflowBetaClient_AddContract_Call

AddContract is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • code []byte
  • args []cadence.Value
  • filename string
  • update bool

func (*OverflowBetaClient_Expecter) Address

func (_e *OverflowBetaClient_Expecter) Address(key interface{}) *OverflowBetaClient_Address_Call

Address is a helper method to define mock.On call

  • key string

func (*OverflowBetaClient_Expecter) DownloadAndUploadFile

func (_e *OverflowBetaClient_Expecter) DownloadAndUploadFile(url interface{}, accountName interface{}) *OverflowBetaClient_DownloadAndUploadFile_Call

DownloadAndUploadFile is a helper method to define mock.On call

  • url string
  • accountName string

func (*OverflowBetaClient_Expecter) DownloadImageAndUploadAsDataUrl

func (_e *OverflowBetaClient_Expecter) DownloadImageAndUploadAsDataUrl(url interface{}, accountName interface{}) *OverflowBetaClient_DownloadImageAndUploadAsDataUrl_Call

DownloadImageAndUploadAsDataUrl is a helper method to define mock.On call

  • url string
  • accountName string

func (*OverflowBetaClient_Expecter) FetchEventsWithResult

func (_e *OverflowBetaClient_Expecter) FetchEventsWithResult(opts ...interface{}) *OverflowBetaClient_FetchEventsWithResult_Call

FetchEventsWithResult is a helper method to define mock.On call

  • opts ...overflow.OverflowEventFetcherOption

func (*OverflowBetaClient_Expecter) FillUpStorage

func (_e *OverflowBetaClient_Expecter) FillUpStorage(accountName interface{}) *OverflowBetaClient_FillUpStorage_Call

FillUpStorage is a helper method to define mock.On call

  • accountName string

func (*OverflowBetaClient_Expecter) GetAccount

func (_e *OverflowBetaClient_Expecter) GetAccount(ctx interface{}, key interface{}) *OverflowBetaClient_GetAccount_Call

GetAccount is a helper method to define mock.On call

  • ctx context.Context
  • key string

func (*OverflowBetaClient_Expecter) GetBlockAtHeight

func (_e *OverflowBetaClient_Expecter) GetBlockAtHeight(ctx interface{}, height interface{}) *OverflowBetaClient_GetBlockAtHeight_Call

GetBlockAtHeight is a helper method to define mock.On call

  • ctx context.Context
  • height uint64

func (*OverflowBetaClient_Expecter) GetBlockById

func (_e *OverflowBetaClient_Expecter) GetBlockById(ctx interface{}, blockId interface{}) *OverflowBetaClient_GetBlockById_Call

GetBlockById is a helper method to define mock.On call

  • ctx context.Context
  • blockId string

func (*OverflowBetaClient_Expecter) GetBlockResult added in v1.14.0

func (_e *OverflowBetaClient_Expecter) GetBlockResult(ctx interface{}, height interface{}, logger interface{}) *OverflowBetaClient_GetBlockResult_Call

GetBlockResult is a helper method to define mock.On call

  • ctx context.Context
  • height uint64
  • logger *zap.Logger

func (*OverflowBetaClient_Expecter) GetFreeCapacity

func (_e *OverflowBetaClient_Expecter) GetFreeCapacity(accountName interface{}) *OverflowBetaClient_GetFreeCapacity_Call

GetFreeCapacity is a helper method to define mock.On call

  • accountName string

func (*OverflowBetaClient_Expecter) GetLatestBlock

func (_e *OverflowBetaClient_Expecter) GetLatestBlock(ctx interface{}) *OverflowBetaClient_GetLatestBlock_Call

GetLatestBlock is a helper method to define mock.On call

  • ctx context.Context

func (*OverflowBetaClient_Expecter) GetNetwork

GetNetwork is a helper method to define mock.On call

func (*OverflowBetaClient_Expecter) GetOverflowTransactionById

func (_e *OverflowBetaClient_Expecter) GetOverflowTransactionById(ctx interface{}, id interface{}) *OverflowBetaClient_GetOverflowTransactionById_Call

GetOverflowTransactionById is a helper method to define mock.On call

  • ctx context.Context
  • id flow.Identifier

func (*OverflowBetaClient_Expecter) GetTransactionById

func (_e *OverflowBetaClient_Expecter) GetTransactionById(ctx interface{}, id interface{}) *OverflowBetaClient_GetTransactionById_Call

GetTransactionById is a helper method to define mock.On call

  • ctx context.Context
  • id flow.Identifier

func (*OverflowBetaClient_Expecter) GetTransactions

func (_e *OverflowBetaClient_Expecter) GetTransactions(ctx interface{}, id interface{}, logg interface{}) *OverflowBetaClient_GetTransactions_Call

GetTransactions is a helper method to define mock.On call

  • ctx context.Context
  • id flow.Identifier
  • logg *zap.Logger

func (*OverflowBetaClient_Expecter) MintFlowTokens

func (_e *OverflowBetaClient_Expecter) MintFlowTokens(accountName interface{}, amount interface{}) *OverflowBetaClient_MintFlowTokens_Call

MintFlowTokens is a helper method to define mock.On call

  • accountName string
  • amount float64

func (*OverflowBetaClient_Expecter) QualifiedIdentifier

func (_e *OverflowBetaClient_Expecter) QualifiedIdentifier(contract interface{}, name interface{}) *OverflowBetaClient_QualifiedIdentifier_Call

QualifiedIdentifier is a helper method to define mock.On call

  • contract string
  • name string

func (*OverflowBetaClient_Expecter) QualifiedIdentifierFromSnakeCase

func (_e *OverflowBetaClient_Expecter) QualifiedIdentifierFromSnakeCase(typeName interface{}) *OverflowBetaClient_QualifiedIdentifierFromSnakeCase_Call

QualifiedIdentifierFromSnakeCase is a helper method to define mock.On call

  • typeName string

func (*OverflowBetaClient_Expecter) Script

func (_e *OverflowBetaClient_Expecter) Script(filename interface{}, opts ...interface{}) *OverflowBetaClient_Script_Call

Script is a helper method to define mock.On call

  • filename string
  • opts ...overflow.OverflowInteractionOption

func (*OverflowBetaClient_Expecter) ScriptFN

func (_e *OverflowBetaClient_Expecter) ScriptFN(outerOpts ...interface{}) *OverflowBetaClient_ScriptFN_Call

ScriptFN is a helper method to define mock.On call

  • outerOpts ...overflow.OverflowInteractionOption

func (*OverflowBetaClient_Expecter) ScriptFileNameFN

func (_e *OverflowBetaClient_Expecter) ScriptFileNameFN(filename interface{}, outerOpts ...interface{}) *OverflowBetaClient_ScriptFileNameFN_Call

ScriptFileNameFN is a helper method to define mock.On call

  • filename string
  • outerOpts ...overflow.OverflowInteractionOption

func (*OverflowBetaClient_Expecter) SignUserMessage

func (_e *OverflowBetaClient_Expecter) SignUserMessage(account interface{}, message interface{}) *OverflowBetaClient_SignUserMessage_Call

SignUserMessage is a helper method to define mock.On call

  • account string
  • message string

func (*OverflowBetaClient_Expecter) StreamTransactions

func (_e *OverflowBetaClient_Expecter) StreamTransactions(ctx interface{}, poll interface{}, height interface{}, logger interface{}, channel interface{}) *OverflowBetaClient_StreamTransactions_Call

StreamTransactions is a helper method to define mock.On call

  • ctx context.Context
  • poll time.Duration
  • height uint64
  • logger *zap.Logger
  • channel chan<- overflow.BlockResult

func (*OverflowBetaClient_Expecter) Tx

func (_e *OverflowBetaClient_Expecter) Tx(filename interface{}, opts ...interface{}) *OverflowBetaClient_Tx_Call

Tx is a helper method to define mock.On call

  • filename string
  • opts ...overflow.OverflowInteractionOption

func (*OverflowBetaClient_Expecter) TxFN

func (_e *OverflowBetaClient_Expecter) TxFN(outerOpts ...interface{}) *OverflowBetaClient_TxFN_Call

TxFN is a helper method to define mock.On call

  • outerOpts ...overflow.OverflowInteractionOption

func (*OverflowBetaClient_Expecter) TxFileNameFN

func (_e *OverflowBetaClient_Expecter) TxFileNameFN(filename interface{}, outerOpts ...interface{}) *OverflowBetaClient_TxFileNameFN_Call

TxFileNameFN is a helper method to define mock.On call

  • filename string
  • outerOpts ...overflow.OverflowInteractionOption

func (*OverflowBetaClient_Expecter) UploadFile

func (_e *OverflowBetaClient_Expecter) UploadFile(filename interface{}, accountName interface{}) *OverflowBetaClient_UploadFile_Call

UploadFile is a helper method to define mock.On call

  • filename string
  • accountName string

func (*OverflowBetaClient_Expecter) UploadImageAsDataUrl

func (_e *OverflowBetaClient_Expecter) UploadImageAsDataUrl(filename interface{}, accountName interface{}) *OverflowBetaClient_UploadImageAsDataUrl_Call

UploadImageAsDataUrl is a helper method to define mock.On call

  • filename string
  • accountName string

func (*OverflowBetaClient_Expecter) UploadString

func (_e *OverflowBetaClient_Expecter) UploadString(content interface{}, accountName interface{}) *OverflowBetaClient_UploadString_Call

UploadString is a helper method to define mock.On call

  • content string
  • accountName string

type OverflowBetaClient_FetchEventsWithResult_Call

type OverflowBetaClient_FetchEventsWithResult_Call struct {
	*mock.Call
}

OverflowBetaClient_FetchEventsWithResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FetchEventsWithResult'

func (*OverflowBetaClient_FetchEventsWithResult_Call) Return

func (*OverflowBetaClient_FetchEventsWithResult_Call) Run

type OverflowBetaClient_FillUpStorage_Call

type OverflowBetaClient_FillUpStorage_Call struct {
	*mock.Call
}

OverflowBetaClient_FillUpStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FillUpStorage'

func (*OverflowBetaClient_FillUpStorage_Call) Return

func (*OverflowBetaClient_FillUpStorage_Call) Run

func (*OverflowBetaClient_FillUpStorage_Call) RunAndReturn

type OverflowBetaClient_GetAccount_Call

type OverflowBetaClient_GetAccount_Call struct {
	*mock.Call
}

OverflowBetaClient_GetAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccount'

func (*OverflowBetaClient_GetAccount_Call) Return

func (*OverflowBetaClient_GetAccount_Call) Run

func (*OverflowBetaClient_GetAccount_Call) RunAndReturn

type OverflowBetaClient_GetBlockAtHeight_Call

type OverflowBetaClient_GetBlockAtHeight_Call struct {
	*mock.Call
}

OverflowBetaClient_GetBlockAtHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockAtHeight'

func (*OverflowBetaClient_GetBlockAtHeight_Call) Return

func (*OverflowBetaClient_GetBlockAtHeight_Call) Run

func (*OverflowBetaClient_GetBlockAtHeight_Call) RunAndReturn

type OverflowBetaClient_GetBlockById_Call

type OverflowBetaClient_GetBlockById_Call struct {
	*mock.Call
}

OverflowBetaClient_GetBlockById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockById'

func (*OverflowBetaClient_GetBlockById_Call) Return

func (*OverflowBetaClient_GetBlockById_Call) Run

func (*OverflowBetaClient_GetBlockById_Call) RunAndReturn

type OverflowBetaClient_GetBlockResult_Call added in v1.14.0

type OverflowBetaClient_GetBlockResult_Call struct {
	*mock.Call
}

OverflowBetaClient_GetBlockResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockResult'

func (*OverflowBetaClient_GetBlockResult_Call) Return added in v1.14.0

func (*OverflowBetaClient_GetBlockResult_Call) Run added in v1.14.0

func (*OverflowBetaClient_GetBlockResult_Call) RunAndReturn added in v1.14.0

type OverflowBetaClient_GetFreeCapacity_Call

type OverflowBetaClient_GetFreeCapacity_Call struct {
	*mock.Call
}

OverflowBetaClient_GetFreeCapacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFreeCapacity'

func (*OverflowBetaClient_GetFreeCapacity_Call) Return

func (*OverflowBetaClient_GetFreeCapacity_Call) Run

func (*OverflowBetaClient_GetFreeCapacity_Call) RunAndReturn

type OverflowBetaClient_GetLatestBlock_Call

type OverflowBetaClient_GetLatestBlock_Call struct {
	*mock.Call
}

OverflowBetaClient_GetLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestBlock'

func (*OverflowBetaClient_GetLatestBlock_Call) Return

func (*OverflowBetaClient_GetLatestBlock_Call) Run

func (*OverflowBetaClient_GetLatestBlock_Call) RunAndReturn

type OverflowBetaClient_GetNetwork_Call

type OverflowBetaClient_GetNetwork_Call struct {
	*mock.Call
}

OverflowBetaClient_GetNetwork_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNetwork'

func (*OverflowBetaClient_GetNetwork_Call) Return

func (*OverflowBetaClient_GetNetwork_Call) Run

func (*OverflowBetaClient_GetNetwork_Call) RunAndReturn

type OverflowBetaClient_GetOverflowTransactionById_Call

type OverflowBetaClient_GetOverflowTransactionById_Call struct {
	*mock.Call
}

OverflowBetaClient_GetOverflowTransactionById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOverflowTransactionById'

func (*OverflowBetaClient_GetOverflowTransactionById_Call) Return

func (*OverflowBetaClient_GetOverflowTransactionById_Call) Run

type OverflowBetaClient_GetTransactionById_Call

type OverflowBetaClient_GetTransactionById_Call struct {
	*mock.Call
}

OverflowBetaClient_GetTransactionById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionById'

func (*OverflowBetaClient_GetTransactionById_Call) Return

func (*OverflowBetaClient_GetTransactionById_Call) Run

func (*OverflowBetaClient_GetTransactionById_Call) RunAndReturn

type OverflowBetaClient_GetTransactions_Call

type OverflowBetaClient_GetTransactions_Call struct {
	*mock.Call
}

OverflowBetaClient_GetTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactions'

func (*OverflowBetaClient_GetTransactions_Call) Return

func (*OverflowBetaClient_GetTransactions_Call) Run

type OverflowBetaClient_MintFlowTokens_Call

type OverflowBetaClient_MintFlowTokens_Call struct {
	*mock.Call
}

OverflowBetaClient_MintFlowTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MintFlowTokens'

func (*OverflowBetaClient_MintFlowTokens_Call) Return

func (*OverflowBetaClient_MintFlowTokens_Call) Run

func (*OverflowBetaClient_MintFlowTokens_Call) RunAndReturn

type OverflowBetaClient_QualifiedIdentifierFromSnakeCase_Call

type OverflowBetaClient_QualifiedIdentifierFromSnakeCase_Call struct {
	*mock.Call
}

OverflowBetaClient_QualifiedIdentifierFromSnakeCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QualifiedIdentifierFromSnakeCase'

func (*OverflowBetaClient_QualifiedIdentifierFromSnakeCase_Call) Return

func (*OverflowBetaClient_QualifiedIdentifierFromSnakeCase_Call) Run

func (*OverflowBetaClient_QualifiedIdentifierFromSnakeCase_Call) RunAndReturn

type OverflowBetaClient_QualifiedIdentifier_Call

type OverflowBetaClient_QualifiedIdentifier_Call struct {
	*mock.Call
}

OverflowBetaClient_QualifiedIdentifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QualifiedIdentifier'

func (*OverflowBetaClient_QualifiedIdentifier_Call) Return

func (*OverflowBetaClient_QualifiedIdentifier_Call) Run

func (*OverflowBetaClient_QualifiedIdentifier_Call) RunAndReturn

type OverflowBetaClient_ScriptFN_Call

type OverflowBetaClient_ScriptFN_Call struct {
	*mock.Call
}

OverflowBetaClient_ScriptFN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptFN'

func (*OverflowBetaClient_ScriptFN_Call) Return

func (*OverflowBetaClient_ScriptFN_Call) Run

type OverflowBetaClient_ScriptFileNameFN_Call

type OverflowBetaClient_ScriptFileNameFN_Call struct {
	*mock.Call
}

OverflowBetaClient_ScriptFileNameFN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptFileNameFN'

func (*OverflowBetaClient_ScriptFileNameFN_Call) Run

type OverflowBetaClient_Script_Call

type OverflowBetaClient_Script_Call struct {
	*mock.Call
}

OverflowBetaClient_Script_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Script'

func (*OverflowBetaClient_Script_Call) Return

func (*OverflowBetaClient_Script_Call) Run

type OverflowBetaClient_SignUserMessage_Call

type OverflowBetaClient_SignUserMessage_Call struct {
	*mock.Call
}

OverflowBetaClient_SignUserMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignUserMessage'

func (*OverflowBetaClient_SignUserMessage_Call) Return

func (*OverflowBetaClient_SignUserMessage_Call) Run

func (*OverflowBetaClient_SignUserMessage_Call) RunAndReturn

type OverflowBetaClient_StreamTransactions_Call

type OverflowBetaClient_StreamTransactions_Call struct {
	*mock.Call
}

OverflowBetaClient_StreamTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamTransactions'

func (*OverflowBetaClient_StreamTransactions_Call) Return

func (*OverflowBetaClient_StreamTransactions_Call) Run

func (*OverflowBetaClient_StreamTransactions_Call) RunAndReturn

type OverflowBetaClient_TxFN_Call

type OverflowBetaClient_TxFN_Call struct {
	*mock.Call
}

OverflowBetaClient_TxFN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxFN'

func (*OverflowBetaClient_TxFN_Call) Return

func (*OverflowBetaClient_TxFN_Call) Run

type OverflowBetaClient_TxFileNameFN_Call

type OverflowBetaClient_TxFileNameFN_Call struct {
	*mock.Call
}

OverflowBetaClient_TxFileNameFN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxFileNameFN'

func (*OverflowBetaClient_TxFileNameFN_Call) Run

type OverflowBetaClient_Tx_Call

type OverflowBetaClient_Tx_Call struct {
	*mock.Call
}

OverflowBetaClient_Tx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tx'

func (*OverflowBetaClient_Tx_Call) Return

func (*OverflowBetaClient_Tx_Call) Run

func (*OverflowBetaClient_Tx_Call) RunAndReturn

type OverflowBetaClient_UploadFile_Call

type OverflowBetaClient_UploadFile_Call struct {
	*mock.Call
}

OverflowBetaClient_UploadFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadFile'

func (*OverflowBetaClient_UploadFile_Call) Return

func (*OverflowBetaClient_UploadFile_Call) Run

func (_c *OverflowBetaClient_UploadFile_Call) Run(run func(filename string, accountName string)) *OverflowBetaClient_UploadFile_Call

func (*OverflowBetaClient_UploadFile_Call) RunAndReturn

type OverflowBetaClient_UploadImageAsDataUrl_Call

type OverflowBetaClient_UploadImageAsDataUrl_Call struct {
	*mock.Call
}

OverflowBetaClient_UploadImageAsDataUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadImageAsDataUrl'

func (*OverflowBetaClient_UploadImageAsDataUrl_Call) Return

func (*OverflowBetaClient_UploadImageAsDataUrl_Call) Run

func (*OverflowBetaClient_UploadImageAsDataUrl_Call) RunAndReturn

type OverflowBetaClient_UploadString_Call

type OverflowBetaClient_UploadString_Call struct {
	*mock.Call
}

OverflowBetaClient_UploadString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadString'

func (*OverflowBetaClient_UploadString_Call) Return

func (*OverflowBetaClient_UploadString_Call) Run

func (*OverflowBetaClient_UploadString_Call) RunAndReturn

type OverflowClient

type OverflowClient struct {
	mock.Mock
}

OverflowClient is an autogenerated mock type for the OverflowClient type

func NewOverflowClient

func NewOverflowClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *OverflowClient

NewOverflowClient creates a new instance of OverflowClient. 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 (*OverflowClient) Account

func (_m *OverflowClient) Account(key string) *accounts.Account

Account provides a mock function with given fields: key

func (*OverflowClient) AccountE

func (_m *OverflowClient) AccountE(key string) (*accounts.Account, error)

AccountE provides a mock function with given fields: key

func (*OverflowClient) AccountPublicKey added in v1.14.0

func (_m *OverflowClient) AccountPublicKey(name string) (string, error)

AccountPublicKey provides a mock function with given fields: name

func (*OverflowClient) AddContract

func (_m *OverflowClient) AddContract(ctx context.Context, name string, code []byte, args []cadence.Value, filename string, update bool) error

AddContract provides a mock function with given fields: ctx, name, code, args, filename, update

func (*OverflowClient) Address

func (_m *OverflowClient) Address(key string) string

Address provides a mock function with given fields: key

func (*OverflowClient) DownloadAndUploadFile

func (_m *OverflowClient) DownloadAndUploadFile(url string, accountName string) error

DownloadAndUploadFile provides a mock function with given fields: url, accountName

func (*OverflowClient) DownloadImageAndUploadAsDataUrl

func (_m *OverflowClient) DownloadImageAndUploadAsDataUrl(url string, accountName string) error

DownloadImageAndUploadAsDataUrl provides a mock function with given fields: url, accountName

func (*OverflowClient) EXPECT

func (*OverflowClient) FetchEventsWithResult

FetchEventsWithResult provides a mock function with given fields: opts

func (*OverflowClient) FillUpStorage

func (_m *OverflowClient) FillUpStorage(accountName string) *overflow.OverflowState

FillUpStorage provides a mock function with given fields: accountName

func (*OverflowClient) GetAccount

func (_m *OverflowClient) GetAccount(ctx context.Context, key string) (*flow.Account, error)

GetAccount provides a mock function with given fields: ctx, key

func (*OverflowClient) GetBlockAtHeight

func (_m *OverflowClient) GetBlockAtHeight(ctx context.Context, height uint64) (*flow.Block, error)

GetBlockAtHeight provides a mock function with given fields: ctx, height

func (*OverflowClient) GetBlockById

func (_m *OverflowClient) GetBlockById(ctx context.Context, blockId string) (*flow.Block, error)

GetBlockById provides a mock function with given fields: ctx, blockId

func (*OverflowClient) GetFreeCapacity

func (_m *OverflowClient) GetFreeCapacity(accountName string) int

GetFreeCapacity provides a mock function with given fields: accountName

func (*OverflowClient) GetLatestBlock

func (_m *OverflowClient) GetLatestBlock(ctx context.Context) (*flow.Block, error)

GetLatestBlock provides a mock function with given fields: ctx

func (*OverflowClient) GetNetwork

func (_m *OverflowClient) GetNetwork() string

GetNetwork provides a mock function with given fields:

func (*OverflowClient) MintFlowTokens

func (_m *OverflowClient) MintFlowTokens(accountName string, amount float64) *overflow.OverflowState

MintFlowTokens provides a mock function with given fields: accountName, amount

func (*OverflowClient) QualifiedIdentifier

func (_m *OverflowClient) QualifiedIdentifier(contract string, name string) (string, error)

QualifiedIdentifier provides a mock function with given fields: contract, name

func (*OverflowClient) QualifiedIdentifierFromSnakeCase

func (_m *OverflowClient) QualifiedIdentifierFromSnakeCase(typeName string) (string, error)

QualifiedIdentifierFromSnakeCase provides a mock function with given fields: typeName

func (*OverflowClient) Script

Script provides a mock function with given fields: filename, opts

func (*OverflowClient) ScriptFN

ScriptFN provides a mock function with given fields: outerOpts

func (*OverflowClient) ScriptFileNameFN

func (_m *OverflowClient) ScriptFileNameFN(filename string, outerOpts ...overflow.OverflowInteractionOption) overflow.OverflowScriptOptsFunction

ScriptFileNameFN provides a mock function with given fields: filename, outerOpts

func (*OverflowClient) SignUserMessage

func (_m *OverflowClient) SignUserMessage(account string, message string) (string, error)

SignUserMessage provides a mock function with given fields: account, message

func (*OverflowClient) Tx

Tx provides a mock function with given fields: filename, opts

func (*OverflowClient) TxFN

TxFN provides a mock function with given fields: outerOpts

func (*OverflowClient) TxFileNameFN

TxFileNameFN provides a mock function with given fields: filename, outerOpts

func (*OverflowClient) UploadFile

func (_m *OverflowClient) UploadFile(filename string, accountName string) error

UploadFile provides a mock function with given fields: filename, accountName

func (*OverflowClient) UploadImageAsDataUrl

func (_m *OverflowClient) UploadImageAsDataUrl(filename string, accountName string) error

UploadImageAsDataUrl provides a mock function with given fields: filename, accountName

func (*OverflowClient) UploadString

func (_m *OverflowClient) UploadString(content string, accountName string) error

UploadString provides a mock function with given fields: content, accountName

type OverflowClient_AccountE_Call

type OverflowClient_AccountE_Call struct {
	*mock.Call
}

OverflowClient_AccountE_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountE'

func (*OverflowClient_AccountE_Call) Return

func (*OverflowClient_AccountE_Call) Run

func (*OverflowClient_AccountE_Call) RunAndReturn

type OverflowClient_AccountPublicKey_Call added in v1.14.0

type OverflowClient_AccountPublicKey_Call struct {
	*mock.Call
}

OverflowClient_AccountPublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountPublicKey'

func (*OverflowClient_AccountPublicKey_Call) Return added in v1.14.0

func (*OverflowClient_AccountPublicKey_Call) Run added in v1.14.0

func (*OverflowClient_AccountPublicKey_Call) RunAndReturn added in v1.14.0

type OverflowClient_Account_Call

type OverflowClient_Account_Call struct {
	*mock.Call
}

OverflowClient_Account_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Account'

func (*OverflowClient_Account_Call) Return

func (*OverflowClient_Account_Call) Run

func (*OverflowClient_Account_Call) RunAndReturn

type OverflowClient_AddContract_Call

type OverflowClient_AddContract_Call struct {
	*mock.Call
}

OverflowClient_AddContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddContract'

func (*OverflowClient_AddContract_Call) Return

func (*OverflowClient_AddContract_Call) Run

func (_c *OverflowClient_AddContract_Call) Run(run func(ctx context.Context, name string, code []byte, args []cadence.Value, filename string, update bool)) *OverflowClient_AddContract_Call

func (*OverflowClient_AddContract_Call) RunAndReturn

type OverflowClient_Address_Call

type OverflowClient_Address_Call struct {
	*mock.Call
}

OverflowClient_Address_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Address'

func (*OverflowClient_Address_Call) Return

func (*OverflowClient_Address_Call) Run

func (*OverflowClient_Address_Call) RunAndReturn

type OverflowClient_DownloadAndUploadFile_Call

type OverflowClient_DownloadAndUploadFile_Call struct {
	*mock.Call
}

OverflowClient_DownloadAndUploadFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAndUploadFile'

func (*OverflowClient_DownloadAndUploadFile_Call) Return

func (*OverflowClient_DownloadAndUploadFile_Call) Run

func (*OverflowClient_DownloadAndUploadFile_Call) RunAndReturn

type OverflowClient_DownloadImageAndUploadAsDataUrl_Call

type OverflowClient_DownloadImageAndUploadAsDataUrl_Call struct {
	*mock.Call
}

OverflowClient_DownloadImageAndUploadAsDataUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadImageAndUploadAsDataUrl'

func (*OverflowClient_DownloadImageAndUploadAsDataUrl_Call) Return

func (*OverflowClient_DownloadImageAndUploadAsDataUrl_Call) Run

func (*OverflowClient_DownloadImageAndUploadAsDataUrl_Call) RunAndReturn

type OverflowClient_Expecter

type OverflowClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*OverflowClient_Expecter) Account

func (_e *OverflowClient_Expecter) Account(key interface{}) *OverflowClient_Account_Call

Account is a helper method to define mock.On call

  • key string

func (*OverflowClient_Expecter) AccountE

func (_e *OverflowClient_Expecter) AccountE(key interface{}) *OverflowClient_AccountE_Call

AccountE is a helper method to define mock.On call

  • key string

func (*OverflowClient_Expecter) AccountPublicKey added in v1.14.0

func (_e *OverflowClient_Expecter) AccountPublicKey(name interface{}) *OverflowClient_AccountPublicKey_Call

AccountPublicKey is a helper method to define mock.On call

  • name string

func (*OverflowClient_Expecter) AddContract

func (_e *OverflowClient_Expecter) AddContract(ctx interface{}, name interface{}, code interface{}, args interface{}, filename interface{}, update interface{}) *OverflowClient_AddContract_Call

AddContract is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • code []byte
  • args []cadence.Value
  • filename string
  • update bool

func (*OverflowClient_Expecter) Address

func (_e *OverflowClient_Expecter) Address(key interface{}) *OverflowClient_Address_Call

Address is a helper method to define mock.On call

  • key string

func (*OverflowClient_Expecter) DownloadAndUploadFile

func (_e *OverflowClient_Expecter) DownloadAndUploadFile(url interface{}, accountName interface{}) *OverflowClient_DownloadAndUploadFile_Call

DownloadAndUploadFile is a helper method to define mock.On call

  • url string
  • accountName string

func (*OverflowClient_Expecter) DownloadImageAndUploadAsDataUrl

func (_e *OverflowClient_Expecter) DownloadImageAndUploadAsDataUrl(url interface{}, accountName interface{}) *OverflowClient_DownloadImageAndUploadAsDataUrl_Call

DownloadImageAndUploadAsDataUrl is a helper method to define mock.On call

  • url string
  • accountName string

func (*OverflowClient_Expecter) FetchEventsWithResult

func (_e *OverflowClient_Expecter) FetchEventsWithResult(opts ...interface{}) *OverflowClient_FetchEventsWithResult_Call

FetchEventsWithResult is a helper method to define mock.On call

  • opts ...overflow.OverflowEventFetcherOption

func (*OverflowClient_Expecter) FillUpStorage

func (_e *OverflowClient_Expecter) FillUpStorage(accountName interface{}) *OverflowClient_FillUpStorage_Call

FillUpStorage is a helper method to define mock.On call

  • accountName string

func (*OverflowClient_Expecter) GetAccount

func (_e *OverflowClient_Expecter) GetAccount(ctx interface{}, key interface{}) *OverflowClient_GetAccount_Call

GetAccount is a helper method to define mock.On call

  • ctx context.Context
  • key string

func (*OverflowClient_Expecter) GetBlockAtHeight

func (_e *OverflowClient_Expecter) GetBlockAtHeight(ctx interface{}, height interface{}) *OverflowClient_GetBlockAtHeight_Call

GetBlockAtHeight is a helper method to define mock.On call

  • ctx context.Context
  • height uint64

func (*OverflowClient_Expecter) GetBlockById

func (_e *OverflowClient_Expecter) GetBlockById(ctx interface{}, blockId interface{}) *OverflowClient_GetBlockById_Call

GetBlockById is a helper method to define mock.On call

  • ctx context.Context
  • blockId string

func (*OverflowClient_Expecter) GetFreeCapacity

func (_e *OverflowClient_Expecter) GetFreeCapacity(accountName interface{}) *OverflowClient_GetFreeCapacity_Call

GetFreeCapacity is a helper method to define mock.On call

  • accountName string

func (*OverflowClient_Expecter) GetLatestBlock

func (_e *OverflowClient_Expecter) GetLatestBlock(ctx interface{}) *OverflowClient_GetLatestBlock_Call

GetLatestBlock is a helper method to define mock.On call

  • ctx context.Context

func (*OverflowClient_Expecter) GetNetwork

GetNetwork is a helper method to define mock.On call

func (*OverflowClient_Expecter) MintFlowTokens

func (_e *OverflowClient_Expecter) MintFlowTokens(accountName interface{}, amount interface{}) *OverflowClient_MintFlowTokens_Call

MintFlowTokens is a helper method to define mock.On call

  • accountName string
  • amount float64

func (*OverflowClient_Expecter) QualifiedIdentifier

func (_e *OverflowClient_Expecter) QualifiedIdentifier(contract interface{}, name interface{}) *OverflowClient_QualifiedIdentifier_Call

QualifiedIdentifier is a helper method to define mock.On call

  • contract string
  • name string

func (*OverflowClient_Expecter) QualifiedIdentifierFromSnakeCase

func (_e *OverflowClient_Expecter) QualifiedIdentifierFromSnakeCase(typeName interface{}) *OverflowClient_QualifiedIdentifierFromSnakeCase_Call

QualifiedIdentifierFromSnakeCase is a helper method to define mock.On call

  • typeName string

func (*OverflowClient_Expecter) Script

func (_e *OverflowClient_Expecter) Script(filename interface{}, opts ...interface{}) *OverflowClient_Script_Call

Script is a helper method to define mock.On call

  • filename string
  • opts ...overflow.OverflowInteractionOption

func (*OverflowClient_Expecter) ScriptFN

func (_e *OverflowClient_Expecter) ScriptFN(outerOpts ...interface{}) *OverflowClient_ScriptFN_Call

ScriptFN is a helper method to define mock.On call

  • outerOpts ...overflow.OverflowInteractionOption

func (*OverflowClient_Expecter) ScriptFileNameFN

func (_e *OverflowClient_Expecter) ScriptFileNameFN(filename interface{}, outerOpts ...interface{}) *OverflowClient_ScriptFileNameFN_Call

ScriptFileNameFN is a helper method to define mock.On call

  • filename string
  • outerOpts ...overflow.OverflowInteractionOption

func (*OverflowClient_Expecter) SignUserMessage

func (_e *OverflowClient_Expecter) SignUserMessage(account interface{}, message interface{}) *OverflowClient_SignUserMessage_Call

SignUserMessage is a helper method to define mock.On call

  • account string
  • message string

func (*OverflowClient_Expecter) Tx

func (_e *OverflowClient_Expecter) Tx(filename interface{}, opts ...interface{}) *OverflowClient_Tx_Call

Tx is a helper method to define mock.On call

  • filename string
  • opts ...overflow.OverflowInteractionOption

func (*OverflowClient_Expecter) TxFN

func (_e *OverflowClient_Expecter) TxFN(outerOpts ...interface{}) *OverflowClient_TxFN_Call

TxFN is a helper method to define mock.On call

  • outerOpts ...overflow.OverflowInteractionOption

func (*OverflowClient_Expecter) TxFileNameFN

func (_e *OverflowClient_Expecter) TxFileNameFN(filename interface{}, outerOpts ...interface{}) *OverflowClient_TxFileNameFN_Call

TxFileNameFN is a helper method to define mock.On call

  • filename string
  • outerOpts ...overflow.OverflowInteractionOption

func (*OverflowClient_Expecter) UploadFile

func (_e *OverflowClient_Expecter) UploadFile(filename interface{}, accountName interface{}) *OverflowClient_UploadFile_Call

UploadFile is a helper method to define mock.On call

  • filename string
  • accountName string

func (*OverflowClient_Expecter) UploadImageAsDataUrl

func (_e *OverflowClient_Expecter) UploadImageAsDataUrl(filename interface{}, accountName interface{}) *OverflowClient_UploadImageAsDataUrl_Call

UploadImageAsDataUrl is a helper method to define mock.On call

  • filename string
  • accountName string

func (*OverflowClient_Expecter) UploadString

func (_e *OverflowClient_Expecter) UploadString(content interface{}, accountName interface{}) *OverflowClient_UploadString_Call

UploadString is a helper method to define mock.On call

  • content string
  • accountName string

type OverflowClient_FetchEventsWithResult_Call

type OverflowClient_FetchEventsWithResult_Call struct {
	*mock.Call
}

OverflowClient_FetchEventsWithResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FetchEventsWithResult'

func (*OverflowClient_FetchEventsWithResult_Call) Return

func (*OverflowClient_FetchEventsWithResult_Call) Run

type OverflowClient_FillUpStorage_Call

type OverflowClient_FillUpStorage_Call struct {
	*mock.Call
}

OverflowClient_FillUpStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FillUpStorage'

func (*OverflowClient_FillUpStorage_Call) Return

func (*OverflowClient_FillUpStorage_Call) Run

func (*OverflowClient_FillUpStorage_Call) RunAndReturn

type OverflowClient_GetAccount_Call

type OverflowClient_GetAccount_Call struct {
	*mock.Call
}

OverflowClient_GetAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccount'

func (*OverflowClient_GetAccount_Call) Return

func (*OverflowClient_GetAccount_Call) Run

func (*OverflowClient_GetAccount_Call) RunAndReturn

type OverflowClient_GetBlockAtHeight_Call

type OverflowClient_GetBlockAtHeight_Call struct {
	*mock.Call
}

OverflowClient_GetBlockAtHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockAtHeight'

func (*OverflowClient_GetBlockAtHeight_Call) Return

func (*OverflowClient_GetBlockAtHeight_Call) Run

func (*OverflowClient_GetBlockAtHeight_Call) RunAndReturn

type OverflowClient_GetBlockById_Call

type OverflowClient_GetBlockById_Call struct {
	*mock.Call
}

OverflowClient_GetBlockById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockById'

func (*OverflowClient_GetBlockById_Call) Return

func (*OverflowClient_GetBlockById_Call) Run

func (*OverflowClient_GetBlockById_Call) RunAndReturn

type OverflowClient_GetFreeCapacity_Call

type OverflowClient_GetFreeCapacity_Call struct {
	*mock.Call
}

OverflowClient_GetFreeCapacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFreeCapacity'

func (*OverflowClient_GetFreeCapacity_Call) Return

func (*OverflowClient_GetFreeCapacity_Call) Run

func (*OverflowClient_GetFreeCapacity_Call) RunAndReturn

type OverflowClient_GetLatestBlock_Call

type OverflowClient_GetLatestBlock_Call struct {
	*mock.Call
}

OverflowClient_GetLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestBlock'

func (*OverflowClient_GetLatestBlock_Call) Return

func (*OverflowClient_GetLatestBlock_Call) Run

func (*OverflowClient_GetLatestBlock_Call) RunAndReturn

type OverflowClient_GetNetwork_Call

type OverflowClient_GetNetwork_Call struct {
	*mock.Call
}

OverflowClient_GetNetwork_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNetwork'

func (*OverflowClient_GetNetwork_Call) Return

func (*OverflowClient_GetNetwork_Call) Run

func (*OverflowClient_GetNetwork_Call) RunAndReturn

type OverflowClient_MintFlowTokens_Call

type OverflowClient_MintFlowTokens_Call struct {
	*mock.Call
}

OverflowClient_MintFlowTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MintFlowTokens'

func (*OverflowClient_MintFlowTokens_Call) Return

func (*OverflowClient_MintFlowTokens_Call) Run

func (*OverflowClient_MintFlowTokens_Call) RunAndReturn

type OverflowClient_QualifiedIdentifierFromSnakeCase_Call

type OverflowClient_QualifiedIdentifierFromSnakeCase_Call struct {
	*mock.Call
}

OverflowClient_QualifiedIdentifierFromSnakeCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QualifiedIdentifierFromSnakeCase'

func (*OverflowClient_QualifiedIdentifierFromSnakeCase_Call) Return

func (*OverflowClient_QualifiedIdentifierFromSnakeCase_Call) Run

func (*OverflowClient_QualifiedIdentifierFromSnakeCase_Call) RunAndReturn

type OverflowClient_QualifiedIdentifier_Call

type OverflowClient_QualifiedIdentifier_Call struct {
	*mock.Call
}

OverflowClient_QualifiedIdentifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QualifiedIdentifier'

func (*OverflowClient_QualifiedIdentifier_Call) Return

func (*OverflowClient_QualifiedIdentifier_Call) Run

func (*OverflowClient_QualifiedIdentifier_Call) RunAndReturn

type OverflowClient_ScriptFN_Call

type OverflowClient_ScriptFN_Call struct {
	*mock.Call
}

OverflowClient_ScriptFN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptFN'

func (*OverflowClient_ScriptFN_Call) Return

func (*OverflowClient_ScriptFN_Call) Run

type OverflowClient_ScriptFileNameFN_Call

type OverflowClient_ScriptFileNameFN_Call struct {
	*mock.Call
}

OverflowClient_ScriptFileNameFN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScriptFileNameFN'

func (*OverflowClient_ScriptFileNameFN_Call) Return

func (*OverflowClient_ScriptFileNameFN_Call) Run

type OverflowClient_Script_Call

type OverflowClient_Script_Call struct {
	*mock.Call
}

OverflowClient_Script_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Script'

func (*OverflowClient_Script_Call) Return

func (*OverflowClient_Script_Call) Run

type OverflowClient_SignUserMessage_Call

type OverflowClient_SignUserMessage_Call struct {
	*mock.Call
}

OverflowClient_SignUserMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignUserMessage'

func (*OverflowClient_SignUserMessage_Call) Return

func (*OverflowClient_SignUserMessage_Call) Run

func (*OverflowClient_SignUserMessage_Call) RunAndReturn

type OverflowClient_TxFN_Call

type OverflowClient_TxFN_Call struct {
	*mock.Call
}

OverflowClient_TxFN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxFN'

func (*OverflowClient_TxFN_Call) Return

func (*OverflowClient_TxFN_Call) Run

type OverflowClient_TxFileNameFN_Call

type OverflowClient_TxFileNameFN_Call struct {
	*mock.Call
}

OverflowClient_TxFileNameFN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxFileNameFN'

func (*OverflowClient_TxFileNameFN_Call) Run

type OverflowClient_Tx_Call

type OverflowClient_Tx_Call struct {
	*mock.Call
}

OverflowClient_Tx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tx'

func (*OverflowClient_Tx_Call) Return

func (*OverflowClient_Tx_Call) Run

func (*OverflowClient_Tx_Call) RunAndReturn

type OverflowClient_UploadFile_Call

type OverflowClient_UploadFile_Call struct {
	*mock.Call
}

OverflowClient_UploadFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadFile'

func (*OverflowClient_UploadFile_Call) Return

func (*OverflowClient_UploadFile_Call) Run

func (_c *OverflowClient_UploadFile_Call) Run(run func(filename string, accountName string)) *OverflowClient_UploadFile_Call

func (*OverflowClient_UploadFile_Call) RunAndReturn

type OverflowClient_UploadImageAsDataUrl_Call

type OverflowClient_UploadImageAsDataUrl_Call struct {
	*mock.Call
}

OverflowClient_UploadImageAsDataUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadImageAsDataUrl'

func (*OverflowClient_UploadImageAsDataUrl_Call) Return

func (*OverflowClient_UploadImageAsDataUrl_Call) Run

func (*OverflowClient_UploadImageAsDataUrl_Call) RunAndReturn

type OverflowClient_UploadString_Call

type OverflowClient_UploadString_Call struct {
	*mock.Call
}

OverflowClient_UploadString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadString'

func (*OverflowClient_UploadString_Call) Return

func (*OverflowClient_UploadString_Call) Run

func (_c *OverflowClient_UploadString_Call) Run(run func(content string, accountName string)) *OverflowClient_UploadString_Call

func (*OverflowClient_UploadString_Call) RunAndReturn

Jump to

Keyboard shortcuts

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