hyperlane

package
v1.15.30 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package hyperlane is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainStore

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

func NewChainStore

func NewChainStore(url string) *ChainStore

func (*ChainStore) All added in v1.15.24

func (cs *ChainStore) All() map[uint64]hyperlane.ChainMetadata

func (*ChainStore) Close

func (cs *ChainStore) Close() error

func (*ChainStore) Get

func (cs *ChainStore) Get(domainId uint64) (hyperlane.ChainMetadata, bool)

func (*ChainStore) Set

func (cs *ChainStore) Set(metadata map[uint64]hyperlane.ChainMetadata)

func (*ChainStore) Start

func (cs *ChainStore) Start(ctx context.Context)

type IChainStore

type IChainStore interface {
	io.Closer

	Start(ctx context.Context)
	Get(domainId uint64) (hyperlane.ChainMetadata, bool)
	Set(metadata map[uint64]hyperlane.ChainMetadata)
	All() map[uint64]hyperlane.ChainMetadata
}

type MockIChainStore

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

MockIChainStore is a mock of IChainStore interface.

func NewMockIChainStore

func NewMockIChainStore(ctrl *gomock.Controller) *MockIChainStore

NewMockIChainStore creates a new mock instance.

func (*MockIChainStore) All added in v1.15.24

All mocks base method.

func (*MockIChainStore) Close

func (m *MockIChainStore) Close() error

Close mocks base method.

func (*MockIChainStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIChainStore) Get

func (m *MockIChainStore) Get(domainId uint64) (hyperlane.ChainMetadata, bool)

Get mocks base method.

func (*MockIChainStore) Set

func (m *MockIChainStore) Set(metadata map[uint64]hyperlane.ChainMetadata)

Set mocks base method.

func (*MockIChainStore) Start

func (m *MockIChainStore) Start(ctx context.Context)

Start mocks base method.

type MockIChainStoreAllCall added in v1.15.24

type MockIChainStoreAllCall struct {
	*gomock.Call
}

MockIChainStoreAllCall wrap *gomock.Call

func (*MockIChainStoreAllCall) Do added in v1.15.24

Do rewrite *gomock.Call.Do

func (*MockIChainStoreAllCall) DoAndReturn added in v1.15.24

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIChainStoreAllCall) Return added in v1.15.24

Return rewrite *gomock.Call.Return

type MockIChainStoreCloseCall

type MockIChainStoreCloseCall struct {
	*gomock.Call
}

MockIChainStoreCloseCall wrap *gomock.Call

func (*MockIChainStoreCloseCall) Do

Do rewrite *gomock.Call.Do

func (*MockIChainStoreCloseCall) DoAndReturn

func (c *MockIChainStoreCloseCall) DoAndReturn(f func() error) *MockIChainStoreCloseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIChainStoreCloseCall) Return

Return rewrite *gomock.Call.Return

type MockIChainStoreGetCall

type MockIChainStoreGetCall struct {
	*gomock.Call
}

MockIChainStoreGetCall wrap *gomock.Call

func (*MockIChainStoreGetCall) Do

Do rewrite *gomock.Call.Do

func (*MockIChainStoreGetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIChainStoreGetCall) Return

Return rewrite *gomock.Call.Return

type MockIChainStoreMockRecorder

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

MockIChainStoreMockRecorder is the mock recorder for MockIChainStore.

func (*MockIChainStoreMockRecorder) All added in v1.15.24

All indicates an expected call of All.

func (*MockIChainStoreMockRecorder) Close

Close indicates an expected call of Close.

func (*MockIChainStoreMockRecorder) Get

Get indicates an expected call of Get.

func (*MockIChainStoreMockRecorder) Set

Set indicates an expected call of Set.

func (*MockIChainStoreMockRecorder) Start

Start indicates an expected call of Start.

type MockIChainStoreSetCall

type MockIChainStoreSetCall struct {
	*gomock.Call
}

MockIChainStoreSetCall wrap *gomock.Call

func (*MockIChainStoreSetCall) Do

Do rewrite *gomock.Call.Do

func (*MockIChainStoreSetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIChainStoreSetCall) Return

Return rewrite *gomock.Call.Return

type MockIChainStoreStartCall

type MockIChainStoreStartCall struct {
	*gomock.Call
}

MockIChainStoreStartCall wrap *gomock.Call

func (*MockIChainStoreStartCall) Do

Do rewrite *gomock.Call.Do

func (*MockIChainStoreStartCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIChainStoreStartCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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