Documentation ¶
Index ¶
- func CertificateOnlyValidForDomains(cert *x509.Certificate, commonName string, dnsNames ...string) bool
- func NewCertManagerACMEIssuer(name, acmeURL, acmeEmail, acmePrivateKey string) *v1alpha2.Issuer
- func NewCertManagerBasicCertificate(name, secretName, issuerName string, issuerKind string, ...) *v1alpha2.Certificatedeprecated
- func NewCertManagerBasicCertificateRequest(name, issuerName string, issuerKind string, duration *metav1.Duration, ...) (*v1alpha2.CertificateRequest, crypto.Signer, error)deprecated
- func NewCertManagerCAClusterIssuer(name, secretName string) *v1alpha2.ClusterIssuer
- func NewCertManagerCAIssuer(name, secretName string) *v1alpha2.Issuer
- func NewCertManagerSelfSignedIssuer(name string) *v1alpha2.Issuer
- func NewCertManagerVaultCertificate(name, secretName, issuerName string, issuerKind string, ...) *v1alpha2.Certificate
- func NewCertManagerVaultClusterIssuerAppRole(name, vaultURL, vaultPath, roleId, vaultSecretAppRole string, authPath string, ...) *v1alpha2.ClusterIssuer
- func NewCertManagerVaultIssuerAppRole(name, vaultURL, vaultPath, roleId, vaultSecretAppRole string, authPath string, ...) *v1alpha2.Issuer
- func NewCertManagerVaultIssuerKubernetes(name, vaultURL, vaultPath, vaultSecretServiceAccount string, role string, ...) *v1alpha2.Issuer
- func NewCertManagerVaultIssuerToken(name, vaultURL, vaultPath, vaultSecretToken, authPath string, caBundle []byte) *v1alpha2.Issuer
- func NewIngress(name, secretName string, annotations map[string]string, dnsNames ...string) *extv1beta1.Ingress
- func WaitForCRDToNotExist(client apiextcs.CustomResourceDefinitionInterface, name string) error
- func WaitForCertificateCondition(client clientset.CertificateInterface, name string, ...) error
- func WaitForCertificateEvent(client kubernetes.Interface, cert *v1alpha2.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 ¶
This section is empty.
Functions ¶
func CertificateOnlyValidForDomains ¶
func CertificateOnlyValidForDomains(cert *x509.Certificate, commonName string, dnsNames ...string) bool
func NewCertManagerBasicCertificate
deprecated
func NewCertManagerBasicCertificateRequest
deprecated
added in
v0.9.0
func NewCertManagerBasicCertificateRequest(name, issuerName string, issuerKind string, duration *metav1.Duration, dnsNames []string, ips []net.IP, uris []string, keyAlgorithm x509.PublicKeyAlgorithm) (*v1alpha2.CertificateRequest, crypto.Signer, error)
Deprecated: use test/unit/gen/CertificateRequest in future
func NewCertManagerCAClusterIssuer ¶
func NewCertManagerCAClusterIssuer(name, secretName string) *v1alpha2.ClusterIssuer
func NewCertManagerCAIssuer ¶
func NewCertManagerVaultClusterIssuerAppRole ¶ added in v0.12.0
func NewCertManagerVaultClusterIssuerAppRole(name, vaultURL, vaultPath, roleId, vaultSecretAppRole string, authPath string, caBundle []byte) *v1alpha2.ClusterIssuer
func NewCertManagerVaultIssuerKubernetes ¶ added in v0.11.0
func NewIngress ¶
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 v1alpha2.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 ¶
func WaitForCertificateEvent(client kubernetes.Interface, cert *v1alpha2.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 ¶
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 v1alpha2.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 v1alpha2.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 ¶
Types ¶
This section is empty.