2021-12-07 13:18:08 -05:00

52 lines
1.7 KiB
JavaScript

"use strict";
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.22.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.V1alpha1RoleBinding = void 0;
/**
* 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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.
*/
class V1alpha1RoleBinding {
static getAttributeTypeMap() {
return V1alpha1RoleBinding.attributeTypeMap;
}
}
exports.V1alpha1RoleBinding = V1alpha1RoleBinding;
V1alpha1RoleBinding.discriminator = undefined;
V1alpha1RoleBinding.attributeTypeMap = [
{
"name": "apiVersion",
"baseName": "apiVersion",
"type": "string"
},
{
"name": "kind",
"baseName": "kind",
"type": "string"
},
{
"name": "metadata",
"baseName": "metadata",
"type": "V1ObjectMeta"
},
{
"name": "roleRef",
"baseName": "roleRef",
"type": "V1alpha1RoleRef"
},
{
"name": "subjects",
"baseName": "subjects",
"type": "Array<V1alpha1Subject>"
}
];
//# sourceMappingURL=v1alpha1RoleBinding.js.map