Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidArgument = errors.New("invalid argument") ErrProclaimParamsRefused = errors.New("参数校验未通过.") )
Functions ¶
Types ¶
type Service ¶
type Service interface { // 工作台 当前空间的CPU及内存使用 Metrice(ctx context.Context, ns string) (res map[string]interface{}, err error) Active(ctx context.Context) (res []map[string]interface{}, err error) }
func NewService ¶
func NewService(logger log.Logger, cf *config.Config, build repository.BuildRepository) Service
Click to show internal directories.
Click to hide internal directories.