Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Parameters (0.25 sec)

  1. cmd/storage-datatypes.go

    	NoPersistence bool `msg:"np"`
    }
    
    // CheckPartsHandlerParams are parameters for CheckPartsHandler
    type CheckPartsHandlerParams struct {
    	DiskID   string   `msg:"id"`
    	Volume   string   `msg:"v"`
    	FilePath string   `msg:"fp"`
    	FI       FileInfo `msg:"fi"`
    }
    
    // DeleteFileHandlerParams are parameters for DeleteFileHandler
    type DeleteFileHandlerParams struct {
    	DiskID   string        `msg:"id"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    func (o *OutputLocation) IsEmpty() bool {
    	return o.S3.BucketName == ""
    }
    
    // SelectParameters specifies sql select parameters
    type SelectParameters struct {
    	s3select.S3Select
    }
    
    // IsEmpty returns true if no select parameters set
    func (sp *SelectParameters) IsEmpty() bool {
    	return sp == nil
    }
    
    var selectParamsXMLName = "SelectParameters"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  3. cmd/auth-handler_test.go

    		{"AWSAccessKeyId", "", true},
    		// Test case - 3.
    		{"X-Amz-Content-Sha256", "", false},
    	}
    
    	for i, testCase := range testCases {
    		// creating an input HTTP request.
    		// Only the query parameters are relevant for this particular test.
    		inputReq, err := http.NewRequest(http.MethodGet, "http://example.com", nil)
    		if err != nil {
    			t.Fatalf("Error initializing input HTTP request: %v", err)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. internal/config/api/api.go

    		}
    	}
    	cfg.CorsAllowOrigin = corsAllowOrigin
    
    	if err = config.CheckValidKeys(config.APISubSys, kvs, DefaultKVS, deprecatedKeys...); err != nil {
    		return cfg, err
    	}
    
    	// Check environment variables parameters
    	requestsMax, err := strconv.Atoi(env.Get(EnvAPIRequestsMax, kvs.GetWithDefault(apiRequestsMax, DefaultKVS)))
    	if err != nil {
    		return cfg, err
    	}
    
    	cfg.RequestsMax = requestsMax
    	if requestsMax < 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  5. internal/config/identity/openid/openid.go

    		getCfgVal := func(cfgParam string) string {
    			// As parameters are already validated, we skip checking
    			// if the config param was found.
    			val, _, _ := s.ResolveConfigParam(config.IdentityOpenIDSubSys, cfgName, cfgParam, false)
    			return val
    		}
    
    		// In the past, when only one openID provider was allowed, there
    		// was no `enable` parameter - the configuration is turned off
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    	errObjectTampered = errors.New("The requested object was modified and may be compromised")
    	// error returned when invalid encryption parameters are specified
    	errInvalidEncryptionParameters     = errors.New("The encryption parameters are not applicable to this object")
    	errInvalidEncryptionParametersSSEC = errors.New("SSE-C encryption parameters are not supported on this bucket")
    )
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    		if err != nil {
    			return nil, 0, 0, err
    		}
    
    		// We define a closure that performs decryption given
    		// a reader that returns the desired range of
    		// encrypted bytes. The header parameter is used to
    		// provide encryption parameters.
    		fn = func(inputReader io.Reader, h http.Header, cFns ...func()) (r *GetObjectReader, err error) {
    			copySource := h.Get(xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm) != ""
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  8. cmd/config-current.go

    		KeysHelp:        help,
    	}, nil
    }
    
    func newServerConfig() config.Config {
    	return config.New()
    }
    
    // newSrvConfig - initialize a new server config, saves env parameters if
    // found, otherwise use default parameters
    func newSrvConfig(objAPI ObjectLayer) error {
    	// Initialize server config.
    	srvCfg := newServerConfig()
    
    	// hold the mutex lock before a new config is assigned.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    		return BatchJobYamlErr{
    			line: ef.line,
    			col:  ef.col,
    			msg:  "CreatedBefore is in the future",
    		}
    	}
    	return nil
    }
    
    // BatchJobExpire represents configuration parameters for a batch expiration
    // job typically supplied in yaml form
    type BatchJobExpire struct {
    	line, col       int
    	APIVersion      string                 `yaml:"apiVersion" json:"apiVersion"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  10. istioctl/cmd/root.go

    const (
    	// Location to read istioctl defaults from
    	defaultIstioctlConfig = "$HOME/.istioctl/config.yaml"
    )
    
    const (
    	FlagCharts = "charts"
    )
    
    // ConfigAndEnvProcessing uses spf13/viper for overriding CLI parameters
    func ConfigAndEnvProcessing() error {
    	configPath := filepath.Dir(root.IstioConfig)
    	baseName := filepath.Base(root.IstioConfig)
    	configType := filepath.Ext(root.IstioConfig)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top