userinfo

package
v1.13.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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)
}

Jump to

Keyboard shortcuts

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