automation

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Automation

type Automation interface {
	CreateServer(args ServerArgs) (*ResourceResults, error)
	DeleteServer(id string, args ServerArgs) error
	ListServer() ([]ResourceResults, error)
	UpdateServer(id string, args ServerArgs) error
	UploadPlugin(id string, args ServerArgs, plugin, destination string) error
	GetServer(id string, args ServerArgs) (*ResourceResults, error)
}

type Rcon

type Rcon struct {
	Password  string
	Enabled   bool
	Port      int
	Broadcast bool
}

type ResourceResults

type ResourceResults struct {
	ID       string
	Name     string
	Region   string
	PublicIP string
	Tags     string
}

type ServerArgs

type ServerArgs struct {
	ID                string
	MinecraftResource *model.MinecraftResource
	SSHPrivateKeyPath string
}

Jump to

Keyboard shortcuts

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