Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BasicAuth (0.15 sec)

  1. 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)
  2. 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)
Back to top