Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 418 for newLru (0.12 sec)

  1. pkg/kube/inject/app_probe.go

    func convertAppProber(probe *corev1.Probe, newURL string, statusPort int) *corev1.Probe {
    	if probe == nil {
    		return nil
    	}
    	if probe.HTTPGet != nil {
    		return convertAppProberHTTPGet(probe, newURL, statusPort)
    	} else if probe.TCPSocket != nil {
    		return convertAppProberTCPSocket(probe, newURL, statusPort)
    	} else if probe.GRPC != nil {
    		return convertAppProberGRPC(probe, newURL, statusPort)
    	}
    
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 04 15:06:24 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    			return types.NullValue
    		}
    		return types.NewErr("invalid data, got null for schema with nullable=false")
    	}
    	if schema.IsXIntOrString() {
    		switch v := unstructured.(type) {
    		case string:
    			return types.String(v)
    		case int:
    			return types.Int(v)
    		case int32:
    			return types.Int(v)
    		case int64:
    			return types.Int(v)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  3. pkg/controller/deployment/rolling.go

    	// Sync deployment status
    	return dc.syncRolloutStatus(ctx, allRSs, newRS, d)
    }
    
    func (dc *DeploymentController) reconcileNewReplicaSet(ctx context.Context, allRSs []*apps.ReplicaSet, newRS *apps.ReplicaSet, deployment *apps.Deployment) (bool, error) {
    	if *(newRS.Spec.Replicas) == *(deployment.Spec.Replicas) {
    		// Scaling not required.
    		return false, nil
    	}
    	if *(newRS.Spec.Replicas) > *(deployment.Spec.Replicas) {
    		// Scale down.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

            String newUrl = url;
            for (final PathMapping pathMapping : pathMappingList) {
                if (matchUserAgent(pathMapping)) {
                    newUrl = pathMapping.process(this, newUrl);
                }
            }
            if (logger.isDebugEnabled() && !StringUtil.equals(url, newUrl)) {
                logger.debug("replace: {} -> {}", url, newUrl);
            }
            return newUrl;
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. pkg/kubelet/lifecycle/handlers_test.go

    				}
    				if fakeHTTPDoer.url != expectedURL {
    					t.Errorf("url = %v; want %v", fakeHTTPDoer.url, tt.Expected.NewURL)
    				}
    			}
    
    			t.Run("consistent", func(t *testing.T) {
    				verify(t, tt.Expected.NewHeader, tt.Expected.NewURL)
    			})
    		})
    	}
    }
    
    func TestRunHandlerNil(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  6. pkg/controller/deployment/recreate.go

    	if scaledDown {
    		// Update DeploymentStatus.
    		return dc.syncRolloutStatus(ctx, allRSs, newRS, d)
    	}
    
    	// Do not process a deployment when it has old pods running.
    	if oldPodsRunning(newRS, oldRSs, podMap) {
    		return dc.syncRolloutStatus(ctx, allRSs, newRS, d)
    	}
    
    	// If we need to create a new RS, create it now.
    	if newRS == nil {
    		newRS, oldRSs, err = dc.getAllReplicaSetsAndSyncRevision(ctx, d, rsList, true)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 13 20:32:13 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/serialization/ClasspathInfererTest.groovy

                if (uri.startsWith("jar:")) {
                    int pos = uri.indexOf('!')
                    def newURI = uri.substring(0, pos + 2)
                    return new URI(newURI).toURL()
                } else {
                    def newURI = uri - resource
                    return new URI(newURI).toURL()
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. pkg/registry/core/replicationcontroller/strategy.go

    	oldRc := old.(*api.ReplicationController)
    	newRc := obj.(*api.ReplicationController)
    
    	opts := pod.GetValidationOptionsFromPodTemplate(newRc.Spec.Template, oldRc.Spec.Template)
    	validationErrorList := corevalidation.ValidateReplicationController(newRc, opts)
    	updateErrorList := corevalidation.ValidateReplicationControllerUpdate(newRc, oldRc, opts)
    	errs := append(validationErrorList, updateErrorList...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:06:10 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  9. pkg/controller/deployment/progress_test.go

    			fake := fake.Clientset{}
    			dc := &DeploymentController{
    				client: &fake,
    			}
    
    			if test.newRS != nil {
    				test.allRSs = append(test.allRSs, test.newRS)
    			}
    			_, ctx := ktesting.NewTestContext(t)
    			err := dc.syncRolloutStatus(ctx, test.allRSs, test.newRS, test.d)
    			if err != nil {
    				t.Error(err)
    			}
    
    			newCond := util.GetDeploymentCondition(test.d.Status, test.conditionType)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. pkg/registry/apps/replicaset/strategy.go

    func (rsStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
    	newRS := obj.(*apps.ReplicaSet)
    	oldRS := old.(*apps.ReplicaSet)
    	// update is not allowed to set status
    	newRS.Status = oldRS.Status
    
    	pod.DropDisabledTemplateFields(&newRS.Spec.Template, &oldRS.Spec.Template)
    
    	// Any changes to the spec increment the generation number, any changes to the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:06:43 UTC 2022
    - 9.3K bytes
    - Viewed (0)
Back to top