secret

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRandomString

func GenerateRandomString(n int) string

GenerateRandomString generates a random alphanumeric string, without vowels and which is n characters long.

func NewSecretGenerator

func NewSecretGenerator(request *GeneratorRequest) (modules.Generator, error)

func NewSecretGeneratorFunc

func NewSecretGeneratorFunc(request *GeneratorRequest) modules.NewGeneratorFunc

Types

type GeneratorRequest

type GeneratorRequest struct {
	// Project represents the Project name
	Project string
	// Namespace represents the K8s Namespace
	Namespace string
	// Workload represents the Workload configuration
	Workload v1.Accessory
	// SecretStore contains configuration to describe target secret store.
	SecretStore *v1.SecretStore
}

Jump to

Keyboard shortcuts

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