Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Somani (0.27 sec)

  1. istioctl/pkg/writer/envoy/configdump/route.go

    	}
    
    	// Return the shortest non-numeric domain.  Count of domains seems uninteresting.
    	max := 2
    	withoutPort := make([]string, 0, len(domains))
    	for _, d := range domains {
    		if !strings.Contains(d, ":") {
    			withoutPort = append(withoutPort, d)
    			// if the domain contains IPv6, such as [fd00:10:96::7fc7] and [fd00:10:96::7fc7]:8090
    		} else if strings.Count(d, ":") > 2 {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  2. internal/crypto/sse-c.go

    )
    
    type ssec struct{}
    
    var (
    	// SSEC represents AWS SSE-C. It provides functionality to handle
    	// SSE-C requests.
    	SSEC = ssec{}
    
    	_ Type = SSEC
    )
    
    // String returns the SSE domain as string. For SSE-C the
    // domain is "SSE-C".
    func (ssec) String() string { return "SSE-C" }
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-C header. SSE-C copy headers are ignored.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    	xhost, err := xnet.ParseHost(host)
    	if err != nil {
    		return "", err
    	}
    
    	for _, domain := range domains {
    		if xhost.Name == minioReservedBucket+"."+domain {
    			continue
    		}
    		if !strings.HasSuffix(xhost.Name, "."+domain) {
    			continue
    		}
    		bucket := strings.TrimSuffix(xhost.Name, "."+domain)
    		return SlashSeparator + pathJoin(bucket, path), nil
    	}
    	return path, nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  4. cmd/crossdomain-xml-handler_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    	"net/http/httptest"
    	"testing"
    
    	"github.com/minio/mux"
    )
    
    // Test cross domain xml handler.
    func TestCrossXMLHandler(t *testing.T) {
    	// Server initialization.
    	router := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	handler := setCrossDomainPolicyMiddleware(router)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Jul 08 14:31:42 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  5. internal/config/dns/types.go

    	// Holds info about when the entry was created first.
    	CreationDate time.Time `json:"creationDate"`
    
    	// When a SRV record with a "Host: IP-address" is added, we synthesize
    	// a srv.Target domain name.  Normally we convert the full Key where
    	// the record lives to a DNS name and use this as the srv.Target. When
    	// TargetStrip > 0 we strip the left most TargetStrip labels from the
    	// DNS name.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2K bytes
    - Viewed (0)
  6. internal/crypto/sse-kms.go

    type ssekms struct{}
    
    var (
    	// S3KMS represents AWS SSE-KMS. It provides functionality to
    	// handle SSE-KMS requests.
    	S3KMS = ssekms{}
    
    	_ Type = S3KMS
    )
    
    // String returns the SSE domain as string. For SSE-KMS the
    // domain is "SSE-KMS".
    func (ssekms) String() string { return "SSE-KMS" }
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-KMS header.
    func (ssekms) IsRequested(h http.Header) bool {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. cmd/api-response.go

    	}
    	u := &url.URL{
    		Host:   r.Host,
    		Path:   path.Join(SlashSeparator, bucket, object),
    		Scheme: proto,
    	}
    	// If domain is set then we need to use bucket DNS style.
    	for _, domain := range domains {
    		if strings.HasPrefix(r.Host, bucket+"."+domain) {
    			u.Path = path.Join(SlashSeparator, object)
    			break
    		}
    	}
    	return u.String()
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  8. cmd/common-main.go

    			if _, ok := dns2.IsDomainName(domainName); !ok {
    				logger.Fatal(config.ErrInvalidDomainValue(nil).Msg("Unknown value `%s`", domainName),
    					"Invalid MINIO_DOMAIN value in environment variable")
    			}
    			globalDomainNames = append(globalDomainNames, domainName)
    		}
    		sort.Strings(globalDomainNames)
    		lcpSuf := lcpSuffix(globalDomainNames)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 00:34:45 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  9. cni/pkg/plugin/plugin_test.go

    	"type": "sample",
        "capabilities": {
            "testCapability": false
        },
        "ipam": {
            "type": "testIPAM"
        },
        "dns": {
            "nameservers": ["testNameServer"],
            "domain": "testDomain",
            "search": ["testSearch"],
            "options": ["testOption"]
        },
        "prevResult": {
            "cniversion": "%s",
            "interfaces": [
                {
                    "name": "%s",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    	}
    
    	// Infer from VirtualHost domains matching <service>.<namespace>.svc.cluster.local
    	re := regexp.MustCompile(`(?P<service>[^\.]+)\.(?P<namespace>[^\.]+)\.svc\.cluster\.local$`)
    	for _, domain := range vh.Domains {
    		ss := re.FindStringSubmatch(domain)
    		if ss != nil {
    			if ss[1] == svc.ObjectMeta.Name && ss[2] == svc.ObjectMeta.Namespace {
    				return true
    			}
    		}
    	}
    
    	clusterName := ""
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top