This project provides an GO SDK for vRealize Lifecycle Manager.
This is a personal learning project and may or may not eventuate into something usable.
- GO 1.11.1
- vRLCM 2.1.0
To obtain the package run the following GO command.
go get github.com/sdbrett/vrlcmsdk
You need to authenticate against the vRLCM server before you're able to perform any tasks.
var ctx = context.Background() // Setup context
cli := NewApiClient("127.0.0.1", true, cli) // Create new API client
cli.login(Username: "Username", Password: "Password") // Authenticate against vRLCM instanceYou can interact with services exposed through the vRLCM API after successful authentication.
dataCenters, err := cli.DatacenterService.GetAllDatacenters(ctx)
if err != nil {
t.Error(err)
}The vRLCM API spec is available here