Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for Filters (0.21 sec)

  1. internal/bucket/replication/replication_test.go

    			Rules: []Rule{
    				{
    					Status:                  Enabled,
    					Priority:                3,
    					DeleteMarkerReplication: DeleteMarkerReplication{Status: Disabled},
    					DeleteReplication:       DeleteReplication{Status: Disabled},
    					Filter:                  Filter{},
    				},
    			},
    		},
    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)
  2. internal/s3select/select.go

    		}
    		// Suffix length
    		return -end, -1, nil
    	}
    	start = int64(*s.Start)
    	end := int64(*s.End)
    	return start, end - start + 1, nil
    }
    
    // S3Select - filters the contents on a simple structured query language (SQL) statement. It
    // represents elements inside <SelectRequest/> in request XML specified in detail at
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    }
    
    // FilterPolicies - accepts a comma separated list of policy names as a string
    // and bucket and returns only policies that currently exist in MinIO. If
    // bucketName is non-empty, additionally filters policies matching the bucket.
    // The first returned value is the list of currently existing policies, and the
    // second is their combined policy definition.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. cmd/batch-replicate.go

    }
    
    // BatchJobReplicateFlags various configurations for replication job definition currently includes
    // - filter
    // - notify
    // - retry
    type BatchJobReplicateFlags struct {
    	Filter BatchReplicateFilter `yaml:"filter" json:"filter"`
    	Notify BatchJobNotification `yaml:"notify" json:"notify"`
    	Retry  BatchJobRetry        `yaml:"retry" json:"retry"`
    }
    
    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)
  5. internal/bucket/replication/filter.go

    )
    
    var errInvalidFilter = Errorf("Filter must have exactly one of Prefix, Tag, or And specified")
    
    // Filter - a filter for a replication configuration Rule.
    type Filter struct {
    	XMLName xml.Name `xml:"Filter" json:"Filter"`
    	Prefix  string
    	And     And
    	Tag     Tag
    
    	// Caching tags, only once
    	cachedTags map[string]string
    }
    
    // IsEmpty returns true if filter is not set
    func (f Filter) IsEmpty() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Viewed (2)
  6. internal/http/dial_linux.go

    			if opts.Interface != "" {
    				if h, _, err := net.SplitHostPort(address); err == nil {
    					address = h
    				}
    				// Create socket on specific vrf device.
    				// To catch all kinds of special cases this filters specifically for loopback networks.
    				if ip := net.ParseIP(address); ip != nil && !ip.IsLoopback() {
    					_ = syscall.SetsockoptString(fd, syscall.SOL_SOCKET, syscall.SO_BINDTODEVICE, opts.Interface)
    				}
    			}
    		})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 4.3K bytes
    - Viewed (3)
  7. cmd/batch-rotate.go

    		if !r.Flags.Filter.CreatedAfter.IsZero() && r.Flags.Filter.CreatedAfter.Before(info.ModTime) {
    			// skip all objects that are created before the specified time.
    			return false
    		}
    
    		if !r.Flags.Filter.CreatedBefore.IsZero() && r.Flags.Filter.CreatedBefore.After(info.ModTime) {
    			// skip all objects that are created after the specified time.
    			return false
    		}
    
    		if len(r.Flags.Filter.Tags) > 0 {
    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)
  8. internal/bucket/replication/replication.go

    		return false
    	}
    	for _, rule := range c.Rules {
    		if rule.Status == Disabled {
    			continue
    		}
    		if len(prefix) > 0 && len(rule.Filter.Prefix) > 0 {
    			// incoming prefix must be in rule prefix
    			if !recursive && !strings.HasPrefix(prefix, rule.Filter.Prefix) {
    				continue
    			}
    			// If recursive, we can skip this rule if it doesn't match the tested prefix or level below prefix
    			// does not match
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types.go

    		return false
    	}
    	return true
    }
    
    // Validate checks if sf is a valid batch-job size filter
    func (sf BatchJobSizeFilter) Validate() error {
    	if sf.LowerBound > 0 && sf.UpperBound > 0 && sf.LowerBound >= sf.UpperBound {
    		return BatchJobYamlErr{
    			line: sf.line,
    			col:  sf.col,
    			msg:  "invalid batch-job size filter",
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. cmd/bucket-replication_test.go

    	{ // Config0 - Replication config has no filters, existing object replication enabled
    		Rules: []replication.Rule{
    			{
    				Status:                    replication.Enabled,
    				Priority:                  1,
    				DeleteMarkerReplication:   replication.DeleteMarkerReplication{Status: replication.Enabled},
    				DeleteReplication:         replication.DeleteReplication{Status: replication.Enabled},
    				Filter:                    replication.Filter{},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 16 09:28:06 GMT 2023
    - 12.2K bytes
    - Viewed (0)
Back to top