Issue and renew should now return the bytes of the CA certificate that was used to issue the certs. This should be set to nil if not applicable

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
This commit is contained in:
Max Ehrlich 2018-09-13 16:58:02 -04:00
parent 41c7def791
commit 280382e6ce
No known key found for this signature in database
GPG Key ID: 439AC62D3C8A495A

View File

@ -31,8 +31,8 @@ type Interface interface {
Prepare(context.Context, *v1alpha1.Certificate) error
// Issue attempts to issue a certificate as described by the certificate
// resource given
Issue(context.Context, *v1alpha1.Certificate) ([]byte, []byte, error)
Issue(context.Context, *v1alpha1.Certificate) ([]byte, []byte, []byte, error)
// Renew attempts to renew the certificate describe by the certificate
// resource given. If no certificate exists, an error is returned.
Renew(context.Context, *v1alpha1.Certificate) ([]byte, []byte, error)
Renew(context.Context, *v1alpha1.Certificate) ([]byte, []byte, []byte, error)
}