- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 92 for PatchOptions (0.16 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go
tests := []struct { 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) -
cni/pkg/nodeagent/informers_test.go
constants.DataplaneModeLabel, constants.DataplaneModeAmbient)) _, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name, types.MergePatchType, labelsPatch, metav1.PatchOptions{}) assert.NoError(t, err) waitForMockCalls() assertPodAnnotated(t, client, pod) // Assert expected calls actually made fs.AssertExpectations(t) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 22.2K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/types.gen.go
if err != nil { return nil, err } return c.Istio().SecurityV1beta1().AuthorizationPolicies(orig.Namespace). Patch(context.TODO(), orig.Name, typ, patchBytes, metav1.PatchOptions{FieldManager: "pilot-discovery"}) case gvk.DestinationRule: oldRes := &apiistioioapinetworkingv1alpha3.DestinationRule{ ObjectMeta: origMeta,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 62.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/scope_test.go
assert.True(t, apierrors.IsNotFound(err)) _, err = otherScopeClient.Patch(context.TODO(), name, types.MergePatchType, []byte(`{"metadata":{"annotations":{"test":"1"}}}`), metav1.PatchOptions{}, "status") assert.True(t, apierrors.IsNotFound(err))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 02 19:34:41 UTC 2021 - 6.3K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
constants.DataplaneModeLabel, constants.DataplaneModeAmbient)) _, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name, types.MergePatchType, labelsPatch, metav1.PatchOptions{}) assert.NoError(t, err) client.RunAndWait(ctx.Done()) payload, _ := json.Marshal(valid) // serialize our fake plugin event addEvent, err := processAddEvent(payload)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go
err := errors.NewInvalid(schema.GroupKind{Group: metav1.GroupName, Kind: "PatchOptions"}, "", errs) scope.err(err, w, req) return } options.TypeMeta.SetGroupVersionKind(metav1.SchemeGroupVersion.WithKind("PatchOptions")) admit = admission.WithAudit(admit) audit.LogRequestPatch(req.Context(), patchBytes) span.AddEvent("Recorded the audit event")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 28.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/subresources_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 12 17:35:34 UTC 2024 - 33.2K bytes - Viewed (0) -
cni/pkg/util/podutil.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 17:18:11 UTC 2024 - 4.4K bytes - Viewed (0) -
pkg/test/framework/components/namespace/kube.go
return n.forEachCluster(func(_ int, c cluster.Cluster) error { _, err := c.Kube().CoreV1().Namespaces().Patch(context.TODO(), n.name, types.JSONPatchType, []byte(nsLabelPatch), metav1.PatchOptions{}) return err }) } // removeNamespaceLabel removes namespace label with the given key func (n *kubeNamespace) removeNamespaceLabel(key string) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/versioning_test.go
patch := []byte(fmt.Sprintf(`{"i": %d}`, i)) i++ _, err := noxuNamespacedResourceClientV1beta1.Patch(context.TODO(), "foo", types.MergePatchType, patch, metav1.PatchOptions{}) if err != nil { // work around "grpc: the client connection is closing" error // TODO: fix the grpc error if err, ok := err.(*errors.StatusError); ok && err.Status().Code == http.StatusInternalServerError {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 05 13:10:47 UTC 2021 - 8.2K bytes - Viewed (0)