Movatterモバイル変換


[0]ホーム

URL:


Alert GO-2025-3543: WITHDRAWN: Libcontainer is affected by capabilities elevation in github.com/opencontainers/runc

types

package
v1.3.0Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License:Apache-2.0Imports:2Imported by:9

Details

Repository

github.com/opencontainers/runc

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

type BlkioEntry struct {Majoruint64 `json:"major,omitempty"`Minoruint64 `json:"minor,omitempty"`Opstring `json:"op,omitempty"`Valueuint64 `json:"value,omitempty"`}

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"`}

typeCpuUsage

type CpuUsage struct {// Units: nanoseconds.Totaluint64   `json:"total,omitempty"`Percpu       []uint64 `json:"percpu,omitempty"`PercpuKernel []uint64 `json:"percpu_kernel,omitempty"`PercpuUser   []uint64 `json:"percpu_user,omitempty"`Kerneluint64   `json:"kernel"`Useruint64   `json:"user"`}

typeEvent

type Event struct {Typestring      `json:"type"`IDstring      `json:"id"`Data interface{} `json:"data,omitempty"`}

Event struct for encoding the event data to json.

typeHugetlb

type Hugetlb struct {Usageuint64 `json:"usage,omitempty"`Maxuint64 `json:"max,omitempty"`Failcntuint64 `json:"failcnt"`}

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

type L3CacheInfo struct {CbmMaskstring `json:"cbm_mask,omitempty"`MinCbmBitsuint64 `json:"min_cbm_bits,omitempty"`NumClosidsuint64 `json:"num_closids,omitempty"`}

typeMemBwInfo

type MemBwInfo struct {BandwidthGranuint64 `json:"bandwidth_gran,omitempty"`DelayLinearuint64 `json:"delay_linear,omitempty"`MinBandwidthuint64 `json:"min_bandwidth,omitempty"`NumClosidsuint64 `json:"num_closids,omitempty"`}

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

type MemoryEntry struct {Limituint64 `json:"limit"`Usageuint64 `json:"usage,omitempty"`Maxuint64 `json:"max,omitempty"`Failcntuint64 `json:"failcnt"`}

typeNetworkInterface

type NetworkInterface struct {// Name is the name of the network interface.NamestringRxBytesuint64RxPacketsuint64RxErrorsuint64RxDroppeduint64TxBytesuint64TxPacketsuint64TxErrorsuint64TxDroppeduint64}

typePSIDataadded inv1.2.0

type PSIData =cgroups.PSIData

typePSIStatsadded inv1.2.0

type PSIStats =cgroups.PSIStats

typePids

type Pids struct {Currentuint64 `json:"current,omitempty"`Limituint64 `json:"limit,omitempty"`}

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

type Throttling struct {Periodsuint64 `json:"periods,omitempty"`ThrottledPeriodsuint64 `json:"throttledPeriods,omitempty"`ThrottledTimeuint64 `json:"throttledTime,omitempty"`}

Source Files

View all Source files

Directories

PathSynopsis
Package features provides the annotations for github.com/opencontainers/runtime-spec/specs-go/features.
Package features provides the annotations for github.com/opencontainers/runtime-spec/specs-go/features.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp