Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Ou (0.14 sec)

  1. operator/cmd/mesh/test-util_test.go

    func checkRoleBindingsReferenceRoles(g *WithT, objs *ObjectSet) {
    	for _, o := range objs.kind(name2.RoleBindingStr).objSlice {
    		ou := o.Unstructured()
    		rrname := mustGetValueAtPath(g, ou, "roleRef.name")
    		mustGetRole(g, objs, rrname.(string))
    	}
    }
    
    // checkClusterRoleBindingsReferenceRoles fails if any RoleBinding in objs references a Role that isn't found in objs.
    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(s).Should(HavePathValueContain(PathValue{"spec.ports.[2]", portVal("tcp-dns", 5353, -1)}))
    
    		for _, o := range objs.kind(name.HPAStr).objSlice {
    			ou := o.Unstructured()
    			g.Expect(ou).Should(HavePathValueEqual(PathValue{"spec.minReplicas", int64(1)}))
    			g.Expect(ou).Should(HavePathValueEqual(PathValue{"spec.maxReplicas", int64(5)}))
    		}
    
    		checkRoleBindingsReferenceRoles(g, objs)
    	}
    }
    
    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