testing

package
v1.0.761 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) DefaultQuarksSecretWithCopyAndLabel added in v1.0.744

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

DefaultQuarksSecretWithCopyAndLabel for use in tests

func (*Catalog) DefaultQuarksSecretWithLabels added in v1.0.744

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

DefaultQuarksSecretWithLabels 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