Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for IsReadOnly (0.18 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/PropertyExtractor.kt

                property.name,
                property.returnType,
                property.returnType.toDataTypeRefOrError(),
                if (isReadOnly) DefaultPropertyMode.DefaultReadOnly else DefaultPropertyMode.DefaultReadWrite,
                hasDefaultValue = run {
                    isReadOnly || property.annotationsWithGetters.any { it is HasDefaultValue }
                },
                isHiddenInDeclarativeDsl = isHidden,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authorization/authorizer/interfaces.go

    	// or the lowercased HTTP verb associated with non-API requests (this includes get, put, post, patch, and delete)
    	GetVerb() string
    
    	// When IsReadOnly() == true, the request has no side effects, other than
    	// caching, logging, and other incidentals.
    	IsReadOnly() bool
    
    	// The namespace of the object, if a request is for a REST object.
    	GetNamespace() string
    
    	// The kind of object, if a request is for a REST object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 14:36:14 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. pkg/auth/authorizer/abac/abac.go

    					nonResourceRules = append(nonResourceRules, nonResourceRule)
    				}
    			}
    		}
    	}
    	return resourceRules, nonResourceRules, false, nil
    }
    
    func getVerbs(isReadOnly bool) []string {
    	if isReadOnly {
    		return []string{"get", "list", "watch"}
    	}
    	return []string{"*"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 11 03:11:30 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go

    // The attribute accessors known to cache key construction. If this fails to compile, the cache
    // implementation may need to be updated.
    var _ authorizer.Attributes = (interface {
    	GetUser() user.Info
    	GetVerb() string
    	IsReadOnly() bool
    	GetNamespace() string
    	GetResource() string
    	GetSubresource() string
    	GetName() string
    	GetAPIGroup() string
    	GetAPIVersion() string
    	IsResourceRequest() bool
    	GetPath() string
    })(nil)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/StatementResolver.kt

                errorCollector.collect(ResolutionError(assignment, ErrorReason.UnresolvedAssignmentLhs))
                null
            } else {
                var hasErrors = false
                if (lhsResolution.property.isReadOnly) {
                    errorCollector.collect(ResolutionError(assignment, ErrorReason.ReadOnlyPropertyAssignment(lhsResolution.property)))
                    hasErrors = true
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/DefaultAnalysisSchema.kt

            @Serializable
            data object DefaultWriteOnly : PropertyMode.WriteOnly {
                private
                fun readResolve(): Any = DefaultWriteOnly
            }
        }
    }
    
    
    val DataProperty.isReadOnly: Boolean
        get() = mode is PropertyMode.ReadOnly
    
    
    val DataProperty.isWriteOnly: Boolean
        get() = mode is PropertyMode.WriteOnly
    
    
    @Serializable
    @SerialName("dataBuilderFunction")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. pkg/volume/nfs/nfs_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")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 9K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy

        class BooleanProps {
            boolean prop
    
            boolean isSomeProp() {
                return prop
            }
    
            void setSomeProp(boolean value) {
            }
    
            boolean isReadOnly() {
                return prop
            }
        }
    
        class Overloads {
            String getProp() {
                return null
            }
    
            boolean isProp() {
                return false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. pkg/volume/local/local_test.go

    	if err != nil {
    		t.Errorf("Failed to make a new Mounter: %v", err)
    	}
    	if mounter == nil {
    		t.Fatalf("Got a nil Mounter")
    	}
    	if !mounter.GetAttributes().ReadOnly {
    		t.Errorf("Expected true for mounter.IsReadOnly")
    	}
    
    	// Read only == false
    	mounter, err = plug.NewMounter(getTestVolume(false, tmpDir, false, nil), pod, volume.VolumeOptions{})
    	if err != nil {
    		t.Errorf("Failed to make a new Mounter: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

        }
    
        private static boolean isNameProperty(PropertyMetadata property) {
            // Property is read only, called "name", has type String and getter is abstract
            return property.isReadOnly() && "name".equals(property.getName()) && property.getType() == String.class && property.getMainGetter().isAbstract();
        }
    
        private static boolean hasPropertyType(PropertyMetadata property) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
Back to top