mock_consul

package
v1.13.0-beta19 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 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