Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for PatchOptions (0.14 sec)

  1. pkg/api/testing/serialization_test.go

    	// DeleteOptions, CreateOptions and UpdateOptions are only read in metav1
    	"DeleteOptions",
    	"CreateOptions",
    	"UpdateOptions",
    	"PatchOptions",
    )
    
    var commonKinds = []string{"Status", "ListOptions", "DeleteOptions", "GetOptions", "CreateOptions", "UpdateOptions", "PatchOptions"}
    
    // TestCommonKindsRegistered verifies that all group/versions registered with
    // the legacyscheme package have the common kinds.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  2. pkg/controller/servicecidrs/servicecidrs_controller.go

    		},
    	}
    	patchBytes, err := json.Marshal(patch)
    	if err != nil {
    		return err
    	}
    	_, err = c.client.NetworkingV1alpha1().ServiceCIDRs().Patch(ctx, cidr.Name, types.StrategicMergePatchType, patchBytes, metav1.PatchOptions{})
    	if err != nil && !apierrors.IsNotFound(err) {
    		return err
    	}
    	klog.FromContext(ctx).V(4).Info("Added protection finalizer to ServiceCIDR", "ServiceCIDR", cidr.Name)
    	return nil
    
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/admission/v1/generated.proto

      // Operation might be a CREATE, in which case the Options will a
      // `meta.k8s.io/v1.CreateOptions` even though the caller provided `meta.k8s.io/v1.PatchOptions`.
      // +optional
      optional k8s.io.apimachinery.pkg.runtime.RawExtension options = 12;
    }
    
    // AdmissionResponse describes an admission response.
    message AdmissionResponse {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/admission/v1beta1/generated.proto

      // Operation might be a CREATE, in which case the Options will a
      // `meta.k8s.io/v1.CreateOptions` even though the caller provided `meta.k8s.io/v1.PatchOptions`.
      // +optional
      optional k8s.io.apimachinery.pkg.runtime.RawExtension options = 12;
    }
    
    // AdmissionResponse describes an admission response.
    message AdmissionResponse {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. pkg/controller/ttl/ttl_controller.go

    	if err != nil {
    		return err
    	}
    	_, err = ttlc.kubeClient.CoreV1().Nodes().Patch(ctx, node.Name, types.StrategicMergePatchType, patchBytes, metav1.PatchOptions{})
    	logger := klog.FromContext(ctx)
    	if err != nil {
    		logger.V(2).Info("Failed to change ttl annotation for node", "node", klog.KObj(node), "err", err)
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admission/v1/generated.proto

      // Operation might be a CREATE, in which case the Options will a
      // `meta.k8s.io/v1.CreateOptions` even though the caller provided `meta.k8s.io/v1.PatchOptions`.
      // +optional
      optional .k8s.io.apimachinery.pkg.runtime.RawExtension options = 12;
    }
    
    // AdmissionResponse describes an admission response.
    message AdmissionResponse {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admission/v1beta1/generated.proto

      // Operation might be a CREATE, in which case the Options will a
      // `meta.k8s.io/v1.CreateOptions` even though the caller provided `meta.k8s.io/v1.PatchOptions`.
      // +optional
      optional .k8s.io.apimachinery.pkg.runtime.RawExtension options = 12;
    }
    
    // AdmissionResponse describes an admission response.
    message AdmissionResponse {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admission/v1/types.go

    	// Operation might be a CREATE, in which case the Options will a
    	// `meta.k8s.io/v1.CreateOptions` even though the caller provided `meta.k8s.io/v1.PatchOptions`.
    	// +optional
    	Options runtime.RawExtension `json:"options,omitempty" protobuf:"bytes,12,opt,name=options"`
    }
    
    // AdmissionResponse describes an admission response.
    type AdmissionResponse struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner.go

    			if err != nil {
    				logger.Error(err, "Failed to marshal invalid since label")
    			} else {
    				if _, err := tc.client.CoreV1().Secrets(secret.Namespace).Patch(ctx, secret.Name, types.MergePatchType, patchContent, metav1.PatchOptions{}); err != nil {
    					logger.Error(err, "Failed to label legacy service account token secret with invalid since date")
    				}
    			}
    			continue
    		}
    
    		if invalidSince >= preserveUsedOnOrAfter {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  10. 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)
Back to top