#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.
#
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). Do not edit the class manually.
'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.',
class=>'V1RoleBinding',
required=>[],# TODO
}
);
__PACKAGE__->method_documentation(
{
'api_version'=>{
datatype=>'string',
base_name=>'apiVersion',
description=>
'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources',
format=>'',
read_only=>'',
},
'kind'=>{
datatype=>'string',
base_name=>'kind',
description=>
'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds',
format=>'',
read_only=>'',
},
'metadata'=>{
datatype=>'V1ObjectMeta',
base_name=>'metadata',
description=>'',
format=>'',
read_only=>'',
},
'role_ref'=>{
datatype=>'V1RoleRef',
base_name=>'roleRef',
description=>'',
format=>'',
read_only=>'',
},
'subjects'=>{
datatype=>'ARRAY[V1Subject]',
base_name=>'subjects',
description=>
'Subjects holds references to the objects the role applies to.',