types
package v1.3.0
Go to latest Published: Apr 29, 2025 License:Apache-2.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:2 Opens a new window with list of imports.
Imported by:9 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeBlkio¶
type Blkio struct {IoServiceBytesRecursive []BlkioEntry `json:"ioServiceBytesRecursive,omitempty"`IoServicedRecursive []BlkioEntry `json:"ioServicedRecursive,omitempty"`IoQueuedRecursive []BlkioEntry `json:"ioQueueRecursive,omitempty"`IoServiceTimeRecursive []BlkioEntry `json:"ioServiceTimeRecursive,omitempty"`IoWaitTimeRecursive []BlkioEntry `json:"ioWaitTimeRecursive,omitempty"`IoMergedRecursive []BlkioEntry `json:"ioMergedRecursive,omitempty"`IoTimeRecursive []BlkioEntry `json:"ioTimeRecursive,omitempty"`SectorsRecursive []BlkioEntry `json:"sectorsRecursive,omitempty"`PSI *PSIStats `json:"psi,omitempty"`}
typeBlkioEntry¶
typeCPUSet¶
type CPUSet struct {CPUs []uint16 `json:"cpus,omitempty"`CPUExclusiveuint64 `json:"cpu_exclusive"`Mems []uint16 `json:"mems,omitempty"`MemHardwalluint64 `json:"mem_hardwall"`MemExclusiveuint64 `json:"mem_exclusive"`MemoryMigrateuint64 `json:"memory_migrate"`MemorySpreadPageuint64 `json:"memory_spread_page"`MemorySpreadSlabuint64 `json:"memory_spread_slab"`MemoryPressureuint64 `json:"memory_pressure"`SchedLoadBalanceuint64 `json:"sched_load_balance"`SchedRelaxDomainLevelint64 `json:"sched_relax_domain_level"`}
typeCpu¶
type Cpu struct {UsageCpuUsage `json:"usage,omitempty"`ThrottlingThrottling `json:"throttling,omitempty"`PSI *PSIStats `json:"psi,omitempty"`}
typeEvent¶
type Event struct {Typestring `json:"type"`IDstring `json:"id"`Data interface{} `json:"data,omitempty"`}
Event struct for encoding the event data to json.
typeIntelRdt¶
type IntelRdt struct {// The read-only L3 cache informationL3CacheInfo *L3CacheInfo `json:"l3_cache_info,omitempty"`// The read-only L3 cache schema in rootL3CacheSchemaRootstring `json:"l3_cache_schema_root,omitempty"`// The L3 cache schema in 'container_id' groupL3CacheSchemastring `json:"l3_cache_schema,omitempty"`// The read-only memory bandwidth informationMemBwInfo *MemBwInfo `json:"mem_bw_info,omitempty"`// The read-only memory bandwidth schema in rootMemBwSchemaRootstring `json:"mem_bw_schema_root,omitempty"`// The memory bandwidth schema in 'container_id' groupMemBwSchemastring `json:"mem_bw_schema,omitempty"`// The memory bandwidth monitoring statistics from NUMA nodes in 'container_id' groupMBMStats *[]intelrdt.MBMNumaNodeStats `json:"mbm_stats,omitempty"`// The cache monitoring technology statistics from NUMA nodes in 'container_id' groupCMTStats *[]intelrdt.CMTNumaNodeStats `json:"cmt_stats,omitempty"`}
typeL3CacheInfo¶
typeMemory¶
type Memory struct {Cacheuint64 `json:"cache,omitempty"`UsageMemoryEntry `json:"usage,omitempty"`SwapMemoryEntry `json:"swap,omitempty"`KernelMemoryEntry `json:"kernel,omitempty"`KernelTCPMemoryEntry `json:"kernelTCP,omitempty"`Raw map[string]uint64 `json:"raw,omitempty"`PSI *PSIStats `json:"psi,omitempty"`}
typeMemoryEntry¶
typeStats¶
type Stats struct {CPUCpu `json:"cpu"`CPUSetCPUSet `json:"cpuset"`MemoryMemory `json:"memory"`PidsPids `json:"pids"`BlkioBlkio `json:"blkio"`Hugetlb map[string]Hugetlb `json:"hugetlb"`IntelRdtIntelRdt `json:"intel_rdt"`NetworkInterfaces []*NetworkInterface `json:"network_interfaces"`}
Stats is the runc specific stats structure for stability when encoding and decoding stats.
typeThrottling¶
Click to show internal directories.
Click to hide internal directories.