Skip to content

Commit

Permalink
rename package import path
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Auernhammer committed Dec 6, 2019
1 parent b6f7e41 commit e9f31a4
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion cmd/key/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"time"

"github.com/minio/key"
key "github.com/minio/keys"
"github.com/pelletier/go-toml"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/key/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"fmt"
"os"

"github.com/minio/key"
key "github.com/minio/keys"
)

const createCmdUsage = `usage: %s name [key]
Expand Down
2 changes: 1 addition & 1 deletion cmd/key/decrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"fmt"
"os"

"github.com/minio/key"
key "github.com/minio/keys"
)

const decryptCmdUsage = `usage: %s <name> <ciphertext> [<context>]
Expand Down
2 changes: 1 addition & 1 deletion cmd/key/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"os"

"github.com/minio/key"
key "github.com/minio/keys"
)

const deleteCmdUsage = `usage: %s name
Expand Down
2 changes: 1 addition & 1 deletion cmd/key/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"fmt"
"os"

"github.com/minio/key"
key "github.com/minio/keys"
)

const generateCmdUsage = `usage: %s name [context]
Expand Down
2 changes: 1 addition & 1 deletion cmd/key/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"os"
"sort"

"github.com/minio/key"
key "github.com/minio/keys"
)

const identityCmdUsage = `usage: %s <command>
Expand Down
2 changes: 1 addition & 1 deletion cmd/key/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"os"
"sort"

"github.com/minio/key"
key "github.com/minio/keys"
)

const policyCmdUsage = `Manage named key policies.
Expand Down
8 changes: 4 additions & 4 deletions cmd/key/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import (
"syscall"
"time"

"github.com/minio/key"
"github.com/minio/key/fs"
"github.com/minio/key/mem"
"github.com/minio/key/vault"
key "github.com/minio/keys"
"github.com/minio/keys/fs"
"github.com/minio/keys/mem"
"github.com/minio/keys/vault"
)

const serverCmdUsage = `usage: %s [options]
Expand Down
4 changes: 2 additions & 2 deletions fs/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"sync/atomic"
"time"

"github.com/minio/key"
"github.com/minio/key/internal/cache"
key "github.com/minio/keys"
"github.com/minio/keys/internal/cache"
)

// KeyStore is a file system secret key store
Expand Down
2 changes: 1 addition & 1 deletion internal/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"sync/atomic"
"time"

"github.com/minio/key"
key "github.com/minio/keys"
)

// An Entry holds a cached secret key and additional
Expand Down
2 changes: 1 addition & 1 deletion internal/cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package cache
import (
"testing"

"github.com/minio/key"
key "github.com/minio/keys"
)

func TestCacheSet(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions mem/mem.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"sync"
"time"

"github.com/minio/key"
"github.com/minio/key/internal/cache"
key "github.com/minio/keys"
"github.com/minio/keys/internal/cache"
)

// KeyStore is an in-memory secret key store.
Expand Down
4 changes: 2 additions & 2 deletions vault/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"time"

vaultapi "github.com/hashicorp/vault/api"
"github.com/minio/key"
"github.com/minio/key/internal/cache"
key "github.com/minio/keys"
"github.com/minio/keys/internal/cache"
)

// AppRole holds the Vault AppRole
Expand Down

0 comments on commit e9f31a4

Please sign in to comment.