Documentation ¶ Index ¶ func BuildContainerConfig(cfg FTPConfig) (*docker.ContainerConfig, error) type Component func New(cli *docker.Docker, config FTPConfig) (*Component, error) func (c *Component) Start(ctx context.Context) error func (c *Component) Stop(ctx context.Context) error type FTPConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func BuildContainerConfig ¶ func BuildContainerConfig(cfg FTPConfig) (*docker.ContainerConfig, error) Types ¶ type Component ¶ type Component struct { Container docker.Container // contains filtered or unexported fields } func New ¶ func New(cli *docker.Docker, config FTPConfig) (*Component, error) func (*Component) Start ¶ func (c *Component) Start(ctx context.Context) error func (*Component) Stop ¶ func (c *Component) Stop(ctx context.Context) error type FTPConfig ¶ type FTPConfig struct { User string Password string } Source Files ¶ View all Source files config.go ftp.go Click to show internal directories. Click to hide internal directories.