- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 314 for volumeID (0.1 sec)
-
pkg/volume/csimigration/plugin_manager.go
// supported by an in-tree plugin to CSI func TranslateInTreeSpecToCSI(spec *volume.Spec, podNamespace string, translator InTreeToCSITranslator) (*volume.Spec, error) { var csiPV *v1.PersistentVolume var err error inlineVolume := false if spec.PersistentVolume != nil { csiPV, err = translator.TranslateInTreePVToCSI(spec.PersistentVolume) } else if spec.Volume != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/kubelet/metrics/collectors/volume_stats.go
volumeStatsHealthAbnormalDesc = metrics.NewDesc( metrics.BuildFQName("", kubeletmetrics.KubeletSubsystem, kubeletmetrics.VolumeStatsHealthStatusAbnormalKey), "Abnormal volume health status. The count is either 1 or 0. 1 indicates the volume is unhealthy, 0 indicates volume is healthy", []string{"namespace", "persistentvolumeclaim"}, nil, metrics.ALPHA, "") ) type volumeStatsCollector struct { metrics.BaseStableCollector
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 5.3K bytes - Viewed (0) -
cmd/xl-storage-format-utils.go
return FileInfoVersions{}, err } versions, err = xlMeta.ListVersions(volume, path, allParts) } if err == nil && len(versions) == 0 { // This special case is needed to handle len(xlMeta.versions) == 0 versions = []FileInfo{ { Volume: volume, Name: path, Deleted: true, IsLatest: true, ModTime: timeSentinel1970, }, } } if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 22:18:44 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/bitrot-whole.go
} // Returns whole-file bitrot writer. func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser { return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()} } // Implementation to verify bitrot for the whole file. type wholeBitrotReader struct { disk StorageAPI volume string filePath string verifier *BitrotVerifier // Holds the bit-rot info
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/kubelet/app/plugins_providers.go
"k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/csimigration" "k8s.io/kubernetes/pkg/volume/portworx" ) type probeFn func() []volume.VolumePlugin func appendPluginBasedOnFeatureFlags(plugins []volume.VolumePlugin, inTreePluginName string, featureGate featuregate.FeatureGate, pluginInfo pluginInfo) ([]volume.VolumePlugin, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/volume/flexvolume/flexvolume_test.go
t.Errorf("Wrong name: %s", plugin.GetPluginName()) } if !plugin.CanSupport(&volume.Spec{Volume: &v1.Volume{VolumeSource: v1.VolumeSource{FlexVolume: &v1.FlexVolumeSource{Driver: "kubernetes.io/fakeAttacher"}}}}) { t.Errorf("Expected true") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 6.8K bytes - Viewed (0) -
src/path/filepath/symlink_windows.go
// result of EvalSymlinks must be unique, so we have // EvalSymlinks(`c:\a`) == EvalSymlinks(`C:\a`). func normVolumeName(path string) string { volume := VolumeName(path) if len(volume) > 2 { // isUNC return volume } return strings.ToUpper(volume) } // normBase returns the last element of path with correct case. func normBase(path string) (string, error) { p, err := syscall.UTF16PtrFromString(path)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 07:42:17 UTC 2023 - 2.9K bytes - Viewed (0) -
plugin/pkg/admission/namespace/autoprovision/admission_test.go
} // newPod returns a new pod for the specified namespace func newPod(namespace string) api.Pod { return api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: namespace}, Spec: api.PodSpec{ Volumes: []api.Volume{{Name: "vol"}}, Containers: []api.Container{{Name: "ctr", Image: "image"}}, }, } } // hasCreateNamespaceAction returns true if it has the create namespace action
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 7.5K bytes - Viewed (0) -
pkg/volume/csi/csi_util_test.go
testCases := []struct { name string spec *volume.Spec migrated string }{ { name: "test volume spec nil", spec: nil, migrated: "false", }, { name: "test volume normal spec with migrated true", spec: &volume.Spec{ Migrated: true, }, migrated: "true", }, { name: "test volume normal spec with migrated false", spec: &volume.Spec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 5.5K bytes - Viewed (0) -
pkg/volume/flexvolume/probe.go
probeEvent, pluginErr := prober.newProbeEvent(f.Name(), volume.ProbeAddOrUpdate) if pluginErr != nil { allErrs = append(allErrs, pluginErr) continue } probeEvents = append(probeEvents, probeEvent) } } return probeEvents, errors.NewAggregate(allErrs) } func (prober *flexVolumeProber) newProbeEvent(driverDirName string, op volume.ProbeOperation) (volume.ProbeEvent, error) { probeEvent := volume.ProbeEvent{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 28 11:14:00 UTC 2023 - 9K bytes - Viewed (0)