mock

package
v1.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientStub

type ClientStub interface {
	api.Client
	api.Resolver
}

type MockClientStub

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

MockClientStub is a mock of ClientStub interface.

func NewMockClientStub

func NewMockClientStub(ctrl *gomock.Controller) *MockClientStub

NewMockClientStub creates a new mock instance.

func (*MockClientStub) EXPECT

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

func (*MockClientStub) GetLookup

func (m *MockClientStub) GetLookup(ctx context.Context, domain string) api.Lookup

GetLookup mocks base method.

func (*MockClientStub) Resolve

func (m *MockClientStub) Resolve(ctx context.Context, domain string) *api.Lookup

Resolve mocks base method.

type MockClientStubMockRecorder

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

MockClientStubMockRecorder is the mock recorder for MockClientStub.

func (*MockClientStubMockRecorder) GetLookup

func (mr *MockClientStubMockRecorder) GetLookup(ctx, domain interface{}) *gomock.Call

GetLookup indicates an expected call of GetLookup.

func (*MockClientStubMockRecorder) Resolve

func (mr *MockClientStubMockRecorder) Resolve(ctx, domain interface{}) *gomock.Call

Resolve indicates an expected call of Resolve.

Jump to

Keyboard shortcuts

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