testing

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProxier

type MockProxier struct {
	// See Proxier interface
	StartFn func() error

	// See Proxier interface
	StopFn func()

	// See Proxier interface
	TypeFn func() string
}

func (*MockProxier) Start

func (mp *MockProxier) Start() error

func (*MockProxier) Stop

func (mp *MockProxier) Stop()

func (*MockProxier) Type

func (mp *MockProxier) Type() string

type MockTunnelProxier

type MockTunnelProxier struct {
	*MockProxier

	// See TunnelProxier interface
	HostFn func() string

	// See TunnelProxier interface
	PortFn func() string
}

func NewMockTunnelProxier

func NewMockTunnelProxier() *MockTunnelProxier

func (*MockTunnelProxier) Host

func (mtp *MockTunnelProxier) Host() string

func (*MockTunnelProxier) Port

func (mtp *MockTunnelProxier) Port() string

Jump to

Keyboard shortcuts

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