package systemd

import "github.com/google/cadvisor/container/systemd"

Index

Functions

func NewPlugin

func NewPlugin() container.Plugin

NewPlugin returns an implementation of container.Plugin suitable for passing to container.RegisterPlugin()

func Register

func Register(machineInfoFactory info.MachineInfoFactory, fsInfo fs.FsInfo, includedMetrics container.MetricSet) error

Register registers the systemd container factory.

Source Files

factory.go plugin.go

Directories

PathSynopsis
container/systemd/installThe install package registers systemd.NewPlugin() as the "systemd" container provider when imported
Version
v0.53.0 (latest)
Published
Jun 5, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
17 hours ago

Tools for package owners.