Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
Add v10 to the module name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Laskawiec authored and phlogistonjohn committed Jun 15, 2022
1 parent ce430df commit 3a22f69
Show file tree
Hide file tree
Showing 189 changed files with 452 additions and 434 deletions.
2 changes: 1 addition & 1 deletion apps/app.go
Expand Up @@ -13,7 +13,7 @@ import (
"net/http"

"github.com/gorilla/mux"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
)

type Application interface {
Expand Down
2 changes: 1 addition & 1 deletion apps/glusterfs/allocator.go
Expand Up @@ -10,7 +10,7 @@
package glusterfs

import (
wdb "github.com/heketi/heketi/pkg/db"
wdb "github.com/heketi/heketi/v10/pkg/db"
)

type Allocator interface {
Expand Down
2 changes: 1 addition & 1 deletion apps/glusterfs/allocator_simple_ring_test.go
Expand Up @@ -13,7 +13,7 @@ import (
"reflect"
"testing"

"github.com/heketi/heketi/pkg/idgen"
"github.com/heketi/heketi/v10/pkg/idgen"
"github.com/heketi/tests"
)

Expand Down
14 changes: 7 additions & 7 deletions apps/glusterfs/app.go
Expand Up @@ -21,13 +21,13 @@ import (
"github.com/gorilla/mux"
"github.com/lpabon/godbc"

"github.com/heketi/heketi/executors"
"github.com/heketi/heketi/executors/injectexec"
"github.com/heketi/heketi/executors/kubeexec"
"github.com/heketi/heketi/executors/mockexec"
"github.com/heketi/heketi/executors/sshexec"
"github.com/heketi/heketi/pkg/logging"
"github.com/heketi/heketi/server/rest"
"github.com/heketi/heketi/v10/executors"
"github.com/heketi/heketi/v10/executors/injectexec"
"github.com/heketi/heketi/v10/executors/kubeexec"
"github.com/heketi/heketi/v10/executors/mockexec"
"github.com/heketi/heketi/v10/executors/sshexec"
"github.com/heketi/heketi/v10/pkg/logging"
"github.com/heketi/heketi/v10/server/rest"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions apps/glusterfs/app_block_volume.go
Expand Up @@ -15,8 +15,8 @@ import (

"github.com/boltdb/bolt"
"github.com/gorilla/mux"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/utils"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/utils"
)

func (a *App) BlockVolumeCreate(w http.ResponseWriter, r *http.Request) {
Expand Down
4 changes: 2 additions & 2 deletions apps/glusterfs/app_block_volume_test.go
Expand Up @@ -25,8 +25,8 @@ import (

"github.com/boltdb/bolt"
"github.com/gorilla/mux"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/utils"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/utils"
"github.com/heketi/tests"
)

Expand Down
4 changes: 2 additions & 2 deletions apps/glusterfs/app_cluster.go
Expand Up @@ -15,8 +15,8 @@ import (

"github.com/boltdb/bolt"
"github.com/gorilla/mux"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/utils"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/utils"
)

func (a *App) ClusterCreate(w http.ResponseWriter, r *http.Request) {
Expand Down
4 changes: 2 additions & 2 deletions apps/glusterfs/app_cluster_test.go
Expand Up @@ -20,8 +20,8 @@ import (

"github.com/boltdb/bolt"
"github.com/gorilla/mux"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/utils"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/utils"
"github.com/heketi/tests"
)

Expand Down
6 changes: 3 additions & 3 deletions apps/glusterfs/app_config.go
Expand Up @@ -10,9 +10,9 @@
package glusterfs

import (
"github.com/heketi/heketi/executors/injectexec"
"github.com/heketi/heketi/executors/kubeexec"
"github.com/heketi/heketi/executors/sshexec"
"github.com/heketi/heketi/v10/executors/injectexec"
"github.com/heketi/heketi/v10/executors/kubeexec"
"github.com/heketi/heketi/v10/executors/sshexec"
)

type RetryLimitConfig struct {
Expand Down
8 changes: 4 additions & 4 deletions apps/glusterfs/app_device.go
Expand Up @@ -17,10 +17,10 @@ import (
"github.com/boltdb/bolt"
"github.com/gorilla/mux"

"github.com/heketi/heketi/executors"
wdb "github.com/heketi/heketi/pkg/db"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/utils"
"github.com/heketi/heketi/v10/executors"
wdb "github.com/heketi/heketi/v10/pkg/db"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/utils"
)

func (a *App) DeviceAdd(w http.ResponseWriter, r *http.Request) {
Expand Down
12 changes: 6 additions & 6 deletions apps/glusterfs/app_device_test.go
Expand Up @@ -20,12 +20,12 @@ import (

"github.com/boltdb/bolt"
"github.com/gorilla/mux"
client "github.com/heketi/heketi/client/api/go-client"
"github.com/heketi/heketi/executors"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/idgen"
"github.com/heketi/heketi/pkg/sortedstrings"
"github.com/heketi/heketi/pkg/utils"
client "github.com/heketi/heketi/v10/client/api/go-client"
"github.com/heketi/heketi/v10/executors"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/idgen"
"github.com/heketi/heketi/v10/pkg/sortedstrings"
"github.com/heketi/heketi/v10/pkg/utils"
"github.com/heketi/tests"
)

Expand Down
6 changes: 3 additions & 3 deletions apps/glusterfs/app_logging.go
Expand Up @@ -14,9 +14,9 @@ import (
"fmt"
"net/http"

"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/logging"
"github.com/heketi/heketi/pkg/utils"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/logging"
"github.com/heketi/heketi/v10/pkg/utils"
)

func (a *App) logLevelName() string {
Expand Down
6 changes: 3 additions & 3 deletions apps/glusterfs/app_logging_test.go
Expand Up @@ -19,9 +19,9 @@ import (

"github.com/gorilla/mux"

"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/logging"
"github.com/heketi/heketi/pkg/utils"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/logging"
"github.com/heketi/heketi/v10/pkg/utils"
"github.com/heketi/tests"
)

Expand Down
4 changes: 2 additions & 2 deletions apps/glusterfs/app_middleware.go
Expand Up @@ -16,8 +16,8 @@ import (
jwt "github.com/golang-jwt/jwt"
"github.com/urfave/negroni"

"github.com/heketi/heketi/middleware"
"github.com/heketi/heketi/pkg/kubernetes"
"github.com/heketi/heketi/v10/middleware"
"github.com/heketi/heketi/v10/pkg/kubernetes"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion apps/glusterfs/app_middleware_test.go
Expand Up @@ -19,7 +19,7 @@ import (
"testing"

//"github.com/boltdb/bolt"
wdb "github.com/heketi/heketi/pkg/db"
wdb "github.com/heketi/heketi/v10/pkg/db"
"github.com/heketi/tests"
)

Expand Down
6 changes: 3 additions & 3 deletions apps/glusterfs/app_node.go
Expand Up @@ -15,9 +15,9 @@ import (

"github.com/boltdb/bolt"
"github.com/gorilla/mux"
wdb "github.com/heketi/heketi/pkg/db"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/utils"
wdb "github.com/heketi/heketi/v10/pkg/db"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/utils"
)

func (a *App) NodeAdd(w http.ResponseWriter, r *http.Request) {
Expand Down
10 changes: 5 additions & 5 deletions apps/glusterfs/app_node_test.go
Expand Up @@ -22,11 +22,11 @@ import (

"github.com/boltdb/bolt"
"github.com/gorilla/mux"
client "github.com/heketi/heketi/client/api/go-client"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/idgen"
"github.com/heketi/heketi/pkg/sortedstrings"
"github.com/heketi/heketi/pkg/utils"
client "github.com/heketi/heketi/v10/client/api/go-client"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/idgen"
"github.com/heketi/heketi/v10/pkg/sortedstrings"
"github.com/heketi/heketi/v10/pkg/utils"
"github.com/heketi/tests"
)

Expand Down
4 changes: 2 additions & 2 deletions apps/glusterfs/app_operations.go
Expand Up @@ -17,8 +17,8 @@ import (
"github.com/boltdb/bolt"
"github.com/gorilla/mux"

"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/utils"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/utils"
)

func (a *App) AppOperationsInfo() (*api.OperationsInfo, error) {
Expand Down
4 changes: 2 additions & 2 deletions apps/glusterfs/app_test.go
Expand Up @@ -17,8 +17,8 @@ import (

"github.com/boltdb/bolt"
"github.com/gorilla/mux"
client "github.com/heketi/heketi/client/api/go-client"
"github.com/heketi/heketi/pkg/logging"
client "github.com/heketi/heketi/v10/client/api/go-client"
"github.com/heketi/heketi/v10/pkg/logging"
"github.com/heketi/tests"
)

Expand Down
2 changes: 1 addition & 1 deletion apps/glusterfs/app_topology.go
Expand Up @@ -11,7 +11,7 @@ package glusterfs

import (
"github.com/boltdb/bolt"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
)

func (a *App) TopologyInfo() (*api.TopologyInfoResponse, error) {
Expand Down
6 changes: 3 additions & 3 deletions apps/glusterfs/app_volume.go
Expand Up @@ -17,9 +17,9 @@ import (

"github.com/boltdb/bolt"
"github.com/gorilla/mux"
"github.com/heketi/heketi/pkg/db"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/utils"
"github.com/heketi/heketi/v10/pkg/db"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/utils"
)

const (
Expand Down
12 changes: 6 additions & 6 deletions apps/glusterfs/app_volume_test.go
Expand Up @@ -27,11 +27,11 @@ import (

"github.com/boltdb/bolt"
"github.com/gorilla/mux"
client "github.com/heketi/heketi/client/api/go-client"
"github.com/heketi/heketi/pkg/db"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/sortedstrings"
"github.com/heketi/heketi/pkg/utils"
client "github.com/heketi/heketi/v10/client/api/go-client"
"github.com/heketi/heketi/v10/pkg/db"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/sortedstrings"
"github.com/heketi/heketi/v10/pkg/utils"
"github.com/heketi/tests"
)

Expand Down Expand Up @@ -1194,7 +1194,7 @@ func TestVolumeClusterResizeByAddingDevices(t *testing.T) {
tests.Assert(t, err == ErrNoSpace)
}

// Test for https://github.com/heketi/heketi/issues/382:
// Test for https://github.com/heketi/heketi/v10/issues/382:
//
// A TopologyInfo request running concurrently to a
// VolumeCreate request failed with "Id not found" due
Expand Down
10 changes: 5 additions & 5 deletions apps/glusterfs/block_volume_entry.go
Expand Up @@ -15,11 +15,11 @@ import (
"fmt"

"github.com/boltdb/bolt"
"github.com/heketi/heketi/executors"
wdb "github.com/heketi/heketi/pkg/db"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/idgen"
"github.com/heketi/heketi/pkg/sortedstrings"
"github.com/heketi/heketi/v10/executors"
wdb "github.com/heketi/heketi/v10/pkg/db"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/idgen"
"github.com/heketi/heketi/v10/pkg/sortedstrings"
"github.com/lpabon/godbc"
)

Expand Down
4 changes: 2 additions & 2 deletions apps/glusterfs/block_volume_entry_create.go
Expand Up @@ -14,8 +14,8 @@ import (
"math/rand"

"github.com/boltdb/bolt"
"github.com/heketi/heketi/executors"
wdb "github.com/heketi/heketi/pkg/db"
"github.com/heketi/heketi/v10/executors"
wdb "github.com/heketi/heketi/v10/pkg/db"
"github.com/lpabon/godbc"
)

Expand Down
2 changes: 1 addition & 1 deletion apps/glusterfs/block_volume_entry_test.go
Expand Up @@ -15,7 +15,7 @@ import (
"testing"

"github.com/boltdb/bolt"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/tests"
)

Expand Down
4 changes: 2 additions & 2 deletions apps/glusterfs/block_volume_expand_test.go
Expand Up @@ -14,10 +14,10 @@ import (
"os"
"testing"

"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"

"github.com/boltdb/bolt"
"github.com/heketi/heketi/executors"
"github.com/heketi/heketi/v10/executors"
"github.com/heketi/tests"
)

Expand Down
2 changes: 1 addition & 1 deletion apps/glusterfs/brick_allocate.go
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/boltdb/bolt"
"github.com/lpabon/godbc"

"github.com/heketi/heketi/pkg/idgen"
"github.com/heketi/heketi/v10/pkg/idgen"
)

type BrickSet struct {
Expand Down
2 changes: 1 addition & 1 deletion apps/glusterfs/brick_allocate_test.go
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/boltdb/bolt"
"github.com/heketi/tests"

"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
)

func TestClusterDeviceSource(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions apps/glusterfs/brick_create.go
Expand Up @@ -12,9 +12,9 @@ package glusterfs
import (
"sync"

"github.com/heketi/heketi/executors"
wdb "github.com/heketi/heketi/pkg/db"
"github.com/heketi/heketi/pkg/utils"
"github.com/heketi/heketi/v10/executors"
wdb "github.com/heketi/heketi/v10/pkg/db"
"github.com/heketi/heketi/v10/pkg/utils"
)

// ReclaimMap tracks what bricks freed underlying storage when deleted.
Expand Down
12 changes: 6 additions & 6 deletions apps/glusterfs/brick_entry.go
Expand Up @@ -16,12 +16,12 @@ import (
"strings"

"github.com/boltdb/bolt"
"github.com/heketi/heketi/executors"
wdb "github.com/heketi/heketi/pkg/db"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/pkg/idgen"
"github.com/heketi/heketi/pkg/paths"
"github.com/heketi/heketi/pkg/sortedstrings"
"github.com/heketi/heketi/v10/executors"
wdb "github.com/heketi/heketi/v10/pkg/db"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/idgen"
"github.com/heketi/heketi/v10/pkg/paths"
"github.com/heketi/heketi/v10/pkg/sortedstrings"
"github.com/lpabon/godbc"
)

Expand Down
4 changes: 2 additions & 2 deletions apps/glusterfs/brick_entry_test.go
Expand Up @@ -15,8 +15,8 @@ import (
"testing"

"github.com/boltdb/bolt"
"github.com/heketi/heketi/executors"
"github.com/heketi/heketi/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/executors"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/tests"
)

Expand Down

0 comments on commit 3a22f69

Please sign in to comment.