Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for Walters (0.14 sec)

  1. cmd/batch-rotate.go

    		if _, err := GlobalKMS.GenerateKey(GlobalContext, e.Key, ctx); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // BatchKeyRotateFilter holds all the filters currently supported for batch replication
    type BatchKeyRotateFilter struct {
    	NewerThan     time.Duration `yaml:"newerThan,omitempty" json:"newerThan"`
    	OlderThan     time.Duration `yaml:"olderThan,omitempty" json:"olderThan"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    	if p.RetainVersions < 0 {
    		return BatchJobYamlErr{
    			line: p.line,
    			col:  p.col,
    			msg:  "retainVersions must be >= 0",
    		}
    	}
    	return nil
    }
    
    // BatchJobExpireFilter holds all the filters currently supported for batch replication
    type BatchJobExpireFilter struct {
    	line, col     int
    	OlderThan     time.Duration       `yaml:"olderThan,omitempty" json:"olderThan"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  3. cmd/object-api-utils.go

    		return false
    	}
    
    	if len(cfg.MimeTypes) > 0 && hasPattern(cfg.MimeTypes, contentType) {
    		// Matched an MIME type to compress, do not exclude.
    		return false
    	}
    
    	// Did not match any inclusion filters, exclude from compression.
    	return true
    }
    
    // Utility which returns if a string is present in the list.
    // Comparison is case insensitive. Explicit short-circuit if
    // the list contains the wildcard "*".
    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)
  4. cmd/bucket-replication.go

    			// always set this to distinguish between `mc mirror` replication and serverside
    			ReplicationRequest: true,
    		},
    	})
    	return err
    }
    
    // filterReplicationStatusMetadata filters replication status metadata for COPY
    func filterReplicationStatusMetadata(metadata map[string]string) map[string]string {
    	// Copy on write
    	dst := metadata
    	var copied bool
    	delKey := func(key string) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/site-replication.go

    					ExpiryLCConfig: &configStr,
    					UpdatedAt:      time.Now(),
    				})
    				if err != nil {
    					return errSRBucketMetaError(err)
    				}
    			}
    		}
    	}
    
    	// Order matters from now on how the information is
    	// synced to remote sites.
    
    	// Policies should be synced first.
    	{
    		// Replicate IAM policies on local to all peers.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  6. internal/bucket/replication/replication_test.go

    			}
    		})
    	}
    }
    
    func TestReplicate(t *testing.T) {
    	cfgs := []Config{
    		{ // Config0 - Replication config has no filters, all replication enabled
    			Rules: []Rule{
    				{
    					Status:                  Enabled,
    					Priority:                3,
    					DeleteMarkerReplication: DeleteMarkerReplication{Status: Enabled},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. cmd/metacache.go

    		b = ""
    	}
    	if len(b) > 0 && !strings.HasSuffix(b, slashSeparator) {
    		b += slashSeparator
    	}
    	return b
    }
    
    // update cache with new status.
    // The updates are conditional so multiple callers can update with different states.
    func (m *metacache) update(update metacache) {
    	m.lastUpdate = UTCNow()
    
    	if m.lastHandout.After(m.lastHandout) {
    		m.lastHandout = UTCNow()
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. cmd/batch-replicate.go

    //     endpoint: "https://play.min.io"
    //     path: "on"
    //     credentials:
    //       accessKey: "minioadmin"
    //       secretKey: "minioadmin"
    //       sessionToken: ""
    
    // BatchReplicateFilter holds all the filters currently supported for batch replication
    type BatchReplicateFilter struct {
    	NewerThan     time.Duration `yaml:"newerThan,omitempty" json:"newerThan"`
    	OlderThan     time.Duration `yaml:"olderThan,omitempty" json:"olderThan"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    					continue
    				}
    				// We only need to match x-amz-meta or standardHeaders
    				if kv.Match(BatchJobKV{Key: k, Value: v}) {
    					return true
    				}
    			}
    		}
    
    		// None of the provided filters match
    		return false
    	}
    
    	u, err := url.Parse(r.Source.Endpoint)
    	if err != nil {
    		return err
    	}
    
    	cred := r.Source.Creds
    
    	c, err := miniogo.New(u.Host, &miniogo.Options{
    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)
  10. internal/bucket/object/lock/lock.go

    	if err = xml.NewDecoder(bytes.NewReader(buf)).Decode(hold); err != nil {
    		return nil, err
    	}
    
    	if !hold.Status.Valid() {
    		return nil, ErrMalformedXML
    	}
    	return
    }
    
    // FilterObjectLockMetadata filters object lock metadata if s3:GetObjectRetention permission is denied or if isCopy flag set.
    func FilterObjectLockMetadata(metadata map[string]string, filterRetention, filterLegalHold bool) map[string]string {
    	// Copy on write
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
Back to top