- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hasCreateNamespaceAction (1.86 sec)
-
plugin/pkg/admission/namespace/autoprovision/admission_test.go
Spec: api.PodSpec{ Volumes: []api.Volume{{Name: "vol"}}, Containers: []api.Container{{Name: "ctr", Image: "image"}}, }, } } // hasCreateNamespaceAction returns true if it has the create namespace action func hasCreateNamespaceAction(mockClient *fake.Clientset) bool { for _, action := range mockClient.Actions() { if action.GetVerb() == "create" && action.GetResource().Resource == "namespaces" { return true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 7.5K bytes - Viewed (0)