podhooks

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: Apache-2.0 Copyright Authors of Tetragon

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallHooks

func InstallHooks(podInformer cache.SharedIndexInformer)

InstallHooks executes all registered callbacks

func RegisterCallbacksAtInit

func RegisterCallbacksAtInit(cbs Callbacks)

RegisterCallbacksAtInit registers callbacks. Must be called before InstallHooks and callers need to be serialized externally.

Types

type Callbacks

type Callbacks struct {
	PodCallbacks func(podInformer cache.SharedIndexInformer)
}

Jump to

Keyboard shortcuts

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