Skip to content

Commit

Permalink
Merge pull request #171 from BobyMCbobs/use-internal-pkg
Browse files Browse the repository at this point in the history
chore: use internal pkg
  • Loading branch information
BobyMCbobs authored May 22, 2024
2 parents b2c760c + 8025350 commit ad0d106
Show file tree
Hide file tree
Showing 16 changed files with 8 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions pkg/plugin/plugin.go → internal/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"k8s.io/test-infra/prow/plugins"
"sigs.k8s.io/yaml"

"sigs.k8s.io/verify-conformance/pkg/common"
"sigs.k8s.io/verify-conformance/pkg/suite"
"sigs.k8s.io/verify-conformance/internal/common"
"sigs.k8s.io/verify-conformance/internal/suite"
)

// TODO be fully conformant
Expand Down
5 changes: 3 additions & 2 deletions pkg/plugin/plugin_test.go → internal/plugin/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ import (
"strings"
"testing"

"sigs.k8s.io/verify-conformance/internal/common"
"sigs.k8s.io/verify-conformance/internal/suite"

githubql "github.com/shurcooL/githubv4"
"github.com/sirupsen/logrus"
"k8s.io/test-infra/prow/config"
"k8s.io/test-infra/prow/github"
"k8s.io/test-infra/prow/plugins"
"sigs.k8s.io/verify-conformance/pkg/common"
"sigs.k8s.io/verify-conformance/pkg/suite"
"sigs.k8s.io/yaml"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/suite/suite.go → internal/suite/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
sonobuoyresults "github.com/vmware-tanzu/sonobuoy/pkg/client/results"
"sigs.k8s.io/yaml"

"sigs.k8s.io/verify-conformance/internal/common"
"sigs.k8s.io/verify-conformance/internal/types"
"sigs.k8s.io/verify-conformance/pkg/common"
)

// TODO ensure file checking
Expand Down
2 changes: 1 addition & 1 deletion pkg/suite/suite_test.go → internal/suite/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"

githubql "github.com/shurcooL/githubv4"
"sigs.k8s.io/verify-conformance/pkg/common"
"sigs.k8s.io/verify-conformance/internal/common"
)

// TODO add Gomega https://onsi.github.io/gomega/
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"strconv"
"time"

"sigs.k8s.io/verify-conformance/pkg/plugin"
"sigs.k8s.io/verify-conformance/internal/plugin"

"github.com/sirupsen/logrus"
"k8s.io/test-infra/pkg/flagutil"
Expand Down

0 comments on commit ad0d106

Please sign in to comment.