certs

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Dir directory of the certs
	Dir = "certs"
	// ServerKey is the name of the key associated with the secret's private key.
	ServerKey = "tls.key"
	// ServerCert is the name of the key associated with the secret's public key.
	ServerCert = "tls.crt"
	// CACert is the name of the key associated with the certificate of the CA for
	// the keypair.
	CACert = "ca.crt"
	// OneWeek Time used for updating a certificate before it expires.
	OneWeek = 7 * 24 * time.Hour
	// Organization Default cert organisation
	Organization = "cluster.local"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	CertDir                     string
	ServerKey                   string
	ServerCert                  string
	CACert                      string
	UpdateBefore                time.Duration
	Name                        string
	MutatingWebhookConfigName   string
	ValidatingWebhookConfigName string
	Organization                string
}

Options cert options

func (*Options) ApplyDefaults

func (o *Options) ApplyDefaults(name string) Options

ApplyDefaults apply default options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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