Documentation ¶
Index ¶
- type AlreadyLocked
- type Client
- type DockerClient
- func (d *DockerClient) AllRelated() (map[string][]DockerContainer, error)
- func (d *DockerClient) Related(volumeName string) ([]DockerContainer, error)
- func (d *DockerClient) Start(volumeName string) error
- func (d *DockerClient) Stop(volumeName string) error
- func (d *DockerClient) SwitchSymlinks(volumeName, toFilesystemIdPath string) error
- type DockerContainer
- type NotLocked
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlreadyLocked ¶
type AlreadyLocked struct {
// contains filtered or unexported fields
}
func (AlreadyLocked) Error ¶
func (a AlreadyLocked) Error() string
type DockerClient ¶
type DockerClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(options *Options) (*DockerClient, error)
func (*DockerClient) AllRelated ¶
func (d *DockerClient) AllRelated() (map[string][]DockerContainer, error)
AllRelated returns every running container that is using any dotmesh filesystem, as a map from filesystem ids to lists of such containers
func (*DockerClient) Related ¶
func (d *DockerClient) Related(volumeName string) ([]DockerContainer, error)
func (*DockerClient) Start ¶
func (d *DockerClient) Start(volumeName string) error
func (*DockerClient) Stop ¶
func (d *DockerClient) Stop(volumeName string) error
func (*DockerClient) SwitchSymlinks ¶
func (d *DockerClient) SwitchSymlinks(volumeName, toFilesystemIdPath string) error
type DockerContainer ¶
Click to show internal directories.
Click to hide internal directories.