UNPKG

k8ts

Version:

Powerful framework for building Kubernetes manifests in TypeScript.

29 lines 814 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Port = void 0; var Port; (function (Port_1) { class Port { props; constructor(props) { this.props = props; } get service() { return this.props.service; } get port() { return this.props; } // TODO: Does this need to resolve ports? ref() { return { kind: "Service", namespace: this.service.meta.tryGet("namespace"), name: this.service.meta.get("name"), port: this.service.ports.get(this.props.name).frontend }; } } Port_1.Port = Port; })(Port || (exports.Port = Port = {})); //# sourceMappingURL=service-port.js.map