func newRoleBindings(c *RbacV1alpha1Client, namespace string) *roleBindings {
	return &roleBindings{
		client: c.RESTClient(),
		ns:     namespace,
	}
}
newRoleBindings returns a RoleBindings
package v1alpha1
import (
	v1alpha1 "k8s.io/api/rbac/v1alpha1"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	types "k8s.io/apimachinery/pkg/types"
	watch "k8s.io/apimachinery/pkg/watch"
	scheme "k8s.io/client-go/kubernetes/scheme"
	rest "k8s.io/client-go/rest"
)
type RoleBindingsGetter interface {
	RoleBindings(namespace string) RoleBindingInterface
}
type RoleBindingInterface interface {
	Create(*v1alpha1.RoleBinding) (*v1alpha1.RoleBinding, error)
	Update(*v1alpha1.RoleBinding) (*v1alpha1.RoleBinding, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.RoleBinding, error)
	List(opts v1.ListOptions) (*v1alpha1.RoleBindingList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.RoleBinding, err error)
	RoleBindingExpansion
}
type roleBindings struct {
	client rest.Interface
	ns     string
}