cgrouprate

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(kube *processapi.MsgK8s, ktime uint64)

Called from event handlers to kick off the cgroup rate periodical check for event's cgroup.

func Config

func Config(optsMap *program.Map)

func NewCgroupRate

func NewCgroupRate(ctx context.Context,
	listener observer.Listener,
	hash *program.Map,
	opts *option.CgroupRate)

func NewTestCgroupRate

func NewTestCgroupRate(listener observer.Listener,
	hash *program.Map,
	opts *option.CgroupRate)

Types

type CgroupRate

type CgroupRate struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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