secrets

package
v0.0.0-...-146a38b Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: BSD-3-Clause, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRootPasswordSecretName

func GetRootPasswordSecretName(cluster *v1alpha1.Cluster) string

GetRootPasswordSecretName returns the root password secret name for the given mysql cluster.

func NewMysqlRootPassword

func NewMysqlRootPassword(cluster *v1alpha1.Cluster) *corev1.Secret

NewMysqlRootPassword returns a Kubernetes secret containing a generated MySQL root password.

func RandomAlphanumericString

func RandomAlphanumericString(strlen int) string

RandomAlphanumericString generates a random password of some fixed length.

Types

This section is empty.

Jump to

Keyboard shortcuts

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