moby

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2021 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Overview

Package moby provides a container Watcher for Docker/Moby engines.

Usage

import "github.com/thediveo/whalewatcher/watcher/moby"
watcher := moby.NewWatcher("")

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWatcher

func NewWatcher(dockersock string) (watcher.Watcher, error)

NewWatcher returns a Watcher for keeping track of the currently alive containers, optionally with the composer projects they're associated with.

When the dockersock parameter is left empty then Docker's usual client defaults apply, such as trying to pick up the docker host from the environment or falling back to the local host's "unix:///var/run/docker.sock".

Types

This section is empty.

Jump to

Keyboard shortcuts

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