Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for deleteConfig (0.1 sec)

  1. cmd/config-common.go

    	return buf, err
    }
    
    type objectDeleter interface {
    	DeleteObject(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error)
    }
    
    func deleteConfig(ctx context.Context, objAPI objectDeleter, configFile string) error {
    	_, err := objAPI.DeleteObject(ctx, minioMetaBucket, configFile, ObjectOptions{
    		DeletePrefix:       true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    	case j.Expire != nil:
    		return j.Expire.Validate(ctx, j, o)
    	}
    	return errInvalidArgument
    }
    
    func (j BatchJobRequest) delete(ctx context.Context, api ObjectLayer) {
    	deleteConfig(ctx, api, getJobPath(j))
    }
    
    func (j BatchJobRequest) getJobReportPath() (string, error) {
    	var fileName string
    	switch {
    	case j.Replicate != nil:
    		fileName = batchReplName
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  3. cmd/bucket-metadata.go

    	b.defaultTimestamps()
    
    	if err := b.Save(ctx, objectAPI); err != nil {
    		return err
    	}
    
    	for legacyFile := range configs {
    		configFile := path.Join(bucketMetaPrefix, b.Name, legacyFile)
    		if err := deleteConfig(ctx, objectAPI, configFile); err != nil && !errors.Is(err, errConfigNotFound) {
    			internalLogIf(ctx, err, logger.WarningKind)
    		}
    	}
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. cmd/iam-object-store.go

    		return err
    	}
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	return json.Unmarshal(data, item)
    }
    
    func (iamOS *IAMObjectStore) deleteIAMConfig(ctx context.Context, path string) error {
    	return deleteConfig(ctx, iamOS.objAPI, path)
    }
    
    func (iamOS *IAMObjectStore) loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, retries int) error {
    	for {
    	retry:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    	return nil
    }
    
    func (c *SiteReplicationSys) removeFromDisk(ctx context.Context) error {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	if err := deleteConfig(ctx, objAPI, getSRStateFilePath()); err != nil {
    		return err
    	}
    
    	for _, err := range globalNotificationSys.ReloadSiteReplicationConfig(ctx) {
    		replLogIf(ctx, err)
    	}
    
    	c.Lock()
    	defer c.Unlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top