Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRoleRef ¶
func GetRoleRef(rbLister RoleBindingLister, crbLister ClusterRoleBindingLister, userInfo authenticationv1.UserInfo) ([]string, []string, error)
GetRoleRef gets the list of roles and cluster roles for the incoming api-request
Types ¶
type ClusterRoleBindingLister ¶ added in v1.10.0
type ClusterRoleBindingLister interface {
List(labels.Selector) ([]*rbacv1.ClusterRoleBinding, error)
}
type RoleBindingLister ¶ added in v1.10.0
type RoleBindingLister interface {
List(labels.Selector) ([]*rbacv1.RoleBinding, error)
}
Click to show internal directories.
Click to hide internal directories.