groups

package
v1.16.6 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 14 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDerivativeCCNPIfNeeded

func AddDerivativeCCNPIfNeeded(clientset client.Clientset, cnp *cilium_v2.CiliumNetworkPolicy) bool

AddDerivativeCCNPIfNeeded will create a new CCNP if the given NetworkPolicy has any rules that need to create a new derivative policy. It returns a boolean, true in case that all actions are correct, false if something fails.

func AddDerivativeCNPIfNeeded

func AddDerivativeCNPIfNeeded(clientset client.Clientset, cnp *cilium_v2.CiliumNetworkPolicy) bool

AddDerivativeCNPIfNeeded will create a new CNP if the given CNP has any rules that need to create a new derivative policy. It returns a boolean, true in case that all actions are correct, false if something fails.

func