Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,225 for patching (0.25 sec)

  1. pkg/registry/core/service/storage/storage.go

    			// if clusterIPs are the same, then clear on their behalf
    			if sameClusterIPs(oldSvc, newSvc) {
    				newSvc.Spec.ClusterIPs = nil
    			}
    
    			// if they provided nil, then we are fine (handled by patching case above)
    			// if they changed it then validation will catch it
    		} else {
    			// ClusterIP has changed but not cleared *and* ClusterIPs are the same
    			// then we set ClusterIPs based on ClusterIP
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    	updatePod *example.Pod
    
    	// expectedPod is the pod that you expect to get back after the patch is complete
    	expectedPod   *example.Pod
    	expectedError string
    	// if set, indicates the number of times patching was expected to be attempted
    	expectedTries int
    }
    
    func (tc *patchTestCase) Run(t *testing.T) {
    	t.Logf("Starting test %s", tc.name)
    
    	namespace := tc.startingPod.Namespace
    	name := tc.startingPod.Name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. operator/pkg/translate/translate.go

    	}
    	baseJSON, err := base.JSON()
    	if err != nil {
    		return nil, err
    	}
    
    	// get a versioned object from the scheme, we can use the strategic patching mechanism
    	// (i.e. take advantage of patchStrategy in the type)
    	versionedObject, err := scheme.Scheme.New(base.GroupVersionKind())
    	if err != nil {
    		return nil, err
    	}
    	// strategic merge patch
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/gateway.go

    			virtualHosts = append(virtualHosts, v)
    		}
    	}
    
    	util.SortVirtualHosts(virtualHosts)
    
    	routeCfg := &route.RouteConfiguration{
    		// Retain the routeName as its used by EnvoyFilter patching logic
    		Name:                           routeName,
    		VirtualHosts:                   virtualHosts,
    		ValidateClusters:               proto.BoolFalse,
    		IgnorePortInHostMatching:       !node.IsProxylessGrpc(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/implementing_custom_tasks.adoc

    For example, the `javaCompile` task action calls the Java compiler to transform source code into byte code.
    
    It is possible to dynamically modify task actions for tasks that are already registered.
    This is helpful for testing, patching, or modifying core build logic.
    
    Let's look at an example of a simple Gradle build with one `app` subproject that makes up a Java application – containing one Java class and using Gradle's `application` plugin.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 05:34:54 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    			if loggerV := logger.V(6); loggerV.Enabled() {
    				// At a high enough log level, dump the entire object.
    				loggerV.Info("Patching PodSchedulingContext", "podSchedulingCtx", klog.KObj(pod), "podSchedulingCtxApply", klog.Format(schedulingCtxApply))
    			} else {
    				logger.V(5).Info("Patching PodSchedulingContext", "podSchedulingCtx", klog.KObj(pod))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_test.go

    			podSelector: map[string]string{v1.LabelOSStable: goruntime.GOOS},
    			podStatus:   v1.PodPending,
    		},
    		{
    			// Expect no patching to happen, label B should be preserved and can be used for nodeAffinity.
    			name:        "new node label, correct pod selector, admitted",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching.go

    			if name == matchedName {
    				return true, matchResource, matchKind, nil
    			}
    		}
    	}
    
    	// if match policy is undefined or exact, don't perform fuzzy matching
    	// note that defaulting to fuzzy matching is set by the API
    	if matchPolicy == nil || *matchPolicy == v1.Exact {
    		return false, schema.GroupVersionResource{}, schema.GroupVersionKind{}, nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    						// This does not actually conflict with setting the
    						// selected node, but because the plugin is not using
    						// patching yet, Update nonetheless fails.
    						return st.FromPodSchedulingContexts(in).
    							Label("hello", "world").
    							Obj()
    					},
    				},
    			},
    			want: want{
    				prebind: result{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go

    }
    
    func (Patch) SwaggerDoc() map[string]string {
    	return map_Patch
    }
    
    var map_PatchOptions = map[string]string{
    	"":                "PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 49.2K bytes
    - Viewed (0)
Back to top