Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for excludes (0.17 sec)

  1. cmd/leak-detect_test.go

    			ok = false
    			continue
    		}
    		break
    	}
    	return ok
    }
    
    // pickRelevantGoroutines returns all goroutines we care about for the purpose
    // of leak checking. It excludes testing or runtime ones.
    func pickRelevantGoroutines() (gs []string) {
    	// get runtime stack buffer.
    	buf := debug.Stack()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. cmd/peer-s3-client.go

    	// Will return nil if the grid connection is not initialized yet.
    	gridConn func() *grid.Connection
    }
    
    // S3PeerSys - S3 peer call system.
    type S3PeerSys struct {
    	peerClients []peerS3Client // Excludes self
    	poolsCount  int
    }
    
    // NewS3PeerSys - creates new S3 peer calls.
    func NewS3PeerSys(endpoints EndpointServerPools) *S3PeerSys {
    	return &S3PeerSys{
    		peerClients: newPeerS3Clients(endpoints),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils.go

    		case "transfer-encoding":
    			// Go http server removes "host" from Request.Header
    			extractedSignedHeaders[http.CanonicalHeaderKey(header)] = r.TransferEncoding
    		case "content-length":
    			// Signature-V4 spec excludes Content-Length from signed headers list for signature calculation.
    			// But some clients deviate from this rule. Hence we consider Content-Length for signature
    			// calculation to be compatible with such clients.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    		// 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 "*".
    func hasStringSuffixInSlice(str string, list []string) bool {
    	str = strings.ToLower(str)
    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)
  5. cni/pkg/plugin/plugin_test.go

    	cniConf := buildMockConf(true, url)
    
    	excludedNS := "testExcludeNS"
    	pod, ns := buildFakePodAndNSForClient()
    
    	app := corev1.Container{Name: "app"}
    	ns.ObjectMeta.Name = excludedNS
    	ns.ObjectMeta.Labels = map[string]string{constants.DataplaneModeLabel: constants.AmbientRedirectionEnabled}
    
    	pod.ObjectMeta.Namespace = excludedNS
    	pod.Spec.Containers = []corev1.Container{app}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. cmd/batch-rotate.go

    	Endpoint string `yaml:"endpoint" json:"endpoint"`
    	Token    string `yaml:"token" json:"token"`
    }
    
    // BatchJobKeyRotateFlags various configurations for replication job definition currently includes
    // - filter
    // - notify
    // - retry
    type BatchJobKeyRotateFlags struct {
    	Filter BatchKeyRotateFilter `yaml:"filter" json:"filter"`
    	Notify BatchJobNotification `yaml:"notify" json:"notify"`
    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)
  7. cmd/bucket-replication.go

    	// object layer not initialized we return with no decision.
    	if newObjectLayerFn() == nil {
    		return
    	}
    
    	// Disable server-side replication on object prefixes which are excluded
    	// from versioning via the MinIO bucket versioning extension.
    	if !globalBucketVersioningSys.PrefixEnabled(bucket, object) {
    		return
    	}
    
    	replStatus := mopts.ReplicationStatus()
    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)
  8. cmd/peer-rest-server.go

    		}
    	}
    	return &BucketStatsMap{Stats: bucketStatsMap, Timestamp: time.Now()}, nil
    }
    
    // GetBucketStatsHandler - fetches current in-memory bucket stats, currently only
    // returns BucketStats, that currently includes ReplicationStats.
    func (s *peerRESTServer) GetBucketStatsHandler(vars *grid.MSS) (*BucketStats, *grid.RemoteErr) {
    	bucketName := vars.Get(peerRESTBucket)
    	if bucketName == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    		}
    		return err
    	}
    
    	globalNotificationSys.DeleteBucketMetadata(ctx, bucket)
    
    	return nil
    }
    
    // IAMChangeHook - called when IAM items need to be replicated to peer clusters.
    // This includes named policy creation, policy mapping changes and service
    // account changes.
    //
    // All policies are replicated.
    //
    // Policy mappings are only replicated when they are for LDAP users or groups
    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)
  10. cmd/signature-v2.go

    	}
    	return encodedResource
    }
    
    // Return string to sign under two different conditions.
    // - if expires string is set then string to sign includes date instead of the Date header.
    // - if expires string is empty then string to sign includes date header instead.
    func getStringToSignV2(method string, encodedResource, encodedQuery string, headers http.Header, expires string) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top