Documentation ¶
Index ¶
- func Deploy() error
- type Client
- func (c *Client) Close()
- func (c *Client) CopyDockerImageToRemote(ctx context.Context, imageID string) error
- func (c *Client) GetLocatImageID(ctx context.Context, image string) (string, error)
- func (c *Client) GetRemoteContainerByPort(ctx context.Context, port int) (string, error)
- func (c *Client) StartRemoteContainer(ctx context.Context, imageName, containerName string, ...) error
- func (c *Client) StopRemoteContainer(ctx context.Context, containerID string) error
- type Config
- type SSHConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { DockerLocal *docker.Client DockerRemote *docker.Client SSH *ssh.Client SFTP *sftp.Client }
func (*Client) CopyDockerImageToRemote ¶
func (*Client) GetLocatImageID ¶
func (*Client) GetRemoteContainerByPort ¶
func (*Client) StartRemoteContainer ¶
Click to show internal directories.
Click to hide internal directories.