beacon

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2018 License: Apache-2.0 Imports: 20 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInfluxDBClient added in v1.3.0

func NewInfluxDBClient(cfg *config.ExtensionConfig) (influx.Client, error)

Types

type Beacon

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

func NewBeacon

func NewBeacon(c *config.ExtensionConfig, cl *client.Client) (*Beacon, error)

func (*Beacon) HandleEvent

func (b *Beacon) HandleEvent(event *events.Message) error

func (*Beacon) Name

func (b *Beacon) Name() string

type Stat added in v1.3.0

type Stat struct {
	ID              string
	Name            string
	Image           string
	ContainerJSON   types.ContainerJSON
	NumContainers   int
	NumImages       int
	NumVolumes      int
	NumNetworks     int
	CPUTotalUsage   uint64
	MemUsagePercent float64
	Networks        map[string]types.NetworkStats
	Stats           *types.StatsJSON
}

Jump to

Keyboard shortcuts

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