Skip to main content

Ahab: on which to hang your Docker hooks

Project description

ahab.png

To get detailed information about Docker events from the command line:

ahab --console debug

To use Ahab as library, you can pass functions to the Ahab() constructor:

def f(event, data):
    pass        # Handle the Docker event (and extended info, as available)


ahab = Ahab(handlers=[f])
ahab.listen()

Or subclass Ahab:

class Queequeg(Ahab):
    def handle(self, event, data):
        pass                                               # Your code here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ahab-20151119.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file ahab-20151119.tar.gz.

File metadata

  • Download URL: ahab-20151119.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ahab-20151119.tar.gz
Algorithm Hash digest
SHA256 f02b30ac3a9d54e14670a974111189479d32adfc7fb73ceba2440f0bfe666918
MD5 9f0f8d7ddbae458c37037c095a6365a3
BLAKE2b-256 b40c75a7142f02f58882fde1f91bc45322a5e7ea94fd3f2c2bf6a1eedffb56ac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page