package checkpoint

import "github.com/docker/cli/components/engine/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
v17.12.1-ce-rc1+incompatible
Published
Feb 13, 2018
Platform
linux/amd64
Imports
6 packages
Last checked
2 minutes ago

Tools for package owners.