Skip to content

Commit

Permalink
go.d move packages (netdata#18580)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyam8 committed Sep 18, 2024
1 parent 1bb3047 commit f2e442b
Show file tree
Hide file tree
Showing 83 changed files with 66 additions and 64 deletions.
2 changes: 1 addition & 1 deletion src/go/cmd/godplugin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
"github.com/netdata/netdata/go/plugins/logger"
"github.com/netdata/netdata/go/plugins/pkg/buildinfo"
"github.com/netdata/netdata/go/plugins/pkg/executable"
"github.com/netdata/netdata/go/plugins/pkg/multipath"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent"
"github.com/netdata/netdata/go/plugins/plugin/go.d/cli"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/multipath"

"github.com/jessevdk/go-flags"
"golang.org/x/net/http/httpproxy"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

package matcher_test

import "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
import (
"github.com/netdata/netdata/go/plugins/pkg/matcher"
)

func ExampleNew_string_format() {
// create a string matcher, which perform full text match
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type globMatcher string

var (
errBadGlobPattern = errors.New("bad glob pattern")
erGlobPattern = regexp.MustCompile(`(?s)^(?:[*?]|\[\^?([^\\-\]]|\\.|.-.)+\]|\\.|[^\*\?\\\[])*$`)
erGlobPattern = regexp.MustCompile(`(?s)^(?:[*?]|\[\^?([^\\-\]]|\\.|.-.)+]|\\.|[^*?\\\[])*$`)
)

// NewGlobMatcher create a new matcher with glob format
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/go/plugin/go.d/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ import (
"time"

"github.com/netdata/netdata/go/plugins/logger"
"github.com/netdata/netdata/go/plugins/pkg/multipath"
"github.com/netdata/netdata/go/plugins/pkg/netdataapi"
"github.com/netdata/netdata/go/plugins/pkg/safewriter"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/confgroup"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/discovery"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/filelock"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/filestatus"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/functions"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/jobmgr"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/netdataapi"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/safewriter"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/multipath"

"github.com/mattn/go-isatty"
)
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/agent/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"testing"
"time"

"github.com/netdata/netdata/go/plugins/pkg/safewriter"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/safewriter"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/agent/discovery/sd/conffile.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"

"github.com/netdata/netdata/go/plugins/logger"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/multipath"
"github.com/netdata/netdata/go/plugins/pkg/multipath"
)

type confFile struct {
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/agent/discovery/sd/pipeline/funcmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
"text/template"

"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/pkg/matcher"

"github.com/Masterminds/sprig/v3"
"github.com/bmatcuk/doublestar/v4"
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/agent/discovery/sd/sd.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"sync"

"github.com/netdata/netdata/go/plugins/logger"
"github.com/netdata/netdata/go/plugins/pkg/multipath"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/confgroup"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/discovery/sd/pipeline"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/multipath"

"gopkg.in/yaml.v2"
)
Expand Down
4 changes: 2 additions & 2 deletions src/go/plugin/go.d/agent/functions/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"time"

"github.com/netdata/netdata/go/plugins/logger"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/netdataapi"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/safewriter"
"github.com/netdata/netdata/go/plugins/pkg/netdataapi"
"github.com/netdata/netdata/go/plugins/pkg/safewriter"
)

func NewManager() *Manager {
Expand Down
6 changes: 3 additions & 3 deletions src/go/plugin/go.d/agent/jobmgr/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import (
"time"

"github.com/netdata/netdata/go/plugins/logger"
"github.com/netdata/netdata/go/plugins/pkg/netdataapi"
"github.com/netdata/netdata/go/plugins/pkg/safewriter"
"github.com/netdata/netdata/go/plugins/pkg/ticker"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/confgroup"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/functions"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/netdataapi"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/safewriter"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/ticker"

"github.com/mattn/go-isatty"
"gopkg.in/yaml.v2"
Expand Down
4 changes: 2 additions & 2 deletions src/go/plugin/go.d/agent/jobmgr/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"testing"
"time"

"github.com/netdata/netdata/go/plugins/pkg/netdataapi"
"github.com/netdata/netdata/go/plugins/pkg/safewriter"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/confgroup"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/netdataapi"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/safewriter"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/agent/module/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"time"

"github.com/netdata/netdata/go/plugins/logger"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/netdataapi"
"github.com/netdata/netdata/go/plugins/pkg/netdataapi"
)

var obsoleteLock = &sync.Mutex{}
Expand Down
6 changes: 3 additions & 3 deletions src/go/plugin/go.d/examples/simple/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (
"os"
"path"

"github.com/jessevdk/go-flags"

"github.com/netdata/netdata/go/plugins/logger"
"github.com/netdata/netdata/go/plugins/pkg/multipath"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/cli"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/multipath"

"github.com/jessevdk/go-flags"
)

var version = "v0.0.1-example"
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/activemq/activemq.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"errors"
"time"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/confopt"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
)

Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/activemq/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package activemq
import (
"errors"

"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/pkg/matcher"
)

func (a *ActiveMQ) validateConfig() error {
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/beanstalk/beanstalk.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"time"

"github.com/netdata/netdata/go/plugins/logger"
"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/confopt"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
)

//go:embed "config_schema.json"
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/beanstalk/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package beanstalk
import (
"errors"

"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/pkg/matcher"
)

func (b *Beanstalk) validateConfig() error {
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/bind/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"net/http"
"time"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/confopt"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
)

Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/bind/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/http"
"strings"

"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/pkg/matcher"
)

func (b *Bind) validateConfig() error {
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/coredns/coredns.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"errors"
"time"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/confopt"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"

Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/coredns/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package coredns
import (
"errors"

"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
)
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/filecheck/filecheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
_ "embed"
"time"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/confopt"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
)

//go:embed "config_schema.json"
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/filecheck/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package filecheck
import (
"errors"

"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/pkg/matcher"
)

func (f *Filecheck) validateConfig() error {
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/fluentd/fluentd.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"errors"
"time"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/confopt"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
)

Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/fluentd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package fluentd
import (
"errors"

"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
)

Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/httpcheck/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"net/http"
"regexp"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
)

Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/mongodb/mongodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"sync"
"time"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/confopt"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
)

//go:embed "config_schema.json"
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/mongodb/mongodb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"testing"
"time"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/openvpn/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
package openvpn

import (
"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/modules/openvpn/client"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/socket"
)

Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/openvpn/openvpn.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
_ "embed"
"time"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/modules/openvpn/client"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/confopt"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/socket"
)

Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/openvpn/openvpn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"os"
"testing"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/modules/openvpn/client"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/socket"

"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/openvpn_status_log/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package openvpn_status_log
import (
"errors"

"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/pkg/matcher"
)

func (o *OpenVPNStatusLog) validateConfig() error {
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/openvpn_status_log/openvpn.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
_ "embed"
"errors"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
)

//go:embed "config_schema.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"strings"
"testing"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/postgres/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package postgres
import (
"errors"

"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/pkg/matcher"
)

func (p *Postgres) validateConfig() error {
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"sync"
"time"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/confopt"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/metrics"

"github.com/jackc/pgx/v5/stdlib"
Expand Down
2 changes: 1 addition & 1 deletion src/go/plugin/go.d/modules/postgres/postgres_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"strings"
"testing"

"github.com/netdata/netdata/go/plugins/pkg/matcher"
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
"github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/matcher"

"github.com/DATA-DOG/go-sqlmock"
"github.com/stretchr/testify/assert"
Expand Down
Loading

0 comments on commit f2e442b

Please sign in to comment.