Skip to content

Commit

Permalink
Move /internal packages into /pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
jspdown committed Feb 24, 2020
1 parent bc5eda0 commit 2533c65
Show file tree
Hide file tree
Showing 38 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions cmd/maesh/maesh.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"github.com/containous/maesh/cmd"
"github.com/containous/maesh/cmd/prepare"
"github.com/containous/maesh/cmd/version"
"github.com/containous/maesh/internal/controller"
"github.com/containous/maesh/internal/k8s"
"github.com/containous/maesh/internal/signals"
"github.com/containous/maesh/pkg/controller"
"github.com/containous/maesh/pkg/k8s"
"github.com/containous/maesh/pkg/signals"
"github.com/containous/traefik/v2/pkg/cli"
log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/prepare/prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

"github.com/containous/maesh/cmd"
"github.com/containous/maesh/internal/k8s"
"github.com/containous/maesh/pkg/k8s"
"github.com/containous/traefik/v2/pkg/cli"
log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

"github.com/cenkalti/backoff/v3"
"github.com/containous/maesh/integration/try"
"github.com/containous/maesh/internal/k8s"
"github.com/containous/maesh/pkg/k8s"
"github.com/containous/traefik/v2/pkg/config/dynamic"
"github.com/containous/traefik/v2/pkg/safe"
"github.com/go-check/check"
Expand Down
2 changes: 1 addition & 1 deletion integration/try/try.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"time"

"github.com/cenkalti/backoff/v3"
"github.com/containous/maesh/internal/k8s"
"github.com/containous/maesh/pkg/k8s"
"github.com/containous/traefik/v2/pkg/safe"
log "github.com/sirupsen/logrus"
appsv1 "k8s.io/api/apps/v1"
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"time"

"github.com/cenkalti/backoff/v3"
"github.com/containous/maesh/internal/k8s"
"github.com/containous/maesh/internal/providers/base"
"github.com/containous/maesh/internal/providers/kubernetes"
"github.com/containous/maesh/internal/providers/smi"
"github.com/containous/maesh/pkg/k8s"
"github.com/containous/maesh/pkg/providers/base"
"github.com/containous/maesh/pkg/providers/kubernetes"
"github.com/containous/maesh/pkg/providers/smi"
"github.com/containous/traefik/v2/pkg/config/dynamic"
"github.com/containous/traefik/v2/pkg/safe"
accessInformer "github.com/deislabs/smi-sdk-go/pkg/gen/client/access/informers/externalversions"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package controller

import (
"github.com/containous/maesh/internal/k8s"
"github.com/containous/maesh/pkg/k8s"
log "github.com/sirupsen/logrus"
corev1 "k8s.io/api/core/v1"
)
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.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package base

import (
"github.com/containous/maesh/internal/k8s"
"github.com/containous/maesh/pkg/k8s"
"github.com/containous/traefik/v2/pkg/config/dynamic"
splitv1alpha2 "github.com/deislabs/smi-sdk-go/pkg/apis/split/v1alpha2"
corev1 "k8s.io/api/core/v1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package base
import (
"testing"

"github.com/containous/maesh/internal/k8s"
"github.com/containous/maesh/pkg/k8s"

"github.com/stretchr/testify/assert"
corev1 "k8s.io/api/core/v1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"net"
"strconv"

"github.com/containous/maesh/internal/k8s"
"github.com/containous/maesh/internal/providers/base"
"github.com/containous/maesh/pkg/k8s"
"github.com/containous/maesh/pkg/providers/base"
"github.com/containous/traefik/v2/pkg/config/dynamic"
log "github.com/sirupsen/logrus"
corev1 "k8s.io/api/core/v1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"testing"

"github.com/containous/maesh/internal/providers/base"
"github.com/containous/maesh/pkg/providers/base"

"github.com/containous/maesh/internal/k8s"
"github.com/containous/maesh/pkg/k8s"
"github.com/containous/traefik/v2/pkg/config/dynamic"
"github.com/stretchr/testify/assert"
corev1 "k8s.io/api/core/v1"
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"strconv"
"strings"

"github.com/containous/maesh/internal/k8s"
"github.com/containous/maesh/internal/providers/base"
"github.com/containous/maesh/pkg/k8s"
"github.com/containous/maesh/pkg/providers/base"
"github.com/containous/traefik/v2/pkg/config/dynamic"
access "github.com/deislabs/smi-sdk-go/pkg/apis/access/v1alpha1"
specs "github.com/deislabs/smi-sdk-go/pkg/apis/specs/v1alpha1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"testing"

"github.com/containous/maesh/internal/providers/base"
"github.com/containous/maesh/pkg/providers/base"

"github.com/containous/maesh/internal/k8s"
"github.com/containous/maesh/pkg/k8s"
"github.com/containous/traefik/v2/pkg/config/dynamic"
accessv1alpha1 "github.com/deislabs/smi-sdk-go/pkg/apis/access/v1alpha1"
specsv1alpha1 "github.com/deislabs/smi-sdk-go/pkg/apis/specs/v1alpha1"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2533c65

Please sign in to comment.