...

Package crypt

import "github.com/Microsoft/hcsshim/internal/guest/storage/crypt"
Overview
Index

Overview ▾

func CleanupCryptDevice

func CleanupCryptDevice(dmCryptName string) error

CleanupCryptDevice removes the dm-crypt device created by EncryptDevice

func EncryptDevice

func EncryptDevice(ctx context.Context, source string, dmCryptName string) (path string, err error)