Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 831 for reasons (0.14 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go

    				}
    				t.Logf("expecting the following differences from the example encoding on re-encode:\n%s", diff)
    				t.Logf("reasons for encoding differences:")
    				for _, reason := range tc.reasons {
    					t.Logf("- %s", reason)
    				}
    
    			}
    
    			if diff := cmp.Diff(expected, actual); diff != "" {
    				t.Errorf("re-encoded object differs from expected:\n%s", diff)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 18:59:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. pkg/kubelet/lifecycle/predicate.go

    	podWithoutMissingExtendedResources := removeMissingExtendedResources(admitPod, nodeInfo)
    
    	reasons := generalFilter(podWithoutMissingExtendedResources, nodeInfo)
    	fit := len(reasons) == 0
    	if !fit {
    		reasons, err = w.admissionFailureHandler.HandleAdmissionFailure(admitPod, reasons)
    		fit = len(reasons) == 0 && err == nil
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 00:47:50 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            NodeBuilder maybeByReason(String reason) {
                ignoreReasons.add(reason)
                this
            }
    
            NodeBuilder byConstraint(String reason = null) {
                if (reason == null) {
                    reasons << ComponentSelectionCause.CONSTRAINT.defaultReason
                } else {
                    reasons << "${ComponentSelectionCause.CONSTRAINT.defaultReason}: $reason".toString()
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  4. pkg/kubelet/lifecycle/predicate_test.go

    		},
    	}
    	for _, test := range resourceTests {
    		t.Run(test.name, func(t *testing.T) {
    			test.nodeInfo.SetNode(test.node)
    			reasons := generalFilter(test.pod, test.nodeInfo)
    			if diff := cmp.Diff(test.reasons, reasons); diff != "" {
    				t.Errorf("unexpected failure reasons (-want, +got):\n%s", diff)
    			}
    		})
    	}
    }
    
    func TestRejectPodAdmissionBasedOnOSSelector(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy

            def reasons = []
            invalidationDetails.changedFiles.each { file ->
                reasons.add("file '${file.replace('/', File.separator)}'")
            }
            if (invalidationDetails.changedGradleProperty) {
                reasons.add("the set of Gradle properties")
            }
            if (invalidationDetails.changedSystemProperty != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/interface.go

    	return s.plugin
    }
    
    // Reasons returns reasons of the Status.
    func (s *Status) Reasons() []string {
    	if s.err != nil {
    		return append([]string{s.err.Error()}, s.reasons...)
    	}
    	return s.reasons
    }
    
    // AppendReason appends given reason to the Status.
    func (s *Status) AppendReason(reason string) {
    	s.reasons = append(s.reasons, reason)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/volumebinding/binder.go

    // ConflictReasons contains all reasons that explain why volume binding is impossible for a node.
    type ConflictReasons []ConflictReason
    
    func (reasons ConflictReasons) Len() int           { return len(reasons) }
    func (reasons ConflictReasons) Less(i, j int) bool { return reasons[i] < reasons[j] }
    func (reasons ConflictReasons) Swap(i, j int)      { reasons[i], reasons[j] = reasons[j], reasons[i] }
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

        def "resolution result API gives access to dependency reasons in case of conflict"() {
            given:
            mavenRepo.with {
                def leaf1 = module('org.test', 'leaf', '1.0').publish()
                def leaf2 = module('org.test', 'leaf', '1.1').publish()
                module('org.test', 'a', '1.0')
                    .dependsOn(leaf1, reason: 'first reason')
                    .withModuleMetadata()
                    .publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/viewing_debugging_dependencies.adoc

    ==== Selection Reasons
    
    The "Selection reasons" section of the dependency insight report lists the reasons why a dependency was selected.
    Have a look at the table below to understand the meaning of the different terms used:
    
    .Terminology
    [%header%autowidth,compact]
    |===
    | Reason    | Meaning
    
    | (Absent)
    | No reason other than a reference, direct or transitive, was present.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt

        TypeAccessibility.Accessible(type)
    
    
    internal
    fun inaccessible(type: SchemaType, vararg reasons: InaccessibilityReason) =
        inaccessible(type, reasons.toList())
    
    
    internal
    fun inaccessible(type: SchemaType, reasons: List<InaccessibilityReason>): TypeAccessibility =
        TypeAccessibility.Inaccessible(type, reasons)
    
    
    private
    fun classLoaderScopeOf(scriptTarget: Any) = when (scriptTarget) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top