- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 168 for volName (0.44 sec)
-
pkg/scheduler/framework/plugins/volumebinding/fake_binder.go
"k8s.io/klog/v2" ) // FakeVolumeBinderConfig holds configurations for fake volume binder. type FakeVolumeBinderConfig struct { AllBound bool FindReasons ConflictReasons FindErr error AssumeErr error BindErr error } // NewFakeVolumeBinder sets up all the caches needed for the scheduler to make // topology-aware volume binding decisions.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 21 03:28:12 UTC 2023 - 2.7K bytes - Viewed (0) -
pkg/volume/util/selinux.go
func SupportsSELinuxContextMount(volumeSpec *volume.Spec, volumePluginMgr *volume.VolumePluginMgr) (bool, error) { plugin, _ := volumePluginMgr.FindPluginBySpec(volumeSpec) if plugin != nil { return plugin.SupportsSELinuxContextMount(volumeSpec) } return false, nil } // VolumeSupportsSELinuxMount returns true if given volume access mode can support mount with SELinux mount options.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 14:40:21 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/api/persistentvolume/util_test.go
expectNewSpec *api.PersistentVolumeSpec vacEnabled bool }{ "disabled vac clears volume attributes class name": { vacEnabled: false, newSpec: specWithVACName(vacName), expectNewSpec: specWithVACName(nil), oldSpec: nil, expectOldSpec: nil, }, "enabled vac preserve volume attributes class name": { vacEnabled: true, newSpec: specWithVACName(vacName),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.9K bytes - Viewed (0) -
cmd/bitrot-streaming.go
} // Returns streaming bitrot reader implementation. func newStreamingBitrotReader(disk StorageAPI, data []byte, volume, filePath string, tillOffset int64, algo BitrotAlgorithm, shardSize int64) *streamingBitrotReader { h := algo.New() return &streamingBitrotReader{ disk: disk, data: data, volume: volume, filePath: filePath, tillOffset: ceilFrac(tillOffset, shardSize)*int64(h.Size()) + tillOffset,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/controller/volume/expand/expand_controller_test.go
"k8s.io/kubernetes/pkg/controller" controllervolumetesting "k8s.io/kubernetes/pkg/controller/volume/attachdetach/testing" "k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/csimigration" "k8s.io/kubernetes/pkg/volume/util" "k8s.io/kubernetes/pkg/volume/util/operationexecutor" volumetypes "k8s.io/kubernetes/pkg/volume/util/types" "k8s.io/kubernetes/test/utils/ktesting" ) func TestSyncHandler(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/controller/volume/ephemeral/controller_test.go
} return pvc } func makeEphemeralVolume(name string) *v1.Volume { return &v1.Volume{ Name: name, VolumeSource: v1.VolumeSource{ Ephemeral: &v1.EphemeralVolumeSource{ VolumeClaimTemplate: &v1.PersistentVolumeClaimTemplate{}, }, }, } } func makePod(name, namespace string, uid types.UID, volumes ...v1.Volume) *v1.Pod { pvc := &v1.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/fakegenerator.go
v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/types" csitrans "k8s.io/csi-translation-lib" "k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/util/hostutil" volumetypes "k8s.io/kubernetes/pkg/volume/util/types" ) // fakeOGCounter is a simple OperationGenerator which counts number of times a function // has been caled type fakeOGCounter struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 5.1K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/node_expander_test.go
utilfeature "k8s.io/apiserver/pkg/util/feature" featuregatetesting "k8s.io/component-base/featuregate/testing" "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/volume" volumetesting "k8s.io/kubernetes/pkg/volume/testing" ) func TestNodeExpander(t *testing.T) { nodeResizeFailed := v1.PersistentVolumeClaimNodeResizeFailed nodeResizePending := v1.PersistentVolumeClaimNodeResizePending
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 5.7K bytes - Viewed (0) -
src/internal/filepathlite/path_windows.go
if l == 0 { return false } // If the volume name starts with a double slash, this is an absolute path. if IsPathSeparator(path[0]) && IsPathSeparator(path[1]) { return true } path = path[l:] if path == "" { return false } return IsPathSeparator(path[0]) } // volumeNameLen returns length of the leading volume name on Windows. // It returns 0 elsewhere. // // See:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/kubelet/server/stats/handler.go
GetNodeConfig() cm.NodeConfig // ListVolumesForPod returns the stats of the volume used by the pod with // the podUID. ListVolumesForPod(podUID types.UID) (map[string]volume.Volume, bool) // ListBlockVolumesForPod returns the stats of the volume used by the // pod with the podUID. ListBlockVolumesForPod(podUID types.UID) (map[string]volume.BlockVolume, bool) // GetPods returns the specs of all the pods running on this node.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 14 21:31:38 UTC 2023 - 6.8K bytes - Viewed (0)