mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 08:03:49 +01:00
necessary actions (#276)
This commit is contained in:
parent
fdefa11db4
commit
baa6c4e7dd
@ -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