diff --git a/pkg/collection/collection.go b/internal/collection/collection.go similarity index 99% rename from pkg/collection/collection.go rename to internal/collection/collection.go index 75708be..3056879 100644 --- a/pkg/collection/collection.go +++ b/internal/collection/collection.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/obfuscate" "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" ) diff --git a/pkg/collection/collection_test.go b/internal/collection/collection_test.go similarity index 100% rename from pkg/collection/collection_test.go rename to internal/collection/collection_test.go diff --git a/pkg/collection/exec.go b/internal/collection/exec.go similarity index 100% rename from pkg/collection/exec.go rename to internal/collection/exec.go diff --git a/pkg/collection/exec_test.go b/internal/collection/exec_test.go similarity index 100% rename from pkg/collection/exec_test.go rename to internal/collection/exec_test.go diff --git a/pkg/collection/file.go b/internal/collection/file.go similarity index 100% rename from pkg/collection/file.go rename to internal/collection/file.go diff --git a/pkg/collection/file_test.go b/internal/collection/file_test.go similarity index 100% rename from pkg/collection/file_test.go rename to internal/collection/file_test.go diff --git a/pkg/collection/git.go b/internal/collection/git.go similarity index 100% rename from pkg/collection/git.go rename to internal/collection/git.go diff --git a/pkg/collection/git_test.go b/internal/collection/git_test.go similarity index 100% rename from pkg/collection/git_test.go rename to internal/collection/git_test.go diff --git a/pkg/collection/packages.go b/internal/collection/packages.go similarity index 100% rename from pkg/collection/packages.go rename to internal/collection/packages.go diff --git a/pkg/collection/processes.go b/internal/collection/processes.go similarity index 100% rename from pkg/collection/processes.go rename to internal/collection/processes.go diff --git a/pkg/collection/services.go b/internal/collection/services.go similarity index 100% rename from pkg/collection/services.go rename to internal/collection/services.go diff --git a/pkg/collection/testdata/example.txt b/internal/collection/testdata/example.txt similarity index 100% rename from pkg/collection/testdata/example.txt rename to internal/collection/testdata/example.txt diff --git a/pkg/collection/testdata/recursive/test.txt b/internal/collection/testdata/recursive/test.txt similarity index 100% rename from pkg/collection/testdata/recursive/test.txt rename to internal/collection/testdata/recursive/test.txt diff --git a/pkg/obfuscate/obfuscate.go b/internal/obfuscate/obfuscate.go similarity index 100% rename from pkg/obfuscate/obfuscate.go rename to internal/obfuscate/obfuscate.go diff --git a/pkg/obfuscate/obfuscate_test.go b/internal/obfuscate/obfuscate_test.go similarity index 100% rename from pkg/obfuscate/obfuscate_test.go rename to internal/obfuscate/obfuscate_test.go diff --git a/pkg/obfuscate/regexp.go b/internal/obfuscate/regexp.go similarity index 100% rename from pkg/obfuscate/regexp.go rename to internal/obfuscate/regexp.go diff --git a/pkg/obfuscate/regexp_test.go b/internal/obfuscate/regexp_test.go similarity index 100% rename from pkg/obfuscate/regexp_test.go rename to internal/obfuscate/regexp_test.go diff --git a/pkg/util/log.go b/internal/util/log.go similarity index 100% rename from pkg/util/log.go rename to internal/util/log.go diff --git a/pkg/util/testdata/command.txt b/internal/util/testdata/command.txt similarity index 100% rename from pkg/util/testdata/command.txt rename to internal/util/testdata/command.txt diff --git a/pkg/util/testdata/command.txt.obfuscated b/internal/util/testdata/command.txt.obfuscated similarity index 100% rename from pkg/util/testdata/command.txt.obfuscated rename to internal/util/testdata/command.txt.obfuscated diff --git a/pkg/util/testdata/file/test.log b/internal/util/testdata/file/test.log similarity index 100% rename from pkg/util/testdata/file/test.log rename to internal/util/testdata/file/test.log diff --git a/pkg/util/testdata/file/test.log.obfuscated b/internal/util/testdata/file/test.log.obfuscated similarity index 100% rename from pkg/util/testdata/file/test.log.obfuscated rename to internal/util/testdata/file/test.log.obfuscated diff --git a/pkg/util/testing.go b/internal/util/testing.go similarity index 97% rename from pkg/util/testing.go rename to internal/util/testing.go index 90eff22..070d294 100644 --- a/pkg/util/testing.go +++ b/internal/util/testing.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/obfuscate" "github.com/stretchr/testify/assert" ) diff --git a/pkg/util/testing_test.go b/internal/util/testing_test.go similarity index 96% rename from pkg/util/testing_test.go rename to internal/util/testing_test.go index 755917c..6e3db2e 100644 --- a/pkg/util/testing_test.go +++ b/internal/util/testing_test.go @@ -3,7 +3,7 @@ package util import ( "testing" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/obfuscate" "github.com/stretchr/testify/assert" ) diff --git a/pkg/util/util.go b/internal/util/util.go similarity index 100% rename from pkg/util/util.go rename to internal/util/util.go diff --git a/main.go b/main.go index 4da5bf5..db7dca4 100644 --- a/main.go +++ b/main.go @@ -7,6 +7,9 @@ import ( "strings" "time" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" + "github.com/NETWAYS/support-collector/internal/util" "github.com/NETWAYS/support-collector/modules/ansible" "github.com/NETWAYS/support-collector/modules/base" "github.com/NETWAYS/support-collector/modules/corosync" @@ -27,9 +30,6 @@ import ( "github.com/NETWAYS/support-collector/modules/prometheus" "github.com/NETWAYS/support-collector/modules/puppet" "github.com/NETWAYS/support-collector/modules/webservers" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" - "github.com/NETWAYS/support-collector/pkg/util" "github.com/mattn/go-colorable" "github.com/sirupsen/logrus" diff --git a/modules/ansible/collector.go b/modules/ansible/collector.go index dc1ab6c..19c69d1 100644 --- a/modules/ansible/collector.go +++ b/modules/ansible/collector.go @@ -4,7 +4,7 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" ) const ModuleName = "ansible" diff --git a/modules/ansible/collector_test.go b/modules/ansible/collector_test.go index edaddbc..b534805 100644 --- a/modules/ansible/collector_test.go +++ b/modules/ansible/collector_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "github.com/stretchr/testify/assert" ) diff --git a/modules/base/collector.go b/modules/base/collector.go index 04ee113..880af73 100644 --- a/modules/base/collector.go +++ b/modules/base/collector.go @@ -5,7 +5,7 @@ import ( "os/exec" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "gopkg.in/yaml.v3" ) diff --git a/modules/base/collector_test.go b/modules/base/collector_test.go index e63cf93..e7467a8 100644 --- a/modules/base/collector_test.go +++ b/modules/base/collector_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "github.com/stretchr/testify/assert" ) diff --git a/modules/corosync/collector.go b/modules/corosync/collector.go index 2eb585f..3b7b5a7 100644 --- a/modules/corosync/collector.go +++ b/modules/corosync/collector.go @@ -4,7 +4,7 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" ) const ModuleName = "corosync" diff --git a/modules/corosync/collector_test.go b/modules/corosync/collector_test.go index a256b4e..222f42c 100644 --- a/modules/corosync/collector_test.go +++ b/modules/corosync/collector_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "github.com/stretchr/testify/assert" ) diff --git a/modules/elastic/collector.go b/modules/elastic/collector.go index 23888c9..1560434 100644 --- a/modules/elastic/collector.go +++ b/modules/elastic/collector.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" ) const ModuleName = "elastic" diff --git a/modules/elastic/collector_test.go b/modules/elastic/collector_test.go index 530b7be..1367b27 100644 --- a/modules/elastic/collector_test.go +++ b/modules/elastic/collector_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" - "github.com/NETWAYS/support-collector/pkg/util" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" + "github.com/NETWAYS/support-collector/internal/util" "github.com/stretchr/testify/assert" ) diff --git a/modules/foreman/collector.go b/modules/foreman/collector.go index fc69f7b..13087b2 100644 --- a/modules/foreman/collector.go +++ b/modules/foreman/collector.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" ) const ModuleName = "foreman" diff --git a/modules/foreman/collector_test.go b/modules/foreman/collector_test.go index e60a716..9689139 100644 --- a/modules/foreman/collector_test.go +++ b/modules/foreman/collector_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" - "github.com/NETWAYS/support-collector/pkg/util" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" + "github.com/NETWAYS/support-collector/internal/util" "github.com/stretchr/testify/assert" ) diff --git a/modules/grafana/collector.go b/modules/grafana/collector.go index 4b98201..08f30d8 100644 --- a/modules/grafana/collector.go +++ b/modules/grafana/collector.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" ) const ModuleName = "grafana" diff --git a/modules/grafana/collector_test.go b/modules/grafana/collector_test.go index f2ec85c..b7e7722 100644 --- a/modules/grafana/collector_test.go +++ b/modules/grafana/collector_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "github.com/stretchr/testify/assert" ) diff --git a/modules/graphite/collector.go b/modules/graphite/collector.go index 6c725bf..dfe106e 100644 --- a/modules/graphite/collector.go +++ b/modules/graphite/collector.go @@ -4,9 +4,9 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" - "github.com/NETWAYS/support-collector/pkg/util" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" + "github.com/NETWAYS/support-collector/internal/util" ) const ModuleName = "graphite" diff --git a/modules/graphite/collector_test.go b/modules/graphite/collector_test.go index 6ab0241..64d6be5 100644 --- a/modules/graphite/collector_test.go +++ b/modules/graphite/collector_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "github.com/stretchr/testify/assert" ) diff --git a/modules/graylog/collector.go b/modules/graylog/collector.go index 154f663..ba5596d 100644 --- a/modules/graylog/collector.go +++ b/modules/graylog/collector.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" ) const ModuleName = "graylog" diff --git a/modules/graylog/collector_test.go b/modules/graylog/collector_test.go index 82a5609..b657aee 100644 --- a/modules/graylog/collector_test.go +++ b/modules/graylog/collector_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" - "github.com/NETWAYS/support-collector/pkg/util" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" + "github.com/NETWAYS/support-collector/internal/util" "github.com/stretchr/testify/assert" ) diff --git a/modules/icinga2/collector.go b/modules/icinga2/collector.go index fb6ee7a..3d283c1 100644 --- a/modules/icinga2/collector.go +++ b/modules/icinga2/collector.go @@ -6,8 +6,8 @@ import ( "path/filepath" "regexp" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" ) const ModuleName = "icinga2" diff --git a/modules/icinga2/collector_test.go b/modules/icinga2/collector_test.go index 32c76d3..8176d50 100644 --- a/modules/icinga2/collector_test.go +++ b/modules/icinga2/collector_test.go @@ -5,9 +5,9 @@ import ( "os" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" - "github.com/NETWAYS/support-collector/pkg/util" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" + "github.com/NETWAYS/support-collector/internal/util" "github.com/stretchr/testify/assert" ) diff --git a/modules/icingadb/collector.go b/modules/icingadb/collector.go index 668c397..f4a4a69 100644 --- a/modules/icingadb/collector.go +++ b/modules/icingadb/collector.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" ) const ( diff --git a/modules/icingadb/collector_test.go b/modules/icingadb/collector_test.go index d15459b..e0a7d56 100644 --- a/modules/icingadb/collector_test.go +++ b/modules/icingadb/collector_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "github.com/stretchr/testify/assert" ) diff --git a/modules/icingadirector/collector.go b/modules/icingadirector/collector.go index cb50bec..3757f20 100644 --- a/modules/icingadirector/collector.go +++ b/modules/icingadirector/collector.go @@ -4,7 +4,7 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" ) const ( diff --git a/modules/icingadirector/collector_test.go b/modules/icingadirector/collector_test.go index bb95dc0..6db9789 100644 --- a/modules/icingadirector/collector_test.go +++ b/modules/icingadirector/collector_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "github.com/stretchr/testify/assert" ) diff --git a/modules/icingaweb2/collector.go b/modules/icingaweb2/collector.go index 121ea20..961ba9a 100644 --- a/modules/icingaweb2/collector.go +++ b/modules/icingaweb2/collector.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" ) const ( diff --git a/modules/icingaweb2/collector_test.go b/modules/icingaweb2/collector_test.go index 20d65ee..9f80a90 100644 --- a/modules/icingaweb2/collector_test.go +++ b/modules/icingaweb2/collector_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" - "github.com/NETWAYS/support-collector/pkg/util" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" + "github.com/NETWAYS/support-collector/internal/util" "github.com/stretchr/testify/assert" ) diff --git a/modules/influxdb/collector.go b/modules/influxdb/collector.go index 095b1ba..42371a1 100644 --- a/modules/influxdb/collector.go +++ b/modules/influxdb/collector.go @@ -4,7 +4,7 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" ) const ModuleName = "influxdb" diff --git a/modules/influxdb/collector_test.go b/modules/influxdb/collector_test.go index 6793554..e7173fb 100644 --- a/modules/influxdb/collector_test.go +++ b/modules/influxdb/collector_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "github.com/stretchr/testify/assert" ) diff --git a/modules/keepalived/collector.go b/modules/keepalived/collector.go index 0969bec..640bdce 100644 --- a/modules/keepalived/collector.go +++ b/modules/keepalived/collector.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" ) const ModuleName = "keepalived" diff --git a/modules/keepalived/collector_test.go b/modules/keepalived/collector_test.go index 1e4468c..934eac1 100644 --- a/modules/keepalived/collector_test.go +++ b/modules/keepalived/collector_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" - "github.com/NETWAYS/support-collector/pkg/util" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" + "github.com/NETWAYS/support-collector/internal/util" "github.com/stretchr/testify/assert" ) diff --git a/modules/mongodb/collector.go b/modules/mongodb/collector.go index de6bd00..88dab8b 100644 --- a/modules/mongodb/collector.go +++ b/modules/mongodb/collector.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" ) const ModuleName = "mongodb" diff --git a/modules/mongodb/collector_test.go b/modules/mongodb/collector_test.go index 48e5373..e205f81 100644 --- a/modules/mongodb/collector_test.go +++ b/modules/mongodb/collector_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" - "github.com/NETWAYS/support-collector/pkg/util" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" + "github.com/NETWAYS/support-collector/internal/util" "github.com/stretchr/testify/assert" ) diff --git a/modules/mysql/collector.go b/modules/mysql/collector.go index bffa144..eb48913 100644 --- a/modules/mysql/collector.go +++ b/modules/mysql/collector.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" ) const ( diff --git a/modules/mysql/collector_test.go b/modules/mysql/collector_test.go index 744fdfa..fe30a90 100644 --- a/modules/mysql/collector_test.go +++ b/modules/mysql/collector_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "github.com/stretchr/testify/assert" ) diff --git a/modules/postgresql/collector.go b/modules/postgresql/collector.go index afe6585..35228bb 100644 --- a/modules/postgresql/collector.go +++ b/modules/postgresql/collector.go @@ -4,7 +4,7 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" ) const ModuleName = "postgresql" diff --git a/modules/postgresql/collector_test.go b/modules/postgresql/collector_test.go index 47516bb..3b4440b 100644 --- a/modules/postgresql/collector_test.go +++ b/modules/postgresql/collector_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "github.com/stretchr/testify/assert" ) diff --git a/modules/prometheus/collector.go b/modules/prometheus/collector.go index 1f2016e..e9d39aa 100644 --- a/modules/prometheus/collector.go +++ b/modules/prometheus/collector.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" ) const ModuleName = "prometheus" diff --git a/modules/prometheus/collector_test.go b/modules/prometheus/collector_test.go index c34394c..4236bef 100644 --- a/modules/prometheus/collector_test.go +++ b/modules/prometheus/collector_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" - "github.com/NETWAYS/support-collector/pkg/obfuscate" - "github.com/NETWAYS/support-collector/pkg/util" + "github.com/NETWAYS/support-collector/internal/collection" + "github.com/NETWAYS/support-collector/internal/obfuscate" + "github.com/NETWAYS/support-collector/internal/util" "github.com/stretchr/testify/assert" ) diff --git a/modules/puppet/collector.go b/modules/puppet/collector.go index ad7bb8e..fee3836 100644 --- a/modules/puppet/collector.go +++ b/modules/puppet/collector.go @@ -4,7 +4,7 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" ) const ModuleName = "puppet" diff --git a/modules/puppet/collector_test.go b/modules/puppet/collector_test.go index f7ad647..791ba31 100644 --- a/modules/puppet/collector_test.go +++ b/modules/puppet/collector_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "github.com/stretchr/testify/assert" ) diff --git a/modules/webservers/collector.go b/modules/webservers/collector.go index 03c7af0..197de6f 100644 --- a/modules/webservers/collector.go +++ b/modules/webservers/collector.go @@ -4,7 +4,7 @@ import ( "os" "path/filepath" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" ) const ModuleName = "webserver" diff --git a/modules/webservers/collector_test.go b/modules/webservers/collector_test.go index ec88354..849c182 100644 --- a/modules/webservers/collector_test.go +++ b/modules/webservers/collector_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/NETWAYS/support-collector/pkg/collection" + "github.com/NETWAYS/support-collector/internal/collection" "github.com/stretchr/testify/assert" )