Files
capsule/pkg/cert/errors.go
Dario Tranchitella bd7218ba44 Avoiding TLS/CA race condition on Capsule installation (#7)
* Avoiding race condition on Capsule installation

The TLS Secret controller needs to wait for the CA one in order to
retrieve the updated one, otherwise it could use a non-stored CA.

* Linting

Minor linting fixes

* Makefile for Docker Image

Providing `make docker-image` to speed-up generation of Docker image
2020-07-25 17:21:36 +02:00

14 lines
243 B
Go

package cert
type CaNotYetValidError struct{}
func (CaNotYetValidError) Error() string {
return "The current CA is not yet valid"
}
type CaExpiredError struct{}
func (CaExpiredError) Error() string {
return "The current CA is expired"
}