Documentation ¶
Index ¶
- func DiffCPUStats(pre types.CPUStats, cur types.CPUStats) types.CPUStats
- func DiffCPUUsage(pre types.CPUUsage, cur types.CPUUsage) types.CPUUsage
- func DiffThrottlingData(pre types.ThrottlingData, cur types.ThrottlingData) types.ThrottlingData
- func GetParams(regEx *regexp.Regexp, str string) (paramsMap map[string]string)
- func SanatizeContainerName(names []string) string
- func TransformFsouzaToDocker(stats docker.CPUStats) types.CPUStats
- type DockerServiceTask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffCPUStats ¶
DiffCPUStats create a diff out of two CPUStats
func DiffCPUUsage ¶
DiffCPUUsage create a diff out ot two (plus knowledge about the system usage)
func DiffThrottlingData ¶
func DiffThrottlingData(pre types.ThrottlingData, cur types.ThrottlingData) types.ThrottlingData
DiffThrottlingData diffs two ThrottlingData
func SanatizeContainerName ¶
func TransformFsouzaToDocker ¶
Types ¶
type DockerServiceTask ¶
func ContainerNameExtractService ¶
func ContainerNameExtractService(names []string) (task DockerServiceTask, err error)
Click to show internal directories.
Click to hide internal directories.