ssl

package
v0.1.1-0...-c51dc2f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCerts

func GenerateCerts(certInfo map[string]CertInfo, namespace, clusterDomain string, expiration int, secrets *v1.Secret) error

GenerateCerts creates an SSL cert and private key

func RecordCertInfo

func RecordCertInfo(certInfo map[string]CertInfo, configVar *model.ConfigurationVariable) error

RecordCertInfo record cert information for later generation

Types

type CertInfo

type CertInfo struct {
	PrivateKeyName  string // Name to associate with private key
	CertificateName string // Name to associate with certificate
	IsAuthority     bool

	SubjectNames []string
	RoleName     string

	Certificate []byte
	PrivateKey  []byte
}

CertInfo contains all the information required to generate an SSL cert

Jump to

Keyboard shortcuts

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