refactored

This commit is contained in:
2025-03-18 23:27:27 +02:00
parent 64f59ea232
commit 6c1f34c682
45 changed files with 398 additions and 413 deletions

View File

@@ -0,0 +1,27 @@
package docker
type ContainerType string
const (
Game ContainerType = "GAME"
FileBrowser = "FILE_BROWSER"
)
type ContainerLabels struct {
VolumeId string `json:"volume_id,omitempty"`
Type ContainerType `json:"type,omitempty"`
}
type BrowserLabels struct {
ContainerLabels
UrlRule string
Enabled bool
}
type VolumeLabels struct {
Type ContainerType `json:"type,omitempty"`
}
type ImageLabels struct {
Type ContainerType `json:"type,omitempty"`
}