Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// vCenter username.
User string
// vCenter password in clear text.
Password string
// vCenter Hostname or IP.
VCenterHost string
// vCenter port.
VCenterPort uint
// True if vCenter uses self-signed cert.
InsecureFlag bool
// Soap round tripper count (retries = RoundTripper - 1)
RoundTripperCount uint
// VMName is the VM name of virtual machine
VMName string
// Environment tag to filter by
Environment string
// Role tag to filter by
Role string
}
Config is the configuration required to talk to the vSphere API to fetch a list of nodes
type Members ¶
type Members struct {
// contains filtered or unexported fields
}
Members of a VMware group.
func (*Members) GetInstances ¶
GetInstances will return the vmware etcd instances
func (*Members) GetLocalIP ¶
GetLocalIP returns the same value as the GetLocalInstance() endpoint.
Click to show internal directories.
Click to hide internal directories.