Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource 应用实例对象封装
func (*Resource) GetProjectAddonResource ¶
func (a *Resource) GetProjectAddonResource(projectIDs []uint64) (*map[uint64]apistructs.ProjectResourceItem, error)
GetProjectAddonResource 获取project下,addon的使用资源
func (*Resource) GetProjectServiceResource ¶
func (r *Resource) GetProjectServiceResource(projectIDs []uint64) (*map[uint64]apistructs.ProjectResourceItem, error)
GetProjectServiceResource 获取project下,service的使用资源
Click to show internal directories.
Click to hide internal directories.