- Sort Score
- Result 10 results
- Languages All
Results 91 - 98 of 98 for lockMode (1.96 sec)
-
pkg/apis/core/v1/defaults_test.go
t.Errorf("Expected secret type %v, got %v", v1.SecretTypeOpaque, s2.Type) } } func TestSetDefaultPersistentVolume(t *testing.T) { fsMode := v1.PersistentVolumeFilesystem blockMode := v1.PersistentVolumeBlock tests := []struct { name string volumeMode *v1.PersistentVolumeMode expectedVolumeMode v1.PersistentVolumeMode }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
pkg/volume/local/local_test.go
Local: &v1.LocalVolumeSource{ Path: path, }, }, MountOptions: mountOptions, }, } if isBlock { blockMode := v1.PersistentVolumeBlock pv.Spec.VolumeMode = &blockMode } else { fsMode := v1.PersistentVolumeFilesystem pv.Spec.VolumeMode = &fsMode } return volume.NewSpecFromPersistentVolume(pv, readOnly) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 10:53:39 UTC 2023 - 22.5K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
return nil, errors.New(log("plugin.ConstructBlockVolumeSpec failed loading volume data using [%s]: %v", mapPath, err)) } klog.V(4).Info(log("plugin.ConstructBlockVolumeSpec extracted [%#v]", volData)) blockMode := api.PersistentVolumeBlock pv := &api.PersistentVolume{ ObjectMeta: meta.ObjectMeta{ Name: volData[volDataKey.specVolID], }, Spec: api.PersistentVolumeSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0) -
src/crypto/tls/conn.go
return } func roundUp(a, b int) int { return a + (b-a%b)%b } // cbcMode is an interface for block ciphers using cipher block chaining. type cbcMode interface { cipher.BlockMode SetIV([]byte) } // decrypt authenticates and decrypts the record if protection is active at // this stage. The returned plaintext might overlap with the input.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler_test.go
// Wait for volume mounted. // Mark volume as fsResizeRequired in ASW. // Verifies volume's fsResizeRequired flag is cleared later. func Test_Run_Positive_VolumeFSResizeControllerAttachEnabled(t *testing.T) { blockMode := v1.PersistentVolumeBlock fsMode := v1.PersistentVolumeFilesystem var tests = []struct { name string volumeMode *v1.PersistentVolumeMode expansionFailed bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.22.md
- Some of the in-tree storage drivers indicate support for the `MetricsProvider` interface, but fail to configure this for BlockMode volumes. With a recent change, `Kubelet` will call `GetMetrics()` for BlockMode volumes, and the in-tree drivers that miss the support cause a Go panic. Now the in-tree storage drivers that support BlockMode volumes, will return the Capacity of the volume in the `GetMetrics()` call. ([#101587](https://github.com/kubernetes/kubernetes/pull/101587),...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 13 12:43:45 UTC 2022 - 454.1K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
t.Errorf("Unexpected failure for scenario: %s - %+v", name, errs) } }) } } func TestValidatePersistentVolumeSpec(t *testing.T) { fsmode := core.PersistentVolumeFilesystem blockmode := core.PersistentVolumeBlock scenarios := map[string]struct { isExpectedFailure bool isInlineSpec bool pvSpec *core.PersistentVolumeSpec }{ "pv-pvspec-valid": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
}, "crypto/cipher": { {"(StreamReader).Read", Method, 0}, {"(StreamWriter).Close", Method, 0}, {"(StreamWriter).Write", Method, 0}, {"AEAD", Type, 2}, {"Block", Type, 0}, {"BlockMode", Type, 0}, {"NewCBCDecrypter", Func, 0}, {"NewCBCEncrypter", Func, 0}, {"NewCFBDecrypter", Func, 0}, {"NewCFBEncrypter", Func, 0}, {"NewCTR", Func, 0}, {"NewGCM", Func, 2},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)