generate

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Certificate

func Certificate(cfg CertificateConfig) *v1alpha1.Certificate

func Issuer

func Issuer(cfg IssuerConfig) *v1alpha1.Issuer

Types

type CertificateConfig

type CertificateConfig struct {
	// metadata
	Name, Namespace string

	// common parameters
	IssuerName, IssuerKind string
	SecretName             string
	CommonName             string
	DNSNames               []string
	Duration               *metav1.Duration
	RenewBefore            *metav1.Duration

	// ACME parameters
	SolverConfig v1alpha1.SolverConfig
}

type ClusterIssuerConfig

type ClusterIssuerConfig struct {
	Name, Namespace string

	ACMESkipTLSVerify                         bool
	ACMEServer, ACMEEmail, ACMEPrivateKeyName string
	HTTP01                                    *v1alpha1.ACMEIssuerHTTP01Config
	DNS01                                     *v1alpha1.ACMEIssuerDNS01Config
}

type IssuerConfig

type IssuerConfig struct {
	Name, Namespace string

	ACMESkipTLSVerify                         bool
	ACMEServer, ACMEEmail, ACMEPrivateKeyName string
	HTTP01                                    *v1alpha1.ACMEIssuerHTTP01Config
	DNS01                                     *v1alpha1.ACMEIssuerDNS01Config
}

Jump to

Keyboard shortcuts

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