Documentation ¶
Overview ¶
Package mutagen provides infrastructure for interfacing wth Mutagen.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Liaison ¶
type Liaison struct {
// contains filtered or unexported fields
}
Liaison is the interface point between Compose and Mutagen. Its zero value is initialized and ready to use. It implements the Compose service API. It is a single-use type, is not safe for concurrent usage, and its Shutdown method should be invoked when usage is complete.
func (*Liaison) ComposeService ¶
ComposeService returns a Mutagen-aware version of the Compose Service API. This function must only be called after a Compose service has been registered with RegisterComposeService.
func (*Liaison) DockerCLI ¶ added in v0.14.0
DockerCLI returns a Mutagen-aware version of the Docker CLI. This method must only be calld after the underlying CLI is registered via RegisterDockerCLI.
func (*Liaison) RegisterComposeService ¶
RegisterComposeService registers the underlying Compose service. The Compose service must be initialized using the Docker API client returned by the liaison's DockerClient method.
func (*Liaison) RegisterDockerCLI ¶
RegisterDockerCLI registers the associated Docker CLI instance.
func (*Liaison) RegisterDockerFlags ¶
RegisterDockerFlags registers the associated Docker command line flags.