Documentation ¶
Overview ¶
Package rest is used once at install-time when running install via browser
Index ¶
- Variables
- type Handler
- func (h *Handler) Filter() func(string) string
- func (h *Handler) GetAgreement(req *restful.Request, rsp *restful.Response)
- func (h *Handler) GetInstall(req *restful.Request, rsp *restful.Response)
- func (h *Handler) InstallEvents(req *restful.Request, rsp *restful.Response)
- func (h *Handler) PerformInstallCheck(req *restful.Request, rsp *restful.Response)
- func (h *Handler) PostInstall(req *restful.Request, rsp *restful.Response)
- func (h *Handler) SwaggerTags() []string
Constants ¶
This section is empty.
Variables ¶
View Source
var AgplText = `` /* 34524-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler to the REST requests.
func (*Handler) GetAgreement ¶
func (h *Handler) GetAgreement(req *restful.Request, rsp *restful.Response)
GetAgreement returns current Licence text for user validation.
func (*Handler) GetInstall ¶
func (h *Handler) GetInstall(req *restful.Request, rsp *restful.Response)
GetInstall retrieves default configuration parameters.
func (*Handler) InstallEvents ¶
func (h *Handler) InstallEvents(req *restful.Request, rsp *restful.Response)
InstallEvents returns events
func (*Handler) PerformInstallCheck ¶
func (h *Handler) PerformInstallCheck(req *restful.Request, rsp *restful.Response)
PerformInstallCheck performs a few server side checks before launching the real install.
func (*Handler) PostInstall ¶
func (h *Handler) PostInstall(req *restful.Request, rsp *restful.Response)
PostInstall updates pydio.json configuration file after having gathered modifications from the admin end user.
func (*Handler) SwaggerTags ¶
SwaggerTags lists the names of the service tags declared in the swagger JSON implemented by this service.
Click to show internal directories.
Click to hide internal directories.