- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewContainerSecurityContextMutator (0.47 sec)
-
pkg/securitycontext/accessors_test.go
if sc == nil { return &api.SecurityContext{} } return sc } for k, tc := range testcases { { sc := tc.newSC() originalSC := tc.newSC() m := NewContainerSecurityContextMutator(sc) // no-op sets should not modify the object m.SetAllowPrivilegeEscalation(m.AllowPrivilegeEscalation()) m.SetCapabilities(m.Capabilities()) m.SetPrivileged(m.Privileged())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 22 16:15:27 UTC 2023 - 27.8K bytes - Viewed (0) -
pkg/securitycontext/accessors.go
return &containerSecurityContextWrapper{containerSC: containerSC} } // NewContainerSecurityContextMutator returns a mutator for the provided container security context // May be initialized with a nil SecurityContext func NewContainerSecurityContextMutator(containerSC *api.SecurityContext) ContainerSecurityContextMutator { return &containerSecurityContextWrapper{containerSC: containerSC} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 22 16:15:27 UTC 2023 - 14.4K bytes - Viewed (0)