Documentation ¶
Index ¶
- Variables
- func CertificateOnlyValidForDomains(cert *x509.Certificate, commonName string, dnsNames ...string) bool
- func NewCertManagerACMECertificate(name, secretName, issuerName string, issuerKind string, ingressClass string, ...) *v1alpha1.Certificate
- func NewCertManagerACMEIssuer(name, acmeURL, acmeEmail, acmePrivateKey string) *v1alpha1.Issuer
- func NewCertManagerBasicCertificate(name, secretName, issuerName string, issuerKind string) *v1alpha1.Certificate
- func NewCertManagerCAClusterIssuer(name, secretName string) *v1alpha1.ClusterIssuer
- func NewCertManagerCAIssuer(name, secretName string) *v1alpha1.Issuer
- func NewCertManagerSelfSignedIssuer(name string) *v1alpha1.Issuer
- func NewCertManagerVaultCertificate(name, secretName, issuerName string, issuerKind string) *v1alpha1.Certificate
- func NewCertManagerVaultIssuerAppRole(name, vaultURL, vaultPath, roleId, vaultSecretAppRole, authPath string) *v1alpha1.Issuer
- func NewCertManagerVaultIssuerToken(name, vaultURL, vaultPath, vaultSecretToken string) *v1alpha1.Issuer
- func NewIngress(name, secretName string, annotations map[string]string, dnsNames ...string) *extv1beta1.Ingress
- func NewSigningKeypairSecret(name string) *v1.Secret
- func WaitCertificateIssuedValid(certClient clientset.CertificateInterface, secretClient corecs.SecretInterface, ...) error
- func WaitForCRDToNotExist(client apiextcs.CustomResourceDefinitionInterface, name string) error
- func WaitForCertificateCondition(client clientset.CertificateInterface, name string, ...) error
- func WaitForCertificateEvent(client kubernetes.Interface, cert *v1alpha1.Certificate, reason string, ...) error
- func WaitForCertificateToExist(client clientset.CertificateInterface, name string, timeout time.Duration) error
- func WaitForClusterIssuerCondition(client clientset.ClusterIssuerInterface, name string, ...) error
- func WaitForIssuerCondition(client clientset.IssuerInterface, name string, ...) error
- func WaitForIssuerStatusFunc(client clientset.IssuerInterface, name string, ...) error
Constants ¶
This section is empty.
Variables ¶
var ACMECertificateDomain string
var ACMECloudflareDomain string
Functions ¶
func CertificateOnlyValidForDomains ¶ added in v0.2.0
func CertificateOnlyValidForDomains(cert *x509.Certificate, commonName string, dnsNames ...string) bool
func NewCertManagerACMECertificate ¶ added in v0.2.0
func NewCertManagerBasicCertificate ¶ added in v0.4.0
func NewCertManagerBasicCertificate(name, secretName, issuerName string, issuerKind string) *v1alpha1.Certificate
func NewCertManagerCAClusterIssuer ¶
func NewCertManagerCAClusterIssuer(name, secretName string) *v1alpha1.ClusterIssuer
func NewCertManagerCAIssuer ¶
func NewCertManagerSelfSignedIssuer ¶ added in v0.4.0
func NewCertManagerVaultCertificate ¶ added in v0.3.0
func NewCertManagerVaultCertificate(name, secretName, issuerName string, issuerKind string) *v1alpha1.Certificate
func NewCertManagerVaultIssuerAppRole ¶ added in v0.3.0
func NewCertManagerVaultIssuerToken ¶ added in v0.3.0
func NewIngress ¶ added in v0.2.2
func NewSigningKeypairSecret ¶
func WaitCertificateIssuedValid ¶ added in v0.5.0
func WaitCertificateIssuedValid(certClient clientset.CertificateInterface, secretClient corecs.SecretInterface, name string, timeout time.Duration) error
WaitCertificateIssuedValid waits for the given Certificate to be 'Ready' and ensures the stored certificate is valid for the specified domains.
func WaitForCRDToNotExist ¶
func WaitForCRDToNotExist(client apiextcs.CustomResourceDefinitionInterface, name string) error
WaitForCRDToNotExist waits for the CRD with the given name to no longer exist.
func WaitForCertificateCondition ¶
func WaitForCertificateCondition(client clientset.CertificateInterface, name string, condition v1alpha1.CertificateCondition, timeout time.Duration) error
WaitForCertificateCondition waits for the status of the named Certificate to contain a condition whose type and status matches the supplied one.
func WaitForCertificateEvent ¶ added in v0.3.0
func WaitForCertificateEvent(client kubernetes.Interface, cert *v1alpha1.Certificate, reason string, timeout time.Duration) error
WaitForCertificateEvent waits for an event on the named Certificate to contain an event reason matches the supplied one.
func WaitForCertificateToExist ¶ added in v0.2.2
func WaitForCertificateToExist(client clientset.CertificateInterface, name string, timeout time.Duration) error
WaitForCertificateToExist waits for the named certificate to exist
func WaitForClusterIssuerCondition ¶
func WaitForClusterIssuerCondition(client clientset.ClusterIssuerInterface, name string, condition v1alpha1.IssuerCondition) error
WaitForClusterIssuerCondition waits for the status of the named issuer to contain a condition whose type and status matches the supplied one.
func WaitForIssuerCondition ¶
func WaitForIssuerCondition(client clientset.IssuerInterface, name string, condition v1alpha1.IssuerCondition) error
WaitForIssuerCondition waits for the status of the named issuer to contain a condition whose type and status matches the supplied one.
func WaitForIssuerStatusFunc ¶ added in v0.2.0
Types ¶
This section is empty.