Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustGetRole (0.08 sec)

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

    	obj := objs.kind(name2.ClusterRoleStr).nameEquals(name)
    	g.Expect(obj).Should(Not(BeNil()))
    	return obj
    }
    
    // mustGetRole returns the role with the given name or fails if it's not found in objs.
    func mustGetRole(g *WithT, objs *ObjectSet, name string) *object.K8sObject {
    	obj := objs.kind(name2.RoleStr).nameEquals(name)
    	g.Expect(obj).Should(Not(BeNil()))
    	return obj
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 15.3K bytes
    - Viewed (0)
Back to top