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