Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for argument (0.16 sec)

  1. cmd/bucket-lifecycle.go

    	}
    }
    
    func initBackgroundExpiry(ctx context.Context, objectAPI ObjectLayer) {
    	globalExpiryState = newExpiryState(ctx, objectAPI, globalILMConfig.getExpirationWorkers())
    }
    
    // newerNoncurrentTask encapsulates arguments required by worker to expire objects
    // by NewerNoncurrentVersions
    type newerNoncurrentTask struct {
    	bucket   string
    	versions []ObjectToDelete
    	event    lifecycle.Event
    }
    
    type transitionTask struct {
    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)
  2. cmd/metrics-v3-types.go

    // function that provides a way to load the metrics from the system. The metrics
    // are cached and refreshed after a given timeout.
    //
    // For metrics with a `bucket` dimension, a list of buckets argument is required
    // to collect the metrics.
    //
    // It implements the prometheus.Collector interface for metric groups without a
    // bucket dimension. For metric groups with a bucket dimension, use the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. internal/auth/credentials.go

    }
    
    // ExtractClaims extracts JWT claims from a security token using a secret key
    func ExtractClaims(token, secretKey string) (*jwt.MapClaims, error) {
    	if token == "" || secretKey == "" {
    		return nil, errors.New("invalid argument")
    	}
    
    	claims := jwt.NewMapClaims()
    	stsTokenCallback := func(claims *jwt.MapClaims) ([]byte, error) {
    		return []byte(secretKey), nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/ldap.go

    	if err != nil {
    		return "", false, fmt.Errorf("Error looking up DN %s: %w", dn, err)
    	}
    	if validatedDN == "" {
    		return "", false, nil
    	}
    
    	// This will not return an error as the argument is validated to be a DN.
    	pdn, _ := ldap.ParseDN(validatedDN)
    
    	// Check that the DN is under a configured base DN in the LDAP
    	// directory.
    	for _, baseDN := range baseDNList {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  5. cmd/net_test.go

    		serverAddr  string
    		expectedErr error
    	}{
    		{":54321", nil},
    		{"localhost:54321", nil},
    		{"0.0.0.0:9000", nil},
    		{":0", nil},
    		{"localhost", nil},
    		{"", fmt.Errorf("invalid argument")},
    		{"example.org:54321", fmt.Errorf("host in server address should be this server")},
    		{":-10", fmt.Errorf("port must be between 0 to 65535")},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. cmd/sts-handlers.go

    			},
    			Roots: globalRootCAs,
    		})
    		if err != nil {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidClientCertificate, err)
    			return
    		}
    	} else {
    		// Technically, there is no security argument for verifying the key usage
    		// when we don't verify that the certificate has been issued by a trusted CA.
    		// Any client can create a certificate with arbitrary key usage settings.
    		//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  7. cmd/xl-storage_test.go

    	f.Close()
    	defer os.Remove(tmpFileName)
    
    	// List of all tests for xlStorage initialization.
    	testCases := []struct {
    		name string
    		err  error
    	}{
    		// Validates input argument cannot be empty.
    		{
    			"",
    			errInvalidArgument,
    		},
    		// Validates if the directory does not exist and
    		// gets automatically created.
    		{
    			tmpDirName,
    			nil,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    				continue
    			}
    			if !disk.IsOnline() {
    				continue
    			}
    			diskMap[disk.Endpoint()] = disk
    		}
    	}
    	return diskMap
    }
    
    // Initializes a new StorageAPI from the endpoint argument, returns
    // StorageAPI and also `format` which exists on the disk.
    func connectEndpoint(endpoint Endpoint) (StorageAPI, *formatErasureV3, error) {
    	disk, err := newStorageAPI(endpoint, storageOpts{
    		cleanUp:     false,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  9. helm-releases/minio-5.2.0.tgz

    `values.yaml` file. Update these fields if you'd like to use a different strategy. ### Configuration Refer the [Values file](./values.yaml) for all the possible config fields. You can specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, ```bash helm install --name my-release --set persistence.size=1Ti minio/minio ``` The above command deploys MinIO server with a 1Ti backing persistent volume. Alternately, you can provide a YAML file that specifies...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  10. cmd/ftp-server.go

    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server")
    			}
    			port, err = strconv.Atoi(portStr)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 4.8K bytes
    - Viewed (2)
Back to top