swarm

package
v0.4.2-alpha.0...-9a8b422 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2016 License: MIT Imports: 10 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AverageCPU

type AverageCPU struct {
	Tag string `json:"tag"`
}

AverageCPU probe of all containers

func (AverageCPU) Name

func (info AverageCPU) Name() string

Name of probe

func (AverageCPU) Value

func (info AverageCPU) Value() (float64, error)

Value return average CPU consuption of all service containers TODO better error handling

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider wrapper for docker API client

Jump to

Keyboard shortcuts

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