Documentation
¶
Index ¶
- Variables
- type AggregateStats
- func (as *AggregateStats) Decrement(what Zone, host string)
- func (as *AggregateStats) GetCustomStats(host, which string) (any, bool)
- func (as *AggregateStats) Increment(what Zone, host string)
- func (as *AggregateStats) SetCustomStats(which string, what any, host string)
- func (as *AggregateStats) Summarize(host string) map[string]int64
- func (as *AggregateStats) UpdateCustomStats(which string, what any, host string)
- type Executor
- type Zone
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrHostNotExists = errors.New("host not exists") ErrInvalidClient = errors.New("invalid client kind") )
Functions ¶
This section is empty.
Types ¶
type AggregateStats ¶
type AggregateStats struct {
// contains filtered or unexported fields
}
func NewStats ¶
func NewStats() *AggregateStats
func (*AggregateStats) Decrement ¶
func (as *AggregateStats) Decrement(what Zone, host string)
func (*AggregateStats) GetCustomStats ¶
func (as *AggregateStats) GetCustomStats(host, which string) (any, bool)
func (*AggregateStats) Increment ¶
func (as *AggregateStats) Increment(what Zone, host string)
func (*AggregateStats) SetCustomStats ¶
func (as *AggregateStats) SetCustomStats(which string, what any, host string)
func (*AggregateStats) Summarize ¶
func (as *AggregateStats) Summarize(host string) map[string]int64
func (*AggregateStats) UpdateCustomStats ¶
func (as *AggregateStats) UpdateCustomStats(which string, what any, host string)
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func NewExecutor ¶
func (*Executor) LoadSources ¶
LoadSources builds the given source client.IClient, if the client.IClient already built, do nothing
Click to show internal directories.
Click to hide internal directories.