0.4.1 • Published 12 months ago
@kubernetes-models/linkerd v0.4.1
@kubernetes-models/linkerd
Linkerd models.
Installation
Install with npm.
npm install @kubernetes-models/linkerdimport { ServiceProfile } from '@kubernetes-models/linkerd/linkerd.io/v1alpha2/ServiceProfile';
const serviceProfile = new ServiceProfile({
metadata: {
name: "example"
},
spec: {
routes: [
{
name: "example",
condition: {
method: "GET",
pathRegex: "/v1/example/.*"
}
}
]
},
});
// Validate against JSON schema
serviceProfile.validate();License
MIT
0.4.1
12 months ago
0.4.0
12 months ago
0.3.1
1 year ago
0.0.0-20240608155033
1 year ago
0.3.0
1 year ago
0.2.1
1 year ago
0.0.0-20240610074310
1 year ago
0.0.0-20240608085410
1 year ago
0.0.0-20240402180946
2 years ago
0.0.0-20240403022011
2 years ago
0.0.0-20240402174322
2 years ago
0.0.0-20240401155416
2 years ago
0.2.0
2 years ago
0.1.0
2 years ago