package checkpoint

import "github.com/docker/docker/api/server/router/checkpoint"

Index

Functions

func NewRouter

func NewRouter(b Backend, decoder httputils.ContainerDecoder) router.Router

NewRouter initializes a new checkpoint router

Types

type Backend

type Backend interface {
	CheckpointCreate(container string, config types.CheckpointCreateOptions) error
	CheckpointDelete(container string, config types.CheckpointDeleteOptions) error
	CheckpointList(container string, config types.CheckpointListOptions) ([]types.Checkpoint, error)
}

Backend for Checkpoint

Source Files

backend.go checkpoint.go checkpoint_routes.go

Version
v20.10.7+incompatible
Published
Jun 1, 2021
Platform
js/wasm
Imports
6 packages
Last checked
3 minutes ago

Tools for package owners.