Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetaPrefix = "mcing.kmdkuk.com/" Finalizer = MetaPrefix + "finalizer" LabelAppInstance = "app.kubernetes.io/instance" LabelAppName = "app.kubernetes.io/name" LabelAppComponent = "app.kubernetes.io/component" LabelAppCreatedBy = "app.kubernetes.io/created-by" AppName = "mcing" AppComponentServer = "server" ControllerName = "mcing-controller" )
Metadata
View Source
const ( MinecraftContainerName = "minecraft" ServerPortName = "server-port" ServerPort = int32(25565) RconPortName = "rcon-port" RconPort = int32(25575) DataVolumeName = "minecraft-data" DataPath = "/data" ServerPropsName = "server.properties" ServerPropsPath = DataPath + "/" + ServerPropsName BanIPName = "banned-ips.json" BanIPPath = DataPath + "/" + BanIPName BanPlayerName = "banned-players.json" BanPlayerPath = DataPath + "/" + BanPlayerName OpsName = "ops.json" OpsPath = DataPath + "/" + OpsName WhiteListName = "whitelist.json" WhiteListPath = DataPath + "/" + WhiteListName ConfigVolumeName = "config" ConfigPath = "/mcing-config" AgentContainerName = "mcing-agent" AgentPort = int32(9080) AgentPortName = "agent-port" InitContainerName = "mcing-init" ImagePrefix = "ghcr.io/kmdkuk/" InitContainerImage = "mcing-init" InitCommand = "mcing-init" DefaultServerImage = "itzg/minecraft-server:java8" )
Container
View Source
const ( WhitelistProps = "white-list" RconPasswordProps = "rcon.password" RconPortProps = "rcon.port" )
server.properties
View Source
const (
EulaEnvName = "EULA"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.