From 87d772a7d708fec12f48cd8adc0dedff6e1025da Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 26 Aug 2024 10:15:20 +0200 Subject: Adding upstream version 1.47.0. Signed-off-by: Daniel Baumann --- src/go/collectors/go.d.plugin/agent/jobmgr/di.go | 39 ------------------------ 1 file changed, 39 deletions(-) delete mode 100644 src/go/collectors/go.d.plugin/agent/jobmgr/di.go (limited to 'src/go/collectors/go.d.plugin/agent/jobmgr/di.go') diff --git a/src/go/collectors/go.d.plugin/agent/jobmgr/di.go b/src/go/collectors/go.d.plugin/agent/jobmgr/di.go deleted file mode 100644 index 844e10c11..000000000 --- a/src/go/collectors/go.d.plugin/agent/jobmgr/di.go +++ /dev/null @@ -1,39 +0,0 @@ -// SPDX-License-Identifier: GPL-3.0-or-later - -package jobmgr - -import ( - "github.com/netdata/netdata/go/go.d.plugin/agent/confgroup" - "github.com/netdata/netdata/go/go.d.plugin/agent/functions" - "github.com/netdata/netdata/go/go.d.plugin/agent/vnodes" -) - -type FileLocker interface { - Lock(name string) (bool, error) - Unlock(name string) -} - -type FileStatus interface { - Save(cfg confgroup.Config, state string) - Remove(cfg confgroup.Config) -} - -type FileStatusStore interface { - Contains(cfg confgroup.Config, states ...string) bool -} - -type Vnodes interface { - Lookup(key string) (*vnodes.VirtualNode, bool) -} - -type FunctionRegistry interface { - Register(name string, reg func(functions.Function)) - Unregister(name string) -} - -type dyncfgAPI interface { - CONFIGCREATE(id, status, configType, path, sourceType, source, supportedCommands string) - CONFIGDELETE(id string) - CONFIGSTATUS(id, status string) - FUNCRESULT(uid, contentType, payload, code, expireTimestamp string) -} -- cgit v1.2.3