Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for pruned (0.16 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/pruning_test.go

    		t.Errorf("Expected 'unspecified' field to be pruned, but it was not")
    	}
    	if _, found, _ := unstructured.NestedFieldNoCopy(foo.Object, "alpha"); !found {
    		t.Errorf("Expected specified 'alpha' field to stay, but it was pruned")
    	}
    	if _, found, _ := unstructured.NestedFieldNoCopy(foo.Object, "beta"); !found {
    		t.Errorf("Expected specified 'beta' field to stay, but it was pruned")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/algorithm_test.go

    			"preserving.metadata.unspecified",
    			"pruned.metadata.unspecified",
    		}},
    		{name: "x-kubernetes-embedded-resource, with includeRoot=true", json: `
    {
      "apiVersion": "foo/v1",
      "kind": "Foo",
      "metadata": {
        "name": "instance",
        "unspecified": "bar"
      },
      "unspecified":"bar",
      "pruned": {
        "apiVersion": "foo/v1",
        "kind": "Foo",
        "unspecified": "bar",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 02:09:41 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm_test.go

    			}
    			if !reflect.DeepEqual(pruned, tt.expectedPruned) {
    				t.Errorf("expected pruned:\n\t%v\ngot:\n\t%v\n", strings.Join(tt.expectedPruned, "\n\t"), strings.Join(pruned, "\n\t"))
    			}
    
    			// now check that pruned is empty when TrackUnknownFieldPaths is false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/edit.go

    	if fromPruning == pruned {
    		dq.pruned = reason
    		if !dq.unpruned.isDisqualified() {
    			// Since the pruned graph of m is a subgraph of the unpruned graph, if it
    			// is disqualified due to something in the pruned graph, it is certainly
    			// disqualified in the unpruned graph from the same reason.
    			dq.unpruned = reason
    		}
    	} else {
    		dq.unpruned = reason
    		if dq.pruned.isDisqualified() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. operator/cmd/mesh/uninstall.go

    	manifestsPath string
    	// verbose generates verbose output.
    	verbose bool
    }
    
    const (
    	AllResourcesRemovedWarning = "All Istio resources will be pruned from the cluster\n"
    	NoResourcesRemovedWarning  = "No resources will be pruned from the cluster. Please double check the input configs\n"
    	GatewaysRemovedWarning     = "You are about to remove the following gateways: %s." +
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/modfile.go

    // are pruned out of the module subgraph rooted at a given module.
    // (See https://golang.org/ref/mod#graph-pruning.)
    type modPruning uint8
    
    const (
    	pruned    modPruning = iota // transitive dependencies of modules at go 1.17 and higher are pruned out
    	unpruned                    // no transitive dependencies are pruned out
    	workspace                   // pruned to the union of modules in the workspace
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/objectmeta_test.go

    		t.Errorf("unexpected error getting metadata.unknown: %v", err)
    	} else if found {
    		t.Errorf("unexpected metadata.unknown=%#v: expected this to be pruned", unknown)
    	}
    
    	if generation, found, err := unstructured.NestedInt64(obj.UnstructuredContent(), "metadata", "generation"); err != nil {
    		t.Errorf("unexpected error getting metadata.generation: %v", err)
    	} else if !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 19K bytes
    - Viewed (0)
  8. src/cmd/internal/dwarf/dwarf.go

    	pvars := inlinedVarTable(&s.InlCalls)
    	for k, s := range s.Scopes {
    		var pruned Scope = Scope{Parent: s.Parent, Ranges: s.Ranges}
    		for i := 0; i < len(s.Vars); i++ {
    			_, found := pvars[s.Vars[i]]
    			if !found {
    				pruned.Vars = append(pruned.Vars, s.Vars[i])
    			}
    		}
    		sort.Sort(byChildIndex(pruned.Vars))
    		scopes[k] = pruned
    	}
    
    	s.dictIndexToOffset = putparamtypes(ctxt, s, scopes, fnabbrev)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  9. operator/pkg/helmreconciler/prune.go

    		{Group: "autoscaling", Version: "v2", Kind: name.HPAStr},
    		gvk.EnvoyFilter.Kubernetes(),
    	}
    	return res
    }
    
    // Prune removes any resources not specified in manifests generated by HelmReconciler h.
    func (h *HelmReconciler) Prune(manifests name.ManifestMap, all bool) error {
    	return h.runForAllTypes(func(labels map[string]string, objects *unstructured.UnstructuredList) error {
    		var errs util.Errors
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. cluster/addons/addon-manager/kube-addons.sh

      # `created`, `pruned` and errors will be logged.
      log INFO "== Reconciling with deprecated label =="
      # shellcheck disable=SC2086
      # Disabling because "${KUBECTL_OPTS}" needs to allow for expansion here
      ${KUBECTL} ${KUBECTL_OPTS} apply -f ${ADDON_PATH} \
        -l ${CLUSTER_SERVICE_LABEL}=true,${ADDON_MANAGER_LABEL}!=EnsureExists \
        --prune=true ${prune_allowlist_flags} --recursive | grep -v configured
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 15 05:40:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
Back to top