- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestContainerSecurityContextMutator (0.46 sec)
-
pkg/securitycontext/accessors_test.go
if v := a.AllowPrivilegeEscalation(); !reflect.DeepEqual(expected.AllowPrivilegeEscalation, v) { t.Errorf("%d: expected %#v, got %#v", i, expected.AllowPrivilegeEscalation, v) } } } func TestContainerSecurityContextMutator(t *testing.T) { testcases := map[string]struct { newSC func() *api.SecurityContext }{ "nil": { newSC: func() *api.SecurityContext { return nil }, }, "zero": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 22 16:15:27 UTC 2023 - 27.8K bytes - Viewed (0)