2025-03-18 23:27:27 +02:00

28 lines
492 B
Go

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"`
}