v1

package
v0.60.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 1 Imported by: 11,141

Documentation

Overview

Types used for docker containers.

Index

Constants

View Source
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 Cache

type Cache = model.Cache

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 Core

type Core = model.Core

type CpuCFS added in v0.24.0

type CpuCFS = model.CpuCFS

Cpu Completely Fair Scheduler statistics.

type CpuSchedstat added in v0.30.0

type CpuSchedstat = model.CpuSchedstat

Cpu Aggregated scheduler statistics

type CpuSpec

type CpuSpec = model.CpuSpec

type CpuStats

type CpuStats = model.CpuStats

All CPU usage metrics are cumulative from the creation of the container

type CpuUsage

type CpuUsage = model.CpuUsage

CPU usage time statistics.

type DataType

type DataType = model.DataType

DataType for metric being exported.

const (
	IntType   DataType = "int"
	FloatType DataType = "float"
)

type DiskInfo

type DiskInfo = model.DiskInfo

type DiskIoStats

type DiskIoStats = model.DiskIoStats

type DockerImage added in v0.23.1

type DockerImage struct {
	ID          string   `json:"id"`
	RepoTags    []string `json:"repo_tags"` // repository name and tags.
	Created     int64    `json:"created"`   // unix time since creation.
	VirtualSize int64    `json:"virtual_size"`
	Size        int64    `json:"size"`
}

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

type Event = model.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 EventData

type EventData = model.EventData

Extra information about an event. Only one type will be set.

type EventType

type EventType = model.EventType

EventType is an enumerated type which lists the categories under which events may fall. The Event field EventType is populated by this enum.

const (
	EventOom               EventType = "oom"
	EventOomKill           EventType = "oomKill"
	EventContainerCreation EventType = "containerCreation"
	EventContainerDeletion EventType = "containerDeletion"
)

type FsInfo

type FsInfo = model.FilesystemInfo

FsInfo is the machine-level filesystem type (model.FilesystemInfo in the library).

type FsStats

type FsStats = model.FsStats

type Health added in v0.54.0

type Health = model.Health

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 LoadStats

type LoadStats = model.LoadStats

This mirrors kernel internal structure.

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 MetricSpec

type MetricSpec = model.MetricSpec

Spec for custom metric.

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 MetricVal

type MetricVal = model.MetricVal

An exported metric.

type MetricValBasic

type MetricValBasic = model.MetricValBasic

An exported metric.

type NVMInfo added in v0.37.0

type NVMInfo = model.NVMInfo

type NetInfo

type NetInfo = model.NetInfo

type NetworkStats

type NetworkStats = model.NetworkStats

type Node

type Node = model.Node

type OomKillEventData

type OomKillEventData = model.OomKillEventData

Information related to an OOM kill instance

type PSIData added in v0.52.0

type PSIData = model.PSIData

type PSIStats added in v0.52.0

type PSIStats = model.PSIStats

PSI statistics for an individual resource.

type PerDiskStats

type PerDiskStats = model.PerDiskStats

type PerfStat added in v0.37.0

type PerfStat = model.PerfStat

PerfStat represents value of a single monitored perf event.

type PerfUncoreStat added in v0.37.0

type PerfUncoreStat = model.PerfUncoreStat

PerfUncoreStat represents value of a single monitored perf uncore event.

type PerfValue added in v0.38.0

type PerfValue = model.PerfValue

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 TcpStat

type TcpStat = model.TcpStat

type UdpStat added in v0.26.0

type UdpStat = model.UdpStat

type UlimitSpec added in v0.36.0

type UlimitSpec = model.UlimitSpec

type VersionInfo

type VersionInfo = model.VersionInfo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL