package raw
import "github.com/google/cadvisor/container/raw"
Handler for "raw" containers.
Package container defines types for sub-container events and also defines an interface for container operation handlers.
Index ¶
- Variables
- func NewRawContainerWatcher() (watcher.ContainerWatcher, error)
- func Register(machineInfoFactory info.MachineInfoFactory, fsInfo fs.FsInfo, includedMetrics map[container.MetricKind]struct{}, rawPrefixWhiteList []string) error
Variables ¶
var DockerOnly = flag.Bool("docker_only", false, "Only report docker containers in addition to root stats")
Functions ¶
func NewRawContainerWatcher ¶
func NewRawContainerWatcher() (watcher.ContainerWatcher, error)
func Register ¶
func Register(machineInfoFactory info.MachineInfoFactory, fsInfo fs.FsInfo, includedMetrics map[container.MetricKind]struct{}, rawPrefixWhiteList []string) error
Source Files ¶
factory.go handler.go watcher.go
- Version
- v0.42.0
- Published
- Oct 11, 2021
- Platform
- windows/amd64
- Imports
- 15 packages
- Last checked
- 5 minutes ago –
Tools for package owners.