order_certificate

package
v1.30.21 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyCertificateSecretFilter

func ApplyCertificateSecretFilter(obj *unstructured.Unstructured) (go_hook.FilterResult, error)

func ClusterDomainSAN

func ClusterDomainSAN(s string) string

func PublicDomainSAN

func PublicDomainSAN(s string) string

func RegisterOrderCertificateHook

func RegisterOrderCertificateHook(requests []OrderCertificateRequest) bool

Types

type CertificateInfo

type CertificateInfo struct {
	Certificate        string `json:"certificate,omitempty"`
	Key                string `json:"key,omitempty"`
	CertificateUpdated bool   `json:"certificate_updated,omitempty"`
}

type CertificateSecret

type CertificateSecret struct {
	Name string
	Crt  []byte
	Key  []byte
}

func ParseSecret

func ParseSecret(secret *v1.Secret) *CertificateSecret

type OrderCertificateRequest

type OrderCertificateRequest struct {
	Namespace  string
	SecretName string
	CommonName string
	SANs       []string
	Groups     []string
	Usages     []certificatesv1.KeyUsage
	SignerName string

	ValueName   string
	ModuleName  string
	WaitTimeout time.Duration
}

func (*OrderCertificateRequest) DeepCopy

Jump to

Keyboard shortcuts

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