Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 129 for patchSets (0.3 sec)

  1. pilot/pkg/networking/core/envoyfilter/rc_patch_test.go

    			Action: &route.Route_Route{
    				Route: &route.RouteAction{
    					PrefixRewrite: "/shared",
    				},
    			},
    		},
    	}
    	type args struct {
    		patchContext       networking.EnvoyFilter_PatchContext
    		patches            map[networking.EnvoyFilter_ApplyTo][]*model.EnvoyFilterConfigPatchWrapper
    		routeConfiguration *route.RouteConfiguration
    		virtualHost        *route.VirtualHost
    		routeIndex         int
    		routesRemoved      *bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/controller/cronjob/injection.go

    	sync.Mutex
    	Job           *batchv1.Job
    	Jobs          []batchv1.Job
    	DeleteJobName []string
    	Err           error
    	CreateErr     error
    	UpdateJobName []string
    	PatchJobName  []string
    	Patches       [][]byte
    }
    
    var _ jobControlInterface = &fakeJobControl{}
    
    func (f *fakeJobControl) CreateJob(namespace string, job *batchv1.Job) (*batchv1.Job, error) {
    	f.Lock()
    	defer f.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 09:37:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. operator/pkg/helmreconciler/apply_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 Dec 12 17:12:54 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/kube/deployment.go

    				types.StrategicMergePatchType, []byte(patchData), patchOpts)
    		} else {
    			_, err = appsv1Client.Deployments(d.cfg.Namespace.Name()).Patch(context.TODO(), deploymentName,
    				types.StrategicMergePatchType, []byte(patchData), patchOpts)
    		}
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top