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 RawConfigFn func() (map[string]interface{}, error) // See Proxier interface StartFn func() error // See Proxier interface StopFn func() // See Proxier interface TypeFn func() string }
func (*MockProxier) Insecure ¶
func (mp *MockProxier) Insecure()
func (*MockProxier) MarshalYAML ¶
func (mp *MockProxier) MarshalYAML() (interface{}, error)
func (*MockProxier) RawConfig ¶
func (mp *MockProxier) RawConfig() (map[string]interface{}, 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
Click to show internal directories.
Click to hide internal directories.