- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ensurePodSC (0.22 sec)
-
pkg/securitycontext/accessors.go
} func (w *podSecurityContextWrapper) ensurePodSC() { if w.podSC == nil { w.podSC = &api.PodSecurityContext{} } } func (w *podSecurityContextWrapper) HostNetwork() bool { if w.podSC == nil { return false } return w.podSC.HostNetwork } func (w *podSecurityContextWrapper) SetHostNetwork(v bool) { if w.podSC == nil && v == false { return } w.ensurePodSC() w.podSC.HostNetwork = v }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 22 16:15:27 UTC 2023 - 14.4K bytes - Viewed (0)