Versions in this module Expand all Collapse all v0 v0.0.1 Nov 29, 2026 Changes in this version + func BuildInventoryReport(root string) (uplink.InventoryReport, error) + func ToDecision(d uplink.Decision) decide.Decision + type Agent struct + ExitCode int + Restart bool + Rules *proxy.Rules + Verdicts *decide.Engine + func New(cfg Config) *Agent + func (a *Agent) Enqueue(e uplink.Event) + func (a *Agent) Flush(ctx context.Context) + func (a *Agent) Mode() decide.Mode + func (a *Agent) RefreshRules(ctx context.Context) []uplink.RuleLoad + func (a *Agent) ReportHostChecks(now time.Time) int + func (a *Agent) ReportInventory(ctx context.Context) error + func (a *Agent) Run(ctx context.Context) error + func (a *Agent) SetConfigEtag(etag string) + func (a *Agent) SetFeeds(feeds []feed.Fetcher) + func (a *Agent) SetHold(d time.Duration) + func (a *Agent) SetMode(m decide.Mode) + func (a *Agent) StopReporting() + type Config struct + BPFLSM bool + ConfigEtag string + ConfigEvery time.Duration + ConfigSoonest time.Duration + DNSListen string + DNSUpstream string + Egress *proxy.Egress + EgressListen string + ExecGuard []string + Facts host.Facts + FeedEvery time.Duration + Feeds []feed.Fetcher + FlushEvery time.Duration + HeartbeatEvery time.Duration + Hold time.Duration + HostRoot string + InventoryEvery time.Duration + Logf func(string, ...any) + Mode decide.Mode + Notify func(state string) (bool, error) + OnHealthy func() + PollConfig func(ctx context.Context, a *Agent) (restart bool) + QueueLimit int + Reverse *proxy.Reverse + ReverseListen string + SIEM *siem.Forwarder + SensorKey string + TetragonExport string + UpdateState func() json.RawMessage + Uplink *uplink.Client + Version string + WatchdogInterval time.Duration