Documentation
¶
Index ¶
- func CheckDeploymentOption(client *govmomi.Client, deploymentOption, ovfDescriptor string) error
- func DeployOvfAndGetResult(ovfCreateImportSpecResult *types.OvfCreateImportSpecResult, ...) error
- func GetNetworkMapping(client *govmomi.Client, m map[string]interface{}) ([]types.OvfNetworkMapping, error)
- func GetOvfDescriptor(filePath string, deployOva bool, fromLocal bool, allowUnverifiedSSL bool) (string, error)
- type OvfHelper
- type OvfHelperParams
- type ProgressReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDeploymentOption ¶
func DeployOvfAndGetResult ¶
func DeployOvfAndGetResult(ovfCreateImportSpecResult *types.OvfCreateImportSpecResult, resourcePoolObj *object.ResourcePool, folder *object.Folder, host *object.HostSystem, filePath string, deployOva bool, fromLocal bool, allowUnverifiedSSL bool) error
func GetNetworkMapping ¶
Types ¶
type OvfHelper ¶
type OvfHelper struct { AllowUnverifiedSSL bool Datastore *object.Datastore DeploymentOption string DeployOva bool DiskProvisioning string FilePath string Folder *object.Folder IsLocal bool Name string HostSystem *object.HostSystem IPAllocationPolicy string IPProtocol string NetworkMapping []types.OvfNetworkMapping ResourcePool *object.ResourcePool }
func NewOvfHelper ¶
func NewOvfHelper(client *govmomi.Client, o *OvfHelperParams) (*OvfHelper, error)
func (*OvfHelper) DeployOvf ¶
func (o *OvfHelper) DeployOvf(spec *types.OvfCreateImportSpecResult) error
func (*OvfHelper) GetImportSpec ¶
type OvfHelperParams ¶
Click to show internal directories.
Click to hide internal directories.