kubernetes-models
Version:
21 lines (20 loc) • 885 B
JavaScript
import { createTypeMetaGuard, Model, setSchema } from "@kubernetes-models/base";
import { addSchema } from "../../_schemas/IoK8sApiRbacV1beta1ClusterRoleList.mjs";
/**
* ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.22.
* @deprecated
*/
export class ClusterRoleList extends Model {
constructor(data) {
super({
apiVersion: ClusterRoleList.apiVersion,
kind: ClusterRoleList.kind,
...data
});
}
}
ClusterRoleList.apiVersion = "rbac.authorization.k8s.io/v1beta1";
ClusterRoleList.kind = "ClusterRoleList";
ClusterRoleList.is = createTypeMetaGuard(ClusterRoleList);
setSchema(ClusterRoleList, "io.k8s.api.rbac.v1beta1.ClusterRoleList", addSchema);
export { ClusterRoleList as IoK8sApiRbacV1beta1ClusterRoleList };