Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 969 for host2 (0.21 sec)

  1. pilot/pkg/networking/core/tls.go

    func getConfigsForHost(filterNamespace string, hostname host.Name, configs []config.Config) []config.Config {
    	svcConfigs := make([]config.Config, 0)
    	for _, cfg := range configs {
    		virtualService := cfg.Spec.(*v1alpha3.VirtualService)
    		for _, vsHost := range virtualService.Hosts {
    			if filterNamespace != "" && filterNamespace != cfg.Namespace {
    				continue
    			}
    			if host.Name(vsHost).Matches(hostname) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. pilot/pkg/model/config.go

    		}
    	}
    	return out
    }
    
    // MostSpecificHostMatch compares the maps of specific and wildcard hosts to the needle, and returns the longest element
    // matching the needle and it's value, or false if no element in the maps matches the needle.
    func MostSpecificHostMatch[V any](needle host.Name, specific map[host.Name]V, wildcard map[host.Name]V) (host.Name, V, bool) {
    	if needle.IsWildCarded() {
    		// exact match first
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. cmd/testdata/xl-meta-merge.zip

    platform blocks the port by default, you may need to enable access to the port. ### ufw For hosts with ufw enabled (Debian based distros), you can use `ufw` command to allow traffic to specific ports. Use below command to allow access to port 9000 ```sh ufw allow 9000 ``` Below command enables all incoming traffic to ports ranging from 9000 to 9010. ```sh ufw allow 9000:9010/tcp ``` ### firewall-cmd For hosts with firewall-cmd enabled (CentOS), you can use `firewall-cmd` command to allow traffic to...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. tests/integration/security/egress_sidecar_tls_origination_test.go

    				Crl:         file.AsStringOrFail(t, path.Join(env.IstioSrc, "tests/testdata/certs/dummy.crl")),
    			}, false, apps.Ns2.Namespace.Name())
    
    			// Set up Host Namespace
    			host := apps.External.All.Config().ClusterLocalFQDN()
    
    			testCases := []struct {
    				name             string
    				credentialToUse  string
    				from             echo.Instances
    				authorizeSidecar bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. cmd/notification.go

    	g := errgroup.WithNErrs(len(sys.peerClients))
    	for index, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		host := client.host.String()
    		if len(opts.hosts) > 0 {
    			if _, ok := opts.hosts[host]; !ok {
    				continue
    			}
    		}
    
    		index := index
    		g.Go(func() error {
    			var err error
    			reply[index], err = sys.peerClients[index].GetMetrics(ctx, t, opts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route_test.go

    			[]config.Config{virtualServiceWithGoogleWildcardHost}, 80, wildcardIndex,
    		)
    		// The service hosts (*.example.org and goodbye.hello.example.org) and the unattached VS host (*.google.com)
    		g.Expect(vhosts).To(HaveLen(3))
    		for _, vhost := range vhosts {
    			if len(vhost.VirtualServiceHosts) > 0 && vhost.VirtualServiceHosts[0] == "*.google.com" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  7. cmd/metrics-realtime.go

    )
    
    type collectMetricsOpts struct {
    	hosts map[string]struct{}
    	disks map[string]struct{}
    	jobID string
    	depID string
    }
    
    func collectLocalMetrics(types madmin.MetricType, opts collectMetricsOpts) (m madmin.RealtimeMetrics) {
    	if types == madmin.MetricsNone {
    		return
    	}
    
    	byHostName := globalMinioAddr
    	if len(opts.hosts) > 0 {
    		server := getLocalServerProperty(globalEndpoints, &http.Request{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/httproute.go

    		for _, h := range rule.Hosts {
    			// TODO: This is a bug. VirtualServices can have many hosts
    			// while the user might be importing only a single host
    			// We need to generate a new VirtualService with just the matched host
    			if servicesByName[host.Name(h)] != nil {
    				match = true
    				break
    			}
    
    			if host.Name(h).IsWildCarded() {
    				// Process wildcard vs host as it need to follow the slow path of
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_test.go

    	}
    }
    
    func withClusterLocalHosts(m *meshconfig.MeshConfig, hosts ...string) *meshconfig.MeshConfig { // nolint:interfacer
    	m.ServiceSettings = append(append(make([]*meshconfig.MeshConfig_ServiceSettings, 0), m.ServiceSettings...),
    		&meshconfig.MeshConfig_ServiceSettings{
    			Settings: &meshconfig.MeshConfig_ServiceSettings_Settings{
    				ClusterLocal: true,
    			},
    			Hosts: hosts,
    		})
    	return m
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  10. cmd/generic-handlers.go

    const (
    	dotdotComponent = ".."
    	dotComponent    = "."
    )
    
    func hasBadHost(host string) error {
    	if globalIsCICD && strings.TrimSpace(host) == "" {
    		// under CI/CD test setups ignore empty hosts as invalid hosts
    		return nil
    	}
    	_, err := xnet.ParseHost(host)
    	return err
    }
    
    // Check if the incoming path has bad path components,
    // such as ".." and "."
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top