Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Wagenet (0.21 sec)

  1. internal/s3select/select_test.go

    			wantResult: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}`,
    			withJSON: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}
    {"request":{"uri":"/2","header":{}}}`,
    		},
    		{
    			name:       "is-not-missing",
    			query:      `select * from s3object[*] as s where s.request.header['User-Agent'] is not missing`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  2. internal/config/policy/opa/config.go

    		return err
    	}
    
    	oa := Args(so)
    	if oa.URL == nil || oa.URL.String() == "" {
    		*a = oa
    		return nil
    	}
    
    	*a = oa
    	return nil
    }
    
    // Opa - implements opa policy agent calls.
    type Opa struct {
    	args   Args
    	client *http.Client
    }
    
    // Enabled returns if opa is enabled.
    func Enabled(kvs config.KVS) bool {
    	return kvs.Get(URL) != ""
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.2K bytes
    - Viewed (1)
  3. cmd/post-policy_test.go

    	contentTypeHdr := req.Header.Get("Content-Type")
    	contentTypeHdr = strings.Replace(contentTypeHdr, "multipart/form-data", "multipart/form-datA", 1)
    	req.Header.Set("Content-Type", contentTypeHdr)
    	req.Header.Set("User-Agent", "Mozilla")
    
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  4. cmd/update.go

    	return err != nil
    }
    
    // IsPCFTile returns if server is running in PCF
    func IsPCFTile() bool {
    	return env.Get("MINIO_PCF_TILE_VERSION", "") != ""
    }
    
    // DO NOT CHANGE USER AGENT STYLE.
    // The style should be
    //
    //	MinIO (<OS>; <ARCH>[; <MODE>][; dcos][; kubernetes][; docker][; source]) MinIO/<VERSION> MinIO/<RELEASE-TAG> MinIO/<COMMIT-ID> [MinIO/universe-<PACKAGE-NAME>] [MinIO/helm-<HELM-VERSION>]
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. cmd/build-constants.go

    	// MinioReleaseURL - release URL.
    	MinioReleaseURL = MinioReleaseBaseURL + minioOSARCH + SlashSeparator
    
    	// MinioStoreName - MinIO store name.
    	MinioStoreName = "MinIO"
    
    	// MinioUAName - MinIO user agent name.
    	MinioUAName = "MinIO"
    
    	// MinioBannerName - MinIO banner name for startup message.
    	MinioBannerName = "MinIO Object Storage Server"
    
    	// MinioLicense - MinIO server license.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. internal/config/policy/plugin/config.go

    		return err
    	}
    
    	oa := Args(so)
    	if oa.URL == nil || oa.URL.String() == "" {
    		*a = oa
    		return nil
    	}
    
    	*a = oa
    	return nil
    }
    
    // AuthZPlugin - implements opa policy agent calls.
    type AuthZPlugin struct {
    	args   Args
    	client *http.Client
    }
    
    // Enabled returns if AuthZPlugin is enabled.
    func Enabled(kvs config.KVS) bool {
    	return kvs.Get(URL) != ""
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    	loginPathPrefix = SlashSeparator + "login"
    )
    
    func guessIsBrowserReq(r *http.Request) bool {
    	aType := getRequestAuthType(r)
    	return strings.Contains(r.Header.Get("User-Agent"), "Mozilla") &&
    		globalBrowserEnabled && aType == authTypeAnonymous
    }
    
    func setBrowserRedirectMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. cmd/update_test.go

    	t.Setenv("MESOS_CONTAINER_NAME", "mesos-1111")
    	durl = getDownloadURL(minioVersion1)
    	if durl != mesosDeploymentDoc {
    		t.Errorf("Expected %s, got %s", mesosDeploymentDoc, durl)
    	}
    }
    
    // Tests user agent string.
    func TestUserAgent(t *testing.T) {
    	testCases := []struct {
    		envName     string
    		envValue    string
    		mode        string
    		expectedStr string
    	}{
    		{
    			envName:     "",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  9. cmd/server-main.go

    		})
    		logger.FatalIf(err, "Unable to initialize MinIO client")
    	})
    
    	go bootstrapTrace("startResourceMetricsCollection", func() {
    		startResourceMetricsCollection()
    	})
    
    	// Add User-Agent to differentiate the requests.
    	globalMinioClient.SetAppInfo("minio-perf-test", ReleaseTag)
    
    	if serverDebugLog {
    		fmt.Println("== DEBUG Mode enabled ==")
    		fmt.Println("Currently set environment settings:")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  10. internal/logger/reqinfo.go

    // Reading/writing directly to struct requires appropriate R/W lock.
    type ReqInfo struct {
    	RemoteHost   string           // Client Host/IP
    	Host         string           // Node Host/IP
    	UserAgent    string           // User Agent
    	DeploymentID string           // x-minio-deployment-id
    	RequestID    string           // x-amz-request-id
    	API          string           // API name - GetObject PutObject NewMultipartUpload etc.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top