testing

package
v1.0.687 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertificateVerify

func CertificateVerify(rootPEM, certPEM []byte, dnsName string) error

CertificateVerify verifies certificate with root certificate.

Types

type Catalog

type Catalog struct{}

Catalog provides several instances for tests

func (*Catalog) CertificateQuarksSecret

func (c *Catalog) CertificateQuarksSecret(name string, secretref string, cacertref string, keyref string) qsv1a1.QuarksSecret

CertificateQuarksSecret for use in tests, creates a certificate

func (*Catalog) DefaultQuarksSecret

func (c *Catalog) DefaultQuarksSecret(name string) qsv1a1.QuarksSecret

DefaultQuarksSecret for use in tests

func (*Catalog) RotationConfig

func (c *Catalog) RotationConfig(name string) corev1.ConfigMap

RotationConfig is a config map, which triggers secret rotation

Jump to

Keyboard shortcuts

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