testing

package
v0.0.734-g28990df Latest Latest
Warning

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

Go to latest
Published: Sep 15, 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) BasicAuthQuarksSecret added in v1.0.699

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

BasicAuthQuarksSecret returns a 'basic auth' type quarks secret for testing

func (*Catalog) CACertificateQuarksSecret added in v1.0.699

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

CACertificateQuarksSecret for use in tests, creates a CA certificate

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) DefaultQuarksSecretWithCopy added in v1.0.730

func (c *Catalog) DefaultQuarksSecretWithCopy(name string, copynamespace string) qsv1a1.QuarksSecret

DefaultQuarksSecretWithCopy for use in tests

func (*Catalog) RSAQuarksSecret added in v1.0.699

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

RSAQuarksSecret returns a 'rsa' type quarks secret for testing

func (*Catalog) RotationConfig

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

RotationConfig is a config map, which triggers secret rotation

func (*Catalog) SSHQuarksSecret added in v1.0.699

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

SSHQuarksSecret returns a 'ssh' type quarks secret for testing

func (*Catalog) TLSQuarksSecret added in v1.0.715

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

TLSQuarksSecret for use in tests, creates a tls type secret

Jump to

Keyboard shortcuts

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