Documentation ¶
Index ¶
- func GetHostMME(ctx context.Context, client *vim25.Client, host *types.ManagedObjectReference) (*types.ManagedObjectReference, error)
- func GetSOAP(ctx context.Context, client *vim25.Client, request *ExecuteSoapRequest, ...) error
- func Run(ctx context.Context, client *vim25.Client, host types.ManagedObjectReference, ...) (interface{}, error)
- type ExecuteSoapBody
- type ExecuteSoapRequest
- type ExecuteSoapResponse
- type InternalDynamicTypeManager
- type ReflectManagedMethodExecuter
- type ReflectManagedMethodExecuterSoapArgument
- type ReflectManagedMethodExecuterSoapFault
- type ReflectManagedMethodExecuterSoapResult
- type RetrieveDynamicTypeManagerBody
- type RetrieveDynamicTypeManagerRequest
- type RetrieveDynamicTypeManagerResponse
- type RetrieveManagedMethodExecuterBody
- type RetrieveManagedMethodExecuterRequest
- type RetrieveManagedMethodExecuterResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostMME ¶
func GetHostMME(ctx context.Context, client *vim25.Client, host *types.ManagedObjectReference) (*types.ManagedObjectReference, error)
Types ¶
type ExecuteSoapBody ¶
type ExecuteSoapBody struct { Req *ExecuteSoapRequest `xml:"urn:vim25 ExecuteSoap"` Res *ExecuteSoapResponse `xml:"urn:vim25 ExecuteSoapResponse"` Fault_ *soap.Fault }
func (*ExecuteSoapBody) Fault ¶
func (b *ExecuteSoapBody) Fault() *soap.Fault
type ExecuteSoapRequest ¶
type ExecuteSoapRequest struct { This types.ManagedObjectReference `xml:"_this"` Moid string `xml:"moid"` Version string `xml:"version"` Method string `xml:"method"` Argument []ReflectManagedMethodExecuterSoapArgument `xml:"argument,omitempty"` }
type ExecuteSoapResponse ¶
type ExecuteSoapResponse struct {
Returnval *ReflectManagedMethodExecuterSoapResult `xml:"urn:vim25 returnval"`
}
func ExecuteSoap ¶
func ExecuteSoap(ctx context.Context, r soap.RoundTripper, req *ExecuteSoapRequest) (*ExecuteSoapResponse, error)
type InternalDynamicTypeManager ¶
type InternalDynamicTypeManager struct {
types.ManagedObjectReference
}
The DTM thingies
type ReflectManagedMethodExecuter ¶
type ReflectManagedMethodExecuter struct {
types.ManagedObjectReference
}
The MME thingies
type ReflectManagedMethodExecuterSoapArgument ¶
type ReflectManagedMethodExecuterSoapArgument struct { types.DynamicData Name string `xml:"name"` Val string `xml:"val"` }
The soap types......
func ConfigArguments ¶
func ConfigArguments(args map[string]string) []ReflectManagedMethodExecuterSoapArgument
type ReflectManagedMethodExecuterSoapFault ¶
type ReflectManagedMethodExecuterSoapFault struct { types.DynamicData FaultMsg string `xml:"faultMsg"` FaultDetail string `xml:"faultDetail,omitempty"` }
type ReflectManagedMethodExecuterSoapResult ¶
type ReflectManagedMethodExecuterSoapResult struct { types.DynamicData Response string `xml:"response,omitempty"` Fault *ReflectManagedMethodExecuterSoapFault `xml:"fault,omitempty"` }
type RetrieveDynamicTypeManagerBody ¶
type RetrieveDynamicTypeManagerBody struct { Req *RetrieveDynamicTypeManagerRequest `xml:"urn:vim25 RetrieveDynamicTypeManager"` Res *RetrieveDynamicTypeManagerResponse `xml:"urn:vim25 RetrieveDynamicTypeManagerResponse"` Fault_ *soap.Fault }
func (*RetrieveDynamicTypeManagerBody) Fault ¶
func (b *RetrieveDynamicTypeManagerBody) Fault() *soap.Fault
type RetrieveDynamicTypeManagerRequest ¶
type RetrieveDynamicTypeManagerRequest struct {
This types.ManagedObjectReference `xml:"_this"`
}
type RetrieveDynamicTypeManagerResponse ¶
type RetrieveDynamicTypeManagerResponse struct {
Returnval *InternalDynamicTypeManager `xml:"urn:vim25 returnval"`
}
func RetrieveDynamicTypeManager ¶
func RetrieveDynamicTypeManager(ctx context.Context, r soap.RoundTripper, req *RetrieveDynamicTypeManagerRequest) (*RetrieveDynamicTypeManagerResponse, error)
type RetrieveManagedMethodExecuterBody ¶
type RetrieveManagedMethodExecuterBody struct { Req *RetrieveManagedMethodExecuterRequest `xml:"urn:vim25 RetrieveManagedMethodExecuter"` Res *RetrieveManagedMethodExecuterResponse `xml:"urn:vim25 RetrieveManagedMethodExecuterResponse"` Fault_ *soap.Fault }
func (*RetrieveManagedMethodExecuterBody) Fault ¶
func (b *RetrieveManagedMethodExecuterBody) Fault() *soap.Fault
type RetrieveManagedMethodExecuterRequest ¶
type RetrieveManagedMethodExecuterRequest struct {
This types.ManagedObjectReference `xml:"_this"`
}
type RetrieveManagedMethodExecuterResponse ¶
type RetrieveManagedMethodExecuterResponse struct {
Returnval *ReflectManagedMethodExecuter `xml:"urn:vim25 returnval"`
}
func RetrieveManagedMethodExecuter ¶
func RetrieveManagedMethodExecuter(ctx context.Context, r soap.RoundTripper, req *RetrieveManagedMethodExecuterRequest) (*RetrieveManagedMethodExecuterResponse, error)
Click to show internal directories.
Click to hide internal directories.