0.7.0 • Published 4 months ago
@kubernetes-models/gateway-api v0.7.0
@kubernetes-models/gateway-api
Gateway API models.
Installation
Install with npm.
npm install @kubernetes-models/gateway-api
Usage
import { HTTPRoute } from "@kubernetes-models/gateway-api/gateway.networking.k8s.io/v1/HTTPRoute";
// Create a new HTTPRoute
const route = new HTTPRoute({
metadata: {
name: "http-route"
},
spec: {
parentRefs: [
{
kind: "Gateway",
name: "foo-gateway"
}
],
rules: [
{
backendRefs: [{ name: "foo-svc", port: 8080 }]
}
]
}
});
// Validate against JSON schema
route.validate();
License
MIT
0.7.0
4 months ago
0.0.0-20240608155033
8 months ago
0.0.0-20240610074310
8 months ago
0.0.0-20240608085410
8 months ago
0.6.0
8 months ago
0.5.1
8 months ago
0.0.0-20240402180946
10 months ago
0.0.0-20240403022011
10 months ago
0.0.0-20240402174322
10 months ago
0.0.0-20240401155416
10 months ago
0.5.0
1 year ago
0.4.0
1 year ago
0.3.0
2 years ago
0.3.1
2 years ago
0.0.0-20230404142451
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.0.0-20230404121257
2 years ago
0.0.0-20230404141129
2 years ago
0.0.0-20230407124751
2 years ago
0.0.0-20230407125710
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago