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) DockerClient ¶
DockerClient returns a Mutagen-aware version of the Docker API client. This method must only be called after the associated Docker CLI (registered with RegisterDockerCLI) can return a valid API client via its Client method.
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.