@kubernetes/client-node
Version:
NodeJS client for kubernetes
56 lines • 1.57 kB
JavaScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: v1.32.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* 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.
*/
export class V1RoleBinding {
static getAttributeTypeMap() {
return V1RoleBinding.attributeTypeMap;
}
constructor() {
}
}
V1RoleBinding.discriminator = undefined;
V1RoleBinding.mapping = undefined;
V1RoleBinding.attributeTypeMap = [
{
"name": "apiVersion",
"baseName": "apiVersion",
"type": "string",
"format": ""
},
{
"name": "kind",
"baseName": "kind",
"type": "string",
"format": ""
},
{
"name": "metadata",
"baseName": "metadata",
"type": "V1ObjectMeta",
"format": ""
},
{
"name": "roleRef",
"baseName": "roleRef",
"type": "V1RoleRef",
"format": ""
},
{
"name": "subjects",
"baseName": "subjects",
"type": "Array<RbacV1Subject>",
"format": ""
}
];
//# sourceMappingURL=V1RoleBinding.js.map