kubernetes/vendor/github.com/google/cadvisor/info/v1/container.go

type CpuSpec

type MemorySpec

type ProcessSpec

type ContainerSpec

type ContainerReference

type ContainerReferenceSlice

func (s ContainerReferenceSlice) Len() int           {}

func (s ContainerReferenceSlice) Swap(i, j int)      {}

func (s ContainerReferenceSlice) Less(i, j int) bool {}

type ContainerInfoRequest

// Returns a ContainerInfoRequest with all default values specified.
func DefaultContainerInfoRequest() ContainerInfoRequest {}

func (r *ContainerInfoRequest) Equals(other ContainerInfoRequest) bool {}

type ContainerInfo

// TODO(vmarmol): Refactor to not need this equality comparison.
// ContainerInfo may be (un)marshaled by json or other en/decoder. In that
// case, the Timestamp field in each stats/sample may not be precisely
// en/decoded.  This will lead to small but acceptable differences between a
// ContainerInfo and its encode-then-decode version.  Eq() is used to compare
// two ContainerInfo accepting small difference (<10ms) of Time fields.
func (ci *ContainerInfo) Eq(b *ContainerInfo) bool {}

func (s *ContainerSpec) Eq(b *ContainerSpec) bool {}

func (ci *ContainerInfo) StatsAfter(ref time.Time) []*ContainerStats {}

func (ci *ContainerInfo) StatsStartTime() time.Time {}

func (ci *ContainerInfo) StatsEndTime() time.Time {}

type LoadStats

type CpuUsage

type CpuCFS

type CpuSchedstat

type CpuStats

type PerDiskStats

type DiskIoStats

type HugetlbStats

type MemoryStats

type CPUSetStats

type MemoryNumaStats

type MemoryStatsMemoryData

type InterfaceStats

type NetworkStats

type TcpStat

type TcpAdvancedStat

type UdpStat

type FsStats

type AcceleratorStats

type PerfStat

type PerfValue

type MemoryBandwidthStats

type CacheStats

type ResctrlStats

type PerfUncoreStat

type UlimitSpec

type ProcessStats

type ContainerStats

func timeEq(t1, t2 time.Time, tolerance time.Duration) bool {}

const timePrecision

// This function is useful because we do not require precise time
// representation.
func (a *ContainerStats) Eq(b *ContainerStats) bool {}

// Checks equality of the stats values.
func (a *ContainerStats) StatsEq(b *ContainerStats) bool {}

type Event

type EventType

const EventOom

const EventOomKill

const EventContainerCreation

const EventContainerDeletion

type EventData

type OomKillEventData