tls

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DNSNames

func DNSNames(cr *apiv1.PerconaServerMySQL) []string

func DNSNamesFromCert

func DNSNamesFromCert(data []byte) ([]string, error)

func IsSecretCreatedByUser added in v0.12.0

func IsSecretCreatedByUser(ctx context.Context, c client.Client, cr *apiv1.PerconaServerMySQL, secret *corev1.Secret) (bool, error)

func IssueCerts

func IssueCerts(hosts []string) (caCert, tlsCert, tlsKey []byte, err error)

IssueCerts returns CA certificate, TLS certificate and TLS private key

Types

This section is empty.

Jump to

Keyboard shortcuts

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