quota

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGroupUsers

func GetGroupUsers(depts []string) string

2018-02-11 16:55 获取多个组里的所有用户

func GetUserQuota

func GetUserQuota(username string, quotaType string) string

2018-02-11 21:30 获取用户可用配额

func GetUserQuotaData

func GetUserQuotaData(username string, quotaName string) []quota.QuotaUsed

2018-02-11 21:53 获取用户的配额数据

Types

type ControllerQuota

type ControllerQuota struct {
	beego.Controller
}

func (*ControllerQuota) GetQuotaName

func (this *ControllerQuota) GetQuotaName()

@router /api/quota/name [get]

func (*ControllerQuota) QuotaAdd

func (this *ControllerQuota) QuotaAdd()

2018-02-11 10:04 配额管理添加页面 @router /base/quota/add [get]

func (*ControllerQuota) QuotaData

func (this *ControllerQuota) QuotaData()

配额数据 @router /base/quota [get]

func (*ControllerQuota) QuotaDelete

func (this *ControllerQuota) QuotaDelete()

json 删除配额 @router /api/quota/:id:int [delete]

func (*ControllerQuota) QuotaDetailPage

func (this *ControllerQuota) QuotaDetailPage()

集群配额详情页面 @router /base/quota/detail/:id:int [get]

func (*ControllerQuota) QuotaList

func (this *ControllerQuota) QuotaList()

配额管理入口页面 @router /base/quota/list [get]

func (*ControllerQuota) QuotaSave

func (this *ControllerQuota) QuotaSave()

string 配额保存 @router /api/quota [post]

Jump to

Keyboard shortcuts

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