containerprofilenetwork

package
v0.3.215 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPNetwork

func CPNetwork(objectCache objectcache.ObjectCache, config config.Config, mm ...metricsmanager.MetricsManager) cel.EnvOption

func NN deprecated

NN returns the deprecated "nn.*" backward-compat alias namespace for this library's cp.* functions (e.g. nn.is_domain_in_egress, nn.was_address_in_egress, ...).

Deprecated: kubescape/node-agent#864 renamed the ap.*/nn.* CEL helper namespaces to cp.* with no backward-compatible aliases, which silently disabled any pre-existing user-authored CEL rule still referencing the old names (pkg/utils/cel.go logs a warning and just skips the rule on compile failure). NN restores those names for a transition window: it shares the same containerProfileNetworkLibrary instance and the same funcSpecs table as cp.*, so every nn.* call is wired to the exact same Go implementation (l.wasAddressInEgress, l.isDomainInEgress, ...) as its cp.* equivalent — only the CEL-facing function name and overload id differ (cel-go requires overload ids to be unique per environment, so nn.* can't literally reuse cp.*'s FunctionOpt values). Remove once user rules have migrated to cp.*.

Types

This section is empty.

Jump to

Keyboard shortcuts

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