secrets

package
v0.0.0-...-7266528 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultCommonName = "rancher.test.local"
	LocalhostName     = "localhost"
	LocalhostIP       = "127.0.0.1"
)
View Source
const (
	SecretSteveType = "secret"
)

Variables

This section is empty.

Functions

func GenerateSelfSignedCert

func GenerateSelfSignedCert() (string, string, error)

GenerateSelfSignedCert creates a new self-signed certificate and private key

func NewSecretTemplate

func NewSecretTemplate(secretName, namespace string, data map[string][]byte, secretType corev1.SecretType, labels, annotations map[string]string) corev1.Secret

NewSecretTemplate is a constructor that creates the secret template for secrets

Types

This section is empty.

Jump to

Keyboard shortcuts

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