model

package
v0.0.0-...-42edd1d Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSecretType = corev1.SecretTypeOpaque
)

Variables

View Source
var (
	CustomFuncs = map[string]interface{}{
		"b64bin": base64.StdEncoding.EncodeToString,
		"utf8":   func(x []byte) string { return string(x) },
	}
)

Functions

func GenerateSecret

func GenerateSecret(cmRefs map[string]corev1.ConfigMap, sRefs map[string]corev1.Secret, src *secretsv1alpha1.DerivedSecret) (secret corev1.Secret, noOverwrite map[string]struct{}, err error)

Types

type TemplateContext

type TemplateContext struct {
	References map[string]map[string]interface{}
}

Jump to

Keyboard shortcuts

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