You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your physical or virtual hardware is not supported by an existing registry {{< glossary_tooltip term_id="module" text="module" >}}, you can create a new module to add support for it.
@@ -279,7 +280,9 @@ If you want to understand the module structure, here's what each file does:
279
280
280
281
-**<FILE>README.md</FILE>**: Documentation template that gets uploaded to the registry when you upload the module.
281
282
-**<FILE>meta.json</FILE>**: Module metadata that gets uploaded to the registry when you upload the module.
282
-
- TODO
283
+
-**<FILE>module/main.go</FILE> and <FILE>module.go</FILE>**: Core code that registers the module and resource and provides the model implementation.
284
+
-**<FILE>cli/main.go</FILE>**: You can run this file to test the model you are creating (`go run ./cmd/cli`).
285
+
-**Makefile**: Build and setup commands.
283
286
284
287
{{% /tab %}}
285
288
{{< /tabs >}}
@@ -371,8 +374,16 @@ Edit the `description` to include both models.
0 commit comments