cloud

package
v5.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: AGPL-3.0 Imports: 39 Imported by: 1

Documentation

Index

Constants

View Source
const ID = `cloud`

Variables

View Source
var (
	// ErrRunningPleaseWait 正在运行中
	ErrRunningPleaseWait = errors.New("running, please wait")
)
View Source
var LeftNavigate = &navigate.Item{
	Display: true,
	Name:    `云服务`,
	Action:  `cloud`,
	Icon:    `cloud`,
	Children: &navigate.List{
		{
			Display: true,
			Name:    `云存储账号`,
			Action:  `storage`,
		},
		{
			Display: true,
			Name:    `添加账号`,
			Action:  `storage_add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改账号`,
			Action:  `storage_edit`,
		},
		{
			Display: false,
			Name:    `删除账号`,
			Action:  `storage_delete`,
		},
		{
			Display: false,
			Name:    `云存储文件管理`,
			Action:  `storage_file`,
		},
		{
			Display: true,
			Name:    `文件备份`,
			Action:  `backup`,
		},
		{
			Display: false,
			Name:    `添加备份配置`,
			Action:  `backup_add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改备份配置`,
			Action:  `backup_edit`,
		},
		{
			Display: false,
			Name:    `删除备份配置`,
			Action:  `backup_delete`,
		},
		{
			Display: false,
			Name:    `启动备份任务`,
			Action:  `backup_start`,
		},
		{
			Display: false,
			Name:    `停止备份任务`,
			Action:  `backup_stop`,
		},
		{
			Display: false,
			Name:    `云备份日志列表`,
			Action:  `backup_log`,
		},
		{
			Display: false,
			Name:    `云备份日志删除`,
			Action:  `backup_log_delete`,
		},
	},
}
View Source
var Module = module.Module{
	Navigate: func(nc *navigate.Collection) {
		nc.Backend.AddLeftItems(-1, LeftNavigate)
	},
}

Functions

func BackupConfigAdd

func BackupConfigAdd(ctx echo.Context) error

func BackupConfigDelete

func BackupConfigDelete(ctx echo.Context) error

func BackupConfigEdit

func BackupConfigEdit(ctx echo.Context) error

func BackupConfigList

func BackupConfigList(ctx echo.Context) error

func BackupStart

func BackupStart(ctx echo.Context) error

func BackupStop

func BackupStop(ctx echo.Context) error

func Log added in v5.2.1

func Log(ctx echo.Context) error

func LogDelete added in v5.2.1

func LogDelete(ctx echo.Context) error

func StorageAdd

func StorageAdd(ctx echo.Context) error

func StorageDelete

func StorageDelete(ctx echo.Context) error

func StorageEdit

func StorageEdit(ctx echo.Context) error

func StorageFile

func StorageFile(ctx echo.Context) error

func StorageIndex

func StorageIndex(ctx echo.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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