Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Hasher provides the algorithm for generating and verifying hashes Hasher = hash.NewSCrypt() ErrVerifyFailed = errVerifyFailed() )
Functions ¶
func Delete ¶
func Delete(secretClient coreclient.SecretController, nodeName string) error
Delete will remove a node-password secret
func Ensure ¶
func Ensure(secretClient coreclient.SecretController, nodeName, pass string) error
Ensure will verify a node-password secret if it exists, otherwise it will create one
func MigrateFile ¶
func MigrateFile(secretClient coreclient.SecretController, nodeClient coreclient.NodeController, passwordFile string) error
MigrateFile moves password file entries to secrets
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.