Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 738 for getPatch (0.16 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier.go

    		globalParams["#/parameters/"+p.GetName()] = p
    	}
    
    	for _, path := range doc.GetPaths().GetPath() {
    		// Is this describing the gvk we're looking for?
    		if !hasGVKExtension(path.GetValue().GetPatch().GetVendorExtension(), gvk) {
    			continue
    		}
    		for _, param := range path.GetValue().GetPatch().GetParameters() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 01:23:27 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/envoyfilter/envoyfilter.go

    	ef := r.Message.(*network.EnvoyFilter)
    	for index, patch := range ef.ConfigPatches {
    		// validate that the patch and match sections are populated
    		if patch.GetPatch() == nil {
    			break
    		}
    
    		// collect filter names to figure out if there is more than one envoyFilter with the same filter name where one
    		// of the envoy filters has the proxy version set
    		instanceName := ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_node_status_test.go

    			require.True(t, actions[1].Matches("patch", "nodes"))
    			require.Equal(t, actions[1].GetSubresource(), "status")
    
    			updatedNode, err := applyNodeStatusPatch(&existingNode, actions[1].(core.PatchActionImpl).GetPatch())
    			assert.NoError(t, err)
    			for i, cond := range updatedNode.Status.Conditions {
    				assert.False(t, cond.LastHeartbeatTime.IsZero(), "LastHeartbeatTime for %v condition is zero", cond.Type)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/VersionNumber.java

        public int getMajor() {
            return major;
        }
    
        public int getMinor() {
            return minor;
        }
    
        public int getMicro() {
            return micro;
        }
    
        public int getPatch() {
            return patch;
        }
    
        @Nullable
        public String getQualifier() {
            return qualifier;
        }
    
        public VersionNumber getBaseVersion() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. pkg/controller/volume/expand/expand_controller_test.go

    			if action.GetSubresource() == "status" {
    				patchActionaction, _ := action.(coretesting.PatchAction)
    				pvc, err = applyPVCPatch(pvc, patchActionaction.GetPatch())
    				if err != nil {
    					return false, nil, err
    				}
    				return true, pvc, nil
    			}
    			return true, pvc, nil
    		})
    
    		err = expController.syncHandler(context.TODO(), test.pvcKey)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. pkg/controller/daemon/update.go

    func Match(ds *apps.DaemonSet, history *apps.ControllerRevision) (bool, error) {
    	patch, err := getPatch(ds)
    	if err != nil {
    		return false, err
    	}
    	return bytes.Equal(patch, history.Data.Raw), nil
    }
    
    // getPatch returns a strategic merge patch that can be applied to restore a Daemonset to a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_utils.go

    	return pod
    }
    
    // getPatch returns a strategic merge patch that can be applied to restore a StatefulSet to a
    // previous version. If the returned error is nil the patch is valid. The current state that we save is just the
    // PodSpecTemplate. We can modify this later to encompass more state (or less) and remain compatible with previously
    // recorded patches.
    func getPatch(set *apps.StatefulSet) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/util/VersionNumber.java

        }
    
        public int getMinor() {
            maybeLogDeprecation();
            return minor;
        }
    
        public int getMicro() {
            maybeLogDeprecation();
            return micro;
        }
    
        public int getPatch() {
            maybeLogDeprecation();
            return patch;
        }
    
        @Nullable
        public String getQualifier() {
            maybeLogDeprecation();
            return qualifier;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/configdump.go

    		version      = buildVersion.GetVersion()
    		md           = buildVersion.GetMetadata().GetFields()
    
    		sb strings.Builder
    	)
    
    	fmt.Fprintf(&sb, "%d.%d.%d", version.GetMajorNumber(), version.GetMinorNumber(), version.GetPatch())
    	if label, ok := md[buildLabelKey]; ok {
    		fmt.Fprintf(&sb, "-%s", label.GetStringValue())
    	}
    	if status, ok := md[statusKey]; ok {
    		fmt.Fprintf(&sb, "/%s", status.GetStringValue())
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. pkg/controller/clusterroleaggregation/clusterroleaggregation_controller_test.go

    				applyAction, ok := action.(clienttesting.PatchAction)
    				if !ok {
    					t.Fatalf("unexpected action %#v", action)
    				}
    				ac := &rbacv1ac.ClusterRoleApplyConfiguration{}
    				if err := yaml.Unmarshal(applyAction.GetPatch(), ac); err != nil {
    					t.Fatalf("error unmarshalling apply request: %v", err)
    				}
    				if !equality.Semantic.DeepEqual(ac, test.expectedClusterRoleApply) {
    					t.Fatalf("%v", cmp.Diff(test.expectedClusterRoleApply, ac))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top