parser

package
v0.0.0-...-db4cfde Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerInfo

type ContainerInfo struct {
	FullPath string
	Pid      uint64
	Exe      string
	ID       string
}

type Marshal

type Marshal interface {
	Marshal(buffer *bytes.Buffer) (*bytes.Buffer, error)
}

type Stat

type Stat interface {
	CreateStats() ([]StatFunc, error)
}

type StatFunc

type StatFunc func() map[string]float64

type StatManager

type StatManager struct {
	*cgroups.Stats
	// contains filtered or unexported fields
}

func (*StatManager) All

func (s *StatManager) All() []StatFunc

func (*StatManager) WithBlkIO

func (s *StatManager) WithBlkIO() *StatManager

func (*StatManager) WithCPU

func (s *StatManager) WithCPU() *StatManager

func (*StatManager) WithMemory

func (s *StatManager) WithMemory() *StatManager

func (*StatManager) WithMemorySwap

func (s *StatManager) WithMemorySwap() *StatManager

func (*StatManager) WithPid

func (s *StatManager) WithPid() *StatManager

Jump to

Keyboard shortcuts

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