- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for mustGetDeployment (0.16 sec)
-
operator/cmd/mesh/test-util_test.go
obj := objs.kind(name2.ServiceStr).nameEquals(name) g.Expect(obj).Should(Not(BeNil())) return obj } // mustGetDeployment returns the deployment with the given name or fails if it's not found in objs. func mustGetDeployment(g *WithT, objs *ObjectSet, deploymentName string) *object.K8sObject { obj := objs.kind(name2.DeploymentStr).nameEquals(deploymentName) g.Expect(obj).Should(Not(BeNil()))
Go - Registered: Wed May 08 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(objs.kind(name.RoleBindingStr).nameMatches(".*gateway.*").size()).Should(Equal(3)) g.Expect(objs.kind(name.SAStr).nameMatches(".*gateway.*").size()).Should(Equal(3)) dobj := mustGetDeployment(g, objs, "istio-ingressgateway") d := dobj.Unstructured() c := dobj.Container("istio-proxy")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0)