nri

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Nri

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

func New

func New(socketPath string, log logr.Logger, openExec *openexecmgr.OpenExecManager, nsLabels func(string) (map[string]string, error)) (*Nri, error)

func (*Nri) Configure

func (n *Nri) Configure(_ context.Context, _, runtime, version string) (api.EventMask, error)

func (*Nri) Registered

func (n *Nri) Registered() bool

Registered reports whether the runtime has ever accepted this plugin.

func (*Nri) Run

func (n *Nri) Run(ctx context.Context) error

func (*Nri) StartContainer

func (n *Nri) StartContainer(_ context.Context, pod *api.PodSandbox, ctr *api.Container) error

StartContainer runs once the container's cgroup and init process exist but before the entrypoint is executed, and the runtime waits for it to return.

Jump to

Keyboard shortcuts

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