secret

package
v0.11.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 17 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 added in v0.11.0

type GeneratorRequest struct {
	// Project represents the Project name
	Project string
	// Namespace represents the K8s Namespace
	Namespace string
	// Workload represents the Workload configuration
	Workload *workload.Workload
	// SecretStoreSpec contains configuration to describe target secret store.
	SecretStoreSpec *apiv1.SecretStoreSpec
}

Jump to

Keyboard shortcuts

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