Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"time"

"github.com/spf13/cobra"
"github.com/stackrox/roxie/pkg/deployer"
"github.com/stackrox/roxie/pkg/env"
"github.com/stackrox/roxie/pkg/logger"
"github.com/stackrox/roxie/internal/deployer"
"github.com/stackrox/roxie/internal/env"
"github.com/stackrox/roxie/internal/logger"
)

func newDeployCmd() *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion cmd/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/spf13/cobra"
"github.com/stackrox/roxie/pkg/env"
"github.com/stackrox/roxie/internal/env"
)

func newEnvCmd() *cobra.Command {
Expand Down
6 changes: 3 additions & 3 deletions cmd/subshell.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"time"

"github.com/fatih/color"
"github.com/stackrox/roxie/pkg/deployer"
"github.com/stackrox/roxie/pkg/env"
"github.com/stackrox/roxie/pkg/logger"
"github.com/stackrox/roxie/internal/deployer"
"github.com/stackrox/roxie/internal/env"
"github.com/stackrox/roxie/internal/logger"
)

func spawnSubshell(d *deployer.Deployer, log *logger.Logger) error {
Expand Down
4 changes: 2 additions & 2 deletions cmd/teardown.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"time"

"github.com/spf13/cobra"
"github.com/stackrox/roxie/pkg/deployer"
"github.com/stackrox/roxie/pkg/logger"
"github.com/stackrox/roxie/internal/deployer"
"github.com/stackrox/roxie/internal/logger"
)

func newTeardownCmd() *cobra.Command {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package clusterdefaults
import (
"strings"

"github.com/stackrox/roxie/pkg/logger"
"github.com/stackrox/roxie/internal/logger"
)

// ClusterType represents different types of Kubernetes clusters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package clusterdefaults
import (
"testing"

"github.com/stackrox/roxie/pkg/logger"
"github.com/stackrox/roxie/internal/logger"
)

func TestDefaultDetector_Detect(t *testing.T) {
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 @@ -11,7 +11,7 @@ import (

"gopkg.in/yaml.v3"

"github.com/stackrox/roxie/pkg/helpers"
"github.com/stackrox/roxie/internal/helpers"
)

// deployCentralHelm deploys Central using Helm charts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strings"
"time"

"github.com/stackrox/roxie/pkg/env"
"github.com/stackrox/roxie/pkg/helpers"
"github.com/stackrox/roxie/internal/env"
"github.com/stackrox/roxie/internal/helpers"
"gopkg.in/yaml.v3"
)

Expand Down
14 changes: 7 additions & 7 deletions pkg/deployer/deployer.go → internal/deployer/deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import (

"github.com/fatih/color"

"github.com/stackrox/roxie/pkg/clusterdefaults"
"github.com/stackrox/roxie/pkg/dockerauth"
"github.com/stackrox/roxie/pkg/env"
"github.com/stackrox/roxie/pkg/helpers"
"github.com/stackrox/roxie/pkg/imagecache"
"github.com/stackrox/roxie/pkg/logger"
"github.com/stackrox/roxie/pkg/portforward"
"github.com/stackrox/roxie/internal/clusterdefaults"
"github.com/stackrox/roxie/internal/dockerauth"
"github.com/stackrox/roxie/internal/env"
"github.com/stackrox/roxie/internal/helpers"
"github.com/stackrox/roxie/internal/imagecache"
"github.com/stackrox/roxie/internal/logger"
"github.com/stackrox/roxie/internal/portforward"
)

var (
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/deployer/operator.go → internal/deployer/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

"gopkg.in/yaml.v3"

"github.com/stackrox/roxie/pkg/helpers"
"github.com/stackrox/roxie/internal/helpers"
)

const (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os/exec"
"path/filepath"

"github.com/stackrox/roxie/pkg/logger"
"github.com/stackrox/roxie/internal/logger"
)

const (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"testing"

"github.com/stackrox/roxie/pkg/logger"
"github.com/stackrox/roxie/internal/logger"
)

func TestGetAndVerifyCredentialsFromEnv(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/env/env.go → internal/env/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os/exec"
"strings"

"github.com/stackrox/roxie/pkg/containerutil"
"github.com/stackrox/roxie/internal/containerutil"
)

var (
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/env/example_test.go → internal/env/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package env_test
import (
"fmt"

"github.com/stackrox/roxie/pkg/env"
"github.com/stackrox/roxie/internal/env"
)

// ExampleDetectClusterType demonstrates how to use the cluster type detection
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"path/filepath"
"sync"

"github.com/stackrox/roxie/pkg/helpers"
"github.com/stackrox/roxie/pkg/logger"
"github.com/stackrox/roxie/internal/helpers"
"github.com/stackrox/roxie/internal/logger"
)

// ImageCache manages cache of verified pullable Docker images
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"path/filepath"
"testing"

"github.com/stackrox/roxie/pkg/logger"
"github.com/stackrox/roxie/internal/logger"
)

func TestImageCacheLoadSaveRoundtrip(t *testing.T) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"syscall"
"time"

"github.com/stackrox/roxie/pkg/logger"
"github.com/stackrox/roxie/internal/logger"
)

// Manager manages a kubectl port-forward subprocess and exposes a localhost endpoint
Expand Down