sftptest

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {

	// NetworkAddress for connecting to the container using a driver.
	NetworkAddress string
	// contains filtered or unexported fields
}

Container encapsulates all the setup required for creating a container for running integration tests that need a sftp server.

func NewContainer

func NewContainer(ctx context.Context) (*Container, error)

NewContainer returns a sftp container ready to be used. Callers must call Stop when it is no longer needed.

func (*Container) Stop

func (c *Container) Stop(ctx context.Context) error

Stop stops the container, cleaning up resources.

Jump to

Keyboard shortcuts

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