diff --git a/cmd/root.go b/cmd/root.go index 0702ac21e70760e7f5306f36fc4702ef9d9d1c9e..f19e80c3ea6ddb08cdbe9d4ef7cb10a9a37474d1 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -12,8 +12,8 @@ import ( schema_validator "github.com/datreeio/datree/cmd/schema-validator" "github.com/datreeio/datree/cmd/test" "github.com/datreeio/datree/cmd/version" - "github.com/datreeio/datree/internal/deploymentConfig" "github.com/datreeio/datree/pkg/cliClient" + "github.com/datreeio/datree/pkg/deploymentConfig" "github.com/datreeio/datree/pkg/executor" "github.com/datreeio/datree/pkg/fileReader" "github.com/datreeio/datree/pkg/jsonSchemaValidator" diff --git a/main.go b/main.go index 0583e8d21918d346e9bda46b880c7d024ef9510b..eabefa36d125be20c6c2e65301ea9709c27bdc34 100644 --- a/main.go +++ b/main.go @@ -5,9 +5,10 @@ import ( "fmt" "os" + "github.com/datreeio/datree/pkg/deploymentConfig" + "github.com/datreeio/datree/pkg/networkValidator" - "github.com/datreeio/datree/internal/deploymentConfig" "github.com/datreeio/datree/pkg/cliClient" "github.com/datreeio/datree/pkg/localConfig" "github.com/datreeio/datree/pkg/printer" diff --git a/internal/deploymentConfig/default.go b/pkg/deploymentConfig/default.go similarity index 100% rename from internal/deploymentConfig/default.go rename to pkg/deploymentConfig/default.go diff --git a/internal/deploymentConfig/dev.go b/pkg/deploymentConfig/dev.go similarity index 100% rename from internal/deploymentConfig/dev.go rename to pkg/deploymentConfig/dev.go diff --git a/internal/deploymentConfig/production.go b/pkg/deploymentConfig/production.go similarity index 100% rename from internal/deploymentConfig/production.go rename to pkg/deploymentConfig/production.go diff --git a/internal/deploymentConfig/staging.go b/pkg/deploymentConfig/staging.go similarity index 100% rename from internal/deploymentConfig/staging.go rename to pkg/deploymentConfig/staging.go