Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for JSONPatch (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/config.go

    	}
    	for {
    		if c.JSONPatchMaxCopyBytes <= 0 {
    			break
    		}
    		existing := atomic.LoadInt64(&jsonpatch.AccumulatedCopySizeLimit)
    		if existing > 0 && existing < c.JSONPatchMaxCopyBytes {
    			break
    		}
    		if atomic.CompareAndSwapInt64(&jsonpatch.AccumulatedCopySizeLimit, existing, c.JSONPatchMaxCopyBytes) {
    			break
    		}
    	}
    
    	// first add poststarthooks from delegated targets
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  2. pkg/kube/inject/webhook.go

    	"crypto/sha256"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/http"
    	"os"
    	"strconv"
    	"strings"
    	"sync"
    	"text/template"
    	"time"
    
    	"github.com/prometheus/prometheus/util/strutil"
    	"gomodules.xyz/jsonpatch/v2"
    	admissionv1 "k8s.io/api/admission/v1"
    	kubeApiAdmissionv1beta1 "k8s.io/api/admission/v1beta1"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. go.mod

    	golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8
    	golang.org/x/net v0.26.0
    	golang.org/x/oauth2 v0.21.0
    	golang.org/x/sync v0.7.0
    	golang.org/x/sys v0.21.0
    	golang.org/x/time v0.5.0
    	gomodules.xyz/jsonpatch/v2 v2.4.0
    	google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117
    	google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117
    	google.golang.org/grpc v1.64.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. pkg/kube/inject/inject.go

    package inject
    
    import (
    	"bufio"
    	"bytes"
    	"encoding/json"
    	"fmt"
    	"io"
    	"reflect"
    	"sort"
    	"strconv"
    	"strings"
    	"text/template"
    
    	"github.com/Masterminds/sprig/v3"
    	jsonpatch "github.com/evanphx/json-patch/v5"
    	appsv1 "k8s.io/api/apps/v1"
    	batch "k8s.io/api/batch/v1"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (1)
  5. pkg/kube/inject/webhook_test.go

    package inject
    
    import (
    	"bytes"
    	"encoding/json"
    	"fmt"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"os"
    	"path/filepath"
    	"reflect"
    	"strings"
    	"testing"
    
    	jsonpatch "github.com/evanphx/json-patch/v5"
    	openshiftv1 "github.com/openshift/api/apps/v1"
    	"google.golang.org/protobuf/types/known/wrapperspb"
    	"k8s.io/api/admission/v1beta1"
    	appsv1 "k8s.io/api/apps/v1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 39K bytes
    - Viewed (1)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    }
    
    func patchAnnotationValue(configuration, webhook string, patch string) string {
    	return strings.Replace(fmt.Sprintf(`{"configuration": "%s", "webhook": "%s", "patch": %s, "patchType": "JSONPatch"}`, configuration, webhook, patch), " ", "", -1)
    }
    
    // NewMutatingTestCases returns test cases with a given base url.
    // All test cases in NewMutatingTestCases have Patch set in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
Back to top