mock_dns

package
v0.3.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_dns is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDNS

type MockDNS struct {
	// contains filtered or unexported fields
}

MockDNS is a mock of DNS interface.

func NewMockDNS

func NewMockDNS(ctrl *gomock.Controller) *MockDNS

NewMockDNS creates a new mock instance.

func (*MockDNS) EXPECT

func (m *MockDNS) EXPECT() *MockDNSMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDNS) LookupIP

func (m *MockDNS) LookupIP(domain string) ([]net.IP, error)

LookupIP mocks base method.

func (*MockDNS) Resolver

func (m *MockDNS) Resolver() *net.Resolver

Resolver mocks base method.

type MockDNSMockRecorder

type MockDNSMockRecorder struct {
	// contains filtered or unexported fields
}

MockDNSMockRecorder is the mock recorder for MockDNS.

func (*MockDNSMockRecorder) LookupIP

func (mr *MockDNSMockRecorder) LookupIP(domain interface{}) *gomock.Call

LookupIP indicates an expected call of LookupIP.

func (*MockDNSMockRecorder) Resolver

func (mr *MockDNSMockRecorder) Resolver() *gomock.Call

Resolver indicates an expected call of Resolver.

Jump to

Keyboard shortcuts

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