Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Perm = &permBiz{} ErrForbidden = web.NewError(http.StatusForbidden) )
Perm return a perm biz instance.
View Source
var Chart = newChartBiz()
Chart return a chart biz instance.
View Source
var Event = &eventBiz{}
Event return a event biz instance.
View Source
var Metric = &metricBiz{ api: lazy.Value{ New: func() (interface{}, error) { setting, err := Setting.Get() if err != nil { return nil, err } client, err := pclient.NewClient(pclient.Config{Address: setting.Metrics.Prometheus}) if err != nil { return nil, err } return papi.NewAPI(client), nil }, }, }
Metric return a metric biz instance.
View Source
var Registry = ®istryBiz{}
View Source
var Role = &roleBiz{}
Role return a role biz instance.
View Source
var Setting = &settingBiz{}
Setting return a setting biz instance.
View Source
var Stack = &stackBiz{}
Stack return a stack biz instance.
View Source
var Template = &templateBiz{}
Template return a service template biz instance.
View Source
var User = &userBiz{} // nolint: golint
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.