Documentation
¶
Index ¶
- type QueryClient
- func (_m *QueryClient) AllProvidersAttributes(ctx context.Context, in *v1.QueryAllProvidersAttributesRequest, ...) (*v1.QueryProvidersResponse, error)
- func (_m *QueryClient) AuditorAttributes(ctx context.Context, in *v1.QueryAuditorAttributesRequest, ...) (*v1.QueryProvidersResponse, error)
- func (_m *QueryClient) EXPECT() *QueryClient_Expecter
- func (_m *QueryClient) ProviderAttributes(ctx context.Context, in *v1.QueryProviderAttributesRequest, ...) (*v1.QueryProvidersResponse, error)
- func (_m *QueryClient) ProviderAuditorAttributes(ctx context.Context, in *v1.QueryProviderAuditorRequest, ...) (*v1.QueryProvidersResponse, error)
- type QueryClient_AllProvidersAttributes_Call
- func (_c *QueryClient_AllProvidersAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_AllProvidersAttributes_Call
- func (_c *QueryClient_AllProvidersAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryAllProvidersAttributesRequest, ...)) *QueryClient_AllProvidersAttributes_Call
- func (_c *QueryClient_AllProvidersAttributes_Call) RunAndReturn(...) *QueryClient_AllProvidersAttributes_Call
- type QueryClient_AuditorAttributes_Call
- func (_c *QueryClient_AuditorAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_AuditorAttributes_Call
- func (_c *QueryClient_AuditorAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryAuditorAttributesRequest, ...)) *QueryClient_AuditorAttributes_Call
- func (_c *QueryClient_AuditorAttributes_Call) RunAndReturn(...) *QueryClient_AuditorAttributes_Call
- type QueryClient_Expecter
- func (_e *QueryClient_Expecter) AllProvidersAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_AllProvidersAttributes_Call
- func (_e *QueryClient_Expecter) AuditorAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_AuditorAttributes_Call
- func (_e *QueryClient_Expecter) ProviderAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_ProviderAttributes_Call
- func (_e *QueryClient_Expecter) ProviderAuditorAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_ProviderAuditorAttributes_Call
- type QueryClient_ProviderAttributes_Call
- func (_c *QueryClient_ProviderAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_ProviderAttributes_Call
- func (_c *QueryClient_ProviderAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryProviderAttributesRequest, ...)) *QueryClient_ProviderAttributes_Call
- func (_c *QueryClient_ProviderAttributes_Call) RunAndReturn(...) *QueryClient_ProviderAttributes_Call
- type QueryClient_ProviderAuditorAttributes_Call
- func (_c *QueryClient_ProviderAuditorAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_ProviderAuditorAttributes_Call
- func (_c *QueryClient_ProviderAuditorAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryProviderAuditorRequest, ...)) *QueryClient_ProviderAuditorAttributes_Call
- func (_c *QueryClient_ProviderAuditorAttributes_Call) RunAndReturn(...) *QueryClient_ProviderAuditorAttributes_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryClient ¶
QueryClient is an autogenerated mock type for the QueryClient type
func NewQueryClient ¶
func NewQueryClient(t interface {
mock.TestingT
Cleanup(func())
}) *QueryClient
NewQueryClient creates a new instance of QueryClient. 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 (*QueryClient) AllProvidersAttributes ¶
func (_m *QueryClient) AllProvidersAttributes(ctx context.Context, in *v1.QueryAllProvidersAttributesRequest, opts ...grpc.CallOption) (*v1.QueryProvidersResponse, error)
AllProvidersAttributes provides a mock function with given fields: ctx, in, opts
func (*QueryClient) AuditorAttributes ¶
func (_m *QueryClient) AuditorAttributes(ctx context.Context, in *v1.QueryAuditorAttributesRequest, opts ...grpc.CallOption) (*v1.QueryProvidersResponse, error)
AuditorAttributes provides a mock function with given fields: ctx, in, opts
func (*QueryClient) EXPECT ¶
func (_m *QueryClient) EXPECT() *QueryClient_Expecter
func (*QueryClient) ProviderAttributes ¶
func (_m *QueryClient) ProviderAttributes(ctx context.Context, in *v1.QueryProviderAttributesRequest, opts ...grpc.CallOption) (*v1.QueryProvidersResponse, error)
ProviderAttributes provides a mock function with given fields: ctx, in, opts
func (*QueryClient) ProviderAuditorAttributes ¶
func (_m *QueryClient) ProviderAuditorAttributes(ctx context.Context, in *v1.QueryProviderAuditorRequest, opts ...grpc.CallOption) (*v1.QueryProvidersResponse, error)
ProviderAuditorAttributes provides a mock function with given fields: ctx, in, opts
type QueryClient_AllProvidersAttributes_Call ¶
QueryClient_AllProvidersAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllProvidersAttributes'
func (*QueryClient_AllProvidersAttributes_Call) Return ¶
func (_c *QueryClient_AllProvidersAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_AllProvidersAttributes_Call
func (*QueryClient_AllProvidersAttributes_Call) Run ¶
func (_c *QueryClient_AllProvidersAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryAllProvidersAttributesRequest, opts ...grpc.CallOption)) *QueryClient_AllProvidersAttributes_Call
func (*QueryClient_AllProvidersAttributes_Call) RunAndReturn ¶
func (_c *QueryClient_AllProvidersAttributes_Call) RunAndReturn(run func(context.Context, *v1.QueryAllProvidersAttributesRequest, ...grpc.CallOption) (*v1.QueryProvidersResponse, error)) *QueryClient_AllProvidersAttributes_Call
type QueryClient_AuditorAttributes_Call ¶
QueryClient_AuditorAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuditorAttributes'
func (*QueryClient_AuditorAttributes_Call) Return ¶
func (_c *QueryClient_AuditorAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_AuditorAttributes_Call
func (*QueryClient_AuditorAttributes_Call) Run ¶
func (_c *QueryClient_AuditorAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryAuditorAttributesRequest, opts ...grpc.CallOption)) *QueryClient_AuditorAttributes_Call
func (*QueryClient_AuditorAttributes_Call) RunAndReturn ¶
func (_c *QueryClient_AuditorAttributes_Call) RunAndReturn(run func(context.Context, *v1.QueryAuditorAttributesRequest, ...grpc.CallOption) (*v1.QueryProvidersResponse, error)) *QueryClient_AuditorAttributes_Call
type QueryClient_Expecter ¶
type QueryClient_Expecter struct {
// contains filtered or unexported fields
}
func (*QueryClient_Expecter) AllProvidersAttributes ¶
func (_e *QueryClient_Expecter) AllProvidersAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_AllProvidersAttributes_Call
AllProvidersAttributes is a helper method to define mock.On call
- ctx context.Context
- in *v1.QueryAllProvidersAttributesRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) AuditorAttributes ¶
func (_e *QueryClient_Expecter) AuditorAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_AuditorAttributes_Call
AuditorAttributes is a helper method to define mock.On call
- ctx context.Context
- in *v1.QueryAuditorAttributesRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) ProviderAttributes ¶
func (_e *QueryClient_Expecter) ProviderAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_ProviderAttributes_Call
ProviderAttributes is a helper method to define mock.On call
- ctx context.Context
- in *v1.QueryProviderAttributesRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) ProviderAuditorAttributes ¶
func (_e *QueryClient_Expecter) ProviderAuditorAttributes(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_ProviderAuditorAttributes_Call
ProviderAuditorAttributes is a helper method to define mock.On call
- ctx context.Context
- in *v1.QueryProviderAuditorRequest
- opts ...grpc.CallOption
type QueryClient_ProviderAttributes_Call ¶
QueryClient_ProviderAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProviderAttributes'
func (*QueryClient_ProviderAttributes_Call) Return ¶
func (_c *QueryClient_ProviderAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_ProviderAttributes_Call
func (*QueryClient_ProviderAttributes_Call) Run ¶
func (_c *QueryClient_ProviderAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryProviderAttributesRequest, opts ...grpc.CallOption)) *QueryClient_ProviderAttributes_Call
func (*QueryClient_ProviderAttributes_Call) RunAndReturn ¶
func (_c *QueryClient_ProviderAttributes_Call) RunAndReturn(run func(context.Context, *v1.QueryProviderAttributesRequest, ...grpc.CallOption) (*v1.QueryProvidersResponse, error)) *QueryClient_ProviderAttributes_Call
type QueryClient_ProviderAuditorAttributes_Call ¶
QueryClient_ProviderAuditorAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProviderAuditorAttributes'
func (*QueryClient_ProviderAuditorAttributes_Call) Return ¶
func (_c *QueryClient_ProviderAuditorAttributes_Call) Return(_a0 *v1.QueryProvidersResponse, _a1 error) *QueryClient_ProviderAuditorAttributes_Call
func (*QueryClient_ProviderAuditorAttributes_Call) Run ¶
func (_c *QueryClient_ProviderAuditorAttributes_Call) Run(run func(ctx context.Context, in *v1.QueryProviderAuditorRequest, opts ...grpc.CallOption)) *QueryClient_ProviderAuditorAttributes_Call
func (*QueryClient_ProviderAuditorAttributes_Call) RunAndReturn ¶
func (_c *QueryClient_ProviderAuditorAttributes_Call) RunAndReturn(run func(context.Context, *v1.QueryProviderAuditorRequest, ...grpc.CallOption) (*v1.QueryProvidersResponse, error)) *QueryClient_ProviderAuditorAttributes_Call