controller

package
v0.0.0-...-554cf56 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddKVM

func AddKVM(c *gin.Context)

AddKVM 新增kvm

func CPUMonitor

func CPUMonitor(c *gin.Context)

CPUMonitor CPU监控

func DeleteImg

func DeleteImg(c *gin.Context)

DeleteImg 镜像删除

func DeleteKVM

func DeleteKVM(c *gin.Context)

DeleteKVM 修改kvm状态:删除 3

func FlowMonitor

func FlowMonitor(c *gin.Context)

FlowMonitor 流量监控

func GetAuth

func GetAuth(c *gin.Context)

GetAuth 获取token

func GetImgList

func GetImgList(c *gin.Context)

GetImgList 镜像列表

func GetKVMList

func GetKVMList(c *gin.Context)

GetKVMList 获取kvm列表

func IOMonitor

func IOMonitor(c *gin.Context)

IOMonitor IO监控

func LoadImg

func LoadImg(c *gin.Context)

LoadImg 镜像下载

func MemMonitor

func MemMonitor(c *gin.Context)

MemMonitor 内存监控

func RestartKVM

func RestartKVM(c *gin.Context)

RestartKVM 修改kvm状态:重启 2

func StartKVM

func StartKVM(c *gin.Context)

StartKVM 修改kvm状态:开启 0

func StopKVM

func StopKVM(c *gin.Context)

StopKVM 修改kvm状态:关闭 1

func UpdateImg

func UpdateImg(c *gin.Context)

UpdateImg 镜像更新

Types

This section is empty.

Jump to

Keyboard shortcuts

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