Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a new router and registers the handlers to it. Returns a handler object The struct definitions of the HTTP responses come from https://github.com/moby/moby/tree/master/api/types.
Types ¶
type Options ¶
type Options struct {
Config *config.Config
ContainerService container.Service
ImageService image.Service
NetworkService network.Service
SystemService system.Service
BuilderService builder.Service
VolumeService volume.Service
ExecService exec.Service
DistributionService distribution.Service
// NerdctlWrapper wraps the interactions with nerdctl to build
NerdctlWrapper *backend.NerdctlWrapper
}
Options defines the router options to be passed into the handlers.
Click to show internal directories.
Click to hide internal directories.