2.3.1 • Published 1 month ago
@kubernetes-models/knative v2.3.1
@kubernetes-models/knative
Knative models.
Installation
Install with npm.
npm install @kubernetes-models/knative
Usage
import { Service } from "@kubernetes-models/knative/serving.knative.dev/v1/Service";
// Create a service
const service = new Service({
metadata: { name: "hello" },
spec: {
template: {
metadata: { name: "hello-world" },
spec: {
containers: [
{
image: "gcr.io/knative-samples/helloworld-go",
ports: [{ containerPort: 8080 }]
}
]
}
}
}
});
// Validate against JSON schema
service.validate();
License
MIT
0.0.0-20240403022011
1 month ago
0.0.0-20240402180946
1 month ago
0.0.0-20240402174322
1 month ago
0.0.0-20240401155416
1 month ago
2.3.0
12 months ago
2.3.1
11 months ago
0.0.0-20230404142451
1 year ago
0.0.0-20230404141129
1 year ago
0.0.0-20230407124751
1 year ago
0.0.0-20230407125710
1 year ago
2.2.1
1 year ago
2.2.0
1 year ago
0.0.0-20230404121257
1 year ago
2.1.0
1 year ago
2.0.1
2 years ago
2.0.0
2 years ago
1.1.0
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.0.0-202177121237
3 years ago
0.1.0
3 years ago