Documentation
¶
Index ¶
- Constants
- func ActivateVG(opts ...string) error
- func DeactivateVG() error
- func DetermineFortigateVersion() (string, error)
- func DetermineWindowsPartitions() (base string, recovery string, err error)
- func DoMount(device string, path string, options []string) error
- func DoUnmount(path string) error
- func LinuxDoPostMigrationConfig(ctx context.Context, instance api.Instance, osName string, dryRun bool) error
- func ReplaceFortigateBoot(kvmFile string, dryRun bool) error
- func WindowsInjectDrivers(ctx context.Context, osVersion string, isoFile string, dryRun bool) error
- func WindowsOpenBitLockerPartition(partition string, encryptionKey string) error
- type BitLockerState
- type LVSOutput
- type PartitionType
Constants ¶
View Source
const VMwareSDKPath = "/tmp/vmware/vmware-vix-disklib-distrib"
Variables ¶
This section is empty.
Functions ¶
func ActivateVG ¶
func DeactivateVG ¶
func DeactivateVG() error
func ReplaceFortigateBoot ¶
func WindowsInjectDrivers ¶
Types ¶
type BitLockerState ¶
type BitLockerState int
const ( BITLOCKERSTATE_UNKNOWN BitLockerState = iota BITLOCKERSTATE_UNENCRYPTED BITLOCKERSTATE_ENCRYPTED BITLOCKERSTATE_CLEARKEY )
func WindowsDetectBitLockerStatus ¶
func WindowsDetectBitLockerStatus(partition string) (BitLockerState, error)
type PartitionType ¶
type PartitionType string
const ( PARTITION_TYPE_UNKNOWN PartitionType = "unknown" PARTITION_TYPE_PLAIN PartitionType = "plain" PARTITION_TYPE_LVM PartitionType = "lvm" )
Click to show internal directories.
Click to hide internal directories.