nodepassword

package
v0.0.0-...-f4dfa5d Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

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.

Jump to

Keyboard shortcuts

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