Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for supplied (0.38 sec)

  1. cmd/test-utils_test.go

    			removeRoots(erasureDisks)
    			return nil, err
    		}
    		erasureDisks = append(erasureDisks, path)
    	}
    	return erasureDisks, nil
    }
    
    // Initialize object layer with the supplied disks, objectLayer is nil upon any error.
    func newTestObjectLayer(ctx context.Context, endpointServerPools EndpointServerPools) (newObject ObjectLayer, err error) {
    	initAllSubsystems(ctx)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrObjectLockInvalidHeaders: {
    		Code:           "InvalidRequest",
    		Description:    "x-amz-object-lock-retain-until-date and x-amz-object-lock-mode must both be supplied",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrObjectRestoreAlreadyInProgress: {
    		Code:           "RestoreAlreadyInProgress",
    		Description:    "Object restore is already in progress",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  3. cmd/iam.go

    	switch {
    	case isOwnerDerived:
    		// All actions are allowed by default and no policy evaluation is
    		// required.
    
    	case roleArn != "":
    		// If a roleARN is present, the role policy is applied.
    		arn, err := arn.Parse(roleArn)
    		if err != nil {
    			iamLogIf(GlobalContext, fmt.Errorf("error parsing role ARN %s: %v", roleArn, err))
    			return false
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. cmd/erasure-object.go

    	}
    
    	if fi.Deleted {
    		return ObjectInfo{}, toObjectErr(errMethodNotAllowed, bucket, object)
    	}
    
    	filterOnlineDisksInplace(fi, metaArr, onlineDisks)
    
    	// if version-id is not specified retention is supposed to be set on the latest object.
    	if opts.VersionID == "" {
    		opts.VersionID = fi.VersionID
    	}
    
    	objInfo := fi.ToObjectInfo(bucket, object, opts.Versioned || opts.VersionSuspended)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. cmd/sts-handlers_test.go

    // container and canned data from https://github.com/minio/minio-ldap-testing
    //
    // Each set of client app params corresponds to a separate openid server, and
    // the i-th server in this will be applied the i-th policy in `rolePolicies`. If
    // a rolePolicies entry is an empty string, that server will be configured as
    // policy-claim based openid server. NOTE that a valid configuration can have a
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    			return
    		}
    		w.Write(buf)
    		return
    	} else if infoPolicyAPIVersion != "" {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errors.New("invalid version parameter 'v' supplied")), r.URL)
    		return
    	}
    
    	// Return the older API response value of just the policy json.
    	buf, err := json.MarshalIndent(policyDoc.Policy, "", " ")
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe.go

    		}
    	}
    
    	return cfgs
    }
    
    // printConfigs prints the applied configs based on the member's type.
    // When there is the array is empty, caller should make sure the intended
    // log is handled in their methods.
    func printConfigs(writer io.Writer, configs []*config.Config) {
    	if len(configs) == 0 {
    		return
    	}
    	fmt.Fprintf(writer, "Applied %s:\n", configs[0].Meta.GroupVersionKind.Kind)
    	var cfgNames string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    			if !minioSrc {
    				// Check if metadata filter was requested and it is expected to have
    				// all user metadata or just storageClass. If its only storageClass
    				// List() already returns relevant information for filter to be applied.
    				if isMetadata && !isStorageClassOnly {
    					oi2, err := c.StatObject(ctx, r.Source.Bucket, obj.Key, miniogo.StatObjectOptions{})
    					if err == nil {
    						oi = toObjectInfo(r.Source.Bucket, obj.Key, oi2)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    // PutBucketObjectLockConfigHandler - PUT Bucket object lock configuration.
    // ----------
    // Places an Object Lock configuration on the specified bucket. The rule
    // specified in the Object Lock configuration will be applied by default
    // to every new object placed in the specified bucket.
    func (api objectAPIHandlers) PutBucketObjectLockConfigHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketObjectLockConfig")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top