Update package name and update package versions

This commit is contained in:
2024-08-26 21:44:05 +02:00
parent 680a68204e
commit 2287670f63
7 changed files with 56 additions and 65 deletions

View File

@@ -29,10 +29,11 @@ import (
"google.golang.org/grpc/status"
"k8s.io/klog/v2"
"github.com/sys-liqian/csi-driver-webdav/pkg/webdav/mount"
"git.ruekov.eu/ruakij/webdav-csi-driver/pkg/webdav/mount"
)
type ControllerServer struct {
csi.UnimplementedControllerServer
*Driver
mounter mount.Interface
}

View File

@@ -17,8 +17,8 @@ limitations under the License.
package webdav
import (
"git.ruekov.eu/ruakij/webdav-csi-driver/pkg/webdav/mount"
"github.com/container-storage-interface/spec/lib/go/csi"
"github.com/sys-liqian/csi-driver-webdav/pkg/webdav/mount"
"k8s.io/klog/v2"
)

View File

@@ -20,12 +20,13 @@ import (
"context"
"github.com/container-storage-interface/spec/lib/go/csi"
"github.com/golang/protobuf/ptypes/wrappers"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"google.golang.org/protobuf/types/known/wrapperspb"
)
type IdentityServer struct {
csi.UnimplementedIdentityServer
Driver *Driver
}
@@ -51,7 +52,7 @@ func (ids *IdentityServer) GetPluginInfo(_ context.Context, _ *csi.GetPluginInfo
}
func (ids *IdentityServer) Probe(_ context.Context, _ *csi.ProbeRequest) (*csi.ProbeResponse, error) {
return &csi.ProbeResponse{Ready: &wrappers.BoolValue{Value: true}}, nil
return &csi.ProbeResponse{Ready: &wrapperspb.BoolValue{Value: true}}, nil
}
func (ids *IdentityServer) GetPluginCapabilities(_ context.Context, _ *csi.GetPluginCapabilitiesRequest) (*csi.GetPluginCapabilitiesResponse, error) {

View File

@@ -26,10 +26,11 @@ import (
"google.golang.org/grpc/status"
"k8s.io/klog/v2"
"github.com/sys-liqian/csi-driver-webdav/pkg/webdav/mount"
"git.ruekov.eu/ruakij/webdav-csi-driver/pkg/webdav/mount"
)
type NodeServer struct {
csi.UnimplementedNodeServer
Driver *Driver
mounter mount.Interface
}