mirror of
https://github.com/openziti/zrok.git
synced 2024-11-26 01:54:09 +01:00
necessary actions (#276)
This commit is contained in:
parent
14c299ee80
commit
fdc5154873
@ -13,13 +13,22 @@ import (
|
||||
)
|
||||
|
||||
type Agent struct {
|
||||
cfg *Config
|
||||
ifx *influxReader
|
||||
zCfg *zrokEdgeSdk.Config
|
||||
str *store.Store
|
||||
queue chan *metrics.Usage
|
||||
close chan struct{}
|
||||
join chan struct{}
|
||||
cfg *Config
|
||||
ifx *influxReader
|
||||
zCfg *zrokEdgeSdk.Config
|
||||
str *store.Store
|
||||
queue chan *metrics.Usage
|
||||
acctWarningEnforce []AccountAction
|
||||
acctLimitEnforce []AccountAction
|
||||
acctLimitRelax []AccountAction
|
||||
envWarningEnforce []EnvironmentAction
|
||||
envLimitEnforce []EnvironmentAction
|
||||
envLimitRelax []EnvironmentAction
|
||||
shrWarningEnforce []ShareAction
|
||||
shrLimitEnforce []ShareAction
|
||||
shrLimitRelax []ShareAction
|
||||
close chan struct{}
|
||||
join chan struct{}
|
||||
}
|
||||
|
||||
func NewAgent(cfg *Config, ifxCfg *metrics.InfluxConfig, zCfg *zrokEdgeSdk.Config, str *store.Store) (*Agent, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user