mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-03-04 02:30:23 +00:00
* 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
14 lines
243 B
Go
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"
|
|
}
|