luks

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LuksContext

type LuksContext struct {
	Cipher  string
	Hash    string
	KeySize string
}

type LuksService

type LuksService interface {
	IsLuks(devicePath string) bool
	LuksFormat(devicePath string, passphrase string, context LuksContext) error
	CheckLuksPassphrase(devicePath string, passphrase string) bool
	LuksOpen(devicePath string, encryptedDeviceName string, passphrase string) (bool, error)
	IsLuksMapping(devicePath string) (bool, string, error)
	LuksResize(deviceName string) error
	LuksClose(deviceName string) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL