UNPKG

kubernetes-models

Version:
40 lines (39 loc) 1.14 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@kubernetes-models/validate"); const IoK8sApiAuthenticationV1BoundObjectReference_1 = require("./IoK8sApiAuthenticationV1BoundObjectReference.js"); const schema = { "properties": { "audiences": { "items": { "type": "string" }, "type": "array" }, "boundObjectRef": { "oneOf": [ { "$ref": "io.k8s.api.authentication.v1.BoundObjectReference#" }, { "type": "null" } ] }, "expirationSeconds": { "format": "int64", "type": "integer", "nullable": true } }, "required": [ "audiences" ], "type": "object" }; function addSchema() { (0, IoK8sApiAuthenticationV1BoundObjectReference_1.addSchema)(); (0, validate_1.register)("io.k8s.api.authentication.v1.TokenRequestSpec", schema); } exports.addSchema = addSchema;