Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for nodestore (0.24 sec)

  1. pkg/controller/ttl/ttl_controller_test.go

    		},
    	}
    
    	for i, testCase := range testCases {
    		fakeClient := &fake.Clientset{}
    		nodeStore := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{})
    		nodeStore.Add(testCase.node)
    		ttlController := &Controller{
    			kubeClient:        fakeClient,
    			nodeStore:         listers.NewNodeLister(nodeStore),
    			desiredTTLSeconds: testCase.desiredTTL,
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. pkg/controller/ttl/ttl_controller.go

    	"k8s.io/kubernetes/pkg/controller"
    
    	"k8s.io/klog/v2"
    )
    
    // Controller sets ttl annotations on nodes, based on cluster size.
    type Controller struct {
    	kubeClient clientset.Interface
    
    	// nodeStore is a local cache of nodes.
    	nodeStore listers.NodeLister
    
    	// Nodes that need to be synced.
    	queue workqueue.TypedRateLimitingInterface[string]
    
    	// Returns true if all underlying informers are synced.
    	hasSynced func() bool
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/CapabilitiesConflictHandler.java

         */
        boolean hasSeenCapability(Capability capability);
    
        interface Candidate {
            NodeState getNode();
            Capability getCapability();
            Collection<NodeState> getImplicitCapabilityProviders();
        }
    
        interface ResolutionDetails extends ConflictResolutionResult {
            Collection<? extends Capability> getCapabilityVersions();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 23:54:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/LenientPlatformGraphResolveState.java

            private final VirtualPlatformState platformState;
            private final NodeState from;
            private final ComponentIdentifier platformId;
    
            public LenientPlatformConfigurationMetadata(VirtualPlatformState platform, ModuleComponentIdentifier componentId, NodeState from, @Nullable ComponentIdentifier platformId) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultCapabilitiesConflictHandlerTest.groovy

            }
        }
    
        NodeState node(ComponentState cs) {
            def metadata = Mock(VariantGraphResolveMetadata) {
                getDependencies() >> []
                getCapabilities() >> ImmutableCapabilities.of([])
            }
            def state = Mock(VariantGraphResolveState) {
                getMetadata() >> metadata
            }
    
            def node = new NodeState(id++, cs, resolveState, state, true) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

        .onlyIfCached()
        .maxStale(Int.MAX_VALUE.seconds)
        .build()
    
    internal fun CacheControl.Builder.commonBuild(): CacheControl {
      return CacheControl(
        noCache = noCache,
        noStore = noStore,
        maxAgeSeconds = maxAgeSeconds,
        sMaxAgeSeconds = -1,
        isPrivate = false,
        isPublic = false,
        mustRevalidate = false,
        maxStaleSeconds = maxStaleSeconds,
        minFreshSeconds = minFreshSeconds,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
        val cacheControl =
          CacheControl.Builder()
            .noCache()
            .noStore()
            .maxAge(1, TimeUnit.SECONDS)
            .maxStale(2, TimeUnit.SECONDS)
            .minFresh(3, TimeUnit.SECONDS)
            .onlyIfCached()
            .noTransform()
            .immutable()
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheControlTest.kt

      fun emptyBuilderIsEmpty() {
        val cacheControl = CacheControl.Builder().build()
        assertThat(cacheControl.toString()).isEqualTo("")
        assertThat(cacheControl.noCache).isFalse()
        assertThat(cacheControl.noStore).isFalse()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.isPrivate).isFalse()
        assertThat(cacheControl.isPublic).isFalse()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/LenientPlatformResolveMetadata.java

        private final VirtualPlatformState platformState;
        private final NodeState platformNode;
        private final ResolveState resolveState;
    
        LenientPlatformResolveMetadata(ModuleComponentIdentifier moduleComponentIdentifier, ModuleVersionIdentifier moduleVersionIdentifier, VirtualPlatformState platformState, NodeState platformNode, ResolveState resolveState) {
            this.moduleComponentIdentifier = moduleComponentIdentifier;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:11 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/RootNode.java

    import org.gradle.internal.component.model.DependencyMetadata;
    import org.gradle.internal.component.model.VariantGraphResolveState;
    
    import java.util.List;
    import java.util.Set;
    
    class RootNode extends NodeState implements RootGraphNode {
        private final ResolveOptimizations resolveOptimizations;
        private final List<? extends DependencyMetadata> syntheticDependencies;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top