MCPcopy
hub / github.com/vmware/govmomi

github.com/vmware/govmomi @v0.55.1 sqlite

repository ↗ · DeepWiki ↗ · release v0.55.1 ↗
27,505 symbols 67,384 edges 1,178 files 7,598 documented · 28%
README

Build Tests Go Report Card Latest Release Go Reference go.mod Go version

govmomi

A Go library for interacting with VMware vSphere APIs (ESXi and/or vCenter Server).

In addition to the vSphere API client, this repository includes:

  • govc - vSphere CLI
  • vcsim - vSphere API mock framework
  • toolbox - VM guest tools framework

Compatibility

vSphere 7.0 and higher.

Documentation

The APIs exposed by this library closely follow the API described in the VMware vSphere API Reference Documentation. Refer to the documentation to become familiar with the upstream API.

The code in the govmomi package is a wrapper for the code that is generated from the vSphere API description. It primarily provides convenience functions for working with the vSphere API. See godoc.org for documentation.

Installation

Binaries and Docker Images for govc and vcsim

Installation instructions, released binaries, and Docker images are documented in the respective README files of govc and vcsim.

Discussion

Collaborate with the community using GitHub discussions and GitHub issues.

Status

Changes to the API are subject to semantic versioning.

Refer to the CHANGELOG for version to version changes.

Related Projects

License

govmomi is available under the Apache 2 License.

Name

Pronounced: go·​v·​mom·​e

Follows pyvmomi and rbvmomi: language prefix + the vSphere acronym "VM Object Management Infrastructure".

Extension points exported contracts — how you extend this code

Sinker (Interface)
Sinker defines what is expected of a type that can act as a sink for progress reports. The semantics are as follows. If [6 …
vim25/progress/sinker.go
TokenReader (Interface)
A TokenReader is anything that can decode a stream of XML tokens, including a [Decoder]. When Token encounters an error [6 …
vim25/xml/xml.go
Reference (Interface)
Reference is the interface that is implemented by all the managed objects defined in this package. It specifies that the [136 …
vim25/mo/reference.go
File (Interface)
File interface abstracts standard i/o methods to support transfer of regular files and archives of directories. [7 implementers]
toolbox/hgfs/server.go
RegisterObject (Interface)
RegisterObject interface supports callbacks when objects are created, updated and deleted from the Registry [5 implementers]
simulator/registry.go
HasFault (Interface)
(no doc) [1486 implementers]
vim25/types/fault.go
HasFault (Interface)
(no doc) [1486 implementers]
vim25/soap/client.go
HasFlags (Interface)
(no doc) [343 implementers]
cli/command.go

Core symbols most depended-on inside this repo

Add
called by 2145
vim25/types/registry.go
RoundTrip
called by 1492
vim25/soap/client.go
Reference
called by 1148
object/types.go
Register
called by 684
cli/command.go
Process
called by 566
cli/command.go
Error
called by 525
vim25/progress/report.go
EnumValuesAsStrings
called by 510
vim25/types/helpers.go
NewBool
called by 434
vim25/types/helpers.go

Shape

Struct 11,022
Method 9,038
Function 3,881
TypeAlias 3,052
Interface 501
FuncType 11

Languages

Go100%

Modules by API surface

vim25/types/types.go7,221 symbols
vim25/methods/methods.go2,904 symbols
vim25/types/enum.go1,318 symbols
vim25/types/if.go1,063 symbols
vsan/types/types.go981 symbols
vsan/methods/methods.go648 symbols
sms/types/types.go330 symbols
ssoadmin/types/types.go310 symbols
eam/types/types.go281 symbols
ssoadmin/methods/methods.go276 symbols
vim25/mo/mo.go238 symbols
pbm/types/types.go218 symbols

Dependencies from manifests, versioned

4d63.com/gocheckcompilerdirectivesv1.3.0 · 1×
4d63.com/gochecknoglobalsv0.2.2 · 1×
github.com/4meepo/tagalignv1.4.2 · 1×
github.com/Abirdcfly/dupwordv0.1.3 · 1×
github.com/Antonboom/errnamev1.0.0 · 1×
github.com/Antonboom/nilnilv1.0.1 · 1×
github.com/Antonboom/testifylintv1.5.2 · 1×
github.com/BurntSushi/tomlv1.4.1-0.20240526193 · 1×
github.com/Crocmagnon/fatcontextv0.7.1 · 1×
github.com/Djarvur/go-err113v0.0.0-2021010821221 · 1×
github.com/GaijinEntertainment/go-exhaustruct/v3v3.3.1 · 1×
github.com/Masterminds/semver/v3v3.3.0 · 1×

For agents

$ claude mcp add govmomi \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact