Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Suggestion (0.16 sec)

  1. Development.md

    The suggestions are displayed in the separate "Try"- section of the console output.
    The suggestions are collected in the `BuildExceptionReporter` and printed to the console.
    
    In some cases, you still want to keep the old behavior and display the suggestions in the error message.
    
    ### Add custom suggestions
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 22:54:40 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/exceptions/ResolutionProvider.java

    import org.gradle.api.NonNullApi;
    
    import java.util.List;
    
    /**
     * A provider of resolutions for an exception.
     * Exceptions can be derived from this interface to provide a list of resolutions that are then displayed in the suggestion section of the error message.
     */
    
    @NonNullApi
    public interface ResolutionProvider {
        List<String> getResolutions();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1014 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/interfaces.go

    	// If key didn't exist, it will return NotFound storage error.
    	// If 'cachedExistingObject' is non-nil, it can be used as a suggestion about the
    	// current version of the object to avoid read operation from storage to get it.
    	// However, the implementations have to retry in case suggestion is stale.
    	Delete(
    		ctx context.Context, key string, out runtime.Object, preconditions *Preconditions,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:53:48 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		t.Errorf("unexpected pod generation: %q", updatedPod2.Generation)
    	}
    
    	// Third, update using a current version as the suggestion.
    	// Return an error and make sure that SimpleUpdate is NOT called a second time,
    	// since the live lookup shows the suggestion was already up to date.
    	attempts := 0
    	updatedPod3 := &example.Pod{}
    	err = store.GuaranteedUpdate(ctx, key, updatedPod3, false, nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  5. pkg/apis/core/annotation_key_constants.go

    	// in the Annotations of a Node.
    	PreferAvoidPodsAnnotationKey string = "scheduler.alpha.kubernetes.io/preferAvoidPods"
    
    	// ObjectTTLAnnotationKey represents a suggestion for kubelet for how long it can cache
    	// an object (e.g. secret, config map) before fetching it again from apiserver.
    	// This annotation can be attached to node.
    	ObjectTTLAnnotationKey string = "node.alpha.kubernetes.io/ttl"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:31 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/core/v1/annotation_key_constants.go

    	// in the Annotations of a Node.
    	PreferAvoidPodsAnnotationKey string = "scheduler.alpha.kubernetes.io/preferAvoidPods"
    
    	// ObjectTTLAnnotationKey represents a suggestion for kubelet for how long it can cache
    	// an object (e.g. secret, config map) before fetching it again from apiserver.
    	// This annotation can be attached to node.
    	ObjectTTLAnnotationKey string = "node.alpha.kubernetes.io/ttl"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorFragments.kt

        val summary = "The ${target.original} configuration has been deprecated for ${deprecationType.displayName()}."
        val suggestion = "Please ${deprecationType.usage} the ${dependencyDeclarationAlternatives.joinToString(" or ", transform = ::quote)} configuration instead."
        "$summary $suggestion"
    } else {
        ""
    }
    
    
    private
    fun ConfigurationEntry<AccessorNameSpec>.getDeclarationDeprecationBlock() =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    func (c *Cacher) Delete(
    	ctx context.Context, key string, out runtime.Object, preconditions *storage.Preconditions,
    	validateDeletion storage.ValidateObjectFunc, _ runtime.Object) error {
    	// Ignore the suggestion and try to pass down the current version of the object
    	// read from cache.
    	if elem, exists, err := c.watchCache.GetByKey(key); err != nil {
    		klog.Errorf("GetByKey returned error: %v", err)
    	} else if exists {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/preflight/checks.go

    		}
    		// Return as a warning:
    		warningMessage := fmt.Sprintf("%s not found in system path", ipc.executable)
    		if ipc.suggestion != "" {
    			warningMessage += fmt.Sprintf("\nSuggestion: %s", ipc.suggestion)
    		}
    		return []error{errors.New(warningMessage)}, nil
    	}
    	return nil, nil
    }
    
    // HostnameCheck checks if hostname match dns subdomain regex.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/import.go

    func mustHaveSums() bool {
    	return HasModRoot() && cfg.BuildMod == "readonly" && !inWorkspaceMode()
    }
    
    type sumMissingError struct {
    	suggestion string
    }
    
    func (e *sumMissingError) Error() string {
    	return "missing go.sum entry" + e.suggestion
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top