 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- func ActivateVG() 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, distro string, majorVersion int) error
- func ReplaceFortigateBoot(kvmFile string) error
- func WindowsInjectDrivers(ctx context.Context, windowsVersion string, mainPartition string, ...) error
- func WindowsOpenBitLockerPartition(partition string, encryptionKey string) error
- type BitLockerState
- type LVSOutput
Constants ¶
      View Source
      
  
const ( PARTITION_TYPE_UNKNOWN = iota PARTITION_TYPE_PLAIN PARTITION_TYPE_LVM )
Variables ¶
This section is empty.
Functions ¶
func ActivateVG ¶
func ActivateVG() error
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)
 Click to show internal directories. 
   Click to hide internal directories.