Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix go module for github address #9

Merged
merged 1 commit into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/doc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ import (
"runtime"
"testing"

"cloudfuse/common"
"cloudfuse/common/log"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/log"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
Expand Down
10 changes: 5 additions & 5 deletions cmd/health-monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ import (
"runtime"
"strings"

"cloudfuse/common"
"cloudfuse/common/config"
"cloudfuse/common/log"
"cloudfuse/component/file_cache"
hmcommon "cloudfuse/tools/health-monitor/common"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/config"
"github.com/Seagate/cloudfuse/common/log"
"github.com/Seagate/cloudfuse/component/file_cache"
hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/health-monitor_stop_all.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
"os/exec"
"runtime"

hmcommon "cloudfuse/tools/health-monitor/common"
hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common"

"github.com/spf13/cobra"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/health-monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ import (
"testing"
"time"

"cloudfuse/common"
"cloudfuse/common/log"
"cloudfuse/component/file_cache"
hmcommon "cloudfuse/tools/health-monitor/common"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/log"
"github.com/Seagate/cloudfuse/component/file_cache"
hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
Expand Down
14 changes: 7 additions & 7 deletions cmd/import_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
package cmd

import (
_ "cloudfuse/component/attr_cache"
_ "cloudfuse/component/azstorage"
_ "cloudfuse/component/file_cache"
_ "cloudfuse/component/libfuse"
_ "cloudfuse/component/loopback"
_ "cloudfuse/component/s3storage"
_ "cloudfuse/component/stream"
_ "github.com/Seagate/cloudfuse/component/attr_cache"
_ "github.com/Seagate/cloudfuse/component/azstorage"
_ "github.com/Seagate/cloudfuse/component/file_cache"
_ "github.com/Seagate/cloudfuse/component/libfuse"
_ "github.com/Seagate/cloudfuse/component/loopback"
_ "github.com/Seagate/cloudfuse/component/s3storage"
_ "github.com/Seagate/cloudfuse/component/stream"
)
16 changes: 8 additions & 8 deletions cmd/imports_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
package cmd

import (
_ "cloudfuse/component/attr_cache"
_ "cloudfuse/component/azstorage"
_ "cloudfuse/component/block_cache"
_ "cloudfuse/component/file_cache"
_ "cloudfuse/component/libfuse"
_ "cloudfuse/component/loopback"
_ "cloudfuse/component/s3storage"
_ "cloudfuse/component/stream"
_ "github.com/Seagate/cloudfuse/component/attr_cache"
_ "github.com/Seagate/cloudfuse/component/azstorage"
_ "github.com/Seagate/cloudfuse/component/block_cache"
_ "github.com/Seagate/cloudfuse/component/file_cache"
_ "github.com/Seagate/cloudfuse/component/libfuse"
_ "github.com/Seagate/cloudfuse/component/loopback"
_ "github.com/Seagate/cloudfuse/component/s3storage"
_ "github.com/Seagate/cloudfuse/component/stream"
)
8 changes: 4 additions & 4 deletions cmd/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ import (
"strings"
"time"

"cloudfuse/common"
"cloudfuse/common/config"
"cloudfuse/common/log"
"cloudfuse/internal"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/config"
"github.com/Seagate/cloudfuse/common/log"
"github.com/Seagate/cloudfuse/internal"

"github.com/sevlyar/go-daemon"
"github.com/spf13/cobra"
Expand Down
10 changes: 5 additions & 5 deletions cmd/mount_all.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ import (
"path/filepath"
"strings"

"cloudfuse/common"
"cloudfuse/common/config"
"cloudfuse/common/log"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/config"
"github.com/Seagate/cloudfuse/common/log"

"cloudfuse/component/azstorage"
"cloudfuse/component/s3storage"
"github.com/Seagate/cloudfuse/component/azstorage"
"github.com/Seagate/cloudfuse/component/s3storage"

"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down
7 changes: 4 additions & 3 deletions cmd/mount_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,16 @@
package cmd

import (
"cloudfuse/common/config"
"cloudfuse/common/log"
"cloudfuse/internal"
"context"
"fmt"
"os"
"os/signal"
"time"

"github.com/Seagate/cloudfuse/common/config"
"github.com/Seagate/cloudfuse/common/log"
"github.com/Seagate/cloudfuse/internal"

"github.com/sevlyar/go-daemon"
"golang.org/x/sys/unix"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/mount_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ import (
"path/filepath"
"testing"

"cloudfuse/common"
"cloudfuse/common/log"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/log"

"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion cmd/mount_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ package cmd
import (
"fmt"

"cloudfuse/common"
"github.com/Seagate/cloudfuse/common"

"github.com/spf13/cobra"
)
Expand Down
3 changes: 2 additions & 1 deletion cmd/mount_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@
package cmd

import (
"cloudfuse/internal"
"context"
"os"

"github.com/Seagate/cloudfuse/internal"
)

// Create dummy function so that mount.go code can compile
Expand Down
4 changes: 2 additions & 2 deletions cmd/mount_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ import (
"path/filepath"
"testing"

"cloudfuse/common"
"cloudfuse/common/log"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/log"

"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
Expand Down
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ import (
"strings"
"time"

"cloudfuse/common"
"cloudfuse/common/log"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/log"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ import (
"strings"
"testing"

"cloudfuse/common"
"cloudfuse/common/log"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/log"

"github.com/spf13/cobra"
"github.com/spf13/pflag"
Expand Down
2 changes: 1 addition & 1 deletion cmd/secure.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
"os"
"path/filepath"

"cloudfuse/common"
"github.com/Seagate/cloudfuse/common"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/secure_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
"reflect"
"strings"

"cloudfuse/common"
"github.com/Seagate/cloudfuse/common"

"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down
4 changes: 2 additions & 2 deletions cmd/secure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ import (
"os"
"testing"

"cloudfuse/common"
"cloudfuse/common/log"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/log"

"github.com/spf13/cobra"
"github.com/spf13/pflag"
Expand Down
5 changes: 3 additions & 2 deletions cmd/service_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,16 @@
package cmd

import (
"cloudfuse/common"
"cloudfuse/internal/winservice"
"errors"
"fmt"
"io/fs"
"os"
"path/filepath"
"strings"

"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/internal/winservice"

"github.com/spf13/cobra"
"golang.org/x/sys/windows"
"golang.org/x/sys/windows/svc"
Expand Down
4 changes: 2 additions & 2 deletions cmd/service_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ import (
"os"
"testing"

"cloudfuse/common"
"cloudfuse/common/log"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/log"

"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion cmd/unmount_all_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
"errors"
"fmt"

"cloudfuse/common"
"github.com/Seagate/cloudfuse/common"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/unmount_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ import (
"regexp"
"strings"

"cloudfuse/common"
"cloudfuse/common/log"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/log"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/unmount_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ import (
"testing"
"time"

"cloudfuse/common"
"cloudfuse/common/log"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/log"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ package cmd
import (
"fmt"

"cloudfuse/common"
"github.com/Seagate/cloudfuse/common"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions common/cache_policy/lru_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ import (
"container/list"
"sync"

"cloudfuse/common"
"cloudfuse/common/log"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/log"
)

// KeyPair: the list node containing both block key and cache block values
Expand Down
2 changes: 1 addition & 1 deletion common/cache_policy/lru_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (
"container/list"
"testing"

"cloudfuse/common"
"github.com/Seagate/cloudfuse/common"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
Expand Down
4 changes: 2 additions & 2 deletions common/config/config_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ import (
"strings"
"time"

"cloudfuse/common"
"cloudfuse/common/log"
"github.com/Seagate/cloudfuse/common"
"github.com/Seagate/cloudfuse/common/log"

"github.com/spf13/cobra"

Expand Down
2 changes: 1 addition & 1 deletion common/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
"strings"
"testing"

"cloudfuse/common"
"github.com/Seagate/cloudfuse/common"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
Expand Down
2 changes: 1 addition & 1 deletion common/log/base_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import (
"sync"
"time"

"cloudfuse/common"
"github.com/Seagate/cloudfuse/common"
)

// LogConfig : Configuration to be provided to logging infra
Expand Down
2 changes: 1 addition & 1 deletion common/log/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (
"log"
"time"

"cloudfuse/common"
"github.com/Seagate/cloudfuse/common"
)

// Logger : Interface to define a generic Logger. Implement this to create your new logging lib
Expand Down
3 changes: 2 additions & 1 deletion common/log/logger_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@
package log

import (
"cloudfuse/common"
"errors"
"strings"

"github.com/Seagate/cloudfuse/common"
)

// newLogger : Method to create Logger object
Expand Down
2 changes: 1 addition & 1 deletion common/log/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ package log
import (
"testing"

"cloudfuse/common"
"github.com/Seagate/cloudfuse/common"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
Expand Down
3 changes: 2 additions & 1 deletion common/log/logger_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@
package log

import (
"cloudfuse/common"
"errors"
"strings"

"github.com/Seagate/cloudfuse/common"
)

// newLogger : Method to create Logger object
Expand Down
Loading
Loading