generators

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear added in v0.3.0

func Clear()

func GetIntConfig added in v0.2.0

func GetIntConfig(config map[string]interface{}, key string, defaultValue int) int

GetIntConfig exports the helper function for use in media packages

func GetStringConfig added in v0.2.0

func GetStringConfig(config map[string]interface{}, key, defaultValue string) string

GetStringConfig exports the helper function for use in media packages

func GetSupportedTypes added in v0.3.0

func GetSupportedTypes() []string

func IsSupported added in v0.3.0

func IsSupported(generatorType string) bool

func Register added in v0.3.0

func Register(generatorType string, generator Generator) error

Types

type Generator

type Generator interface {
	Generate(config map[string]interface{}) (map[string]string, error)
}

Generator interface for all secret generators

func Get added in v0.3.0

func Get(generatorType string) (Generator, error)

type Registry added in v0.3.0

type Registry struct {
	// contains filtered or unexported fields
}

func NewRegistry added in v0.3.0

func NewRegistry() *Registry

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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