Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for PatchOptions (0.21 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    }
    
    // +k8s:conversion-gen:explicit-from=net/url.Values
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // PatchOptions may be provided when patching an API object.
    // PatchOptions is meant to be a superset of UpdateOptions.
    type PatchOptions struct {
    	TypeMeta `json:",inline"`
    
    	// When present, indicates that modifications should not be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (0)
  2. cni/pkg/repair/repaircontroller.go

    	_, err := c.client.Kube().CoreV1().Pods(pod.Namespace).Patch(context.Background(), pod.Name, types.MergePatchType,
    		[]byte(patchBytes), metav1.PatchOptions{}, "status")
    	if err != nil {
    		repairLog.Errorf("Failed to update pod: %s", err)
    		c.events.Write(pod, corev1.EventTypeWarning, ReasonLabelBrokenPod, "pod detected as broken, but failed to label: %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    }
    
    // Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
    message Patch {
    }
    
    // PatchOptions may be provided when patching an API object.
    // PatchOptions is meant to be a superset of UpdateOptions.
    message PatchOptions {
      // When present, indicates that modifications should not be
      // persisted. An invalid or unrecognized dryRun directive will
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    }
    
    // Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
    message Patch {
    }
    
    // PatchOptions may be provided when patching an API object.
    // PatchOptions is meant to be a superset of UpdateOptions.
    message PatchOptions {
      // When present, indicates that modifications should not be
      // persisted. An invalid or unrecognized dryRun directive will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  5. pkg/kube/kclient/client.go

    func (n *writeClient[T]) Patch(name, namespace string, pt apitypes.PatchType, data []byte) (T, error) {
    	api := kubeclient.GetWriteClient[T](n.client, namespace)
    	return api.Patch(context.Background(), name, pt, data, metav1.PatchOptions{})
    }
    
    func (n *writeClient[T]) UpdateStatus(object T) (T, error) {
    	api, ok := kubeclient.GetWriteClient[T](n.client, object.GetNamespace()).(kubetypes.WriteStatusAPI[T])
    	if !ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 07:14:28 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.pb.go

    var xxx_messageInfo_Patch proto.InternalMessageInfo
    
    func (m *PatchOptions) Reset()      { *m = PatchOptions{} }
    func (*PatchOptions) ProtoMessage() {}
    func (*PatchOptions) Descriptor() ([]byte, []int) {
    	return fileDescriptor_a8431b6e0aeeb761, []int{30}
    }
    func (m *PatchOptions) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *PatchOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 281.4K bytes
    - Viewed (0)
  7. pkg/test/framework/components/istio/configmap.go

    			_, err := c.Kube().CoreV1().Pods(cm.namespace).Patch(context.TODO(), pod.Name,
    				types.MergePatchType, []byte(patchBytes), metav1.PatchOptions{FieldManager: "istio-ci"})
    			if err != nil {
    				return fmt.Errorf("patch %v: %v", patchBytes, err)
    			}
    		}
    	}
    	return nil
    }
    
    func hash(s string) string {
    	// nolint: gosec
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/addons/dns/dns.go

    	if _, err := client.AppsV1().Deployments(dnsDeployment.ObjectMeta.Namespace).Patch(context.TODO(), dnsDeployment.Name, types.StrategicMergePatchType, []byte(patch), metav1.PatchOptions{}); err != nil {
    		return errors.Wrap(err, "unable to patch the CoreDNS deployment")
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

    			b, err := yaml.Marshal(gw)
    			if err != nil {
    				return err
    			}
    			_, err = gwc.Patch(context.Background(), gw.Name, types.ApplyPatchType, b, metav1.PatchOptions{
    				Force:        nil,
    				FieldManager: "istioctl",
    			})
    			if err != nil {
    				if errors.IsNotFound(err) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/apiclient/idempotency.go

    			*lastError = errors.Wrap(err, "failed to create two way merge patch")
    			return false, *lastError
    		}
    
    		if _, err := client.CoreV1().Nodes().Patch(ctx, n.Name, types.StrategicMergePatchType, patchBytes, metav1.PatchOptions{}); err != nil {
    			*lastError = errors.Wrapf(err, "error patching Node %q", n.Name)
    			if apierrors.IsTimeout(err) || apierrors.IsConflict(err) || apierrors.IsServerTimeout(err) || apierrors.IsServiceUnavailable(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top