- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 277 for patchtype (0.29 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview_test.go
v1beta1JSONPatch := admissionv1beta1.PatchTypeJSONPatch v1JSONPatch := admissionv1.PatchTypeJSONPatch emptyv1beta1Patch := admissionv1beta1.PatchType("") emptyv1Patch := admissionv1.PatchType("") invalidv1beta1Patch := admissionv1beta1.PatchType("Foo") invalidv1Patch := admissionv1.PatchType("Foo") testcases := []struct { name string uid types.UID mutating bool review runtime.Object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 16:56:12 UTC 2023 - 20.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go
} } func (w *webhookAnnotator) addPatchAnnotation(patch interface{}, patchType admissionv1.PatchType) { if w.attr == nil || w.attr.Attributes == nil { return } var value string var err error switch patchType { case admissionv1.PatchTypeJSONPatch: value, err = jsonPatchAnnotationValue(w.configuration, w.webhook, patch) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 19.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go
opts metav1.PatchOptions patchType types.PatchType }{{ opts: metav1.PatchOptions{ Force: boolPtr(true), FieldManager: "kubectl", }, patchType: types.ApplyPatchType, }, { opts: metav1.PatchOptions{ FieldManager: "kubectl", }, patchType: types.ApplyPatchType, }, { opts: metav1.PatchOptions{}, patchType: types.MergePatchType, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 15.2K bytes - Viewed (0) -
staging/src/k8s.io/api/admission/v1/zz_generated.deepcopy.go
(*in).DeepCopyInto(*out) } if in.Patch != nil { in, out := &in.Patch, &out.Patch *out = make([]byte, len(*in)) copy(*out, *in) } if in.PatchType != nil { in, out := &in.PatchType, &out.PatchType *out = new(PatchType) **out = **in } if in.AuditAnnotations != nil { in, out := &in.AuditAnnotations, &out.AuditAnnotations *out = make(map[string]string, len(*in))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 3.9K bytes - Viewed (0) -
pkg/apis/admission/zz_generated.deepcopy.go
*out = new(v1.Status) (*in).DeepCopyInto(*out) } if in.Patch != nil { in, out := &in.Patch, &out.Patch *out = make([]byte, len(*in)) copy(*out, *in) } if in.PatchType != nil { in, out := &in.PatchType, &out.PatchType *out = new(PatchType) **out = **in } if in.AuditAnnotations != nil { in, out := &in.AuditAnnotations, &out.AuditAnnotations *out = make(map[string]string, len(*in))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/api/admission/v1beta1/zz_generated.deepcopy.go
*out = new(v1.Status) (*in).DeepCopyInto(*out) } if in.Patch != nil { in, out := &in.Patch, &out.Patch *out = make([]byte, len(*in)) copy(*out, *in) } if in.PatchType != nil { in, out := &in.PatchType, &out.PatchType *out = new(PatchType) **out = **in } if in.AuditAnnotations != nil { in, out := &in.AuditAnnotations, &out.AuditAnnotations *out = make(map[string]string, len(*in))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 3.8K bytes - Viewed (0) -
pkg/apis/admission/v1/zz_generated.conversion.go
out.UID = types.UID(in.UID) out.Allowed = in.Allowed out.Result = (*metav1.Status)(unsafe.Pointer(in.Result)) out.Patch = *(*[]byte)(unsafe.Pointer(&in.Patch)) out.PatchType = (*admission.PatchType)(unsafe.Pointer(in.PatchType)) out.AuditAnnotations = *(*map[string]string)(unsafe.Pointer(&in.AuditAnnotations)) out.Warnings = *(*[]string)(unsafe.Pointer(&in.Warnings)) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 9.4K bytes - Viewed (0) -
pkg/apis/admission/v1beta1/zz_generated.conversion.go
out.UID = types.UID(in.UID) out.Allowed = in.Allowed out.Result = (*v1.Status)(unsafe.Pointer(in.Result)) out.Patch = *(*[]byte)(unsafe.Pointer(&in.Patch)) out.PatchType = (*admission.PatchType)(unsafe.Pointer(in.PatchType)) out.AuditAnnotations = *(*map[string]string)(unsafe.Pointer(&in.AuditAnnotations)) out.Warnings = *(*[]string)(unsafe.Pointer(&in.Warnings)) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 9.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go
if idx := strings.Index(contentType, ";"); idx > 0 { contentType = contentType[:idx] } patchType := types.PatchType(contentType) // Ensure the patchType is one we support if !sets.NewString(patchTypes...).Has(contentType) { scope.err(negotiation.NewUnsupportedMediaTypeError(patchTypes), w, req) return } namespace, name, err := scope.Namer.Name(req) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 28.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/generic.go
const usage = `Path to a directory that contains files named ` + `"target[suffix][+patchtype].extension". For example, ` + `"kube-apiserver0+merge.yaml" or just "etcd.json". ` + `"target" can be one of "kube-apiserver", "kube-controller-manager", "kube-scheduler", "etcd", "kubeletconfiguration", "corednsdeployment". ` + `"patchtype" can be one of "strategic", "merge" or "json" and they match the patch formats ` +
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 5.5K bytes - Viewed (0)