Skip to content
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
3 changes: 0 additions & 3 deletions deploy/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ builds:
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
Expand All @@ -30,7 +29,6 @@ builds:
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
Expand All @@ -54,7 +52,6 @@ builds:
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
Expand Down
40 changes: 40 additions & 0 deletions pkg/longhorn/util/iscsi_windows.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
//go:build windows
// +build windows

package util

import (
"github.com/pkg/errors"
)

func GetDiskInfo(directory string) (*DiskInfo, error) {
return nil, errors.Errorf("cannot get disk info of directory %v", directory)
}

func RemoveHostDirectoryContent(directory string) error {
return errors.Errorf("failed to remove host directory %v", directory)
}

func CopyHostDirectoryContent(src, dest string) error {
return errors.Errorf("failed to copy the content from %v to %v for the host", src, dest)
}

func CreateDiskPathReplicaSubdirectory(path string) error {
return errors.Errorf("error creating data path %v on host", path)
}

func ExpandFileSystem(volumeName string) error {
return errors.Errorf("error expanding filsystem on %v", volumeName)
}

func DetectFileSystem(volumeName string) (string, error) {
return "", errors.Errorf("error detecting filsystem on %v", volumeName)
}

func GetDiskConfig(path string) (*DiskConfig, error) {
return nil, errors.Errorf("error getting disk config from %v", path)
}

func GenerateDiskConfig(path string) (*DiskConfig, error) {
return nil, errors.Errorf("error generating disk config from %v", path)
}
Loading