Documentation ¶
Index ¶
- Constants
- type APIRoleConfigInput
- type APIRoleConfigOutput
- type Role
- func (r *Role) APIMetricsCPU() usecase.Interactor
- func (r *Role) APIMetricsMemory() usecase.Interactor
- func (r *Role) APIRoleConfigGet() usecase.Interactor
- func (r *Role) APIRoleConfigPut() usecase.Interactor
- func (r *Role) SetMetric(key string, value types.Metric)
- func (r *Role) Start(ctx context.Context, config []byte) error
- func (r *Role) Stop()
- type RoleConfig
Constants ¶
View Source
const (
KeyRole = "tsdb"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIRoleConfigInput ¶
type APIRoleConfigInput struct {
Config RoleConfig `json:"config" required:"true"`
}
type APIRoleConfigOutput ¶
type APIRoleConfigOutput struct {
Config RoleConfig `json:"config" required:"true"`
}
type Role ¶
type Role struct {
// contains filtered or unexported fields
}
func (*Role) APIMetricsCPU ¶ added in v0.3.6
func (r *Role) APIMetricsCPU() usecase.Interactor
func (*Role) APIMetricsMemory ¶ added in v0.3.6
func (r *Role) APIMetricsMemory() usecase.Interactor
func (*Role) APIRoleConfigGet ¶
func (r *Role) APIRoleConfigGet() usecase.Interactor
func (*Role) APIRoleConfigPut ¶
func (r *Role) APIRoleConfigPut() usecase.Interactor
type RoleConfig ¶
Click to show internal directories.
Click to hide internal directories.