cgroups

package
v1.3.0-k3s.5-zfs Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ic *plugin.InitContext) (interface{}, error)

New returns a new cgroups monitor

Types

type Config

type Config struct {
	NoPrometheus bool `toml:"no_prometheus"`
}

Config for the cgroups monitor

type Trigger

type Trigger func(string, string, cgroups.Cgroup)

Trigger will be called when an event happens and provides the cgroup where the event originated from

Jump to

Keyboard shortcuts

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