controller

package
v0.0.0-...-33ac69c Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package controller contains code for the spate controller. The controller looks for changes in the service landscape of Docker Swarm and handles them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	startstopper.StartStopper
	// contains filtered or unexported fields
}

Controller monitors Docker Swarm services and scales them if needed.

func New

func New(p time.Duration) *Controller

New creates a new controller.

Jump to

Keyboard shortcuts

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