fakes

package
v2.0.32+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeFactory

type FakeFactory struct {
	SSHTunnel           bisshtunnel.SSHTunnel
	NewSSHTunnelOptions bisshtunnel.Options
}

func NewFakeFactory

func NewFakeFactory() *FakeFactory

func (*FakeFactory) NewSSHTunnel

func (f *FakeFactory) NewSSHTunnel(options bisshtunnel.Options) bisshtunnel.SSHTunnel

type FakeTunnel

type FakeTunnel struct {
	Started bool
	// contains filtered or unexported fields
}

func NewFakeTunnel

func NewFakeTunnel() *FakeTunnel

func (*FakeTunnel) SetStartBehavior

func (s *FakeTunnel) SetStartBehavior(readyErrChOutput error, errChOutput error)

func (*FakeTunnel) Start

func (s *FakeTunnel) Start(readyErrCh chan<- error, errCh chan<- error)

Jump to

Keyboard shortcuts

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