Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for missingKeys (0.14 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/CrossBuildSignatureVerificationService.java

                this.hasNoSignatures = hasNoSignatures;
            }
    
            void applyTo(SignatureVerificationResultBuilder builder) {
                if (missingKeys != null) {
                    for (String missingKey : missingKeys) {
                        builder.missingKey(missingKey);
                    }
                }
                if (trustedKeys != null) {
                    for (PGPPublicKey trustedKey : trustedKeys) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifier.java

                this.file = file;
                this.signatureFile = signatureFile;
            }
    
            @Override
            public void missingKey(String keyId) {
                if (missingKeys == null) {
                    missingKeys = new ArrayList<>();
                }
                missingKeys.add(keyId);
            }
    
            @Override
            public void verified(PGPPublicKey key, boolean trusted) {
                if (trusted) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. pkg/kubelet/container/helpers.go

    	envmap := envVarsToMap(envs)
    	missingKeys := sets.New[string]()
    	expanded := expansion.Expand(mount.SubPathExpr, func(key string) string {
    		value, ok := envmap[key]
    		if !ok || len(value) == 0 {
    			missingKeys.Insert(key)
    		}
    		return value
    	})
    
    	if len(missingKeys) > 0 {
    		return "", fmt.Errorf("missing value for %s", strings.Join(sets.List(missingKeys), ", "))
    	}
    	return expanded, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/html/template/template.go

    //
    // Known options:
    //
    // missingkey: Control the behavior during execution if a map is
    // indexed with a key that is not present in the map.
    //
    //	"missingkey=default" or "missingkey=invalid"
    //		The default behavior: Do nothing and continue execution.
    //		If printed, the result of the index operation is the string
    //		"<no value>".
    //	"missingkey=zero"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. src/text/template/exec.go

    // value of the pipeline, if any.
    func (s *state) evalField(dot reflect.Value, fieldName string, node parse.Node, args []parse.Node, final, receiver reflect.Value) reflect.Value {
    	if !receiver.IsValid() {
    		if s.tmpl.option.missingKey == mapError { // Treat invalid value as missing map key.
    			s.errorf("nil data; no entry for key %q", fieldName)
    		}
    		return zero
    	}
    	typ := receiver.Type()
    	receiver, isNil := indirect(receiver)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top