Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterRoleRefsForUser ¶
func ClusterRoleRefsForUser(ctx context.Context, cli client.Reader, user authenticationv1.UserInfo) (clusterroles []string, err error)
ClusterRoleRefsForUser gets the list of roles and cluster roles for the given user information. Only cluster roles bound by a cluster role binding are returned. Role bindings are ignored.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.