docker

package
Version: v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerLogs

type DockerLogs struct {
	Stdout []byte `json:"stdout"`
	Stderr []byte `json:"stderr"`
}

type Stats

type Stats struct {
	CPUPercent    float64 `json:"cpu_percent"`
	MemoryPercent float64 `json:"memory_percent"`
	MemoryLimit   float64 `json:"memory_limit"`
	Memory        float64 `json:"memory"`
	Name          string  `json:"name"`
	ID            string  `json:"id"`
	NetworkRx     float64 `json:"network_rx"`
	NetworkTx     float64 `json:"network_tx"`
	BlockRead     float64 `json:"block_read"`
	BlockWrite    float64 `json:"block_write"`
	PidsCurrent   uint64  `json:"pids_current"`
	Status        string  `json:"status"`
	State         string  `json:"state"`
}

Stats holding docker stats from a container

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL