client

package
v0.0.0-...-6763dd5 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerCliSftpHandler

func DockerCliSftpHandler(containerID string, config ssh2container.Config) sftp.Handlers

DocCliHandler returns a Hanlders object for docker cli.

Types

type DockerClient

type DockerClient struct {
}

func (*DockerClient) Execute

func (a *DockerClient) Execute(containerID string, s ssh.Session, c ssh2container.Config)

Execute executes commands

func (*DockerClient) Find

func (a *DockerClient) Find(containerName string) (string, error)

Find lookups for container id by given container name

func (*DockerClient) SftpHandler

func (a *DockerClient) SftpHandler(containerID string, config ssh2container.Config) sftp.Handlers

SftpHandler returns the associated sftp docker handler.

Jump to

Keyboard shortcuts

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