mocks

package
v1.27.13-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	AllAddressesStub func() []string

	ConnectionStatusStub func() map[string]connections.ConnectionStatusEntry

	ExternalAddressesStub func() []string

	ListenerStatusStub func() map[string]connections.ListenerStatusEntry

	NATTypeStub func() string

	ServeStub func(context.Context) error
	// contains filtered or unexported fields
}

func (*Service) AllAddresses

func (fake *Service) AllAddresses() []string

func (*Service) AllAddressesCallCount

func (fake *Service) AllAddressesCallCount() int

func (*Service) AllAddressesCalls

func (fake *Service) AllAddressesCalls(stub func() []string)

func (*Service) AllAddressesReturns

func (fake *Service) AllAddressesReturns(result1 []string)

func (*Service) AllAddressesReturnsOnCall

func (fake *Service) AllAddressesReturnsOnCall(i int, result1 []string)

func (*Service) ConnectionStatus

func (fake *Service) ConnectionStatus() map[string]connections.ConnectionStatusEntry

func (*Service) ConnectionStatusCallCount

func (fake *Service) ConnectionStatusCallCount() int

func (*Service) ConnectionStatusCalls

func (fake *Service) ConnectionStatusCalls(stub func() map[string]connections.ConnectionStatusEntry)

func (*Service) ConnectionStatusReturns

func (fake *Service) ConnectionStatusReturns(result1 map[string]connections.ConnectionStatusEntry)

func (*Service) ConnectionStatusReturnsOnCall

func (fake *Service) ConnectionStatusReturnsOnCall(i int, result1 map[string]connections.ConnectionStatusEntry)

func (*Service) ExternalAddresses

func (fake *Service) ExternalAddresses() []string

func (*Service) ExternalAddressesCallCount

func (fake *Service) ExternalAddressesCallCount() int

func (*Service) ExternalAddressesCalls

func (fake *Service) ExternalAddressesCalls(stub func() []string)

func (*Service) ExternalAddressesReturns

func (fake *Service) ExternalAddressesReturns(result1 []string)

func (*Service) ExternalAddressesReturnsOnCall

func (fake *Service) ExternalAddressesReturnsOnCall(i int, result1 []string)

func (*Service) Invocations

func (fake *Service) Invocations() map[string][][]interface{}

func (*Service) ListenerStatus

func (fake *Service) ListenerStatus() map[string]connections.ListenerStatusEntry

func (*Service) ListenerStatusCallCount

func (fake *Service) ListenerStatusCallCount() int

func (*Service) ListenerStatusCalls

func (fake *Service) ListenerStatusCalls(stub func() map[string]connections.ListenerStatusEntry)

func (*Service) ListenerStatusReturns

func (fake *Service) ListenerStatusReturns(result1 map[string]connections.ListenerStatusEntry)

func (*Service) ListenerStatusReturnsOnCall

func (fake *Service) ListenerStatusReturnsOnCall(i int, result1 map[string]connections.ListenerStatusEntry)

func (*Service) NATType

func (fake *Service) NATType() string

func (*Service) NATTypeCallCount

func (fake *Service) NATTypeCallCount() int

func (*Service) NATTypeCalls

func (fake *Service) NATTypeCalls(stub func() string)

func (*Service) NATTypeReturns

func (fake *Service) NATTypeReturns(result1 string)

func (*Service) NATTypeReturnsOnCall

func (fake *Service) NATTypeReturnsOnCall(i int, result1 string)

func (*Service) Serve

func (fake *Service) Serve(arg1 context.Context) error

func (*Service) ServeArgsForCall

func (fake *Service) ServeArgsForCall(i int) context.Context

func (*Service) ServeCallCount

func (fake *Service) ServeCallCount() int

func (*Service) ServeCalls

func (fake *Service) ServeCalls(stub func(context.Context) error)

func (*Service) ServeReturns

func (fake *Service) ServeReturns(result1 error)

func (*Service) ServeReturnsOnCall

func (fake *Service) ServeReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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