Documentation
¶
Overview ¶
Package password provides functionality for generating secure random passwords.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGenerator ¶
func NewGenerator() genv1alpha1.Generator
NewGenerator creates a new Generator instance.
Types ¶
type Generator ¶
type Generator struct{}
Generator implements secure random password generation functionality.
func (*Generator) Cleanup ¶
func (g *Generator) Cleanup(_ context.Context, _ *apiextensions.JSON, _ genv1alpha1.GeneratorProviderState, _ client.Client, _ string) error
Cleanup performs any necessary cleanup after password generation.
func (*Generator) Generate ¶
func (g *Generator) Generate(_ context.Context, jsonSpec *apiextensions.JSON, _ client.Client, _ string) (map[string][]byte, genv1alpha1.GeneratorProviderState, error)
Generate creates a secure random password based on the provided configuration.
Click to show internal directories.
Click to hide internal directories.