Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for BasicAuth (0.24 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    				expectedUsername := testCase.proxyAuth.Username()
    				expectedPassword, _ := testCase.proxyAuth.Password()
    				username, password, ok := (&http.Request{Header: http.Header{"Authorization": []string{proxyCalledWithAuthHeader}}}).BasicAuth()
    				if !ok {
    					t.Fatalf("invalid proxy auth header %s", proxyCalledWithAuthHeader)
    				}
    				if username != expectedUsername || password != expectedPassword {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
  2. cluster/gce/upgrade.sh

      # to generate a valid ABAC policy. If the username changes, should
      # the script fail? Should we generate a default username and password
      # if the section is missing in kubeconfig? Handle this better in 1.5.
      get-kubeconfig-basicauth
      get-kubeconfig-bearertoken
    
      detect-master
      parse-master-env
      upgrade-master-env
    
      # Delete the master instance. Note that the master-pd is created
      # with auto-delete=no, so it should not be deleted.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. cluster/gce/util.sh

    # Instantiate a kubernetes cluster
    #
    # Assumed vars
    #   KUBE_ROOT
    #   <Various vars set in config file>
    function kube-up() {
      kube::util::ensure-temp-dir
      detect-project
    
      load-or-gen-kube-basicauth
      load-or-gen-kube-bearertoken
    
      # Make sure we have the tar files staged on Google Storage
      find-release-tars
      upload-tars
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    		// Copy the Proxy-Authorization header to a new Request,
    		// since Request.BasicAuth only parses the Authorization header.
    		var r2 Request
    		r2.Header = Header{
    			"Authorization": req.Header["Proxy-Authorization"],
    		}
    		gotuser, gotpass, ok := r2.BasicAuth()
    		if !ok || gotuser != username || gotpass != password {
    			t.Errorf("req.BasicAuth() = %q, %q, %v; want %q, %q, true", gotuser, gotpass, ok, username, password)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  5. src/net/http/transport.go

    func (cm *connectMethod) proxyAuth() string {
    	if cm.proxyURL == nil {
    		return ""
    	}
    	if u := cm.proxyURL.User; u != nil {
    		username := u.Username()
    		password, _ := u.Password()
    		return "Basic " + basicAuth(username, password)
    	}
    	return ""
    }
    
    // error values for debugging and testing, not seen by users.
    var (
    	errKeepAlivesDisabled = errors.New("http: putIdleConn: keep alives disabled")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Cookie).Valid", Method, 18},
    		{"(*MaxBytesError).Error", Method, 19},
    		{"(*ProtocolError).Error", Method, 0},
    		{"(*ProtocolError).Is", Method, 21},
    		{"(*Request).AddCookie", Method, 0},
    		{"(*Request).BasicAuth", Method, 4},
    		{"(*Request).Clone", Method, 13},
    		{"(*Request).Context", Method, 7},
    		{"(*Request).Cookie", Method, 0},
    		{"(*Request).Cookies", Method, 0},
    		{"(*Request).FormFile", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top