mirror of
https://github.com/psviderski/uncloud.git
synced 2026-11-10 12:44:16 +00:00
feat(caddy): add ListCertificates method, refactor Caddy client layout (#31)
This commit is contained in:
+13
-1
@@ -1,6 +1,18 @@
|
||||
package api
|
||||
|
||||
import "strings"
|
||||
import (
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
// CaddyConfig is the saved Caddy configuration on a machine.
|
||||
type CaddyConfig struct {
|
||||
Caddyfile string
|
||||
// ModifiedAt is zero when the server does not supply a modification timestamp.
|
||||
ModifiedAt time.Time
|
||||
// LastReconciliationError describes the latest unsuccessful configuration reconciliation.
|
||||
LastReconciliationError string
|
||||
}
|
||||
|
||||
// CaddySpec is the Caddy reverse proxy configuration for a service.
|
||||
type CaddySpec struct {
|
||||
|
||||
Reference in New Issue
Block a user