Documentation ¶
Index ¶
- func CheckMaxFileSize(context *gin.Context, maxSize int64) error
- func Delete(req *DeleteReq) (ret gin.H, err error)
- func Disable(req *DisableReq) (ret gin.H, err error)
- func Enable(req *EnableReq) (ret gin.H, err error)
- func Install(req *InstallReq) (ret gin.H, err error)
- func Uninstall(req *UninstallReq) (ret gin.H, err error)
- func Upload(ctx *gin.Context) (ret gin.H, err error)
- type DeleteReq
- type DeleteResponse
- type DisableHelper
- type DisableReq
- type EnableHelper
- type EnableReq
- type InstallHelper
- type InstallReq
- type InstallResp
- type UninstallHelper
- type UninstallReq
- type UploadHelper
- type UploadResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeleteResponse ¶
type DeleteResponse struct {
Result bool `json:"result"`
}
type DisableHelper ¶
type DisableHelper struct {
// contains filtered or unexported fields
}
func (*DisableHelper) Disable ¶
func (h *DisableHelper) Disable() error
func (*DisableHelper) DisableAbility ¶
func (h *DisableHelper) DisableAbility() error
func (*DisableHelper) DisableRouter ¶
func (h *DisableHelper) DisableRouter() error
func (*DisableHelper) UpdateDb ¶
func (h *DisableHelper) UpdateDb() error
type DisableReq ¶
type DisableReq struct {
InstanceUUID string `json:"instance_uuid"`
}
type EnableHelper ¶
type EnableHelper struct {
// contains filtered or unexported fields
}
func (*EnableHelper) Enable ¶
func (h *EnableHelper) Enable() error
func (*EnableHelper) RegisterAbility ¶
func (h *EnableHelper) RegisterAbility() error
func (*EnableHelper) RegisterRouter ¶
func (h *EnableHelper) RegisterRouter() error
func (*EnableHelper) UpdateDb ¶
func (h *EnableHelper) UpdateDb() error
type InstallHelper ¶
type InstallHelper struct { Cfg *types.PluginConfig // contains filtered or unexported fields }
func (*InstallHelper) Save2Db ¶
func (h *InstallHelper) Save2Db() error
type InstallReq ¶
type InstallReq struct {
InstanceUUID string `json:"instance_uuid"`
}
type InstallResp ¶
type UninstallHelper ¶
type UninstallHelper struct {
// contains filtered or unexported fields
}
func (*UninstallHelper) RemoveWorkspace ¶
func (h *UninstallHelper) RemoveWorkspace() error
func (*UninstallHelper) Uninstall ¶
func (h *UninstallHelper) Uninstall() error
func (*UninstallHelper) UpdateDb ¶
func (h *UninstallHelper) UpdateDb() error
type UninstallReq ¶
type UninstallReq struct {
InstanceUUID string `json:"instance_uuid"`
}
type UploadHelper ¶
type UploadHelper struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.