Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSServiceClient ¶
DNSServiceClient is an autogenerated mock type for the DNSServiceClient type
func NewDNSServiceClient ¶
func NewDNSServiceClient(t interface { mock.TestingT Cleanup(func()) }) *DNSServiceClient
NewDNSServiceClient creates a new instance of DNSServiceClient. 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 (*DNSServiceClient) Query ¶
func (_m *DNSServiceClient) Query(ctx context.Context, in *pbdns.QueryRequest, opts ...grpc.CallOption) (*pbdns.QueryResponse, error)
Query provides a mock function with given fields: ctx, in, opts
type DNSServiceServer ¶
DNSServiceServer is an autogenerated mock type for the DNSServiceServer type
func NewDNSServiceServer ¶
func NewDNSServiceServer(t interface { mock.TestingT Cleanup(func()) }) *DNSServiceServer
NewDNSServiceServer creates a new instance of DNSServiceServer. 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 (*DNSServiceServer) Query ¶
func (_m *DNSServiceServer) Query(_a0 context.Context, _a1 *pbdns.QueryRequest) (*pbdns.QueryResponse, error)
Query provides a mock function with given fields: _a0, _a1
type IsCloningDNSServiceClient ¶
IsCloningDNSServiceClient is an autogenerated mock type for the IsCloningDNSServiceClient type
func NewIsCloningDNSServiceClient ¶
func NewIsCloningDNSServiceClient(t interface { mock.TestingT Cleanup(func()) }) *IsCloningDNSServiceClient
NewIsCloningDNSServiceClient creates a new instance of IsCloningDNSServiceClient. 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 (*IsCloningDNSServiceClient) IsCloningDNSServiceClient ¶
func (_m *IsCloningDNSServiceClient) IsCloningDNSServiceClient() bool
IsCloningDNSServiceClient provides a mock function with given fields:
type UnsafeDNSServiceServer ¶
UnsafeDNSServiceServer is an autogenerated mock type for the UnsafeDNSServiceServer type
func NewUnsafeDNSServiceServer ¶
func NewUnsafeDNSServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafeDNSServiceServer
NewUnsafeDNSServiceServer creates a new instance of UnsafeDNSServiceServer. 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.