Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 300 for jsonpatch (0.27 sec)

  1. common-protos/k8s.io/api/admission/v1beta1/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)
  2. staging/src/k8s.io/api/admission/v1/types_swagger_doc_generated.go

    	"patch":            "The patch body. Currently we only support \"JSONPatch\" which implements RFC 6902.",
    	"patchType":        "The type of Patch. Currently we only allow \"JSONPatch\".",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. tools/golangci-override.yaml

              - pkg: google.golang.org/protobuf/encoding/protojson
                desc: "don't use the protojson package directly; use util/protomarshal instead"
              - pkg: gomodules.xyz/jsonpatch/v3
                desc: "don't use v3; v2 is orders of magnitude higher performance"
              - pkg: k8s.io/apimachinery/pkg/util/sets
                desc: "use istio.io/istio/pkg/util/sets"
              - pkg: k8s.io/utils/env
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go

    			if err != nil {
    				return nil, nil, errors.NewBadRequest(fmt.Sprintf("error decoding patch: %v", err))
    			}
    		}
    
    		patchedJS, retErr = jsonpatch.MergePatch(versionedJS, p.patchBytes)
    		if retErr == jsonpatch.ErrBadJSONPatch {
    			return nil, nil, errors.NewBadRequest(retErr.Error())
    		}
    		return patchedJS, strictErrors, retErr
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/bugreport/flags.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package bugreport
    
    import (
    	"encoding/json"
    	"fmt"
    	"os"
    	"time"
    
    	jsonpatch "github.com/evanphx/json-patch/v5"
    	"github.com/spf13/cobra"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/kube/inject"
    	"istio.io/istio/pkg/slices"
    	config2 "istio.io/istio/tools/bug-report/pkg/config"
    )
    
    var (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 12:07:50 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. operator/pkg/util/yaml.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package util
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"io"
    	"reflect"
    	"strings"
    
    	jsonpatch "github.com/evanphx/json-patch/v5" // nolint: staticcheck
    	"github.com/kylelemons/godebug/diff"
    	"google.golang.org/protobuf/proto"
    	yaml3 "k8s.io/apimachinery/pkg/util/yaml"
    	"sigs.k8s.io/yaml"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. staging/src/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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admission/v1beta1/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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admission/v1beta1/types_swagger_doc_generated.go

    	"patch":            "The patch body. Currently we only support \"JSONPatch\" which implements RFC 6902.",
    	"patchType":        "The type of Patch. Currently we only allow \"JSONPatch\".",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. pkg/test/framework/components/namespace/kube.go

    }
    
    // setNamespaceLabel labels a namespace with the given key, value pair
    func (n *kubeNamespace) setNamespaceLabel(key, value string) error {
    	// need to convert '/' to '~1' as per the JSON patch spec http://jsonpatch.com/#operations
    	jsonPatchEscapedKey := strings.ReplaceAll(key, "/", "~1")
    	nsLabelPatch := fmt.Sprintf(`[{"op":"replace","path":"/metadata/labels/%s","value":"%s"}]`, jsonPatchEscapedKey, value)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top