0.1.3 • Published 6 years ago
@k8s-ts/latest v0.1.3
@k8s-ts/latest
Goals
- type-safe definition of resources
- type-safe interactions with apiserver
- easing the upgrade path for kubernetes manifests.
import {serialize} from "@k8s-ts/latest";
import {Service} from "@k8s-ts/latest/v1";
const service : Service = {
// ...
};
console.log(JSON.stringify(serialize(service)));