pbdnsmock

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSServiceClient

type DNSServiceClient struct {
	mock.Mock
}

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

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

type DNSServiceServer

type DNSServiceServer struct {
	mock.Mock
}

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

Query provides a mock function with given fields: _a0, _a1

type IsCloningDNSServiceClient

type IsCloningDNSServiceClient struct {
	mock.Mock
}

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

type UnsafeDNSServiceServer struct {
	mock.Mock
}

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.

Jump to

Keyboard shortcuts

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