Documentation ¶
Overview ¶
Package encryption provides modules for the partition encryption handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler reads encryption config, creates appropriate encryption provider, handles encrypted partition open and close.
func NewHandler ¶
func NewHandler(encryptionConfig block.EncryptionSpec, volumeID string, getSystemInformation helpers.SystemInformationGetter) (*Handler, error)
NewHandler creates new Handler.
func (*Handler) FormatAndEncrypt ¶ added in v1.8.0
FormatAndEncrypt formats and encrypts the volume.
type NodeParams ¶ added in v1.5.0
type NodeParams struct {
UUID string
}
NodeParams contains node information relevant for the encryption handler.
Click to show internal directories.
Click to hide internal directories.