- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for mountRefs (0.12 sec)
-
pkg/volume/util/hostutil/hostutil_test.go
}, "Matched ref": { mountRefs: []string{filepath.Join(path, "lish")}, expectedPath: "lish", }, } for name, tc := range testCases { t.Run(name, func(t *testing.T) { mounter := &fakeMounter{ mountRefs: tc.mountRefs, raiseError: tc.raiseError, } path, err := hu.GetDeviceNameFromMount(mounter, path, path) if tc.expectedError != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 01 16:02:07 UTC 2023 - 5.6K bytes - Viewed (0) -
pkg/volume/util/util_test.go
} }) } } func TestHasMountRefs(t *testing.T) { testCases := map[string]struct { mountPath string mountRefs []string expected bool }{ "plugin mounts only": { mountPath: "/var/lib/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX", mountRefs: []string{ "/home/somewhere/var/lib/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/volume/fc/fc_test.go
refs, err := fm.GetMountRefs(path) if err != nil { t.Errorf("couldn't get mountrefs. err: %v", err) } var globalPDPath string for _, ref := range refs { if strings.Contains(ref, "kubernetes.io/fc") { globalPDPath = ref break } } if len(globalPDPath) == 0 { t.Errorf("couldn't fetch mountrefs") } arr := strings.Split(globalPDPath, "/") if len(arr) < 1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 14.1K bytes - Viewed (0) -
pkg/volume/util/util.go
fsUser = nil return false } if fsUser == nil { fsUser = runAsUser } return true }) return fsUser } // HasMountRefs checks if the given mountPath has mountRefs. // TODO: this is a workaround for the unmount device issue caused by gci mounter. // In GCI cluster, if gci mounter is used for mounting, the container started by mounter
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 78.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 78.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 78.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 78.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 78.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 78.6K bytes - Viewed (0)