Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 288 for read_only (0.32 sec)

  1. pkg/volume/iscsi/iscsi.go

    	}
    	return portal
    }
    
    // get iSCSI volume info: readOnly and fstype
    func getISCSIVolumeInfo(spec *volume.Spec) (bool, string, error) {
    	// for volume source, readonly is in volume spec
    	// for PV, readonly is in PV spec. PV gets the ReadOnly flag indirectly through the PVC source
    	if spec.Volume != nil && spec.Volume.ISCSI != nil {
    		return spec.Volume.ISCSI.ReadOnly, spec.Volume.ISCSI.FSType, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/util/util_test.go

    							VolumeSource: v1.VolumeSource{
    								GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    									PDName:    "test-disk",
    									FSType:    "ext4",
    									Partition: 0,
    									ReadOnly:  false,
    								},
    							},
    						},
    					},
    				},
    			},
    			wantPersistentVolume: &v1.PersistentVolume{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "pd.csi.storage.gke.io-test-disk",
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 05:42:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. cluster/log-dump/log-dump.sh

    if [[ $(type -t log_dump_custom_get_instances) == "function" ]]; then
      readonly use_custom_instance_list=yes
    else
      readonly use_custom_instance_list=
    fi
    
    readonly master_ssh_supported_providers="gce aws"
    readonly node_ssh_supported_providers="gce gke aws"
    readonly gcloud_supported_providers="gce gke"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 21:15:57 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  4. pkg/auth/authorizer/abac/abac_test.go

    	_, err := newWithContents(t, `{"user":"scheduler",  "readonly": true, "resource": "pods", "namespace":"ns1"}`)
    	if err != nil {
    		t.Errorf("unable to read policy file: %v", err)
    	}
    }
    
    func TestTwoLineFile(t *testing.T) {
    	_, err := newWithContents(t, `{"user":"scheduler",  "readonly": true, "resource": "pods"}
    {"user":"scheduler",  "readonly": true, "resource": "services"}
    `)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 40K bytes
    - Viewed (0)
  5. pkg/volume/local/local.go

    }
    
    type localVolumeMounter struct {
    	*localVolume
    	readOnly     bool
    	mountOptions []string
    }
    
    var _ volume.Mounter = &localVolumeMounter{}
    
    func (m *localVolumeMounter) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       m.readOnly,
    		Managed:        !m.readOnly,
    		SELinuxRelabel: true,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  6. pkg/volume/portworx/portworx.go

    	readOnly bool
    	// diskMounter provides the interface that is used to mount the actual block device.
    	diskMounter *mount.SafeFormatAndMount
    }
    
    var _ volume.Mounter = &portworxVolumeMounter{}
    
    func (b *portworxVolumeMounter) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       b.readOnly,
    		Managed:        !b.readOnly,
    		SELinuxRelabel: false,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. src/sync/map.go

    	// map, the dirty map will be promoted to the read map (in the unamended
    	// state) and the next store to the map will make a new dirty copy.
    	misses int
    }
    
    // readOnly is an immutable struct stored atomically in the Map.read field.
    type readOnly struct {
    	m       map[any]*entry
    	amended bool // true if the dirty map contains some key not in m.
    }
    
    // expunged is an arbitrary pointer that marks entries which have been deleted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ScalarCollectionNodeInitializerExtractionStrategy.java

            @Override
            protected abstract ScalarCollectionModelView<E, C> toView(MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor, boolean readOnly);
    
            public static <E> ScalarCollectionModelProjection<E, List<E>> forList(final ModelType<E> elementType, final boolean readOnly) {
                return new ScalarCollectionModelProjection<E, List<E>>(ModelTypes.list(elementType)) {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:15:09 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/manifest-generate/output/ingressgateway_k8s_settings.golden.yaml

            - mountPath: /var/run/secrets/tokens
              name: istio-token
              readOnly: true
            - mountPath: /var/lib/istio/data
              name: istio-data
            - mountPath: /etc/istio/pod
              name: podinfo
            - mountPath: /etc/istio/ingressgateway-certs
              name: ingressgateway-certs
              readOnly: true
            - mountPath: /etc/istio/ingressgateway-ca-certs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 22:07:45 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  10. pkg/volume/hostpath/host_path.go

    	return hp.path
    }
    
    type hostPathMounter struct {
    	*hostPath
    	readOnly      bool
    	mounter       mount.Interface
    	hu            hostutil.HostUtils
    	noTypeChecker bool
    }
    
    var _ volume.Mounter = &hostPathMounter{}
    
    func (b *hostPathMounter) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       b.readOnly,
    		Managed:        false,
    		SELinuxRelabel: false,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top