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.37.3
Published
Dec 9, 2020
Platform
darwin/amd64
Imports
7 packages
Last checked
20 minutes ago

Tools for package owners.