|
| 1 | +{ |
| 2 | + "kind": "Application", |
| 3 | + "apiVersion": "core.oam.dev/v1beta1", |
| 4 | + "metadata": { |
| 5 | + "name": "rust-hello-world", |
| 6 | + "namespace": "default", |
| 7 | + "uid": "8463bb90-0c03-4a1c-b21f-e8446b84184f", |
| 8 | + "resourceVersion": "551", |
| 9 | + "generation": 1, |
| 10 | + "creationTimestamp": "2025-01-07T19:21:56Z", |
| 11 | + "annotations": { |
| 12 | + "description": "HTTP hello world demo in Rust, using the WebAssembly Component Model and WebAssembly Interfaces Types (WIT)", |
| 13 | + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"core.oam.dev/v1beta1\",\"kind\":\"Application\",\"metadata\":{\"annotations\":{\"description\":\"HTTP hello world demo in Rust, using the WebAssembly Component Model and WebAssembly Interfaces Types (WIT)\",\"wasmcloud.dev/authors\":\"wasmCloud team\",\"wasmcloud.dev/categories\":\"http,http-server,rust,hello-world,example\\n\",\"wasmcloud.dev/homepage\":\"https://github.com/wasmCloud/wasmCloud/tree/main/examples/rust/components/http-hello-world\",\"wasmcloud.dev/readme-md-url\":\"https://github.com/wasmCloud/wasmCloud/blob/main/examples/rust/components/http-hello-world/README.md\",\"wasmcloud.dev/source-url\":\"https://github.com/wasmCloud/wasmCloud/blob/main/examples/rust/components/http-hello-world/wadm.yaml\"},\"name\":\"rust-hello-world\",\"namespace\":\"default\"},\"spec\":{\"components\":[{\"name\":\"http-component\",\"properties\":{\"image\":\"ghcr.io/wasmcloud/components/http-hello-world-rust:0.1.0\"},\"traits\":[{\"properties\":{\"instances\":1},\"type\":\"spreadscaler\"}],\"type\":\"component\"},{\"name\":\"httpserver\",\"properties\":{\"image\":\"ghcr.io/wasmcloud/http-server:0.23.1\"},\"traits\":[{\"properties\":{\"instances\":1},\"type\":\"spreadscaler\"},{\"properties\":{\"interfaces\":[\"incoming-handler\"],\"namespace\":\"wasi\",\"package\":\"http\",\"source_config\":[{\"name\":\"default-http\",\"properties\":{\"address\":\"0.0.0.0:8080\"}}],\"target\":\"http-component\"},\"type\":\"link\"}],\"type\":\"capability\"}]}}\n", |
| 14 | + "wasmcloud.dev/authors": "wasmCloud team", |
| 15 | + "wasmcloud.dev/categories": "http,http-server,rust,hello-world,example\n", |
| 16 | + "wasmcloud.dev/homepage": "https://github.com/wasmCloud/wasmCloud/tree/main/examples/rust/components/http-hello-world", |
| 17 | + "wasmcloud.dev/readme-md-url": "https://github.com/wasmCloud/wasmCloud/blob/main/examples/rust/components/http-hello-world/README.md", |
| 18 | + "wasmcloud.dev/source-url": "https://github.com/wasmCloud/wasmCloud/blob/main/examples/rust/components/http-hello-world/wadm.yaml" |
| 19 | + }, |
| 20 | + "managedFields": [ |
| 21 | + { |
| 22 | + "manager": "kubectl-client-side-apply", |
| 23 | + "operation": "Update", |
| 24 | + "apiVersion": "core.oam.dev/v1beta1", |
| 25 | + "time": "2025-01-07T19:21:56Z", |
| 26 | + "fieldsType": "FieldsV1", |
| 27 | + "fieldsV1": { |
| 28 | + "f:metadata": { |
| 29 | + "f:annotations": { |
| 30 | + ".": {}, |
| 31 | + "f:description": {}, |
| 32 | + "f:kubectl.kubernetes.io/last-applied-configuration": {}, |
| 33 | + "f:wasmcloud.dev/authors": {}, |
| 34 | + "f:wasmcloud.dev/categories": {}, |
| 35 | + "f:wasmcloud.dev/homepage": {}, |
| 36 | + "f:wasmcloud.dev/readme-md-url": {}, |
| 37 | + "f:wasmcloud.dev/source-url": {} |
| 38 | + } |
| 39 | + }, |
| 40 | + "f:spec": { ".": {}, "f:components": {} } |
| 41 | + } |
| 42 | + } |
| 43 | + ] |
| 44 | + }, |
| 45 | + "spec": { |
| 46 | + "components": [ |
| 47 | + { |
| 48 | + "name": "http-component", |
| 49 | + "type": "component", |
| 50 | + "properties": { |
| 51 | + "image": "ghcr.io/wasmcloud/components/http-hello-world-rust:0.1.0" |
| 52 | + }, |
| 53 | + "traits": [{ "type": "spreadscaler", "properties": { "instances": 1 } }] |
| 54 | + }, |
| 55 | + { |
| 56 | + "name": "httpserver", |
| 57 | + "type": "capability", |
| 58 | + "properties": { "image": "ghcr.io/wasmcloud/http-server:0.23.1" }, |
| 59 | + "traits": [ |
| 60 | + { "type": "spreadscaler", "properties": { "instances": 1 } }, |
| 61 | + { |
| 62 | + "type": "link", |
| 63 | + "properties": { |
| 64 | + "interfaces": ["incoming-handler"], |
| 65 | + "namespace": "wasi", |
| 66 | + "package": "http", |
| 67 | + "source_config": [ |
| 68 | + { |
| 69 | + "name": "default-http", |
| 70 | + "properties": { "address": "0.0.0.0:8080" } |
| 71 | + } |
| 72 | + ], |
| 73 | + "target": "http-component" |
| 74 | + } |
| 75 | + } |
| 76 | + ] |
| 77 | + } |
| 78 | + ] |
| 79 | + }, |
| 80 | + "status": {} |
| 81 | +} |
0 commit comments