Documentation ¶
Index ¶
- Variables
- type About
- type AnyType
- type Body
- type CancelRetrievePropertiesEx
- type ContainerView
- type ContinueRetrievePropertiesEx
- type ContinueRetrievePropertiesExResponse
- type CreateContainerView
- type CreateContainerViewResponse
- type CreateImportSpec
- type CreateImportSpecResponse
- type CurrentTime
- type CurrentTimeResponse
- type Datastore
- type DynamicProperty
- type Envelope
- type Fault
- type FindByInventoryPath
- type FindByInventoryPathResponse
- type FindByUuid
- type FindByUuidResponse
- type Folder
- type Header
- type HttpNfcLease
- type ImportSpec
- type ImportVApp
- type ImportVAppResponse
- type KeyValue
- type LocalizedMethodFault
- type Login
- type LoginResponse
- type ManagedObjectReference
- type MethodFault
- type MissingProperty
- type ObjectContent
- type ObjectSpec
- type OptionManager
- type OvfConsumerOstNode
- type OvfCreateImportSpecParams
- type OvfDescriptor
- type OvfFileItem
- type OvfManager
- type OvfManagerCommonParams
- type OvfNetworkMapping
- type OvfResourceMap
- type PowerOffVM_Task
- type PowerOffVM_TaskResponse
- type PowerOnVM_Task
- type PowerOnVM_TaskResponse
- type PropertyCollector
- type PropertyFilterSpec
- type PropertySpec
- type ResourcePool
- type RetrieveOptions
- type RetrievePropertiesEx
- type RetrievePropertiesExResponse
- type RetrieveResult
- type RetrieveServiceContent
- type RetrieveServiceContentResponse
- type SearchIndex
- type SelectionSpec
- type Service
- type ServiceContent
- type ServiceInstance
- type SessionManager
- type Task
- type TraversalSpec
- type UserSession
- type ViewManager
- type VirtualMachine
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = false
Functions ¶
This section is empty.
Types ¶
type AnyType ¶
type AnyType struct { XsiType string `xml:"http://www.w3.org/2001/XMLSchema-instance type,attr"` Value string `xml:",innerxml"` }
xsd:anyType
type Body ¶
type Body struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Body"` Fault *Fault // SearchIndex FindByUuidRequest *FindByUuid FindByUuidResponse *FindByUuidResponse // ServiceInstance RetrieveServiceContentRequest *RetrieveServiceContent RetrieveServiceContentResponse *RetrieveServiceContentResponse CurrentTimeRequest *CurrentTime CurrentTimeResponse *CurrentTimeResponse // SessionManager LoginRequest *Login LoginResponse *LoginResponse // ViewManager CreateContainerViewRequest *CreateContainerView CreateContainerViewResponse *CreateContainerViewResponse // PropertyCollector RetrievePropertiesExRequest *RetrievePropertiesEx RetrievePropertiesExResponse *RetrievePropertiesExResponse ContinueRetrievePropertiesExRequest *ContinueRetrievePropertiesEx ContinueRetrievePropertiesExResponse *ContinueRetrievePropertiesExResponse CancelRetrievePropertiesExRequest *CancelRetrievePropertiesEx // VirtualMachine PowerOnVM_Task *PowerOnVM_Task PowerOnVM_TaskResponse *PowerOnVM_TaskResponse PowerOffVM_Task *PowerOffVM_Task PowerOffVM_TaskResponse *PowerOffVM_TaskResponse // OvfManager CreateImportSpecRequest *CreateImportSpec CreateImportSpecResponse *CreateImportSpecResponse ImportVAppRequest *ImportVApp ImportVAppResponse *ImportVAppResponse }
SOAP 1.1 Body
type CancelRetrievePropertiesEx ¶
type CancelRetrievePropertiesEx struct { XMLName xml.Name `xml:"urn:vim25 CancelRetrievePropertiesEx"` This *PropertyCollector `xml:"_this"` Token string `xml:"token"` }
type ContinueRetrievePropertiesEx ¶
type ContinueRetrievePropertiesEx struct { XMLName xml.Name `xml:"urn:vim25 ContinueRetrievePropertiesEx"` This *PropertyCollector `xml:"_this"` Token string `xml:"token"` }
type ContinueRetrievePropertiesExResponse ¶
type ContinueRetrievePropertiesExResponse struct { XMLName xml.Name `xml:"urn:vim25 ContinueRetrievePropertiesExResponse"` RetrieveResult RetrieveResult `xml:"returnval"` }
type CreateContainerView ¶
type CreateContainerView struct { XMLName xml.Name `xml:"urn:vim25 CreateContainerView"` This *ViewManager `xml:"_this"` Container *ManagedObjectReference `xml:"container"` Type []string `xml:"type"` Recursive bool `xml:"recursive"` }
type CreateContainerViewResponse ¶
type CreateContainerViewResponse struct { XMLName xml.Name `xml:"urn:vim25 CreateContainerViewResponse"` ContainerView *ContainerView `xml:"urn:vim25 returnval"` }
type CreateImportSpec ¶
type CreateImportSpec struct { XMLName xml.Name `xml:"urn:vim25 CreateImportSpec"` This *OvfManager `xml:"_this"` OvfDescriptor OvfDescriptor `xml:"ovfDescriptor"` ResourcePool *ResourcePool `xml:"resourcePool"` Datastore *Datastore `xml:"datastore"` Cisp OvfCreateImportSpecParams `xml:"cisp"` }
type CreateImportSpecResponse ¶
type CreateImportSpecResponse struct { ImportSpec ImportSpec `xml:"returnval>importSpec"` FileItem []OvfFileItem `xml:"returnval>fileItem"` Warning []LocalizedMethodFault `xml:"warning"` Error []LocalizedMethodFault `xml:"error"` }
type CurrentTime ¶
type CurrentTime struct { XMLName xml.Name `xml:"urn:vim25 CurrentTime"` This *ServiceInstance `xml:"urn:vim25 _this"` }
type CurrentTimeResponse ¶
type DynamicProperty ¶
http://pubs.vmware.com/vsphere-55/index.jsp#com.vmware.wssdk.apiref.doc/vmodl.DynamicProperty.html
type Envelope ¶
type Envelope struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"` Header *Header `xml:",omitempty"` Body *Body }
SOAP 1.1 Envelope
type Fault ¶
type Fault struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault"` Code string `xml:"faultcode"` String string `xml:"faultstring"` Detail struct { Message string `xml:",innerxml"` } `xml:"detail"` }
SOAP 1.1 Fault
type FindByInventoryPath ¶
type FindByInventoryPath struct { XMLName xml.Name `xml:"urn:vim25 FindByInventoryPath"` This *SearchIndex `xml:"_this"` InventoryPath string `xml:"inventoryPath"` }
type FindByInventoryPathResponse ¶
type FindByInventoryPathResponse struct {
Folder *Folder `xml:"returnval"`
}
type FindByUuid ¶
type FindByUuidResponse ¶
type FindByUuidResponse struct {
VmOrHost *ManagedObjectReference `xml:"returnval"`
}
type ImportSpec ¶
type ImportVApp ¶
type ImportVApp struct { XMLName xml.Name `xml:"urn:vim25 ImportVApp"` This *ResourcePool `xml:"_this"` Spec ImportSpec `xml:"spec"` Folder *Folder `xml:"folder"` }
type ImportVAppResponse ¶
type ImportVAppResponse struct {
HttpNfcLease *HttpNfcLease `xml:"returnval"`
}
type LocalizedMethodFault ¶
type LocalizedMethodFault struct { Fault MethodFault `xml:"fault"` LocalizedMessage string `xml:"localizedMessage"` }
type Login ¶
type Login struct { XMLName xml.Name `xml:"urn:vim25 Login"` This *SessionManager `xml:"_this"` Username string `xml:"userName"` Password string `xml:"password"` }
type LoginResponse ¶
type LoginResponse struct {
UserSession UserSession `xml:"urn:vim25 returnval"`
}
type ManagedObjectReference ¶
type MethodFault ¶
type MethodFault struct { DynamicType string `xml:"dynamicType"` DynamicProperty []DynamicProperty `xml:"dynamicProperty"` }
type MissingProperty ¶
type MissingProperty struct { // Fault LocalizedMethodFault `xml:"fault"` // TODO(igm) Path string `xml:"path"` }
type ObjectContent ¶
type ObjectContent struct { MissingSet []MissingProperty `xml:"missingSet"` Obj *ManagedObjectReference `xml:"obj"` PropSet []DynamicProperty `xml:"propSet"` }
type ObjectSpec ¶
type ObjectSpec struct { XsiType string `xml:"http://www.w3.org/2001/XMLSchema-instance type,attr,ommitempty"` Obj *ManagedObjectReference `xml:"obj"` Skip bool `xml:"skip"` SelectSet []interface{} `xml:"selectSet"` }
type OvfCreateImportSpecParams ¶
type OvfCreateImportSpecParams struct { OvfManagerCommonParams DiskProvisioning string `xml:"diskProvisioning,omitempty"` EntityName string `xml:"entityName"` HostSystem *ManagedObjectReference `xml:"hostSystem,omitempty"` InstantiationOst *OvfConsumerOstNode `xml:"instantiationOst,omitempty"` IpAllocationPolicy string `xml:"ipAllocationPolicy,omitempty"` ImProtocol string `xml:"ipProtocol,omitempty"` NetworkMapping []*OvfNetworkMapping `xml:"networkMapping,omitempty"` PropertyMapping []*KeyValue `xml:"propertyMapping,omitempty"` ResourceMapping []*OvfResourceMap `xml:"resourceMapping,omitempty"` }
type OvfDescriptor ¶
type OvfDescriptor struct {
Value string `xml:",chardata"`
}
type OvfFileItem ¶
type OvfManagerCommonParams ¶
type OvfNetworkMapping ¶
type OvfNetworkMapping struct{}
type OvfResourceMap ¶
type OvfResourceMap struct{}
type PowerOffVM_Task ¶
type PowerOffVM_Task struct { XMLName xml.Name `xml:"urn:vim25 PowerOffVM_Task"` This *VirtualMachine `xml:"_this"` }
type PowerOffVM_TaskResponse ¶
type PowerOffVM_TaskResponse struct {
Task *Task `xml:"returnval"`
}
type PowerOnVM_Task ¶
type PowerOnVM_Task struct { XMLName xml.Name `xml:"urn:vim25 PowerOnVM_Task"` This *VirtualMachine `xml:"_this"` }
type PowerOnVM_TaskResponse ¶
type PowerOnVM_TaskResponse struct {
Task *Task `xml:"returnval"`
}
type PropertyCollector ¶
type PropertyCollector ManagedObjectReference
Managed Object Reference Types
type PropertyFilterSpec ¶
type PropertyFilterSpec struct { PropSet []*PropertySpec `xml:"propSet"` ObjectSet []*ObjectSpec `xml:"objectSet"` ReportMissingObjectsInResults bool `xml:"reportMissingObjectsInResults"` }
type PropertySpec ¶
type RetrieveOptions ¶
type RetrieveOptions struct {
MaxObjects int `xml:"maxObjects,omitempty"`
}
type RetrievePropertiesEx ¶
type RetrievePropertiesEx struct { XMLName xml.Name `xml:"urn:vim25 RetrievePropertiesEx"` This *PropertyCollector `xml:"_this"` SpecSet []*PropertyFilterSpec `xml:"specSet"` Options RetrieveOptions `xml:"options"` }
type RetrievePropertiesExResponse ¶
type RetrievePropertiesExResponse struct { XMLName xml.Name `xml:"urn:vim25 RetrievePropertiesExResponse"` RetrieveResult RetrieveResult `xml:"returnval"` }
type RetrieveResult ¶
type RetrieveResult struct { Objects []ObjectContent `xml:"objects"` Token string `xml:"token"` }
type RetrieveServiceContent ¶
type RetrieveServiceContent struct { XMLName xml.Name `xml:"urn:vim25 RetrieveServiceContent"` This *ServiceInstance `xml:"urn:vim25 _this"` }
type RetrieveServiceContentResponse ¶
type RetrieveServiceContentResponse struct { XMLName xml.Name `xml:"urn:vim25 RetrieveServiceContentResponse"` Returnval *ServiceContent `xml:"urn:vim25 returnval"` }
type SelectionSpec ¶
type SelectionSpec struct {
Name string `xml:"name"`
}
type Service ¶
type ServiceContent ¶
type ServiceContent struct { RootFolder *Folder `xml:"urn:vim25 rootFolder"` PropertyCollector *PropertyCollector `xml:"urn:vim25 propertyCollector"` ViewManager *ViewManager `xml:"urn:vim25 viewManager"` About About `xml:"urn:vim25 about"` Setting *OptionManager `xml:"urn:vim25 setting"` SessionManager *SessionManager `xml:"urn:vim25 sessionManager"` SearchIndex *SearchIndex `xml:"urn:vim25 searchIndex"` OvfManager *OvfManager `xml:"ovfManager"` }
type TraversalSpec ¶
type TraversalSpec struct { SelectionSpec XsiType string `xml:"http://www.w3.org/2001/XMLSchema-instance type,attr"` Type string `xml:"type"` Path string `xml:"path"` Skip bool `xml:"skip"` }
type UserSession ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.