Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Domainname (0.19 sec)

  1. cmd/common-main.go

    	if len(domains) != 0 {
    		for _, domainName := range strings.Split(domains, config.ValueSeparator) {
    			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)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  2. cmd/api-router.go

    				// makes sure that buckets are routed through this matcher
    				// to match for `<bucket>`
    				return host != minioReservedBucket+"."+domainName
    			}).Host("{bucket:.+}."+domainName).Subrouter())
    		} else {
    			routers = append(routers, apiRouter.Host("{bucket:.+}."+domainName).Subrouter())
    		}
    	}
    	routers = append(routers, apiRouter.PathPrefix("/{bucket}").Subrouter())
    
    	for _, router := range routers {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/gateway.go

    								},
    							}
    							perRouteFilters[util.StatefulSessionFilter] = protoconv.MessageToAny(perRouteStatefulSession)
    						}
    					}
    					newVHost := &route.VirtualHost{
    						Name:    util.DomainName(string(hostname), port),
    						Domains: []string{hostname.String()},
    						// Route will be appended to during deduplication, so make sure we are operating on a copy
    						Routes:                     slices.Clone(routes),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  4. pilot/pkg/networking/util/util.go

    func IPv6Compliant(host string) string {
    	if strings.Contains(host, ":") {
    		return "[" + host + "]"
    	}
    	return host
    }
    
    // DomainName builds the domain name for a given host and port
    func DomainName(host string, port int) string {
    	return net.JoinHostPort(host, strconv.Itoa(port))
    }
    
    // BuildInternalEndpoint builds an lb endpoint pointing to the internal listener named dest.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. pilot/pkg/networking/util/util_test.go

    		{"::1", 3000, "[::1]:3000"},
    		{"2001:4860:0:2001::68", 3000, "[2001:4860:0:2001::68]:3000"},
    	}
    	for _, tt := range tests {
    		t.Run(fmt.Sprint(tt.host), func(t *testing.T) {
    			if got := DomainName(tt.host, tt.port); got != tt.match {
    				t.Fatalf("got %v wanted %v", got, tt.match)
    			}
    		})
    	}
    }
    
    func TestStatefulSessionFilterConfig(t *testing.T) {
    	cases := []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. cmd/config-current.go

    				configLogIf(ctx, fmt.Errorf("DNS store is already configured with %s, etcd is not used for DNS store", globalDNSConfig))
    			} else {
    				globalDNSConfig, err = dns.NewCoreDNS(etcdCfg.Config,
    					dns.DomainNames(globalDomainNames),
    					dns.DomainIPs(globalDomainIPs),
    					dns.DomainPort(globalMinioPort),
    					dns.CoreDNSPath(etcdCfg.CoreDNSPath),
    				)
    				if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 08:14:58 UTC 2024
    - 30.8K bytes
    - Viewed (0)
Back to top