remote

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerComposeOutput added in v1.1.5

func DockerComposeOutput(cfg *config.Config, projectRoot string, composeArgs ...string) ([]byte, error)

DockerComposeOutput runs docker compose on the remote host and returns stdout.

func DockerOutput added in v1.1.5

func DockerOutput(cfg *config.Config, dockerArgs ...string) ([]byte, error)

DockerOutput runs docker on the remote host and returns stdout.

func RunDocker added in v1.1.6

func RunDocker(cfg *config.Config, dockerArgs ...string) error

RunDocker runs `docker` on the remote host (stdout/stderr inherited).

func RunDockerCompose

func RunDockerCompose(cfg *config.Config, projectRoot string, tty bool, composeArgs ...string) error

RunDockerCompose runs `docker compose` in cfg.RemotePath on the remote host.

func RunDockerComposeClient

func RunDockerComposeClient(client *ssh.Client, cfg *config.Config, projectRoot, composeFileOverride string, tty, rawLocalStdin bool, composeArgs ...string) error

RunDockerComposeClient runs `docker compose` using an existing SSH client (same session as SFTP deploy).

func RunDockerComposeInteractive

func RunDockerComposeInteractive(cfg *config.Config, projectRoot string, composeArgs ...string) error

RunDockerComposeInteractive runs docker compose over SSH for dq exec -it: raw local stdin + SIGINT forwarded to the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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