docker

package
v0.0.0-...-5facc9d Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2013 License: BSD-3-Clause Imports: 41 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/globocom/tsuru/provision"
    _ "github.com/globocom/tsuru/provision/docker"
)
// ...
func main() {
    provisioner, err := provision.Get("docker")
    // Use provisioner.
}

Finds tsuru applications which deploys count % 20 == 0 |||| this is wrong! if count is 30 % 20 will be 10 and the app still needs a flatten! and flatten their filesystems in order to avoid aufs performance bottlenecks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flatten

func Flatten(a provision.App)

Flatten finds the images that need to be flattened and export/import them in order to flatten them and logs errors when they happen.

Types

type ContainerHealer

type ContainerHealer struct{}

func (ContainerHealer) Heal

func (h ContainerHealer) Heal() error

Jump to

Keyboard shortcuts

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