fakes

package
v0.0.61 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2016 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
	Stopped 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)

func (*FakeTunnel) Stop

func (s *FakeTunnel) Stop() error

Jump to

Keyboard shortcuts

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