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 ¶ added in v1.25.0
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 ¶ added in v1.25.0
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 ¶ added in v1.25.0
func NewOvfHelper(client *govmomi.Client, o *OvfHelperParams) (*OvfHelper, error)
func (*OvfHelper) DeployOvf ¶ added in v1.25.0
func (o *OvfHelper) DeployOvf(spec *types.OvfCreateImportSpecResult) error
func (*OvfHelper) GetImportSpec ¶ added in v1.25.0
type OvfHelperParams ¶ added in v1.25.0
Click to show internal directories.
Click to hide internal directories.