cmd

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use: "agones-mc",
}

Functions

func Execute

func Execute()

func RunBackup added in v0.9.0

func RunBackup(cfg *BackupConfig) error

func RunLoad added in v0.9.0

func RunLoad(cfg *LoadConfig) error

func RunMonitor

func RunMonitor(cmd *cobra.Command, args []string)

Main monitor function

Types

type BackupConfig added in v0.9.0

type BackupConfig struct {
	Host          string
	Port          uint
	Volume        string
	RCONPassword  string
	GcpBucketName string
	InitialDelay  time.Duration
	ServerName    string
	Edition       string
}

type LoadConfig added in v0.9.0

type LoadConfig struct {
	GcpBucketName string
	ServerName    string
	Volume        string
	BackupName    string
}

type ProcessStopped

type ProcessStopped struct{}

func (*ProcessStopped) Error

func (e *ProcessStopped) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL