Documentation ¶
Overview ¶
Package systemd configures systemd units for encrypted volumes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CryptsetupUnitGenerator ¶
type CryptsetupUnitGenerator struct {
// contains filtered or unexported fields
}
CryptsetupUnitGenerator generates systemd-cryptsetup@.service unit files.
func New ¶
func New(fs afero.Afero) CryptsetupUnitGenerator
New returns a new CryptsetupUnitGenerator.
func (CryptsetupUnitGenerator) Generate ¶
func (g CryptsetupUnitGenerator) Generate(volumeName, encryptedDevice, keyFile, options string) error
Generate generates a systemd-cryptsetup@.service unit file and its dependencies.
Click to show internal directories.
Click to hide internal directories.