github.com/walkingsparrow/docker@v1.4.2-0.20151218153551-b708a2249bfa/api/types/configs.go (about) 1 package types 2 3 // configs holds structs used for internal communication between the 4 // frontend (such as an http server) and the backend (such as the 5 // docker daemon). 6 7 import ( 8 "github.com/docker/docker/runconfig" 9 ) 10 11 // ContainerRmConfig holds arguments for the container remove 12 // operation. This struct is used to tell the backend what operations 13 // to perform. 14 type ContainerRmConfig struct { 15 ForceRemove, RemoveVolume, RemoveLink bool 16 } 17 18 // ContainerCommitConfig contains build configs for commit operation, 19 // and is used when making a commit with the current state of the container. 20 type ContainerCommitConfig struct { 21 Pause bool 22 Repo string 23 Tag string 24 Author string 25 Comment string 26 // merge container config into commit config before commit 27 MergeConfigs bool 28 Config *runconfig.Config 29 }