Documentation ¶
Index ¶
- type MockValidationApiClient
- func (_m *MockValidationApiClient) EXPECT() *MockValidationApiClient_Expecter
- func (_m *MockValidationApiClient) GetAssociationState(ctx context.Context, in *mls_validationv1.GetAssociationStateRequest, ...) (*mls_validationv1.GetAssociationStateResponse, error)
- func (_m *MockValidationApiClient) ValidateGroupMessages(ctx context.Context, in *mls_validationv1.ValidateGroupMessagesRequest, ...) (*mls_validationv1.ValidateGroupMessagesResponse, error)
- func (_m *MockValidationApiClient) ValidateInboxIdKeyPackages(ctx context.Context, in *mls_validationv1.ValidateKeyPackagesRequest, ...) (*mls_validationv1.ValidateInboxIdKeyPackagesResponse, error)
- func (_m *MockValidationApiClient) ValidateInboxIds(ctx context.Context, in *mls_validationv1.ValidateInboxIdsRequest, ...) (*mls_validationv1.ValidateInboxIdsResponse, error)
- func (_m *MockValidationApiClient) ValidateKeyPackages(ctx context.Context, in *mls_validationv1.ValidateKeyPackagesRequest, ...) (*mls_validationv1.ValidateKeyPackagesResponse, error)
- func (_m *MockValidationApiClient) VerifySmartContractWalletSignatures(ctx context.Context, in *apiv1.VerifySmartContractWalletSignaturesRequest, ...) (*apiv1.VerifySmartContractWalletSignaturesResponse, error)
- type MockValidationApiClient_Expecter
- func (_e *MockValidationApiClient_Expecter) GetAssociationState(ctx interface{}, in interface{}, opts ...interface{}) *MockValidationApiClient_GetAssociationState_Call
- func (_e *MockValidationApiClient_Expecter) ValidateGroupMessages(ctx interface{}, in interface{}, opts ...interface{}) *MockValidationApiClient_ValidateGroupMessages_Call
- func (_e *MockValidationApiClient_Expecter) ValidateInboxIdKeyPackages(ctx interface{}, in interface{}, opts ...interface{}) *MockValidationApiClient_ValidateInboxIdKeyPackages_Call
- func (_e *MockValidationApiClient_Expecter) ValidateInboxIds(ctx interface{}, in interface{}, opts ...interface{}) *MockValidationApiClient_ValidateInboxIds_Call
- func (_e *MockValidationApiClient_Expecter) ValidateKeyPackages(ctx interface{}, in interface{}, opts ...interface{}) *MockValidationApiClient_ValidateKeyPackages_Call
- func (_e *MockValidationApiClient_Expecter) VerifySmartContractWalletSignatures(ctx interface{}, in interface{}, opts ...interface{}) *MockValidationApiClient_VerifySmartContractWalletSignatures_Call
- type MockValidationApiClient_GetAssociationState_Call
- func (_c *MockValidationApiClient_GetAssociationState_Call) Return(_a0 *mls_validationv1.GetAssociationStateResponse, _a1 error) *MockValidationApiClient_GetAssociationState_Call
- func (_c *MockValidationApiClient_GetAssociationState_Call) Run(...) *MockValidationApiClient_GetAssociationState_Call
- func (_c *MockValidationApiClient_GetAssociationState_Call) RunAndReturn(...) *MockValidationApiClient_GetAssociationState_Call
- type MockValidationApiClient_ValidateGroupMessages_Call
- func (_c *MockValidationApiClient_ValidateGroupMessages_Call) Return(_a0 *mls_validationv1.ValidateGroupMessagesResponse, _a1 error) *MockValidationApiClient_ValidateGroupMessages_Call
- func (_c *MockValidationApiClient_ValidateGroupMessages_Call) Run(...) *MockValidationApiClient_ValidateGroupMessages_Call
- func (_c *MockValidationApiClient_ValidateGroupMessages_Call) RunAndReturn(...) *MockValidationApiClient_ValidateGroupMessages_Call
- type MockValidationApiClient_ValidateInboxIdKeyPackages_Call
- func (_c *MockValidationApiClient_ValidateInboxIdKeyPackages_Call) Return(_a0 *mls_validationv1.ValidateInboxIdKeyPackagesResponse, _a1 error) *MockValidationApiClient_ValidateInboxIdKeyPackages_Call
- func (_c *MockValidationApiClient_ValidateInboxIdKeyPackages_Call) Run(...) *MockValidationApiClient_ValidateInboxIdKeyPackages_Call
- func (_c *MockValidationApiClient_ValidateInboxIdKeyPackages_Call) RunAndReturn(...) *MockValidationApiClient_ValidateInboxIdKeyPackages_Call
- type MockValidationApiClient_ValidateInboxIds_Call
- func (_c *MockValidationApiClient_ValidateInboxIds_Call) Return(_a0 *mls_validationv1.ValidateInboxIdsResponse, _a1 error) *MockValidationApiClient_ValidateInboxIds_Call
- func (_c *MockValidationApiClient_ValidateInboxIds_Call) Run(...) *MockValidationApiClient_ValidateInboxIds_Call
- func (_c *MockValidationApiClient_ValidateInboxIds_Call) RunAndReturn(...) *MockValidationApiClient_ValidateInboxIds_Call
- type MockValidationApiClient_ValidateKeyPackages_Call
- func (_c *MockValidationApiClient_ValidateKeyPackages_Call) Return(_a0 *mls_validationv1.ValidateKeyPackagesResponse, _a1 error) *MockValidationApiClient_ValidateKeyPackages_Call
- func (_c *MockValidationApiClient_ValidateKeyPackages_Call) Run(...) *MockValidationApiClient_ValidateKeyPackages_Call
- func (_c *MockValidationApiClient_ValidateKeyPackages_Call) RunAndReturn(...) *MockValidationApiClient_ValidateKeyPackages_Call
- type MockValidationApiClient_VerifySmartContractWalletSignatures_Call
- func (_c *MockValidationApiClient_VerifySmartContractWalletSignatures_Call) Return(_a0 *apiv1.VerifySmartContractWalletSignaturesResponse, _a1 error) *MockValidationApiClient_VerifySmartContractWalletSignatures_Call
- func (_c *MockValidationApiClient_VerifySmartContractWalletSignatures_Call) Run(...) *MockValidationApiClient_VerifySmartContractWalletSignatures_Call
- func (_c *MockValidationApiClient_VerifySmartContractWalletSignatures_Call) RunAndReturn(...) *MockValidationApiClient_VerifySmartContractWalletSignatures_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockValidationApiClient ¶
MockValidationApiClient is an autogenerated mock type for the ValidationApiClient type
func NewMockValidationApiClient ¶
func NewMockValidationApiClient(t interface { mock.TestingT Cleanup(func()) }) *MockValidationApiClient
NewMockValidationApiClient creates a new instance of MockValidationApiClient. 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 (*MockValidationApiClient) EXPECT ¶
func (_m *MockValidationApiClient) EXPECT() *MockValidationApiClient_Expecter
func (*MockValidationApiClient) GetAssociationState ¶
func (_m *MockValidationApiClient) GetAssociationState(ctx context.Context, in *mls_validationv1.GetAssociationStateRequest, opts ...grpc.CallOption) (*mls_validationv1.GetAssociationStateResponse, error)
GetAssociationState provides a mock function with given fields: ctx, in, opts
func (*MockValidationApiClient) ValidateGroupMessages ¶
func (_m *MockValidationApiClient) ValidateGroupMessages(ctx context.Context, in *mls_validationv1.ValidateGroupMessagesRequest, opts ...grpc.CallOption) (*mls_validationv1.ValidateGroupMessagesResponse, error)
ValidateGroupMessages provides a mock function with given fields: ctx, in, opts
func (*MockValidationApiClient) ValidateInboxIdKeyPackages ¶
func (_m *MockValidationApiClient) ValidateInboxIdKeyPackages(ctx context.Context, in *mls_validationv1.ValidateKeyPackagesRequest, opts ...grpc.CallOption) (*mls_validationv1.ValidateInboxIdKeyPackagesResponse, error)
ValidateInboxIdKeyPackages provides a mock function with given fields: ctx, in, opts
func (*MockValidationApiClient) ValidateInboxIds ¶
func (_m *MockValidationApiClient) ValidateInboxIds(ctx context.Context, in *mls_validationv1.ValidateInboxIdsRequest, opts ...grpc.CallOption) (*mls_validationv1.ValidateInboxIdsResponse, error)
ValidateInboxIds provides a mock function with given fields: ctx, in, opts
func (*MockValidationApiClient) ValidateKeyPackages ¶
func (_m *MockValidationApiClient) ValidateKeyPackages(ctx context.Context, in *mls_validationv1.ValidateKeyPackagesRequest, opts ...grpc.CallOption) (*mls_validationv1.ValidateKeyPackagesResponse, error)
ValidateKeyPackages provides a mock function with given fields: ctx, in, opts
func (*MockValidationApiClient) VerifySmartContractWalletSignatures ¶
func (_m *MockValidationApiClient) VerifySmartContractWalletSignatures(ctx context.Context, in *apiv1.VerifySmartContractWalletSignaturesRequest, opts ...grpc.CallOption) (*apiv1.VerifySmartContractWalletSignaturesResponse, error)
VerifySmartContractWalletSignatures provides a mock function with given fields: ctx, in, opts
type MockValidationApiClient_Expecter ¶
type MockValidationApiClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockValidationApiClient_Expecter) GetAssociationState ¶
func (_e *MockValidationApiClient_Expecter) GetAssociationState(ctx interface{}, in interface{}, opts ...interface{}) *MockValidationApiClient_GetAssociationState_Call
GetAssociationState is a helper method to define mock.On call
- ctx context.Context
- in *mls_validationv1.GetAssociationStateRequest
- opts ...grpc.CallOption
func (*MockValidationApiClient_Expecter) ValidateGroupMessages ¶
func (_e *MockValidationApiClient_Expecter) ValidateGroupMessages(ctx interface{}, in interface{}, opts ...interface{}) *MockValidationApiClient_ValidateGroupMessages_Call
ValidateGroupMessages is a helper method to define mock.On call
- ctx context.Context
- in *mls_validationv1.ValidateGroupMessagesRequest
- opts ...grpc.CallOption
func (*MockValidationApiClient_Expecter) ValidateInboxIdKeyPackages ¶
func (_e *MockValidationApiClient_Expecter) ValidateInboxIdKeyPackages(ctx interface{}, in interface{}, opts ...interface{}) *MockValidationApiClient_ValidateInboxIdKeyPackages_Call
ValidateInboxIdKeyPackages is a helper method to define mock.On call
- ctx context.Context
- in *mls_validationv1.ValidateKeyPackagesRequest
- opts ...grpc.CallOption
func (*MockValidationApiClient_Expecter) ValidateInboxIds ¶
func (_e *MockValidationApiClient_Expecter) ValidateInboxIds(ctx interface{}, in interface{}, opts ...interface{}) *MockValidationApiClient_ValidateInboxIds_Call
ValidateInboxIds is a helper method to define mock.On call
- ctx context.Context
- in *mls_validationv1.ValidateInboxIdsRequest
- opts ...grpc.CallOption
func (*MockValidationApiClient_Expecter) ValidateKeyPackages ¶
func (_e *MockValidationApiClient_Expecter) ValidateKeyPackages(ctx interface{}, in interface{}, opts ...interface{}) *MockValidationApiClient_ValidateKeyPackages_Call
ValidateKeyPackages is a helper method to define mock.On call
- ctx context.Context
- in *mls_validationv1.ValidateKeyPackagesRequest
- opts ...grpc.CallOption
func (*MockValidationApiClient_Expecter) VerifySmartContractWalletSignatures ¶
func (_e *MockValidationApiClient_Expecter) VerifySmartContractWalletSignatures(ctx interface{}, in interface{}, opts ...interface{}) *MockValidationApiClient_VerifySmartContractWalletSignatures_Call
VerifySmartContractWalletSignatures is a helper method to define mock.On call
- ctx context.Context
- in *apiv1.VerifySmartContractWalletSignaturesRequest
- opts ...grpc.CallOption
type MockValidationApiClient_GetAssociationState_Call ¶
MockValidationApiClient_GetAssociationState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAssociationState'
func (*MockValidationApiClient_GetAssociationState_Call) Run ¶
func (_c *MockValidationApiClient_GetAssociationState_Call) Run(run func(ctx context.Context, in *mls_validationv1.GetAssociationStateRequest, opts ...grpc.CallOption)) *MockValidationApiClient_GetAssociationState_Call
func (*MockValidationApiClient_GetAssociationState_Call) RunAndReturn ¶
func (_c *MockValidationApiClient_GetAssociationState_Call) RunAndReturn(run func(context.Context, *mls_validationv1.GetAssociationStateRequest, ...grpc.CallOption) (*mls_validationv1.GetAssociationStateResponse, error)) *MockValidationApiClient_GetAssociationState_Call
type MockValidationApiClient_ValidateGroupMessages_Call ¶
MockValidationApiClient_ValidateGroupMessages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateGroupMessages'
func (*MockValidationApiClient_ValidateGroupMessages_Call) Run ¶
func (_c *MockValidationApiClient_ValidateGroupMessages_Call) Run(run func(ctx context.Context, in *mls_validationv1.ValidateGroupMessagesRequest, opts ...grpc.CallOption)) *MockValidationApiClient_ValidateGroupMessages_Call
func (*MockValidationApiClient_ValidateGroupMessages_Call) RunAndReturn ¶
func (_c *MockValidationApiClient_ValidateGroupMessages_Call) RunAndReturn(run func(context.Context, *mls_validationv1.ValidateGroupMessagesRequest, ...grpc.CallOption) (*mls_validationv1.ValidateGroupMessagesResponse, error)) *MockValidationApiClient_ValidateGroupMessages_Call
type MockValidationApiClient_ValidateInboxIdKeyPackages_Call ¶
MockValidationApiClient_ValidateInboxIdKeyPackages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateInboxIdKeyPackages'
func (*MockValidationApiClient_ValidateInboxIdKeyPackages_Call) Run ¶
func (_c *MockValidationApiClient_ValidateInboxIdKeyPackages_Call) Run(run func(ctx context.Context, in *mls_validationv1.ValidateKeyPackagesRequest, opts ...grpc.CallOption)) *MockValidationApiClient_ValidateInboxIdKeyPackages_Call
func (*MockValidationApiClient_ValidateInboxIdKeyPackages_Call) RunAndReturn ¶
type MockValidationApiClient_ValidateInboxIds_Call ¶
MockValidationApiClient_ValidateInboxIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateInboxIds'
func (*MockValidationApiClient_ValidateInboxIds_Call) Return ¶
func (_c *MockValidationApiClient_ValidateInboxIds_Call) Return(_a0 *mls_validationv1.ValidateInboxIdsResponse, _a1 error) *MockValidationApiClient_ValidateInboxIds_Call
func (*MockValidationApiClient_ValidateInboxIds_Call) Run ¶
func (_c *MockValidationApiClient_ValidateInboxIds_Call) Run(run func(ctx context.Context, in *mls_validationv1.ValidateInboxIdsRequest, opts ...grpc.CallOption)) *MockValidationApiClient_ValidateInboxIds_Call
func (*MockValidationApiClient_ValidateInboxIds_Call) RunAndReturn ¶
func (_c *MockValidationApiClient_ValidateInboxIds_Call) RunAndReturn(run func(context.Context, *mls_validationv1.ValidateInboxIdsRequest, ...grpc.CallOption) (*mls_validationv1.ValidateInboxIdsResponse, error)) *MockValidationApiClient_ValidateInboxIds_Call
type MockValidationApiClient_ValidateKeyPackages_Call ¶
MockValidationApiClient_ValidateKeyPackages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateKeyPackages'
func (*MockValidationApiClient_ValidateKeyPackages_Call) Run ¶
func (_c *MockValidationApiClient_ValidateKeyPackages_Call) Run(run func(ctx context.Context, in *mls_validationv1.ValidateKeyPackagesRequest, opts ...grpc.CallOption)) *MockValidationApiClient_ValidateKeyPackages_Call
func (*MockValidationApiClient_ValidateKeyPackages_Call) RunAndReturn ¶
func (_c *MockValidationApiClient_ValidateKeyPackages_Call) RunAndReturn(run func(context.Context, *mls_validationv1.ValidateKeyPackagesRequest, ...grpc.CallOption) (*mls_validationv1.ValidateKeyPackagesResponse, error)) *MockValidationApiClient_ValidateKeyPackages_Call
type MockValidationApiClient_VerifySmartContractWalletSignatures_Call ¶
MockValidationApiClient_VerifySmartContractWalletSignatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifySmartContractWalletSignatures'
func (*MockValidationApiClient_VerifySmartContractWalletSignatures_Call) Run ¶
func (_c *MockValidationApiClient_VerifySmartContractWalletSignatures_Call) Run(run func(ctx context.Context, in *apiv1.VerifySmartContractWalletSignaturesRequest, opts ...grpc.CallOption)) *MockValidationApiClient_VerifySmartContractWalletSignatures_Call
func (*MockValidationApiClient_VerifySmartContractWalletSignatures_Call) RunAndReturn ¶
func (_c *MockValidationApiClient_VerifySmartContractWalletSignatures_Call) RunAndReturn(run func(context.Context, *apiv1.VerifySmartContractWalletSignaturesRequest, ...grpc.CallOption) (*apiv1.VerifySmartContractWalletSignaturesResponse, error)) *MockValidationApiClient_VerifySmartContractWalletSignatures_Call