mock_consul

package
v1.8.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_consul is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDnsResolver

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

MockDnsResolver is a mock of DnsResolver interface

func NewMockDnsResolver

func NewMockDnsResolver(ctrl *gomock.Controller) *MockDnsResolver

NewMockDnsResolver creates a new mock instance

func (*MockDnsResolver) EXPECT

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

func (*MockDnsResolver) Resolve

func (m *MockDnsResolver) Resolve(arg0 context.Context, arg1 string) ([]net.IPAddr, error)

Resolve mocks base method

type MockDnsResolverMockRecorder

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

MockDnsResolverMockRecorder is the mock recorder for MockDnsResolver

func (*MockDnsResolverMockRecorder) Resolve

func (mr *MockDnsResolverMockRecorder) Resolve(arg0, arg1 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