Documentation ¶
Index ¶
- Constants
- Variables
- func CertManagerCertificateNameForInstance(instanceName string, r v1alpha1.CertManager) string
- func CertManagerCertificates(ctx context.Context, client client.Client, namespace, name string, ...) ([]cmv1.Certificate, error)
- func DeleteCertificate(ctx context.Context, c client.Client, instance *v1alpha1.RpaasInstance, ...) error
- func ListCertificateSecrets(ctx context.Context, c client.Client, namespace, instance string) ([]corev1.Secret, error)
- func ReconcileCertManager(ctx context.Context, client client.Client, ...) ([]cmv1.Certificate, error)
- func UpdateCertificate(ctx context.Context, c client.Client, instance *v1alpha1.RpaasInstance, ...) error
Constants ¶
View Source
const CertManagerCertificateName string = "cert-manager"
View Source
const CertificateNameLabel = "rpaas.extensions.tsuru.io/certificate-name"
Variables ¶
View Source
var ( ErrTLSSecretNotFound = fmt.Errorf("TLS secret not found") ErrTooManyTLSSecretsFound = fmt.Errorf("too many TLS secrets found") )
Functions ¶
func CertManagerCertificateNameForInstance ¶ added in v0.43.0
func CertManagerCertificateNameForInstance(instanceName string, r v1alpha1.CertManager) string
func CertManagerCertificates ¶ added in v0.43.0
func CertManagerCertificates(ctx context.Context, client client.Client, namespace, name string, spec *v1alpha1.RpaasInstanceSpec) ([]cmv1.Certificate, error)
func DeleteCertificate ¶
func ListCertificateSecrets ¶ added in v0.43.0
func ReconcileCertManager ¶ added in v0.43.0
func ReconcileCertManager(ctx context.Context, client client.Client, instance, instanceMergedWithFlavors *v1alpha1.RpaasInstance) ([]cmv1.Certificate, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.