order_certificate

package
v1.29.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

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     []certificatesv1beta1.KeyUsage

	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