Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for application (0.2 sec)

  1. cmd/object-api-utils_test.go

    		{
    			name:     "1",
    			metadata: map[string]string{"content-type": "application/octet-stream", "etag": "de75a98baf2c6aef435b57dd0fc33c86", "x-amz-storage-class": "STANDARD"},
    			want:     map[string]string{"content-type": "application/octet-stream", "etag": "de75a98baf2c6aef435b57dd0fc33c86"},
    		},
    		{
    			name:     "2",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  2. internal/config/compress/compress_test.go

    		{"", []string{}, false},
    		{",", []string{}, false},
    		{"/", []string{}, false},
    		{"text/*,/", []string{}, false},
    
    		// valid input
    		{".txt,.log", []string{".txt", ".log"}, true},
    		{"text/*,application/json", []string{"text/*", "application/json"}, true},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run(testCase.str, func(t *testing.T) {
    			gotPatterns, err := parseCompressIncludes(testCase.str)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  3. internal/config/policy/plugin/config.go

    func (a *Args) Validate() error {
    	req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte("")))
    	if err != nil {
    		return err
    	}
    
    	req.Header.Set("Content-Type", "application/json")
    	if a.AuthToken != "" {
    		req.Header.Set("Authorization", a.AuthToken)
    	}
    
    	client := &http.Client{Transport: a.Transport}
    	resp, err := client.Do(req)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. docs/sts/client-grants.go

    	data.Set("grant_type", "client_credentials")
    	req, err := http.NewRequest(http.MethodPost, idpEndpoint, strings.NewReader(data.Encode()))
    	if err != nil {
    		return nil, err
    	}
    	req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
    	req.SetBasicAuth(clientID, clientSecret)
    	t := &http.Transport{
    		TLSClientConfig: &tls.Config{
    			InsecureSkipVerify: true,
    		},
    	}
    	hclient := http.Client{
    		Transport: t,
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  5. cmd/utils.go

    				dst[typ+"-"+name+"."+prof.Extension()] = buf
    			}
    		}
    	}
    	return dst, nil
    }
    
    func setDefaultProfilerRates() {
    	runtime.MemProfileRate = 128 << 10 // 512KB -> 128K - Must be constant throughout application lifetime.
    	runtime.SetMutexProfileFraction(0) // Disable until needed
    	runtime.SetBlockProfileRate(0)     // Disable until needed
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  6. cmd/bucket-listobjects-handlers.go

    // of the objects in a bucket. You can use the request parameters as selection
    // criteria to return a subset of the objects in a bucket.
    //
    // NOTE: It is recommended that this API to be used for application development.
    // MinIO continues to support ListObjectsV1 and V2 for supporting legacy tools.
    func (api objectAPIHandlers) ListObjectsV2MHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListObjectsV2M")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  7. istioctl/pkg/xds/google.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to get system cert pool: %w", err)
    	}
    	gcpCreds, err := oauth.NewApplicationDefault(ctx)
    	if err != nil {
    		return nil, fmt.Errorf("failed to get application default credentials: %w", err)
    	}
    
    	return []grpc.DialOption{
    		grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{
    			RootCAs:    systemRoots,
    			MinVersion: tls.VersionTLS12,
    		})),
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Nov 14 20:23:34 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/kubeinject.go

    			Namespace:          deploymentNS,
    		},
    		Response: nil,
    	}
    	revBytes, err := json.Marshal(rev)
    	if err != nil {
    		return nil, err
    	}
    	resp, err := client.Post(address, "application/json", bytes.NewBuffer(revBytes))
    	if err != nil {
    		return nil, err
    	}
    	defer resp.Body.Close()
    	body, err := io.ReadAll(resp.Body)
    	if err != nil {
    		return nil, err
    	}
    	var obj runtime.Object
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  9. cmd/sts-handlers.go

    	// Assume roles with no JWT, handles AssumeRole.
    	stsRouter.Methods(http.MethodPost).MatcherFunc(func(r *http.Request, rm *mux.RouteMatch) bool {
    		ctypeOk := wildcard.MatchSimple("application/x-www-form-urlencoded*", r.Header.Get(xhttp.ContentType))
    		authOk := wildcard.MatchSimple(signV4Algorithm+"*", r.Header.Get(xhttp.Authorization))
    		noQueries := len(r.URL.RawQuery) == 0
    		return ctypeOk && authOk && noQueries
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  10. cmd/object-api-interface.go

    	ProxyRequest                        bool      // only set for GET/HEAD in active-active replication scenario
    	ProxyHeaderSet                      bool      // only set for GET/HEAD in active-active replication scenario
    	ReplicationRequest                  bool      // true only if replication request
    	ReplicationSourceTaggingTimestamp   time.Time // set if MinIOSourceTaggingTimestamp received
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
Back to top