package
Version:
v0.0.0-...-f266d1f
Opens a new window with list of versions in this module.
Published: Feb 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Atom defines the interface for treating
Docker containers as Caesium Atoms.
CreatedAt returns the UTC time the Atom was created.
ID returns the ID of the Atom. This ID is identical
to the Docker ID assigned by the Docker daemon.
Result returns the result of the Atom. This function
maps Docker container exit codes to Caesium Atom results.
StartedAt returns the UTC time the Atom was started.
State returns the state of the Atom. This function
maps Docker container states to Caesium Atom states.
StoppedAt returns the UTC time the Atom was stopped.
Engine defines the interface for treating the
Docker API as a atom.Engine.
NewEngine creates a new instance of docker.Engine
for interacting with docker.Atoms.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.