keystest

package
v1.2.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPrivateKeySecret

func NewPrivateKeySecret(namespace, secretName string, privateKey *rsa.PrivateKey) (*v1.Secret, error)

NewPrivateKeySecret returns a new private key secret

func NewTLSSecret

func NewTLSSecret(namespace, secretName string, keyPair *triple.KeyPair, caCert *x509.Certificate, owner *metav1.OwnerReference) *v1.Secret

NewTLSSecret returns a new TLS secret from objects

func NewTLSSecretFromBytes

func NewTLSSecretFromBytes(namespace, secretName string, privateKeyBytes, certBytes, caCertBytes []byte, owner *metav1.OwnerReference) *v1.Secret

NewTLSSecretFromBytes returns a new TLS secret from bytes

Types

This section is empty.

Jump to

Keyboard shortcuts

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