feat: add resilient updates and access controls
Container-Image veröffentlichen / container (push) Has been cancelled
Container-Image veröffentlichen / container (push) Has been cancelled
This commit is contained in:
1 parent
a000152423
commit
f02ec9977c
41 files changed
+3277
-151
No files matched your search
@@ -90,6 +90,21 @@ type PiHoleCredential struct {
|
||||
Nonce []byte
|
||||
}
|
||||
|
||||
// SoftwareUpdateSettings contains the locally persisted update state. The
|
||||
// encrypted registry token is returned only to trusted backend components and
|
||||
// is never passed to templates.
|
||||
type SoftwareUpdateSettings struct {
|
||||
RegistryUsername string
|
||||
TokenCiphertext []byte
|
||||
TokenNonce []byte
|
||||
LatestVersion string
|
||||
ReleaseURL string
|
||||
DesiredVersion string
|
||||
LastCheckedAt time.Time
|
||||
LastError string
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
// PiHoleRecordLink tracks whether a local DNS entry is managed by this UI or
|
||||
// merely retained at Pi-hole after being removed from the active WebUI list.
|
||||
type PiHoleRecordLink struct {
|
||||
|
||||
Reference in new issue
Block a user