Documentation ¶
Overview ¶
Package docker provides a provisioner implementation that use Docker containers.
In order to use the provisioner, just import tsuru's provision package and docker provision package. Then call provision.Get("docker") to get an instance of Docker provisioner:
import ( "github.com/tsuru/tsuru/provision" _ "github.com/tsuru/tsuru/provision/docker" ) // ... func main() { provisioner, err := provision.Get("docker") // Use provisioner. }
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnitRecreationCanceled = errors.New("unit creation canceled by user action")
)
Functions ¶
func MigrateImages ¶
func MigrateImages() error
Types ¶
type AmbiguousContainerError ¶
type AmbiguousContainerError struct {
ID string
}
func (*AmbiguousContainerError) Error ¶
func (e *AmbiguousContainerError) Error() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.