Documentation
¶
Index ¶
- func InitCobra() *cobra.Command
- func NewBackupCmd() *cobra.Command
- func NewBuildCommand() *cobra.Command
- func NewCommandCmd() *cobra.Command
- func NewConfigureCmd() *cobra.Command
- func NewExportCommand() *cobra.Command
- func NewListCmd() *cobra.Command
- func NewLogsCmd() *cobra.Command
- func NewRootCmd() *cobra.Command
- func NewRunCmd() *cobra.Command
- func NewStartCmd() *cobra.Command
- func NewStopCmd() *cobra.Command
- func NewVersionCmd() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBackupCmd ¶ added in v0.1.2
NewBackupCmd returns the backup command which saves a local backup of the server and world.
func NewBuildCommand ¶ added in v0.1.2
NewBuildCommand returns the build command which builds the server container image
func NewCommandCmd ¶ added in v0.1.2
NewCommandCmd returns the 'command' command which executes a mc server command on the given server.
func NewConfigureCmd ¶ added in v0.1.2
NewConfigureCmd returns the configure command which operates on server files.
func NewExportCommand ¶ added in v0.1.2
NewExportCommand returns the version command which prints the current craft version
func NewListCmd ¶ added in v0.1.2
NewListCmd returns the list command which lists running and backed up servers.
func NewLogsCmd ¶ added in v0.1.2
NewLogsCmd returns the logs command which tails the server cli output.
func NewRootCmd ¶ added in v0.1.2
NewRootCmd returns the root command which always runs before all other commands
func NewRunCmd ¶ added in v0.1.2
NewRunCmd returns the run command which creates a new craft server container and runs the server process.
func NewStartCmd ¶ added in v0.1.2
NewStartCmd returns the start command which starts a server from the most recent backup.
func NewStopCmd ¶ added in v0.1.2
NewStopCmd returns the stop command which takes a backup and stops the server.
func NewVersionCmd ¶ added in v0.1.2
NewVersionCmd returns the version command which prints the current craft version
Types ¶
This section is empty.