Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 855 for Patches (0.19 sec)

  1. pkg/controller/testutil/test_utils.go

    	return node, nil
    }
    
    // PatchStatus patches a status of a Node in the fake store.
    func (m *FakeNodeHandler) PatchStatus(ctx context.Context, nodeName string, data []byte) (*v1.Node, error) {
    	m.RequestCount++
    	return m.Patch(ctx, nodeName, types.StrategicMergePatchType, data, metav1.PatchOptions{}, "status")
    }
    
    // Watch watches Nodes in a fake store.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/init.go

    	}
    	return tokens
    }
    
    // PatchesDir returns the folder where patches for components are stored
    func (d *initData) PatchesDir() string {
    	// If provided, make the flag value override the one in config.
    	if len(d.patchesDir) > 0 {
    		return d.patchesDir
    	}
    	if d.cfg.Patches != nil {
    		return d.cfg.Patches.Directory
    	}
    	return ""
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/DefaultGradleDistribution.groovy

                return version.getVersion().matches(".*+\\d{4}");
            }
            if (isSameOrNewer("0.9.2") && isSameOrOlder("1.0-milestone-2")) {
                // These versions couldn't handle milestone patches
                if (version.getVersion().matches("1.0-milestone-\\d+[a-z]-.+")) {
                    return false;
                }
            }
            return true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:27 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. operator/README.md

    ```yaml
    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    spec:
      components:
        pilot:
          k8s:
            overlays:
            - kind: Deployment
              name: istio-pilot
              patches:
              - path: spec.template.spec.containers.[name:discovery].args.[30m]
                value: "60m" # OVERRIDDEN
              - path: spec.template.spec.containers.[name:discovery].ports.[containerPort:8080].containerPort
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Sep 17 08:27:52 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/resolver/IdeDependencySet.java

                //
                // We assume that a test-only dependency is not a module, which corresponds to how Eclipse does test running for modules:
                // It patches the main module with the tests and expects test dependencies to be part of the unnamed module (classpath).
                return javaModuleDetector.isModule(inferModulePath && !testOnly, artifact);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    		},
    		{
    			name:  "valid-negative-index-patch",
    			patch: `[{"op": "test", "value": "foo", "path": "/metadata/finalizers/-1"}]`,
    		},
    	} {
    		p := &patcher{
    			patchType:  types.JSONPatchType,
    			patchBytes: []byte(test.patch),
    		}
    		jp := jsonPatcher{patcher: p}
    		codec := codecs.LegacyCodec(examplev1.SchemeGroupVersion)
    		pod := &examplev1.Pod{}
    		pod.Name = "podA"
    		pod.ObjectMeta.Finalizers = []string{"foo"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    			options.NodeName,
    			options.FileDiscovery,
    			options.TokenDiscovery,
    			options.TokenDiscoveryCAHash,
    			options.TokenDiscoverySkipCAHash,
    			options.TLSBootstrapToken,
    			options.TokenStr,
    			options.Patches,
    			options.DryRun,
    		},
    	}
    }
    
    func getKubeletStartJoinData(c workflow.RunData) (*kubeadmapi.JoinConfiguration, *kubeadmapi.InitConfiguration, *clientcmdapi.Config, error) {
    	data, ok := c.(JoinData)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. pkg/webhooks/validation/controller/controller.go

    type Options struct {
    	// Istio system namespace where istiod resides.
    	WatchedNamespace string
    
    	// File path to the x509 certificate bundle used by the webhook server
    	// and patched into the webhook config.
    	CABundleWatcher *keycertbundle.Watcher
    
    	// Revision for control plane performing patching on the validating webhook.
    	Revision string
    
    	// Name of the service running the webhook server.
    	ServiceName string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_set_utils.go

    	clone := set.DeepCopy()
    	patched, err := strategicpatch.StrategicMergePatch([]byte(runtime.EncodeOrDie(patchCodec, clone)), revision.Data.Raw, clone)
    	if err != nil {
    		return nil, err
    	}
    	restoredSet := &apps.StatefulSet{}
    	err = json.Unmarshal(patched, restoredSet)
    	if err != nil {
    		return nil, err
    	}
    	return restoredSet, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest_shared_test.go

    }
    
    var interceptorFunc = interceptor.Funcs{Patch: func(
    	ctx context.Context,
    	clnt client.WithWatch,
    	obj client.Object,
    	patch client.Patch,
    	opts ...client.PatchOption,
    ) error {
    	// Apply patches are supposed to upsert, but fake client fails if the object doesn't exist,
    	// if an apply patch occurs for an object that doesn't yet exist, create it.
    	if patch.Type() != types.ApplyPatchType {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top