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 checkpoint.CreateOptions) error
	CheckpointDelete(container string, config checkpoint.DeleteOptions) error
	CheckpointList(container string, config checkpoint.ListOptions) ([]checkpoint.Summary, error)
}

Backend for Checkpoint

Source Files

backend.go checkpoint.go checkpoint_routes.go

Version
v28.0.1+incompatible
Published
Feb 26, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
15 minutes ago

Tools for package owners.