Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 167 for hosts (0.23 sec)

  1. cmd/signature-v2.go

    		return ErrMalformedExpires
    	}
    
    	// Check if the presigned URL has expired.
    	if expiresInt < UTCNow().Unix() {
    		return ErrExpiredPresignRequest
    	}
    
    	encodedResource, err = getResource(encodedResource, r.Host, globalDomainNames)
    	if err != nil {
    		return ErrInvalidRequest
    	}
    
    	expectedSignature := preSignatureV2(cred, r.Method, encodedResource, strings.Join(filteredQueries, "&"), r.Header, expires)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  2. internal/config/identity/openid/help.go

    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         RedirectURIDynamic,
    			Description: `Enable 'Host' header based dynamic redirect URI` + defaultHelpPostfix(RedirectURIDynamic),
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         ClaimPrefix,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. cni/pkg/install/kubeconfig_test.go

    		expectedFailure    bool
    		k8sServiceProtocol string
    		k8sServiceHost     string
    		k8sServicePort     string
    		kubeCAFilepath     string
    		skipTLSVerify      bool
    	}{
    		{
    			name:            "k8s service host not set",
    			expectedFailure: true,
    		},
    		{
    			name:            "k8s service port not set",
    			expectedFailure: true,
    			k8sServiceHost:  k8sServiceHost,
    		},
    		{
    			name:           "skip TLS verify",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  4. cmd/storage-rest-client.go

    // Returns a storage rest client.
    func newStorageRESTClient(endpoint Endpoint, healthCheck bool, gm *grid.Manager) (*storageRESTClient, error) {
    	serverURL := &url.URL{
    		Scheme: endpoint.Scheme,
    		Host:   endpoint.Host,
    		Path:   path.Join(storageRESTPrefix, endpoint.Path, storageRESTVersion),
    	}
    
    	restClient := rest.NewClient(serverURL, globalInternodeTransport, newCachedAuthToken())
    
    	if healthCheck {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  5. internal/handlers/proxy.go

    import (
    	"net"
    	"net/http"
    	"regexp"
    	"strings"
    )
    
    var (
    	// De-facto standard header keys.
    	xForwardedFor    = http.CanonicalHeaderKey("X-Forwarded-For")
    	xForwardedHost   = http.CanonicalHeaderKey("X-Forwarded-Host")
    	xForwardedPort   = http.CanonicalHeaderKey("X-Forwarded-Port")
    	xForwardedProto  = http.CanonicalHeaderKey("X-Forwarded-Proto")
    	xForwardedScheme = http.CanonicalHeaderKey("X-Forwarded-Scheme")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. docs/sts/web-identity.go

    		if err != nil {
    			log.Println(fmt.Errorf("Failed to parse STS Endpoint: %s", err))
    			http.Error(w, err.Error(), http.StatusBadRequest)
    			return
    		}
    
    		clnt, err := minio.New(u.Host, opts)
    		if err != nil {
    			log.Println(fmt.Errorf("Error while initializing Minio client, %s", err))
    			http.Error(w, err.Error(), http.StatusBadRequest)
    			return
    		}
    		buckets, err := clnt.ListBuckets(r.Context())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Viewed (3)
  7. internal/grid/msg.go

    	}
    }
    
    type receiver interface {
    	msgp.Unmarshaler
    	Op() Op
    }
    
    type sender interface {
    	msgp.MarshalSizer
    	Op() Op
    }
    
    type connectReq struct {
    	ID   [16]byte
    	Host string
    }
    
    func (connectReq) Op() Op {
    	return OpConnect
    }
    
    type connectResp struct {
    	ID             [16]byte
    	Accepted       bool
    	RejectedReason string
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  8. docs/debugging/s3-verify/main.go

    	if err != nil {
    		return nil, err
    	}
    	if insecure {
    		// skip TLS verification
    		transport.TLSClientConfig.InsecureSkipVerify = true
    	}
    
    	clnt, err := minio.New(u.Host, &minio.Options{
    		Creds:     credentials.NewStaticV4(accessKey, secretKey, ""),
    		Secure:    secure,
    		Transport: transport,
    	})
    	if err != nil {
    		return nil, err
    	}
    
    	return clnt, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  9. cni/pkg/install/cniconfig.go

    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBECONFIG_FILEPATH__", filepath.Join(vars.cniNetDir, vars.kubeconfigFilename))
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBERNETES_SERVICE_HOST__", vars.k8sServiceHost)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBERNETES_SERVICE_PORT__", vars.k8sServicePort)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBERNETES_NODE_NAME__", vars.k8sNodeName)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. internal/logger/target/kafka/kafka.go

    const (
    	statusClosed = iota
    	statusOffline
    	statusOnline
    )
    
    // Config - kafka target arguments.
    type Config struct {
    	Enabled bool        `json:"enable"`
    	Brokers []xnet.Host `json:"brokers"`
    	Topic   string      `json:"topic"`
    	Version string      `json:"version"`
    	TLS     struct {
    		Enable        bool               `json:"enable"`
    		RootCAs       *x509.CertPool     `json:"-"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
Back to top