Documentation
¶
Index ¶
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) Certificates ¶
func (_m *QueryClient) Certificates(ctx context.Context, in *v1.QueryCertificatesRequest, opts ...grpc.CallOption) (*v1.QueryCertificatesResponse, error)
Certificates provides a mock function with given fields: ctx, in, opts
func (*QueryClient) EXPECT ¶
func (_m *QueryClient) EXPECT() *QueryClient_Expecter
type QueryClient_Certificates_Call ¶
QueryClient_Certificates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Certificates'
func (*QueryClient_Certificates_Call) Return ¶
func (_c *QueryClient_Certificates_Call) Return(_a0 *v1.QueryCertificatesResponse, _a1 error) *QueryClient_Certificates_Call
func (*QueryClient_Certificates_Call) Run ¶
func (_c *QueryClient_Certificates_Call) Run(run func(ctx context.Context, in *v1.QueryCertificatesRequest, opts ...grpc.CallOption)) *QueryClient_Certificates_Call
func (*QueryClient_Certificates_Call) RunAndReturn ¶
func (_c *QueryClient_Certificates_Call) RunAndReturn(run func(context.Context, *v1.QueryCertificatesRequest, ...grpc.CallOption) (*v1.QueryCertificatesResponse, error)) *QueryClient_Certificates_Call
type QueryClient_Expecter ¶
type QueryClient_Expecter struct {
// contains filtered or unexported fields
}
func (*QueryClient_Expecter) Certificates ¶
func (_e *QueryClient_Expecter) Certificates(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Certificates_Call
Certificates is a helper method to define mock.On call
- ctx context.Context
- in *v1.QueryCertificatesRequest
- opts ...grpc.CallOption
Click to show internal directories.
Click to hide internal directories.