| 1 | package IO::K8s::Api::Rbac::V1::RoleBinding; | ||
| 2 | # ABSTRACT: RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. | ||
| 3 | 7 | our $VERSION = '1.112'; | |
| 4 | 7 | ▶ | use IO::K8s::APIObject; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 7 | with 'IO::K8s::Role::Namespaced'; | |
| 6 | |||
| 7 | |||
| 8 | 7 | k8s roleRef => 'Rbac::V1::RoleRef', 'required'; | |
| 9 | |||
| 10 | |||
| 11 | 7 | k8s subjects => ['Rbac::V1::Subject']; | |
| 12 | |||
| 13 | 7 | 1; | |
| 14 | |||
| 15 | __END__ | ||