mocks

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountInfo

type AccountInfo struct {
	mock.Mock
}

AccountInfo is an autogenerated mock type for the AccountInfo type

func NewAccountInfo

func NewAccountInfo(t mockConstructorTestingTNewAccountInfo) *AccountInfo

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

type BankClient

type BankClient struct {
	mock.Mock
}

BankClient is an autogenerated mock type for the BankClient type

func NewBankClient

func NewBankClient(t mockConstructorTestingTNewBankClient) *BankClient

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

func (*BankClient) AllBalances

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

func (*BankClient) Balance

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

func (*BankClient) DenomMetadata

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

func (*BankClient) DenomOwners

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

func (*BankClient) DenomsMetadata

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

func (*BankClient) Params

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

func (*BankClient) SendEnabled

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

func (*BankClient) SpendableBalanceByDenom

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

func (*BankClient) SpendableBalances

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

func (*BankClient) SupplyOf

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

func (*BankClient) TotalSupply

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

type Chain

type Chain struct {
	mock.Mock
}

Chain is an autogenerated mock type for the Chain type

func NewChain

func NewChain(t mockConstructorTestingTNewChain) *Chain

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

func (*Chain) AppTOMLPath

func (_m *Chain) AppTOMLPath() (string, error)

AppTOMLPath provides a mock function with given fields:

func (*Chain) CacheBinary

func (_m *Chain) CacheBinary(launchID uint64) error

CacheBinary provides a mock function with given fields: launchID

func (*Chain) ChainID

func (_m *Chain) ChainID() (string, error)

ChainID provides a mock function with given fields:

func (*Chain) ConfigTOMLPath

func (_m *Chain) ConfigTOMLPath() (string, error)

ConfigTOMLPath provides a mock function with given fields:

func (*Chain) DefaultGentxPath

func (_m *Chain) DefaultGentxPath() (string, error)

DefaultGentxPath provides a mock function with given fields:

func (*Chain) GenesisPath

func (_m *Chain) GenesisPath() (string, error)

GenesisPath provides a mock function with given fields:

func (*Chain) GentxsPath

func (_m *Chain) GentxsPath() (string, error)

GentxsPath provides a mock function with given fields:

func (*Chain) ID

func (_m *Chain) ID() (string, error)

ID provides a mock function with given fields:

func (*Chain) Name

func (_m *Chain) Name() string

Name provides a mock function with given fields:

func (*Chain) NodeID

func (_m *Chain) NodeID(ctx context.Context) (string, error)

NodeID provides a mock function with given fields: ctx

func (*Chain) SourceHash

func (_m *Chain) SourceHash() string

SourceHash provides a mock function with given fields:

func (*Chain) SourceURL

func (_m *Chain) SourceURL() string

SourceURL provides a mock function with given fields:

type CosmosClient

type CosmosClient struct {
	mock.Mock
}

CosmosClient is an autogenerated mock type for the CosmosClient type

func NewCosmosClient

func NewCosmosClient(t mockConstructorTestingTNewCosmosClient) *CosmosClient

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

func (*CosmosClient) BroadcastTx

func (_m *CosmosClient) BroadcastTx(ctx context.Context, account cosmosaccount.Account, msgs ...types.Msg) (cosmosclient.Response, error)

BroadcastTx provides a mock function with given fields: ctx, account, msgs

func (*CosmosClient) ConsensusInfo

func (_m *CosmosClient) ConsensusInfo(ctx context.Context, height int64) (cosmosclient.ConsensusInfo, error)

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

func (*CosmosClient) Context

func (_m *CosmosClient) Context() client.Context

Context provides a mock function with given fields:

func (*CosmosClient) Status

Status provides a mock function with given fields: ctx

type IBCClient

type IBCClient struct {
	mock.Mock
}

IBCClient is an autogenerated mock type for the QueryClient type

func NewIBCClient

func NewIBCClient(t testing.TB) *IBCClient

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

func (*IBCClient) ClientParams

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

func (*IBCClient) ClientState

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

func (*IBCClient) ClientStates

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

func (*IBCClient) ClientStatus

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

func (*IBCClient) ConsensusState

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

func (*IBCClient) ConsensusStates

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

func (*IBCClient) UpgradedClientState

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

func (*IBCClient) UpgradedConsensusState

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

type LaunchClient

type LaunchClient struct {
	mock.Mock
}

LaunchClient is an autogenerated mock type for the LaunchClient type

func NewLaunchClient

func NewLaunchClient(t mockConstructorTestingTNewLaunchClient) *LaunchClient

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

func (*LaunchClient) Chain

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

func (*LaunchClient) ChainAll

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

func (*LaunchClient) GenesisAccount

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

func (*LaunchClient) GenesisAccountAll

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

func (*LaunchClient) GenesisValidator

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

func (*LaunchClient) GenesisValidatorAll

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

func (*LaunchClient) ParamChangeAll

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

func (*LaunchClient) Params

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

func (*LaunchClient) Request

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

func (*LaunchClient) RequestAll

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

func (*LaunchClient) VestingAccount

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

func (*LaunchClient) VestingAccountAll

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

type MonitoringcClient

type MonitoringcClient struct {
	mock.Mock
}

MonitoringcClient is an autogenerated mock type for the QueryClient type

func NewMonitoringcClient

func NewMonitoringcClient(t testing.TB) *MonitoringcClient

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

func (*MonitoringcClient) LaunchIDFromChannelID

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

func (*MonitoringcClient) LaunchIDFromChannelIDAll

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

func (*MonitoringcClient) MonitoringHistory

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

func (*MonitoringcClient) Params

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

func (*MonitoringcClient) ProviderClientID

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

func (*MonitoringcClient) ProviderClientIDAll

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

func (*MonitoringcClient) VerifiedClientIds

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

type MonitoringpClient

type MonitoringpClient struct {
	mock.Mock
}

MonitoringpClient is an autogenerated mock type for the QueryClient type

func NewMonitoringpClient

func NewMonitoringpClient(t NewMonitoringpClientT) *MonitoringpClient

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

func (*MonitoringpClient) ConnectionChannelID

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

func (*MonitoringpClient) ConsumerClientID

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

func (*MonitoringpClient) MonitoringInfo

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

func (*MonitoringpClient) Params

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

type NewMonitoringpClientT

type NewMonitoringpClientT interface {
	mock.TestingT
	Cleanup(func())
}

type ProfileClient

type ProfileClient struct {
	mock.Mock
}

ProfileClient is an autogenerated mock type for the ProfileClient type

func NewProfileClient

func NewProfileClient(t mockConstructorTestingTNewProfileClient) *ProfileClient

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

func (*ProfileClient) Coordinator

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

func (*ProfileClient) CoordinatorAll

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

func (*ProfileClient) CoordinatorByAddress

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

func (*ProfileClient) Validator

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

func (*ProfileClient) ValidatorAll

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

func (*ProfileClient) ValidatorByOperatorAddress

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

type ProjectClient

type ProjectClient struct {
	mock.Mock
}

ProjectClient is an autogenerated mock type for the ProjectClient type

func NewProjectClient

func NewProjectClient(t mockConstructorTestingTNewProjectClient) *ProjectClient

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

func (*ProjectClient) MainnetAccount

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

func (*ProjectClient) MainnetAccountAll

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

func (*ProjectClient) MainnetAccountBalance

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

func (*ProjectClient) MainnetAccountBalanceAll

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

func (*ProjectClient) Params

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

func (*ProjectClient) Project

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

func (*ProjectClient) ProjectAll

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

func (*ProjectClient) ProjectChains

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

func (*ProjectClient) SpecialAllocationsBalance

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

func (*ProjectClient) TotalShares

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

type RewardClient

type RewardClient struct {
	mock.Mock
}

RewardClient is an autogenerated mock type for the RewardClient type

func NewRewardClient

func NewRewardClient(t mockConstructorTestingTNewRewardClient) *RewardClient

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

func (*RewardClient) Params

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

func (*RewardClient) RewardPool

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

func (*RewardClient) RewardPoolAll

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

type StakingClient

type StakingClient struct {
	mock.Mock
}

StakingClient is an autogenerated mock type for the StakingClient type

func NewStakingClient

func NewStakingClient(t mockConstructorTestingTNewStakingClient) *StakingClient

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

func (*StakingClient) Delegation

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

func (*StakingClient) DelegatorDelegations

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

func (*StakingClient) DelegatorUnbondingDelegations

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

func (*StakingClient) DelegatorValidator

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

func (*StakingClient) DelegatorValidators

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

func (*StakingClient) HistoricalInfo

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

func (*StakingClient) Params

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

func (*StakingClient) Pool

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

func (*StakingClient) Redelegations

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

func (*StakingClient) UnbondingDelegation

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

func (*StakingClient) Validator

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

func (*StakingClient) ValidatorDelegations

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

func (*StakingClient) ValidatorUnbondingDelegations

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

func (*StakingClient) Validators

Validators 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