Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for lockMode (0.17 sec)

  1. pkg/controller/volume/persistentvolume/index_test.go

    			VolumeMode:             &fs,
    		},
    		Status: v1.PersistentVolumeStatus{
    			Phase: v1.VolumeAvailable,
    		},
    	}
    }
    
    func createVolumeModeBlockTestVolume() *v1.PersistentVolume {
    	blockMode := v1.PersistentVolumeBlock
    
    	return &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			UID:  "local-1",
    			Name: "block",
    		},
    		Spec: v1.PersistentVolumeSpec{
    			Capacity: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/aes.go

    type aesCipher struct {
    	key []byte
    	enc C.GO_AES_KEY
    	dec C.GO_AES_KEY
    }
    
    type extraModes interface {
    	// Copied out of crypto/aes/modes.go.
    	NewCBCEncrypter(iv []byte) cipher.BlockMode
    	NewCBCDecrypter(iv []byte) cipher.BlockMode
    	NewCTR(iv []byte) cipher.Stream
    	NewGCM(nonceSize, tagSize int) (cipher.AEAD, error)
    }
    
    var _ extraModes = (*aesCipher)(nil)
    
    func NewAESCipher(key []byte) (cipher.Block, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
Back to top