updater

package
v0.0.0-...-8488f5b Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2016 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SystemApps = []SystemApp{
	{
		Name: "discoverd",

		MinVersion: "v20151129.0",
	},
	{Name: "blobstore"},
	{Name: "taffy"},
	{Name: "dashboard"},
	{Name: "router"},
	{Name: "gitreceive"},
	{Name: "docker-receive"},
	{Name: "controller"},
	{Name: "logaggregator"},
	{
		Name:  "postgres",
		Image: "flynn/postgresql",
		UpdateRelease: func(r *ct.Release) {
			r.Env["SIRENIA_PROCESS"] = "postgres"
		},
	},
	{Name: "status"},
	{Name: "slugbuilder", ImageOnly: true},
	{Name: "slugrunner", ImageOnly: true},
	{Name: "mariadb", Optional: true},
	{Name: "mongodb", Optional: true},
}

Functions

This section is empty.

Types

type SystemApp

type SystemApp struct {
	Name          string
	MinVersion    string          // minimum version this updater binary is capable of updating
	Image         string          // image name if not same as flynn/<name>, ignored if empty
	ImageOnly     bool            // no application, just update the image
	UpdateRelease UpdateReleaseFn // function to migrate changes to release
	Optional      bool            // This system component is optional and may not be present

}

type UpdateReleaseFn

type UpdateReleaseFn func(r *ct.Release)

Jump to

Keyboard shortcuts

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