Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for content_es (0.11 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go

    	}
    	s.Insert("c")
    	if s.Has("d") {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	if !s.Has("a") {
    		t.Errorf("Missing contents: %#v", s)
    	}
    	s.Delete("a")
    	if s.Has("a") {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	s.Insert("a")
    	if s.HasAll("a", "b", "d") {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	if !s.HasAll("a", "b") {
    		t.Errorf("Missing contents: %#v", s)
    	}
    	s2.Insert("a", "b", "d")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/copycerts/copycerts_test.go

    			t.Fatalf("error reading certificate from disk: %v", err)
    		}
    		// Check that the encrypted contents on the secret match the contents on disk, and that all
    		// the expected certificates are in the secret
    		if string(secretCertData) != string(diskCertData) {
    			t.Fatalf("cert %s does not have the expected contents. contents: %q; expected contents: %q", certName, string(secretCertData), string(diskCertData))
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:15:30 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. cmd/prune-junit-xml/prunexml.go

    				}
    			}
    			if testcase.Failure != nil {
    				if len(testcase.Failure.Contents) > maxBytes {
    					fmt.Printf("clipping failure message in test case : %s\n", testcase.Name)
    					head := testcase.Failure.Contents[:maxBytes/2]
    					tail := testcase.Failure.Contents[len(testcase.Failure.Contents)-maxBytes/2:]
    					testcase.Failure.Contents = head + "[...clipped...]" + tail
    				}
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 12:26:00 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. pkg/proxy/util/linebuffer.go

    	// WriteBytes writes bytes to the buffer, and terminates with newline.
    	WriteBytes(bytes []byte)
    
    	// Reset clears the buffer
    	Reset()
    
    	// Bytes returns the contents of the buffer as a []byte
    	Bytes() []byte
    
    	// String returns the contents of the buffer as a string
    	String() string
    
    	// Lines returns the number of lines in the buffer. Note that more precisely, this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/escaping.go

    		contents := s[2 : len(s)-2]
    		switch contents {
    		case "underscores":
    			return "__"
    		case "dot":
    			return "."
    		case "dash":
    			return "-"
    		case "slash":
    			return "/"
    		}
    		if celReservedSymbols.Has(contents) {
    			if len(s) != len(escaped) {
    				ok = false
    			}
    			return contents
    		}
    		ok = false
    		return ""
    	})
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/upgrade/diff_test.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/util/output"
    )
    
    func createTestRunDiffFile(contents []byte) (string, error) {
    	file, err := os.CreateTemp("", "kubeadm-upgrade-diff-config-*.yaml")
    	if err != nil {
    		return "", errors.Wrap(err, "failed to create temporary test file")
    	}
    	if _, err := file.Write(contents); err != nil {
    		return "", errors.Wrap(err, "failed to write to temporary test file")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 04:08:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go

    	// expression represents the expression which will be evaluated by CEL. Must evaluate to bool.
    	// CEL expressions have access to the contents of the SubjectAccessReview in v1 version.
    	// If version specified by subjectAccessReviewVersion in the request variable is v1beta1,
    	// the contents would be converted to the v1 version before evaluating the CEL expression.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go

    					"key": "b",
    					"val": 2,
    				},
    				map[string]interface{}{
    					"key": "a",
    					"val": 1,
    				},
    			}, &mapListSchema),
    			equal: true,
    		},
    		{
    			name: "map lists are not equal if contents differs",
    			lhs: UnstructuredToVal([]interface{}{
    				map[string]interface{}{
    					"key": "a",
    					"val": 1,
    				},
    				map[string]interface{}{
    					"key": "b",
    					"val": 2,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/registry/generic/rest/streamer.go

    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apiserver/pkg/registry/rest"
    )
    
    type CounterMetric interface {
    	Inc()
    }
    
    // LocationStreamer is a resource that streams the contents of a particular
    // location URL.
    type LocationStreamer struct {
    	Location        *url.URL
    	Transport       http.RoundTripper
    	ContentType     string
    	Flush           bool
    	ResponseChecker HttpResponseChecker
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 16:43:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. hack/verify-vendor.sh

      else
        echo "Removing ${_tmpdir}"
        rm -rf "${_tmpdir}"
      fi
    }
    kube::util::trap_add cleanup EXIT
    
    # Copy the contents of the kube directory into the nice clean place (which is NOT shaped like a GOPATH)
    _kubetmp="${_tmpdir}/kubernetes"
    mkdir -p "${_kubetmp}"
    tar --exclude=.git --exclude="./_*" -c . | (cd "${_kubetmp}" && tar xf -)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top