- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewIneffectivePolicy (0.16 sec)
-
pkg/config/analysis/analyzers/sidecar/selector.go
// but we do want to warn that the policy is ineffective. if util.PodInAmbientMode(podResource) { if !reportedResources[rs.Metadata.FullName.String()] { c.Report(gvk.Sidecar, msg.NewIneffectivePolicy(rs, "selected workload is in ambient mode, the policy has no impact")) reportedResources[rs.Metadata.FullName.String()] = true } continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 5K bytes - Viewed (0) -
pkg/config/analysis/msg/messages.gen.go
func NewIneffectiveSelector(r *resource.Instance, gateway string) diag.Message { return diag.NewMessage( IneffectiveSelector, r, gateway, ) } // NewIneffectivePolicy returns a new diag.Message based on IneffectivePolicy. func NewIneffectivePolicy(r *resource.Instance, reason string) diag.Message { return diag.NewMessage( IneffectivePolicy, r, reason, ) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 22 10:13:03 UTC 2024 - 43.2K bytes - Viewed (0)