- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestCRDHasFinalizer (0.46 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/helpers_test.go
limitations under the License. */ package apiextensions import ( "reflect" "testing" "time" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) func TestCRDHasFinalizer(t *testing.T) { tests := []struct { name string crd *CustomResourceDefinition finalizerToCheck string expected bool }{ { name: "missing",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 17 19:08:05 UTC 2019 - 15.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apihelpers/helpers_test.go
actual, _ := GetAPIApprovalState(test.annotations) if actual != test.expected { t.Fatalf("expected %v, got %v", test.expected, actual) } }) } } func TestCRDHasFinalizer(t *testing.T) { tests := []struct { name string crd *apiextensionsv1.CustomResourceDefinition finalizerToCheck string expected bool }{ { name: "missing",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 03 16:49:27 UTC 2019 - 20.3K bytes - Viewed (0)