Help us shape the future of Go! Take the 2026 Go Developer Survey

secret

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0, MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// CAKeyName is the name of the CA private key
	CAKeyName = "ca-key.pem"
	// CACertName is the name of the CA certificate
	CACertName = "ca-certmgmt.pem"
	// KeyName is the name of the server private key
	KeyName = "key.pem"
	// CertName is the name of the serving certificate
	CertName = "certmgmt.pem"
)

Variables

This section is empty.

Functions

func NewSecret

func NewSecret(cluster cluster.Interface, name resources.ObjectName, keys ...Keys) certmgmt.CertificateAccess

Types

type Keys

type Keys struct {
	CAKeyName  string
	CACertName string
	KeyName    string
	CertName   string
}

func DefaultKeys

func DefaultKeys() Keys

func TLSKeys

func TLSKeys() Keys

Jump to

Keyboard shortcuts

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