spacelet

package
v0.0.0-...-1ae172a Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddReleaseHandler

func AddReleaseHandler(conf *config.ServerConfig) api.Handler

func ApiGroup

func ApiGroup(conf *config.ServerConfig) api.ApiGroup

func CallbackHandler

func CallbackHandler(conf *config.ServerConfig) api.Handler

func DeleteHandler

func DeleteHandler(conf *config.ServerConfig) api.Handler

func InstallHandler

func InstallHandler(conf *config.ServerConfig) api.Handler

func ListHandler

func ListHandler(conf *config.ServerConfig) api.Handler

func RegisterHandler

func RegisterHandler(conf *config.ServerConfig) api.Handler

func UpdateHandler

func UpdateHandler(conf *config.ServerConfig) api.Handler

Types

type InstallSpaceletForm

type InstallSpaceletForm struct {
	OS         string `form:"os,default=linux"`
	Arch       string `form:"arch,default=amd64"`
	Port       string `form:"port,default=7520"`
	ServerHost string `form:"server_host"`
	DataDir    string `form:"data_dir,default=/data"`
	HostIp     string `form:"host_ip"`
}

Jump to

Keyboard shortcuts

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