userinfo

package
v0.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL