Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for srvRecords (0.1 sec)

  1. internal/config/dns/etcd_dns.go

    		// dns entry for the server (rather than the bucket
    		// itself).
    		if srvRecord.Key == "" {
    			continue
    		}
    
    		srvRecord.Key = msgUnPath(srvRecord.Key)
    		srvRecords = append(srvRecords, srvRecord)
    
    	}
    	sort.Slice(srvRecords, func(i int, j int) bool {
    		return srvRecords[i].Key < srvRecords[j].Key
    	})
    	return srvRecords, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. internal/config/dns/operator_dns.go

    // namespace at MinIO level with this DNS entry. The global namespace in
    // enforced by the Kubernetes Operator
    func (c *OperatorDNS) List() (srvRecords map[string][]SrvRecord, err error) {
    	return nil, ErrNotImplemented
    }
    
    // Get - Retrieves DNS records for a bucket.
    // This is a No Op for Operator because, there is no intent to enforce global
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    func getHostsSlice(records []dns.SrvRecord) []string {
    	hosts := make([]string, len(records))
    	for i, r := range records {
    		hosts[i] = net.JoinHostPort(r.Host, string(r.Port))
    	}
    	return hosts
    }
    
    // returns an online host (and corresponding port) from a slice of DNS records
    func getHostFromSrv(records []dns.SrvRecord) (host string) {
    	hosts := getHostsSlice(records)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  4. cmd/object-multipart-handlers.go

    	if isMaxObjectSize(length) {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEntityTooLarge), r.URL)
    		return
    	}
    
    	if isRemoteCopyRequired(ctx, srcBucket, dstBucket, objectAPI) {
    		var dstRecords []dns.SrvRecord
    		dstRecords, err = globalDNSConfig.Get(dstBucket)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    		return
    	}
    
    	remoteCallRequired := isRemoteCopyRequired(ctx, srcBucket, dstBucket, objectAPI)
    
    	var objInfo ObjectInfo
    	var os *objSweeper
    	if remoteCallRequired {
    		var dstRecords []dns.SrvRecord
    		dstRecords, err = globalDNSConfig.Get(dstBucket)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top