Skip to content

Commit

Permalink
chore(pkg): pkg to internal (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
thevilledev committed Jul 6, 2023
1 parent 7113bb9 commit eb3b67b
Show file tree
Hide file tree
Showing 16 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/vault-plugin-secrets-vercel/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/hashicorp/go-hclog"
"github.com/hashicorp/vault/api"
"github.com/hashicorp/vault/sdk/plugin"
vercelPlugin "github.com/thevilledev/vault-plugin-secrets-vercel/pkg/plugin"
vercelPlugin "github.com/thevilledev/vault-plugin-secrets-vercel/internal/plugin"
)

func main() {
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.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/hashicorp/vault/sdk/framework"
"github.com/hashicorp/vault/sdk/logical"
"github.com/thevilledev/vault-plugin-secrets-vercel/pkg/client"
"github.com/thevilledev/vault-plugin-secrets-vercel/internal/client"
)

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

"github.com/hashicorp/vault/sdk/framework"
"github.com/hashicorp/vault/sdk/logical"
"github.com/thevilledev/vault-plugin-secrets-vercel/pkg/service"
"github.com/thevilledev/vault-plugin-secrets-vercel/internal/service"
)

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

"github.com/hashicorp/vault/sdk/logical"
"github.com/stretchr/testify/require"
"github.com/thevilledev/vault-plugin-secrets-vercel/pkg/client"
"github.com/thevilledev/vault-plugin-secrets-vercel/internal/client"
)

func TestToken_Create(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/revoke.go → internal/plugin/revoke.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/vault/sdk/framework"
"github.com/hashicorp/vault/sdk/logical"
"github.com/thevilledev/vault-plugin-secrets-vercel/pkg/service"
"github.com/thevilledev/vault-plugin-secrets-vercel/internal/service"
)

func (b *backend) Revoke(ctx context.Context, req *logical.Request, _ *framework.FieldData) (*logical.Response, error) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/hashicorp/vault/sdk/logical"
"github.com/stretchr/testify/require"
"github.com/thevilledev/vault-plugin-secrets-vercel/pkg/client"
"github.com/thevilledev/vault-plugin-secrets-vercel/internal/client"
)

func TestRevokeToken(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/service/service.go → internal/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"time"

"github.com/thevilledev/vault-plugin-secrets-vercel/pkg/client"
"github.com/thevilledev/vault-plugin-secrets-vercel/internal/client"
)

type Service struct {
Expand Down
File renamed without changes.

0 comments on commit eb3b67b

Please sign in to comment.