Initial commit: VMware vSphere API simulator scaffold.

Add the FastAPI app, PostgreSQL migrations, Docker/Helm packaging, API
contracts, docs, client examples, and the unit/integration/compatibility
test suite for local client and tooling labs without a real vCenter.
This commit is contained in:
2026-07-18 04:42:11 +03:00
commit f8d3cbdd59
422 changed files with 361335 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
**Language / Язык:** [English](go.md) | [Русский](../ru/examples/go.md)
# Go
Uses the Go standard library (`net/http`) against
`https://localhost` with a Basic-auth session
(`vmware-api-session-id`).
```bash
cd examples/go
go run .
```
Override defaults with `VSPHERE_BASE`, `VSPHERE_USER`, `VSPHERE_PASSWORD`,
`VSPHERE_VM_NAME`. See [`main.go`](../../examples/go/main.go) for the
session → list → create → power → wait-task → delete flow and the
`waitTask` helper that polls `GET /api/cis/tasks/{task}`.
TLS verification is disabled in the HTTP client for the local self-signed
development gateway certificate only — do not reuse that transport against a
real vCenter.