Versions in this module Expand all Collapse all v1 v1.11.11 Mar 15, 2024 v1.11.10 Mar 14, 2024 Changes in this version + func UseOpenat2() bool type SystemConfiguration + OpenatMode string v1.11.8 Oct 18, 2023 v1.11.7 Oct 8, 2023 Changes in this version + const DefaultLocation + var DefaultTLSConfig = &tls.Config + func ConfigureDirectories() error + func ConfigureTimezone() error + func EnableLogRotation() error + func EnsurePterodactylUser() error + func FromFile(path string) error + func GetJwtAlgorithm() *jwt.HMACSHA + func Set(c *Configuration) + func SetDebugViaFlag(d bool) + func Update(callback func(c *Configuration)) + func WriteToDisk(c *Configuration) error + type ApiConfiguration struct + DisableRemoteDownload bool + Host string + Port int + Ssl struct{ ... } + TrustedProxies []string + UploadLimit int64 + type Backups struct + CompressionLevel string + WriteLimit int + type Configuration struct + AllowCORSPrivateNetwork bool + AllowedMounts []string + AllowedOrigins []string + Api ApiConfiguration + AppName string + AuthenticationToken string + AuthenticationTokenId string + Debug bool + Docker DockerConfiguration + IgnorePanelConfigUpdates bool + PanelLocation string + RemoteQuery RemoteQueryConfiguration + System SystemConfiguration + Throttles ConsoleThrottles + Uuid string + func Get() *Configuration + func NewAtPath(path string) (*Configuration, error) + type ConsoleThrottles struct + Enabled bool + Lines uint64 + Period uint64 + type CrashDetection struct + CrashDetectionEnabled bool + DetectCleanExitAsCrash bool + Timeout int + type DockerConfiguration struct + ContainerPidLimit int64 + Domainname string + InstallerLimits struct{ ... } + LogConfig struct{ ... } + Network DockerNetworkConfiguration + Overhead Overhead + Registries map[string]RegistryConfiguration + TmpfsSize uint + UsePerformantInspect bool + UsernsMode string + func (c DockerConfiguration) ContainerLogConfig() container.LogConfig + type DockerNetworkConfiguration struct + Dns []string + Driver string + EnableICC bool + ISPN bool + Interface string + Interfaces dockerNetworkInterfaces + IsInternal bool + Mode string + Name string + NetworkMTU int64 + type Overhead struct + DefaultMultiplier float64 + Multipliers map[int]float64 + Override bool + func (o Overhead) GetMultiplier(memoryLimit int64) float64 + type RegistryConfiguration struct + Password string + Username string + func (c RegistryConfiguration) Base64() (string, error) + type RemoteQueryConfiguration struct + BootServersPerPage int + Timeout int + type SftpConfiguration struct + Address string + Port int + ReadOnly bool + type SystemConfiguration struct + ActivitySendCount int + ActivitySendInterval int + ArchiveDirectory string + BackupDirectory string + Backups Backups + CheckPermissionsOnBoot bool + CrashDetection CrashDetection + Data string + DiskCheckInterval int64 + EnableLogRotate bool + LogDirectory string + RootDirectory string + Sftp SftpConfiguration + Timezone string + TmpDirectory string + Transfers Transfers + User struct{ ... } + Username string + WebsocketLogCount int + func (sc *SystemConfiguration) GetStatesPath() string + type Transfers struct + DownloadLimit int