Documentation
¶
Overview ¶
Types used for docker containers.
Index ¶
- Constants
- type AcceleratorStats
- type CPUSetStats
- type Cache
- type CacheStats
- type CloudProvider
- type ContainerDeletionEventData
- type ContainerInfo
- type ContainerInfoRequest
- type ContainerReference
- type ContainerReferenceSlice
- type ContainerSpec
- type ContainerStats
- type Core
- type CpuCFS
- type CpuSchedstat
- type CpuSpec
- type CpuStats
- type CpuUsage
- type DataType
- type DiskInfo
- type DiskIoStats
- type DockerImage
- type DockerStatus
- type Event
- type EventData
- type EventType
- type FsInfo
- type FsStats
- type Health
- type HugePagesInfo
- type HugetlbStats
- type InstanceID
- type InstanceType
- type InterfaceStats
- type LoadStats
- type MachineInfo
- type MachineInfoFactory
- type MemoryBandwidthStats
- type MemoryEvents
- type MemoryInfo
- type MemoryNumaStats
- type MemorySpec
- type MemoryStats
- type MemoryStatsMemoryData
- type MetricSpec
- type MetricType
- type MetricVal
- type MetricValBasic
- type NVMInfo
- type NetInfo
- type NetworkStats
- type Node
- type OomKillEventData
- type PSIData
- type PSIStats
- type PerDiskStats
- type PerfStat
- type PerfUncoreStat
- type PerfValue
- type ProcessSpec
- type ProcessStats
- type ResctrlStats
- type TcpAdvancedStat
- type TcpStat
- type UdpStat
- type UlimitSpec
- type VersionInfo
Constants ¶
const (
UnknownInstance = "Unknown"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceleratorStats ¶ added in v0.28.0
type AcceleratorStats = model.AcceleratorStats
type CPUSetStats ¶ added in v0.39.0
type CPUSetStats = model.CPUSetStats
type CacheStats ¶ added in v0.37.0
type CacheStats = model.CacheStats
CacheStats corresponds to CMT (Cache Monitoring Technology). See: https://01.org/cache-monitoring-technology See: https://www.kernel.org/doc/Documentation/x86/intel_rdt_ui.txt
type CloudProvider ¶
type CloudProvider = model.CloudProvider
const ( GCE CloudProvider = "GCE" AWS CloudProvider = "AWS" Azure CloudProvider = "Azure" UnknownProvider CloudProvider = "Unknown" )
type ContainerDeletionEventData ¶ added in v0.55.0
type ContainerDeletionEventData = model.ContainerDeletionEventData
Information related to a container deletion event
type ContainerInfo ¶
type ContainerInfo = model.ContainerInfo
type ContainerInfoRequest ¶
type ContainerInfoRequest = model.ContainerInfoRequest
ContainerInfoRequest is used when users check a container info from the REST API. It specifies how much data users want to get about a container
func DefaultContainerInfoRequest ¶
func DefaultContainerInfoRequest() ContainerInfoRequest
Returns a ContainerInfoRequest with all default values specified.
type ContainerReference ¶
type ContainerReference = model.ContainerReference
Container reference contains enough information to uniquely identify a container
type ContainerReferenceSlice ¶
type ContainerReferenceSlice = model.ContainerReferenceSlice
Sorts by container name.
type ContainerSpec ¶
type ContainerSpec = model.ContainerSpec
type ContainerStats ¶
type ContainerStats = model.ContainerStats
type CpuSchedstat ¶ added in v0.30.0
type CpuSchedstat = model.CpuSchedstat
Cpu Aggregated scheduler statistics
type DiskIoStats ¶
type DiskIoStats = model.DiskIoStats
type DockerImage ¶ added in v0.23.1
type DockerStatus ¶ added in v0.23.1
type DockerStatus struct {
Version string `json:"version"`
APIVersion string `json:"api_version"`
KernelVersion string `json:"kernel_version"`
OS string `json:"os"`
Hostname string `json:"hostname"`
RootDir string `json:"root_dir"`
Driver string `json:"driver"`
DriverStatus map[string]string `json:"driver_status"`
ExecDriver string `json:"exec_driver"`
NumImages int `json:"num_images"`
NumContainers int `json:"num_containers"`
}
type Event ¶
Event contains information general to events such as the time at which they occurred, their specific type, and the actual event. Event types are differentiated by the EventType field of Event.
type EventType ¶
EventType is an enumerated type which lists the categories under which events may fall. The Event field EventType is populated by this enum.
type FsInfo ¶
type FsInfo = model.FilesystemInfo
FsInfo is the machine-level filesystem type (model.FilesystemInfo in the library).
type HugePagesInfo ¶ added in v0.27.0
type HugePagesInfo = model.HugePagesInfo
type HugetlbStats ¶ added in v0.37.0
type HugetlbStats = model.HugetlbStats
type InstanceID ¶ added in v0.22.0
type InstanceID = model.InstanceID
const (
UnNamedInstance InstanceID = "None"
)
type InstanceType ¶
type InstanceType = model.InstanceType
type InterfaceStats ¶
type InterfaceStats = model.InterfaceStats
type MachineInfo ¶
type MachineInfo = model.MachineInfo
type MachineInfoFactory ¶
type MachineInfoFactory = model.MachineInfoFactory
type MemoryBandwidthStats ¶ added in v0.37.0
type MemoryBandwidthStats = model.MemoryBandwidthStats
MemoryBandwidthStats corresponds to MBM (Memory Bandwidth Monitoring). See: https://01.org/cache-monitoring-technology See: https://www.kernel.org/doc/Documentation/x86/intel_rdt_ui.txt
type MemoryEvents ¶ added in v0.57.0
type MemoryEvents = model.MemoryEvents
type MemoryInfo ¶ added in v0.37.0
type MemoryInfo = model.MemoryInfo
type MemoryNumaStats ¶ added in v0.38.0
type MemoryNumaStats = model.MemoryNumaStats
type MemorySpec ¶
type MemorySpec = model.MemorySpec
type MemoryStats ¶
type MemoryStats = model.MemoryStats
type MemoryStatsMemoryData ¶
type MemoryStatsMemoryData = model.MemoryStatsMemoryData
type MetricType ¶
type MetricType = model.MetricType
Type of metric being exported.
const ( // Instantaneous value. May increase or decrease. MetricGauge MetricType = "gauge" // A counter-like value that is only expected to increase. MetricCumulative MetricType = "cumulative" )
type NetworkStats ¶
type NetworkStats = model.NetworkStats
type OomKillEventData ¶
type OomKillEventData = model.OomKillEventData
Information related to an OOM kill instance
type PerDiskStats ¶
type PerDiskStats = model.PerDiskStats
type PerfUncoreStat ¶ added in v0.37.0
type PerfUncoreStat = model.PerfUncoreStat
PerfUncoreStat represents value of a single monitored perf uncore event.
type ProcessSpec ¶ added in v0.34.0
type ProcessSpec = model.ProcessSpec
type ProcessStats ¶ added in v0.32.0
type ProcessStats = model.ProcessStats
type ResctrlStats ¶ added in v0.37.0
type ResctrlStats = model.ResctrlStats
ResctrlStats corresponds to statistics from Resource Control.
type TcpAdvancedStat ¶ added in v0.36.0
type TcpAdvancedStat = model.TcpAdvancedStat
type UlimitSpec ¶ added in v0.36.0
type UlimitSpec = model.UlimitSpec
type VersionInfo ¶
type VersionInfo = model.VersionInfo