docker

package
v0.0.0-...-ec75f14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2016 License: BSD-3-Clause Imports: 59 Imported by: 0

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 ErrEntrypointOrProcfileNotFound = stderr.New("You should provide a entrypoint in image or a Procfile in the following locations: /home/application/current or /app/user or /.")

Functions

func MigrateImages

func MigrateImages() error

Types

type ImageMetadata

type ImageMetadata struct {
	Name       string `bson:"_id"`
	CustomData map[string]interface{}
	Processes  map[string]string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL