Discover Packages
github.com/moby/docker
internal
cleanups
package
Version:
v26.0.2+incompatible
Opens a new window with list of versions in this module.
Published: Apr 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Composite struct {
}
Add adds a cleanup to be called.
Call calls all cleanups in reverse order and returns an error combining all
non-nil errors.
Release removes all cleanups, turning Call into a no-op.
Caller still can call the cleanups by calling the returned function
which is equivalent to calling the Call before Release was called.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.