Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 968 for Patches (0.14 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/fixtures/ScalaCoverage.groovy

            // There are finer grained version requirements, but we don't need to worry about them here, as we use latest patch versions
            if (javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)) {
                // All latest patches of 2.13 work on Java 9+
                // 2.12 in theory supports it, but doesn't actually take it as a -target so we can't use it
                return VersionCoverage.versionsAtLeast(SCALA_2, "2.13.0")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/upgrade/node/kubeletconfig.go

    		Short: "Upgrade the kubelet configuration for this node",
    		Long:  kubeletConfigLongDesc,
    		Run:   runKubeletConfigPhase(),
    		InheritFlags: []string{
    			options.DryRun,
    			options.KubeconfigPath,
    			options.Patches,
    		},
    	}
    	return phase
    }
    
    func runKubeletConfigPhase() func(c workflow.RunData) error {
    	return func(c workflow.RunData) error {
    		data, ok := c.(Data)
    		if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go

    		Run:   runControlPlane(),
    		InheritFlags: []string{
    			options.DryRun,
    			options.KubeconfigPath,
    			options.CertificateRenewal,
    			options.EtcdUpgrade,
    			options.Patches,
    		},
    	}
    	return phase
    }
    
    func runControlPlane() func(c workflow.RunData) error {
    	return func(c workflow.RunData) error {
    		data, ok := c.(Data)
    		if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/init/etcd.go

    		InheritFlags: getEtcdPhaseFlags(),
    	}
    	return phase
    }
    
    func getEtcdPhaseFlags() []string {
    	flags := []string{
    		options.CertificatesDir,
    		options.CfgPath,
    		options.ImageRepository,
    		options.Patches,
    		options.DryRun,
    	}
    	return flags
    }
    
    func runEtcdPhaseLocal() func(c workflow.RunData) error {
    	return func(c workflow.RunData) error {
    		data, ok := c.(InitData)
    		if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 11 08:02:50 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go

    			options.FileDiscovery,
    			options.TokenDiscovery,
    			options.TokenDiscoveryCAHash,
    			options.TokenDiscoverySkipCAHash,
    			options.TLSBootstrapToken,
    			options.TokenStr,
    			options.CertificateKey,
    			options.Patches,
    			options.DryRun,
    		}
    	case "download-certs":
    		flags = []string{
    			options.CfgPath,
    			options.ControlPlane,
    			options.FileDiscovery,
    			options.TokenDiscovery,
    			options.TokenDiscoveryCAHash,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:46:34 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/kubelet/config_test.go

    	var (
    		input          = []byte("bar: 0\nfoo: 0\n")
    		patch          = []byte("bar: 1\n")
    		expectedOutput = []byte("bar: 1\nfoo: 0\n")
    	)
    
    	dir, err := os.MkdirTemp("", "patches")
    	if err != nil {
    		t.Fatalf("could not create temp dir: %v", err)
    	}
    	defer os.RemoveAll(dir)
    
    	if err := os.WriteFile(filepath.Join(dir, "kubeletconfiguration.yaml"), patch, 0644); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. pkg/util/pod/pod.go

    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	clientset "k8s.io/client-go/kubernetes"
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    )
    
    // PatchPodStatus patches pod status. It returns true and avoids an update if the patch contains no changes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 15:22:29 UTC 2022
    - 3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/init/kubelet.go

    		Example: kubeletStartPhaseExample,
    		Run:     runKubeletStart,
    		InheritFlags: []string{
    			options.CfgPath,
    			options.ImageRepository,
    			options.NodeCRISocket,
    			options.NodeName,
    			options.Patches,
    			options.DryRun,
    		},
    	}
    }
    
    // runKubeletStart executes kubelet start logic.
    func runKubeletStart(c workflow.RunData) error {
    	data, ok := c.(InitData)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Aug 20 09:18:00 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/mergepatch/util.go

    	}
    
    	return string(y), nil
    }
    
    // HasConflicts returns true if the left and right JSON interface objects overlap with
    // different values in any key. All keys are required to be strings. Since patches of the
    // same Type have congruent keys, this is valid for multiple patch types. This method
    // supports JSON merge patch semantics.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. pkg/kube/kclient/interfaces.go

    	// Update updates a resource, returning the newly applied resource.
    	Update(object T) (T, error)
    	// UpdateStatus updates a resource's status, returning the newly applied resource.
    	UpdateStatus(object T) (T, error)
    	// Patch patches the resource, returning the newly applied resource.
    	Patch(name, namespace string, pt apitypes.PatchType, data []byte) (T, error)
    	// Delete removes a resource.
    	Delete(name, namespace string) error
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 05:09:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top