metadata_api

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 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 MockMetadataApiClient

type MockMetadataApiClient struct {
	mock.Mock
}

MockMetadataApiClient is an autogenerated mock type for the MetadataApiClient type

func NewMockMetadataApiClient

func NewMockMetadataApiClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockMetadataApiClient

NewMockMetadataApiClient creates a new instance of MockMetadataApiClient. 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 (*MockMetadataApiClient) EXPECT

func (*MockMetadataApiClient) GetPayerInfo added in v0.5.0

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

func (*MockMetadataApiClient) GetSyncCursor

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

func (*MockMetadataApiClient) GetVersion added in v0.5.0

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

func (*MockMetadataApiClient) SubscribeSyncCursor

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

type MockMetadataApiClient_Expecter

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

func (*MockMetadataApiClient_Expecter) GetPayerInfo added in v0.5.0

func (_e *MockMetadataApiClient_Expecter) GetPayerInfo(ctx interface{}, in interface{}, opts ...interface{}) *MockMetadataApiClient_GetPayerInfo_Call

GetPayerInfo is a helper method to define mock.On call

  • ctx context.Context
  • in *metadata_api.GetPayerInfoRequest
  • opts ...grpc.CallOption

func (*MockMetadataApiClient_Expecter) GetSyncCursor

func (_e *MockMetadataApiClient_Expecter) GetSyncCursor(ctx interface{}, in interface{}, opts ...interface{}) *MockMetadataApiClient_GetSyncCursor_Call

GetSyncCursor is a helper method to define mock.On call

  • ctx context.Context
  • in *metadata_api.GetSyncCursorRequest
  • opts ...grpc.CallOption

func (*MockMetadataApiClient_Expecter) GetVersion added in v0.5.0

func (_e *MockMetadataApiClient_Expecter) GetVersion(ctx interface{}, in interface{}, opts ...interface{}) *MockMetadataApiClient_GetVersion_Call

GetVersion is a helper method to define mock.On call

  • ctx context.Context
  • in *metadata_api.GetVersionRequest
  • opts ...grpc.CallOption

func (*MockMetadataApiClient_Expecter) SubscribeSyncCursor

func (_e *MockMetadataApiClient_Expecter) SubscribeSyncCursor(ctx interface{}, in interface{}, opts ...interface{}) *MockMetadataApiClient_SubscribeSyncCursor_Call

SubscribeSyncCursor is a helper method to define mock.On call

  • ctx context.Context
  • in *metadata_api.GetSyncCursorRequest
  • opts ...grpc.CallOption

type MockMetadataApiClient_GetPayerInfo_Call added in v0.5.0

type MockMetadataApiClient_GetPayerInfo_Call struct {
	*mock.Call
}

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

func (*MockMetadataApiClient_GetPayerInfo_Call) Return added in v0.5.0

func (*MockMetadataApiClient_GetPayerInfo_Call) Run added in v0.5.0

type MockMetadataApiClient_GetSyncCursor_Call

type MockMetadataApiClient_GetSyncCursor_Call struct {
	*mock.Call
}

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

func (*MockMetadataApiClient_GetSyncCursor_Call) Return

func (*MockMetadataApiClient_GetSyncCursor_Call) Run

type MockMetadataApiClient_GetVersion_Call added in v0.5.0

type MockMetadataApiClient_GetVersion_Call struct {
	*mock.Call
}

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

func (*MockMetadataApiClient_GetVersion_Call) Return added in v0.5.0

func (*MockMetadataApiClient_GetVersion_Call) Run added in v0.5.0

func (*MockMetadataApiClient_GetVersion_Call) RunAndReturn added in v0.5.0

type MockMetadataApiClient_SubscribeSyncCursor_Call

type MockMetadataApiClient_SubscribeSyncCursor_Call struct {
	*mock.Call
}

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

func (*MockMetadataApiClient_SubscribeSyncCursor_Call) Run

Jump to

Keyboard shortcuts

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