test_helpers

package
v0.0.0-...-f465a65 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(clientNetConn net.Conn, clientConfig *ssh.ClientConfig) *ssh.Client

func Pipe

func Pipe() (net.Conn, net.Conn)

func WaitFor

func WaitFor(f func() error) error

Types

type TestNetError

type TestNetError struct {
	// contains filtered or unexported fields
}

func NewTestNetError

func NewTestNetError(timeout, temporary bool) *TestNetError

func (*TestNetError) Error

func (e *TestNetError) Error() string

func (*TestNetError) Temporary

func (e *TestNetError) Temporary() bool

func (*TestNetError) Timeout

func (e *TestNetError) Timeout() bool

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter
This file was generated by counterfeiter
This file was generated by counterfeiter
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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