Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 418 for newLru (0.45 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go

    	newCRD := newObj.(*apiextensionsv1.CustomResourceDefinition)
    	// only queue deleted things that haven't been finalized by us
    	if newCRD.DeletionTimestamp.IsZero() || !apiextensionshelpers.CRDHasFinalizer(newCRD, apiextensionsv1.CustomResourceCleanupFinalizer) {
    		return
    	}
    
    	// always requeue resyncs just in case
    	if oldCRD.ResourceVersion == newCRD.ResourceVersion {
    		c.enqueue(newCRD)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. pkg/registry/apps/replicaset/strategy_test.go

    		},
    	}
    	StatusStrategy.PrepareForUpdate(ctx, newRS, oldRS)
    	if newRS.Status.Replicas != 3 {
    		t.Errorf("ReplicaSet status updates should allow change of replicas: %v", newRS.Status.Replicas)
    	}
    	if newRS.Spec.Replicas != 3 {
    		t.Errorf("PrepareForUpdate should have preferred spec")
    	}
    	errs := StatusStrategy.ValidateUpdate(ctx, newRS, oldRS)
    	if len(errs) != 0 {
    		t.Errorf("Unexpected error %v", errs)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 09 21:04:31 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  3. pkg/kubelet/container/cache.go

    )
    
    // Cache stores the PodStatus for the pods. It represents *all* the visible
    // pods/containers in the container runtime. All cache entries are at least as
    // new or newer than the global timestamp (set by UpdateTime()), while
    // individual entries may be slightly newer than the global timestamp. If a pod
    // has no states known by the runtime, Cache returns an empty PodStatus object
    // with ID populated.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 07:37:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work_use_toolchain.txt

    ! grep toolchain go.work
    
    # work use with older modules should leave go 1.50 in the go.work.
    go work use ./m1_22_0
    grep '^go 1.50$' go.work
    ! grep toolchain go.work
    
    # work use with newer modules should bump go and toolchain,
    # including updating to a newer toolchain as needed.
    env TESTGO_VERSION=go1.21
    env TESTGO_VERSION_SWITCH=switch
    rm go.work
    go work init
    env GOTOOLCHAIN=local
    ! go work use ./m1_22_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go

    	if a.result.Error != nil {
    		return types.NewErr("composited variable %q fails to compile: %v", a.name, a.result.Error)
    	}
    
    	v, details, err := a.result.Program.ContextEval(a.context, a.activation)
    	if details == nil {
    		return types.NewErr("unable to get evaluation details of variable %q", a.name)
    	}
    	costPtr := details.ActualCost()
    	if costPtr == nil {
    		return types.NewErr("unable to calculate cost of variable %q", a.name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 21:06:39 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. misc/linkcheck/linkcheck.go

    	if err != nil {
    		return err
    	}
    	// Handle redirects.
    	if res.StatusCode/100 == 3 {
    		newURL, err := res.Location()
    		if err != nil {
    			return fmt.Errorf("resolving redirect: %v", err)
    		}
    		if !strings.HasPrefix(newURL.String(), *root) {
    			// Skip off-site redirects.
    			return nil
    		}
    		crawl(newURL.String(), url)
    		return nil
    	}
    	if res.StatusCode != 200 {
    		return errors.New(res.Status)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  7. releasenotes/notes/29427.yaml

    kind: bug-fix
    area: networking
    issue:
      - 29427
      - 28516
    upgradeNotes:
      - title: Connectivity issues among your proxies when updating from 1.7.x to 1.7.5 or newer.
        content: |
          When upgrading your Istio data plane from 1.7.x (where x < 5) to 1.7.5 or newer, you may 
          observe connectivity issues between your gateway and your sidecars or among your sidecars 
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 08 21:29:31 UTC 2020
    - 653 bytes
    - Viewed (0)
  8. pkg/controller/deployment/rolling_test.go

    		oldSelector := map[string]string{"foo": "old"}
    		newRS := rs("foo-new", test.newReplicas, newSelector, noTimestamp)
    		newRS.Status.AvailableReplicas = int32(test.readyPodsFromNewRS)
    		oldRS := rs("foo-old", test.oldReplicas, oldSelector, noTimestamp)
    		oldRS.Status.AvailableReplicas = int32(test.readyPodsFromOldRS)
    		oldRSs := []*apps.ReplicaSet{oldRS}
    		allRSs := []*apps.ReplicaSet{oldRS, newRS}
    		maxSurge := intstr.FromInt32(0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 11K bytes
    - Viewed (0)
  9. pkg/controller/deployment/util/deployment_util.go

    	}
    	for k, v := range deployment.Annotations {
    		// newRS revision is updated automatically in getNewReplicaSet, and the deployment's revision number is then updated
    		// by copying its newRS revision number. We should not copy deployment's revision to its newRS, since the update of
    		// deployment revision number may fail (revision becomes stale) and the revision number in newRS is more reliable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  10. src/sort/slice.go

    // may be reversed from their original order.
    // For a stable sort, use [SliceStable].
    //
    // The less function must satisfy the same requirements as
    // the Interface type's Less method.
    //
    // Note: in many situations, the newer [slices.SortFunc] function is more
    // ergonomic and runs faster.
    func Slice(x any, less func(i, j int) bool) {
    	rv := reflectlite.ValueOf(x)
    	swap := reflectlite.Swapper(x)
    	length := rv.Len()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top