package
0.0.0-20250130204033-e82d90384e5b
Repository: https://github.com/laurentgoderre/moby.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
IsValidHealthString checks if the provided string is a valid container health status or not.
IsValidStateString checks if the provided string is a valid container state or not.
NewBaseContainer creates a new container with its basic configuration.
NewExecConfig initializes the a new exec configuration.
NewExecStore initializes a new exec store.
NewMemoryStore initializes a new memory store.
NewState creates a default state object.
NewViewDB provides the default implementation, with the default schema.
ReplaceOrAppendEnvValues returns the defaults with the overrides either replaced by env key or appended to the list.
# Constants
Possible WaitCondition Values.
Possible WaitCondition Values.
Possible WaitCondition Values.
# Structs
Container holds the structure defining a container object.
ExecConfig holds the configurations for execs.
ExecStore keeps track of the exec configurations.
ExitStatus provides exit reasons for a container.
Health holds the current container health-check state.
Mount contains information for a mount operation.
No description provided by the author
Snapshot is a read only view for Containers.
State holds the current container state, and has methods to get and set the state.
StateStatus is used to return container wait results.
View provides a consistent read-only view of the database.
ViewDB provides an in-memory transactional (ACID) container store.
# Type aliases
History is a convenience type for storing a list of containers, sorted by creation date in descendant order.
StoreFilter defines a function to filter container in the store.
StoreReducer defines a function to manipulate containers in the store.
WaitCondition is an enum type for different states to wait for.