mirror of
https://github.com/openziti/zrok.git
synced 2025-02-16 18:20:51 +01:00
necessary actions (#276)
This commit is contained in:
parent
fdefa11db4
commit
baa6c4e7dd
@ -13,13 +13,22 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Agent struct {
|
type Agent struct {
|
||||||
cfg *Config
|
cfg *Config
|
||||||
ifx *influxReader
|
ifx *influxReader
|
||||||
zCfg *zrokEdgeSdk.Config
|
zCfg *zrokEdgeSdk.Config
|
||||||
str *store.Store
|
str *store.Store
|
||||||
queue chan *metrics.Usage
|
queue chan *metrics.Usage
|
||||||
close chan struct{}
|
acctWarningEnforce []AccountAction
|
||||||
join chan struct{}
|
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) {
|
func NewAgent(cfg *Config, ifxCfg *metrics.InfluxConfig, zCfg *zrokEdgeSdk.Config, str *store.Store) (*Agent, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user