Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 98 for Filters (0.24 sec)

  1. 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)
  2. cmd/object-api-utils.go

    	if hasStringSuffixInSlice(objStr, standardExcludeCompressExtensions) || hasPattern(standardExcludeCompressContentTypes, contentType) {
    		return true
    	}
    
    	// Filter compression includes.
    	if len(cfg.Extensions) == 0 && len(cfg.MimeTypes) == 0 {
    		// Nothing to filter, include everything.
    		return false
    	}
    
    	if len(cfg.Extensions) > 0 && hasStringSuffixInSlice(objStr, cfg.Extensions) {
    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)
  3. 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)
  4. istioctl/pkg/describe/describe.go

    			return nil, err
    		}
    		if listenerTyped.Name == model.VirtualInboundListenerName {
    			for _, filterChain := range listenerTyped.FilterChains {
    				for _, filter := range filterChain.Filters {
    					hcm := &hcm.HttpConnectionManager{}
    					if err := filter.GetTypedConfig().UnmarshalTo(hcm); err == nil {
    						return hcm, nil
    					}
    				}
    			}
    		}
    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)
  5. cmd/object_api_suite_test.go

    }
    
    // Wrapper for calling TestPaging for both Erasure and FS.
    func TestPaging(t *testing.T) {
    	ExecObjectLayerTest(t, testPaging)
    }
    
    // Tests validate creation of objects and the order of listing using various filters for ListObjects operation.
    func testPaging(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	obj.MakeBucket(context.Background(), "bucket", MakeBucketOptions{})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/filter.go

    package lifecycle
    
    import (
    	"encoding/xml"
    	"io"
    
    	"github.com/minio/minio-go/v7/pkg/tags"
    )
    
    var errInvalidFilter = Errorf("Filter must have exactly one of Prefix, Tag, or And specified")
    
    // Filter - a filter for a lifecycle configuration Rule.
    type Filter struct {
    	XMLName xml.Name `xml:"Filter"`
    	set     bool
    
    	Prefix Prefix
    
    	ObjectSizeGreaterThan int64 `xml:"ObjectSizeGreaterThan,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. internal/bucket/lifecycle/lifecycle_test.go

    			{
    				Status:     "Enabled",
    				Filter:     Filter{Prefix: Prefix{string: "prefix-1", set: true}},
    				Expiration: Expiration{Days: ExpirationDays(3)},
    			},
    			{
    				Status:     "Enabled",
    				Filter:     Filter{Prefix: Prefix{string: "prefix-1", set: true}},
    				Expiration: Expiration{Date: midnightTS},
    			},
    			{
    				Status:                      "Enabled",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    	hasTags := len(r.Flags.Filter.Tags) != 0
    	isMetadata := len(r.Flags.Filter.Metadata) != 0
    	isStorageClassOnly := len(r.Flags.Filter.Metadata) == 1 && strings.EqualFold(r.Flags.Filter.Metadata[0].Key, xhttp.AmzStorageClass)
    
    	skip := func(oi ObjectInfo) (ok bool) {
    		if r.Flags.Filter.OlderThan > 0 && time.Since(oi.ModTime) < r.Flags.Filter.OlderThan {
    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)
Back to top