Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mustGetDeployment (0.18 sec)

  1. 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 Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  2. 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")
    		g.Expect(d).Should(HavePathValueContain(PathValue{"metadata.labels", toMap("aaa:aaa-val,bbb:bbb-val")}))
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
Back to top