Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorizeDiff ¶
ColorizeDiff takes a byte slice of lines and returns the same, but with diff highlighting. That is, lines starting with '+' are green and lines starting with '-' are red.
func CurrentUserHomeDir ¶ added in v0.0.16
func CurrentUserHomeDir() string
CurrentUserHomeDir tries to get the current user's home directory in a cross-platform manner.
func NewDockerClient ¶ added in v0.0.11
func NewDockerClient() (*docker.Client, error)
NewDockerClient creates a new Docker client configured to reach Docker at the DOCKER_HOST env var, or the default /var/run/docker.sock socket if unset.
Types ¶
Click to show internal directories.
Click to hide internal directories.