Documentation ¶
Index ¶
- type Client
- func (c *Client) ComputeResources(pathSet ...string) (computes []mo.ComputeResource, err error)
- func (c *Client) CounterInfoByName() (map[string]*types.PerfCounterInfo, error)
- func (c *Client) Datacenters(pathSet ...string) (dcs []mo.Datacenter, err error)
- func (c *Client) Folders(pathSet ...string) (folders []mo.Folder, err error)
- func (c *Client) Hosts(pathSet ...string) (hosts []mo.HostSystem, err error)
- func (c *Client) IsSessionActive() (bool, error)
- func (c *Client) Login(userinfo *url.Userinfo) error
- func (c *Client) Logout() error
- func (c *Client) PerformanceMetrics(pqs []types.PerfQuerySpec) ([]performance.EntityMetric, error)
- func (c *Client) Version() string
- func (c *Client) VirtualMachines(pathSet ...string) (vms []mo.VirtualMachine, err error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ComputeResources ¶
func (c *Client) ComputeResources(pathSet ...string) (computes []mo.ComputeResource, err error)
func (*Client) CounterInfoByName ¶
func (c *Client) CounterInfoByName() (map[string]*types.PerfCounterInfo, error)
func (*Client) Datacenters ¶
func (c *Client) Datacenters(pathSet ...string) (dcs []mo.Datacenter, err error)
func (*Client) IsSessionActive ¶
func (*Client) PerformanceMetrics ¶
func (c *Client) PerformanceMetrics(pqs []types.PerfQuerySpec) ([]performance.EntityMetric, error)
func (*Client) VirtualMachines ¶
func (c *Client) VirtualMachines(pathSet ...string) (vms []mo.VirtualMachine, err error)
Click to show internal directories.
Click to hide internal directories.