nameservicetest

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package nameservicetest is a generated GoMock package.

Package nameservicetest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockForwardLookup

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

MockForwardLookup is a mock of ForwardLookup interface.

func NewMockForwardLookup

func NewMockForwardLookup(ctrl *gomock.Controller) *MockForwardLookup

NewMockForwardLookup creates a new mock instance.

func (*MockForwardLookup) EXPECT

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

func (*MockForwardLookup) ResolveName

func (m *MockForwardLookup) ResolveName(ctx context.Context, protocol, network, domainName string) ([]byte, error)

ResolveName mocks base method.

type MockForwardLookupMockRecorder

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

MockForwardLookupMockRecorder is the mock recorder for MockForwardLookup.

func (*MockForwardLookupMockRecorder) ResolveName

func (mr *MockForwardLookupMockRecorder) ResolveName(ctx, protocol, network, domainName interface{}) *gomock.Call

ResolveName indicates an expected call of ResolveName.

type MockReverseLookup

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

MockReverseLookup is a mock of ReverseLookup interface.

func NewMockReverseLookup

func NewMockReverseLookup(ctrl *gomock.Controller) *MockReverseLookup

NewMockReverseLookup creates a new mock instance.

func (*MockReverseLookup) EXPECT

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

func (*MockReverseLookup) ResolveAddress

func (m *MockReverseLookup) ResolveAddress(ctx context.Context, protocol, network string, address []byte) (string, error)

ResolveAddress mocks base method.

type MockReverseLookupMockRecorder

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

MockReverseLookupMockRecorder is the mock recorder for MockReverseLookup.

func (*MockReverseLookupMockRecorder) ResolveAddress

func (mr *MockReverseLookupMockRecorder) ResolveAddress(ctx, protocol, network, address interface{}) *gomock.Call

ResolveAddress indicates an expected call of ResolveAddress.

Jump to

Keyboard shortcuts

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