- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 277 for patchtype (0.16 sec)
-
cmd/kubeadm/app/util/patches/patches_test.go
} if patchType != tc.expectedPatchType { t.Errorf("expected patch type: %v, got: %v", tc.expectedPatchType, patchType) } }) } } func TestCreatePatchSet(t *testing.T) { tests := []struct { name string targetName string patchType types.PatchType expectedPatchSet *patchSet data string }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 14:24:11 UTC 2023 - 11.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/types/patch.go
// dedicated to. type PatchType string const ( JSONPatchType PatchType = "application/json-patch+json" MergePatchType PatchType = "application/merge-patch+json" StrategicMergePatchType PatchType = "application/strategic-merge-patch+json" ApplyPatchType PatchType = "application/apply-patch+yaml"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 04 21:51:48 UTC 2019 - 1K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview.go
} patch = r.Response.Patch if r.Response.PatchType != nil { patchType = *r.Response.PatchType if len(patchType) == 0 { return nil, fmt.Errorf("webhook returned invalid response.patchType of %q", patchType) } } } else { // Ensure a validating webhook doesn't return patch or patchType if len(r.Response.Patch) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 16:56:12 UTC 2023 - 9.5K 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) -
pkg/kube/adapter.go
DryRun: arRequest.DryRun, Options: arRequest.Options, } } if arResponse != nil { var patchType *kubeApiAdmissionv1beta1.PatchType if arResponse.PatchType != nil { patchType = (*kubeApiAdmissionv1beta1.PatchType)(arResponse.PatchType) } arv1beta1.Response = &kubeApiAdmissionv1beta1.AdmissionResponse{ UID: arResponse.UID,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 10 16:40:00 UTC 2023 - 13.2K bytes - Viewed (0) -
pkg/apis/admission/types.go
// Warnings over 256 characters and large numbers of warnings may be truncated. // +optional Warnings []string } // PatchType is the type of patch being used to represent the mutated object type PatchType string // PatchType constants. const ( PatchTypeJSONPatch PatchType = "JSONPatch" ) // Operation is the type of resource operation being checked for admission control type Operation string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 01 16:14:06 UTC 2020 - 7.8K bytes - Viewed (0) -
staging/src/k8s.io/api/admission/v1beta1/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: Wed Jul 01 16:14:06 UTC 2020 - 9.6K bytes - Viewed (0)