- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for mustGetService (0.25 sec)
-
operator/cmd/mesh/test-util_test.go
log.Errorf("bad path: %s", err) return false } if !found { return false } return got.(map[string]any)[label] == value } // mustGetService returns the service with the given name or fails if it's not found in objs. func mustGetService(g *WithT, objs *ObjectSet, name string) *object.K8sObject { obj := objs.kind(name2.ServiceStr).nameEquals(name) g.Expect(obj).Should(Not(BeNil())) return obj }
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) -
operator/cmd/mesh/manifest-generate_test.go
g.Expect(c).Should(HavePathValueEqual(PathValue{"resources.requests.memory", "888Mi"})) dobj = mustGetDeployment(g, objs, "ilb-gateway") d = dobj.Unstructured() c = dobj.Container("istio-proxy") s := mustGetService(g, objs, "ilb-gateway").Unstructured() g.Expect(d).Should(HavePathValueContain(PathValue{"metadata.labels", toMap("app:istio-ingressgateway,istio:ingressgateway,release: istio")}))
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Thu Feb 22 08:32:23 GMT 2024 - 42K bytes - Viewed (0)