vmware

package
v0.0.0-...-fb66bc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	probe.Server
	// contains filtered or unexported fields
}

Server vCenter/ESXi

func NewServer

func NewServer(host, user, password string, port int) (Server, error)

NewServer init

func (Server) GetCPUUsage

func (vmw Server) GetCPUUsage() (float64, error)

GetCPUUsage implement interface

func (Server) GetLocalDiskUsage

func (vmw Server) GetLocalDiskUsage() (map[string]float64, error)

GetLocalDiskUsage implement interface

func (Server) GetMemUsage

func (vmw Server) GetMemUsage() (float64, error)

GetMemUsage implement interface

func (Server) GetNICUsage

func (vmw Server) GetNICUsage() (map[string]map[string]float64, error)

GetNICUsage implement interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL