type FakeRbacV1 … func (c *FakeRbacV1) ClusterRoles() v1.ClusterRoleInterface { … } func (c *FakeRbacV1) ClusterRoleBindings() v1.ClusterRoleBindingInterface { … } func (c *FakeRbacV1) Roles(namespace string) v1.RoleInterface { … } func (c *FakeRbacV1) RoleBindings(namespace string) v1.RoleBindingInterface { … } // RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. func (c *FakeRbacV1) RESTClient() rest.Interface { … }