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 ResourceResults ¶
type ServerArgs ¶
type ServerArgs struct {
ID string
MinecraftResource *model.MinecraftResource
SSHPrivateKeyPath string
}
Click to show internal directories.
Click to hide internal directories.