- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 117 for patchtype (0.18 sec)
-
pilot/pkg/networking/core/envoyfilter/monitoring.go
Applied Result = "applied" ) type PatchType string const ( Cluster PatchType = "cluster" Listener PatchType = "listener" ListenerFilter PatchType = "listenerfilter" FilterChain PatchType = "filterchain" NetworkFilter PatchType = "networkfilter" // nolint HttpFilter PatchType = "httpfilter" Route PatchType = "route" VirtualHost PatchType = "vhost" ) var (
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/patches/patches.go
} patchType := patchTypes[sub[4]] return targetName, patchType, nil, nil } // createPatchSet creates a patchSet object, by splitting the given "data" by "\n---". func createPatchSet(targetName string, patchType types.PatchType, data string) (*patchSet, error) { var patches []string // Split the patches and convert them to JSON.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 10.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher_test.go
}, { name: "empty configuration", config: "", webhook: "test-webhook", patch: []byte(`[{"op": "add", "path": "/metadata/labels/a", "value": "true"}]`), expected: `{"configuration":"","webhook":"test-webhook","patch":[{"op":"add","path":"/metadata/labels/a","value":"true"}],"patchType":"JSONPatch"}`, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/api/admission/v1/types.go
// +optional Patch []byte `json:"patch,omitempty" protobuf:"bytes,4,opt,name=patch"` // The type of Patch. Currently we only allow "JSONPatch". // +optional PatchType *PatchType `json:"patchType,omitempty" protobuf:"bytes,5,opt,name=patchType"` // AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 9.2K 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/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) -
pilot/pkg/config/kube/crdclient/client.go
} func genPatchBytes(oldRes, modRes runtime.Object, patchType types.PatchType) ([]byte, error) { oldJSON, err := json.Marshal(oldRes) if err != nil { return nil, fmt.Errorf("failed marhsalling original resource: %v", err) } newJSON, err := json.Marshal(modRes) if err != nil { return nil, fmt.Errorf("failed marhsalling modified resource: %v", err) } switch patchType { case types.JSONPatchType:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 00:12:28 UTC 2024 - 13.7K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/admission.k8s.io.v1beta1.AdmissionReview.json
"message": "messageValue", "field": "fieldValue" } ], "retryAfterSeconds": 5 }, "code": 6 }, "patch": "BA==", "patchType": "patchTypeValue", "auditAnnotations": { "auditAnnotationsKey": "auditAnnotationsValue" }, "warnings": [ "warningsValue" ] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 2.4K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/admission.k8s.io.v1.AdmissionReview.yaml
- extraValue groups: - groupsValue uid: uidValue username: usernameValue response: allowed: true auditAnnotations: auditAnnotationsKey: auditAnnotationsValue patch: BA== patchType: patchTypeValue status: code: 6 details: causes: - field: fieldValue message: messageValue reason: reasonValue group: groupValue kind: kindValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.7K bytes - Viewed (0)