- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for IsReadOnly (0.33 sec)
-
pkg/volume/iscsi/iscsi_test.go
mounter, _ := plug.NewMounter(spec, pod, volume.VolumeOptions{}) if mounter == nil { t.Fatalf("Got a nil Mounter") } if !mounter.GetAttributes().ReadOnly { t.Errorf("Expected true for mounter.IsReadOnly") } } func TestPortalMounter(t *testing.T) { if portal := portalMounter("127.0.0.1"); portal != "127.0.0.1:3260" { t.Errorf("wrong portal: %s", portal) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 16.4K bytes - Viewed (0) -
pkg/volume/fc/fc_test.go
mounter, _ := plug.NewMounter(spec, pod, volume.VolumeOptions{}) if mounter == nil { t.Fatalf("Got a nil Mounter") } if !mounter.GetAttributes().ReadOnly { t.Errorf("Expected true for mounter.IsReadOnly") } } func Test_getWwnsLun(t *testing.T) { num := int32(0) fc := &v1.FCVolumeSource{ TargetWWNs: []string{"500a0981891b8dc5"}, FSType: "ext4", Lun: &num, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc
bool IsRead() const { return effects_.test(kRead); } bool IsWrite() const { return effects_.test(kWrite); } bool IsAllocOnly() const { return IsAlloc() && effects_.count() == 1; } bool IsReadOnly() const { return IsRead() && effects_.count() == 1; } ResourceId GetResourceId() const { return resource_id_; } void SetAlloc() { effects_.set(kAlloc); } void SetFree() { effects_.set(kFree); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 41.2K bytes - Viewed (0) -
pkg/volume/hostpath/host_path_test.go
mounter, _ := plug.NewMounter(spec, pod, volume.VolumeOptions{}) if mounter == nil { t.Fatalf("Got a nil Mounter") } if !mounter.GetAttributes().ReadOnly { t.Errorf("Expected true for mounter.IsReadOnly") } } func setUp() error { err := os.MkdirAll("/tmp/ExistingFolder", os.FileMode(0755)) if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 20.5K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/rbac_test.go
func (d *defaultAttributes) GetUser() user.Info { return &user.DefaultInfo{Name: d.user, Groups: strings.Split(d.groups, ",")} } func (d *defaultAttributes) GetVerb() string { return d.verb } func (d *defaultAttributes) IsReadOnly() bool { return d.verb == "get" || d.verb == "watch" } func (d *defaultAttributes) GetNamespace() string { return d.namespace } func (d *defaultAttributes) GetResource() string { return d.resource }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 21.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy
void setPrimitive(long l) } @Managed static interface SomeTypeWithReadOnlyProperty { SomeType getValue() SomeUnmanagedStruct getOtherValue() boolean isReadOnly() } @UnmanagedStruct static interface SomeUnmanagedStruct { void setValue(String value) } @Managed static abstract class SomeTypeWithReadOnly {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 27.6K bytes - Viewed (0)