Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2026 Changes in this version + func IsContain(items []string, item string) bool + type IpAddr struct + type VmWare struct + IP string + Pwd string + User string + func NewVmWare(IP, User, Pwd string) *VmWare + func (vw *VmWare) CloneVM(TempName, Datacenter, Cluster, HostStr, Resources, Storage, VmName, ... string) (err error) + func (vw *VmWare) CloneVMPlus(...) (err error) + func (vw *VmWare) CreateVM() + func (vw *VmWare) DestroyVM() + func (vw *VmWare) GetAllCluster() (clusterList []structs.ClusterInfo, err error) + func (vw *VmWare) GetAllDatacenter() (dataCenterList []structs.DataCenter, err error) + func (vw *VmWare) GetAllDatastore() (datastoreList []structs.DatastoreSummary, err error) + func (vw *VmWare) GetAllHost() (hostList []*structs.HostSummary, err error) + func (vw *VmWare) GetAllNetwork() (networkList []map[string]string, err error) + func (vw *VmWare) GetAllResourcePool() (resourceList []structs.ResourcePoolInfo, err error) + func (vw *VmWare) GetAllVmClient() (vmList []structs.VirtualMachines, templateList []structs.TemplateInfo, ...) + func (vw *VmWare) GetConfigData() (linuxResult map[string]map[string]string, err error) + func (vw *VmWare) GetFolder() (folderList []structs.FolderInfo, err error) + func (vw *VmWare) GetHostVm() (resVm map[string][]structs.VMS, err error) + func (vw *VmWare) GetSourceData() (resultSource structs.SourceInfo) + func (vw *VmWare) GetVMInterface() (interfaces [][]map[string]structs.InterfaceVM, err error) + func (vw *VmWare) GetVMVersion() (version string, err error) + func (vw *VmWare) GetVmIpData() (VmIpAddress map[string][]string, err error) + func (vw *VmWare) MigrateVM() + type VmWareHttp struct + HostIp string + SessionId string + func NewVmWareHttp(Ip, User, Pwd string) *VmWareHttp + func (vm *VmWareHttp) GetVmList()