factories

package
v0.0.0-...-c259db3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2015 License: Apache-2.0, Apache-2.0, BSD-2-Clause-Views, + 2 more Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContainerMetric

func NewContainerMetric(applicationId string, instanceIndex int32, cpuPercentage float64, memoryBytes uint64, diskBytes uint64) *events.ContainerMetric

func NewControlUUID

func NewControlUUID(id *uuid.UUID) *control.UUID

func NewHeartbeat

func NewHeartbeat(sentCount, receivedCount, errorCount uint64) *events.Heartbeat

func NewHttpStart

func NewHttpStart(req *http.Request, peerType events.PeerType, requestId *uuid.UUID) *events.HttpStart

func NewHttpStop

func NewHttpStop(req *http.Request, statusCode int, contentLength int64, peerType events.PeerType, requestId *uuid.UUID) *events.HttpStop

func NewLogMessage

func NewLogMessage(messageType events.LogMessage_MessageType, messageString, appId, sourceType string) *events.LogMessage

func NewUUID

func NewUUID(id *uuid.UUID) *events.UUID

Types

This section is empty.

Jump to

Keyboard shortcuts

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