Documentation
¶
Index ¶
- func AddDerivativeCCNPIfNeeded(clientset client.Clientset, cnp *cilium_v2.CiliumNetworkPolicy) bool
- func AddDerivativeCNPIfNeeded(clientset client.Clientset, cnp *cilium_v2.CiliumNetworkPolicy) bool
- func DeleteDerivativeCCNP(ctx context.Context, clientset client.Clientset, ...) error
- func DeleteDerivativeCNP(ctx context.Context, clientset client.Clientset, ...) error
- func DeleteDerivativeFromCache(cnp *cilium_v2.CiliumNetworkPolicy)
- func UpdateCNPInformation(clientset client.Clientset)
- func UpdateDerivativeCCNPIfNeeded(clientset client.Clientset, newCCNP *cilium_v2.CiliumNetworkPolicy, ...) bool
- func UpdateDerivativeCNPIfNeeded(clientset client.Clientset, newCNP *cilium_v2.CiliumNetworkPolicy, ...) bool
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.