systemd

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

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

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.

Jump to

Keyboard shortcuts

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