- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for mustFindObject (0.18 sec)
-
operator/cmd/mesh/manifest-generate_test.go
t.Run(cname, func(t *testing.T) { deployment := mustFindObject(t, objs, cname, name.DeploymentStr) service := mustFindObject(t, objs, cname, name.ServiceStr) pdb := mustFindObject(t, objs, cname, name.PDBStr) hpa := mustFindObject(t, objs, cname, name.HPAStr) podLabels := mustGetLabels(t, deployment, "spec.template.metadata.labels") // Check all selectors align
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Thu Feb 22 08:32:23 GMT 2024 - 42K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
t.Fatalf("could not parse k8s objects from generated YAML: %v", err) } mustFindObject(t, objs, "istio-reader-service-account", "ServiceAccount") mustFindObject(t, objs, "istio-reader-clusterrole-istio-system", "ClusterRole") mustFindObject(t, objs, "istio-reader-clusterrole-istio-system", "ClusterRoleBinding") } func mustFindObject(t test.Failer, objs object.K8sObjects, name, kind string) { t.Helper()
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 20.6K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
if err != nil { t.Fatal(err) } if !f { t.Fatalf("couldn't find path %v", path) } return got } func mustFindObject(t test.Failer, objs object.K8sObjects, name, kind string) object.K8sObject { t.Helper() o := findObject(objs, name, kind) if o == nil { t.Fatalf("expected %v/%v", name, kind) return object.K8sObject{} }
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0)