- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 300 for jsonpatch (0.81 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher_test.go
}, } for _, tc := range tcs { t.Run(tc.name, func(t *testing.T) { jsonPatch, err := jsonpatch.DecodePatch(tc.patch) assert.NoError(t, err, "unexpected error decode patch") actual, err := jsonPatchAnnotationValue(tc.config, tc.webhook, jsonPatch) assert.NoError(t, err, "unexpected error getting json patch annotation")
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/cli-runtime/pkg/resource/kustomizevisitor_test.go
secretGenerator: - name: secret literals: - DB_USERNAME=admin - DB_PASSWORD=somepw type: Opaque patchesJson6902: - target: group: apps version: v1 kind: Deployment name: dply1 path: jsonpatch.json ` deploymentContent = ` apiVersion: apps/v1 metadata: name: dply1 kind: Deployment ` namespaceContent = ` apiVersion: v1 kind: Namespace metadata: name: ns1 `
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch.go
current = []byte(`{}`) } addAndChangePatch, err := jsonpatch.CreateMergePatch(current, modified) if err != nil { return nil, err } // Only keep addition and changes addAndChangePatch, addAndChangePatchObj, err := keepOrDeleteNullInJsonPatch(addAndChangePatch, false) if err != nil { return nil, err } deletePatch, err := jsonpatch.CreateMergePatch(original, modified) if err != nil { return nil, err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 4.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/patches/patches.go
// JSON patch. case types.JSONPatchType: var patchObj jsonpatch.Patch patchObj, err = jsonpatch.DecodePatch(patchBytes) if err == nil { patchedData, err = patchObj.Apply(patchedData) } // Merge patch. case types.MergePatchType: patchedData, err = jsonpatch.MergePatch(patchedData, patchBytes) // Strategic merge patch.
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/cli-runtime/pkg/genericclioptions/record_flags.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/apis/admission/types.go
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/v1/types.go
Result *metav1.Status `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` // The patch body. Currently we only support "JSONPatch" which implements RFC 6902. // +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"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 9.2K bytes - Viewed (0) -
pilot/pkg/controllers/untaint/nodeuntainter.go
// See the License for the specific language governing permissions and // limitations under the License. package untaint import ( "encoding/json" "fmt" "gomodules.xyz/jsonpatch/v2" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" "istio.io/istio/pkg/config/labels" kubelib "istio.io/istio/pkg/kube" "istio.io/istio/pkg/kube/controllers" "istio.io/istio/pkg/kube/kclient"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 00:50:31 UTC 2024 - 6.9K bytes - Viewed (0) -
staging/src/k8s.io/api/admission/v1beta1/types.go
Result *metav1.Status `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` // The patch body. Currently we only support "JSONPatch" which implements RFC 6902. // +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"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 01 16:14:06 UTC 2020 - 9.6K bytes - Viewed (0) -
common-protos/k8s.io/api/admission/v1/generated.proto
// +optional optional k8s.io.apimachinery.pkg.apis.meta.v1.Status status = 3; // The patch body. Currently we only support "JSONPatch" which implements RFC 6902. // +optional optional bytes patch = 4; // The type of Patch. Currently we only allow "JSONPatch". // +optional optional string patchType = 5;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 8.1K bytes - Viewed (0)