github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/api/server/router/checkpoint/backend.go (about)

     1  package checkpoint
     2  
     3  import "github.com/docker/docker/api/types"
     4  
     5  // Backend for Checkpoint
     6  type Backend interface {
     7  	CheckpointCreate(container string, config types.CheckpointCreateOptions) error
     8  	CheckpointDelete(container string, config types.CheckpointDeleteOptions) error
     9  	CheckpointList(container string, config types.CheckpointListOptions) ([]types.Checkpoint, error)
    10  }