Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func ActivateVG() error
 - func DeactivateVG() error
 - func DoMount(device string, path string, options []string) error
 - func DoUnmount(path string) error
 - func LinuxDoPostMigrationConfig(distro string, majorVersion int) error
 - func MapWindowsVersionToAbbrev(version string) (string, error)
 - func WindowsInjectDrivers(ctx context.Context, windowsVersion string, mainPartition string, ...) error
 - func WindowsOpenBitLockerPartition(partition string, encryptionKey string) error
 - type BitLockerState
 - type LSBLKOutput
 - 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 MapWindowsVersionToAbbrev ¶
Take a full version string and return the abbreviation used by distrobuilder logic. Versions supported are an intersection of what's supported by distrobuilder and vCenter.
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 LSBLKOutput ¶
 Click to show internal directories. 
   Click to hide internal directories.