package
0.0.0-20241125151401-e66715b925b4
Repository: https://github.com/control-center/serviced.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Containers retrieves a list of all the Docker containers.
FindContainer looks up a container using its id or name.
FindImage looks up an image by repotag, e.g., zenoss/devimg, from the local repository TODO: add a FindImageByFilter that returns collections of images.
No description provided by the author
Images returns a list of all the named images in the local repository.
ImportImage creates a new image in the local repository from a file system archive.
No description provided by the author
IsImageNotFound parses an err to determine whether the image is not found.
No description provided by the author
Logs calls docker logs for a running service container.
No description provided by the author
NewContainer creates a new container and returns its id.
No description provided by the author
PushImage pushes an image by repotag to local registry, e.g., zenoss/devimg, from the local docker repository.
RunTTL starts the ttl to reap stale docker containers.
No description provided by the author
Used by tests that need to inject a mock or stub implementation of Client.
StartKernel starts up the kernel loop that is responsible for handling all the API calls in a goroutine.
No description provided by the author

# Constants

AllThingsDocker is a wildcard used to express interest in the Docker lifecycle event streams of all containers and images.
Selectors for the various Docker lifecycle events.
Selectors for the various Docker lifecycle events.
Selectors for the various Docker lifecycle events.
Selectors for the various Docker lifecycle events.
No description provided by the author
Selectors for the various Docker lifecycle events.
Selectors for the various Docker lifecycle events.
Selectors for the various Docker lifecycle events.
Selectors for the various Docker lifecycle events.
Selectors for the various Docker lifecycle events.
Selectors for the various Docker lifecycle events.
No description provided by the author

# Variables

Container subsystem error types.
Container subsystem error types.
Container subsystem error types.
Container subsystem error types.

# Structs

This Client/ClientInterface is a shim for dockerclient.Client.
Container represents a Docker container.
DockerTTL is the ttl manager for stale docker containers.
Image represents a Docker image.
ImageNotFound is a an error type when an image is not found.
Subscription represents a subscription to a particular container or image's Docker lifecycle event stream.

# Interfaces

An interface respresentation of dockerclient.Client.
The DockerRegistryInterface is the API for interactions with the docker registry FIXME: Add other methods as time permits.
EventMonitor implementations may be used to subscribe to Docker lifecycle events.

# Type aliases

ContainerActionFunc instances are used to handle container action notifications.
The function used to get an instance of ClientInterface.
A HandlerFunc is used to receive Docker lifecycle events.