Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for wildcard (0.17 sec)

  1. cmd/mrf.go

    			// is '.minio.sys'
    			if u.bucket == minioMetaBucket {
    				// No MRF needed for temporary objects
    				if wildcard.Match("buckets/*/.metacache/*", u.object) {
    					continue
    				}
    				if wildcard.Match("tmp/*", u.object) {
    					continue
    				}
    				if wildcard.Match("multipart/*", u.object) {
    					continue
    				}
    				if wildcard.Match("tmp-old/*", u.object) {
    					continue
    				}
    			}
    
    			now := time.Now()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. internal/s3select/sql/jsonpath.go

    	errWildcardObjectLookup       = errors.New("Object wildcard used on non-object value")
    	errWildcardArrayLookup        = errors.New("Array wildcard used on non-array value")
    	errWildcardObjectUsageInvalid = errors.New("Invalid usage of object wildcard")
    )
    
    // jsonpathEval evaluates a JSON path and returns the value at the path.
    // If the value should be considered flat (from wildcards) any array returned should be considered individual values.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. internal/event/rules.go

    	for pattern := range rules {
    		if wildcard.MatchSimple(pattern, objectName) {
    			return true
    		}
    	}
    	return false
    }
    
    // Match - returns TargetIDSet matching object name in rules.
    func (rules Rules) Match(objectName string) TargetIDSet {
    	targetIDs := NewTargetIDSet()
    
    	for pattern, targetIDSet := range rules {
    		if wildcard.MatchSimple(pattern, objectName) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. internal/bucket/replication/destination.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package replication
    
    import (
    	"encoding/xml"
    	"fmt"
    	"strings"
    
    	"github.com/minio/pkg/v2/wildcard"
    )
    
    // DestinationARNPrefix - destination ARN prefix as per AWS S3 specification.
    const DestinationARNPrefix = "arn:aws:s3:::"
    
    // DestinationARNMinIOPrefix - destination ARN prefix for MinIO.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4K bytes
    - Viewed (2)
  5. docs/debugging/xattr/main.go

    	return xattr.LSet(path, name, data)
    }
    
    func main() {
    	flag.StringVar(&path, "path", "", "path name where the attribute shall be applied")
    	flag.StringVar(&name, "name", "", "attribute name or it can be a wildcard if '.' is specified")
    	flag.Uint64Var(&value, "value", 0, "attribute value expects the value to be uint64")
    	flag.BoolVar(&set, "set", false, "this is a set attribute operation")
    
    	flag.Parse()
    
    	if set && value == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. docs/tls/kubernetes/README.md

    For a [distributed MinIO setup](https://min.io/docs/minio/kubernetes/upstream/operations/installation.html#procedure), where there are multiple pods with different domain names expected to run, you will either need wildcard certificates valid for all the domains or have specific certificates for each domain. If you are going to use specific certificates, make sure to create Kubernetes secrets accordingly.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3K bytes
    - Viewed (0)
  7. internal/s3select/sql/parser_test.go

    	)
    
    	j := JSONPathElement{}
    	cases := []string{
    		// Key
    		"['name']", ".name", `."name"`,
    
    		// Index
    		"[2]", "[0]", "[100]",
    
    		// Object wildcard
    		".*",
    
    		// array wildcard
    		"[*]",
    	}
    	for i, tc := range cases {
    		err := p.ParseString(tc, &j)
    		if err != nil {
    			t.Fatalf("%d: %v", i, err)
    		}
    		// repr.Println(j, repr.Indent("  "), repr.OmitEmpty(true))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    		// is '.minio.sys'
    		if bucket == minioMetaBucket {
    			if wildcard.Match("buckets/*/.metacache/*", entry.name) {
    				return nil
    			}
    			if wildcard.Match("tmp/*", entry.name) {
    				return nil
    			}
    			if wildcard.Match("multipart/*", entry.name) {
    				return nil
    			}
    			if wildcard.Match("tmp-old/*", entry.name) {
    				return nil
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    	"github.com/minio/minio/internal/bucket/versioning"
    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v2/env"
    	"github.com/minio/pkg/v2/wildcard"
    	"github.com/minio/pkg/v2/workers"
    	"gopkg.in/yaml.v3"
    )
    
    // expire: # Expire objects that match a condition
    //   apiVersion: v1
    //   bucket: mybucket # Bucket where this batch job will expire matching objects from
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  10. internal/event/rulesmap.go

    	return rulesMap[eventName].Match(objectName)
    }
    
    // NewRulesMap - creates new rules map with given values.
    func NewRulesMap(eventNames []Name, pattern string, targetID TargetID) RulesMap {
    	// If pattern is empty, add '*' wildcard to match all.
    	if pattern == "" {
    		pattern = "*"
    	}
    
    	rulesMap := make(RulesMap)
    	rulesMap.add(eventNames, pattern, targetID)
    	return rulesMap
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Viewed (0)
Back to top