Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 193 for lmhosts (0.13 sec)

  1. pkg/config/validation/agent/validation_test.go

    	}
    }
    
    func TestServiceSettings(t *testing.T) {
    	cases := []struct {
    		name  string
    		hosts []string
    		valid bool
    	}{
    		{
    			name: "good",
    			hosts: []string{
    				"*.foo.bar",
    				"bar.baz.svc.cluster.local",
    			},
    			valid: true,
    		},
    		{
    			name: "bad",
    			hosts: []string{
    				"foo.bar.*",
    			},
    			valid: false,
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/util/workloadinstances/index_test.go

    	Meta: config.Meta{
    		GroupVersionKind:  gvk.ServiceEntry,
    		Name:              "selector",
    		Namespace:         "selector",
    		CreationTimestamp: GlobalTime,
    	},
    	Spec: &networking.ServiceEntry{
    		Hosts: []string{"selector.com"},
    		Ports: []*networking.ServicePort{
    			{Number: 444, Name: "tcp-444", Protocol: "tcp"},
    			{Number: 445, Name: "http-445", Protocol: "http"},
    		},
    		WorkloadSelector: &networking.WorkloadSelector{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/crd/conversion_test.go

    		t.Error("ParseInput(invalid spec) => got no error")
    	}
    
    	// nolint: lll
    	validInput := `{"apiVersion": "networking.istio.io/v1alpha3", "kind":"VirtualService", "spec":{"hosts":["foo"],"http":[{"route":[{"destination":{"host":"bar"},"weight":100}]}]}}`
    	varr, _, err := ParseInputs(validInput)
    	if err != nil || len(varr) == 0 {
    		t.Errorf("ParseInputs(correct input) => got %v, %v", varr, err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tests/integration/pilot/gateway_test.go

    		},
    	}
    	if t.Settings().EnableDualStack {
    		additionalTestCases := []struct {
    			check echo.Checker
    			from  echo.Instances
    			host  string
    		}{
    			// apps.D hosts a dual-stack service,
    			// apps.E hosts an ipv6 only service and
    			// apps.B hosts an ipv4 only service
    			{
    				check: check.OK(),
    				from:  apps.D,
    				host:  "bar.example.com",
    			},
    			{
    				check: check.OK(),
    				from:  apps.E,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/sidecar_simulation_test.go

    spec:
      mtls:
        mode: %s
    `, m)
    }
    
    func TestInbound(t *testing.T) {
    	svc := `
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: se
    spec:
      hosts:
      - foo.bar
      endpoints:
      - address: 1.1.1.1
      location: MESH_INTERNAL
      resolution: STATIC
      ports:
      - name: tcp
        number: 70
        protocol: TCP
      - name: http
        number: 80
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  6. tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go

    metadata:
      name: istio-egressgateway-filebased
    spec:
      selector:
        istio: {{.EgressLabel}}
      servers:
        - port:
            number: 443
            name: https-filebased
            protocol: HTTPS
          hosts:
            - external-service.{{.ServerNamespace}}.svc.cluster.local
          tls:
            mode: ISTIO_MUTUAL
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods_test.go

    			hostAliases:   []v1.HostAlias{},
    			rawHostsFileContent: `# hosts file for testing.
    127.0.0.1	localhost
    ::1	localhost ip6-localhost ip6-loopback
    fe00::0	ip6-localnet
    fe00::0	ip6-mcastprefix
    fe00::1	ip6-allnodes
    fe00::2	ip6-allrouters
    123.45.67.89	some.domain
    `,
    			expectedHostsFileContent: `# Kubernetes-managed hosts file (host network).
    # hosts file for testing.
    127.0.0.1	localhost
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  8. pkg/config/analysis/msg/messages.gen.go

    	// ConflictingGateways defines a diag.MessageType for message "ConflictingGateways".
    	// Description: Gateway should not have the same selector, port and matched hosts of server
    	ConflictingGateways = diag.NewMessageType(diag.Error, "IST0145", "Conflict with gateways %s (workload selector %s, port %s, hosts %v).")
    
    	// ImageAutoWithoutInjectionWarning defines a diag.MessageType for message "ImageAutoWithoutInjectionWarning".
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_4x.md

        fix insecure hosts crash with an `IllegalArgumentException` on Android.
    
    
    ## Version 4.7.0
    
    _2020-05-17_
    
     *  New: `HandshakeCertificates.Builder.addInsecureHost()` makes it easy to turn off security in
        private development environments that only carry test data. Prefer this over creating an
        all-trusting `TrustManager` because only hosts on the allowlist are insecure. From
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. tests/integration/pilot/locality_test.go

    	"istio.io/istio/tests/integration/pilot/common"
    )
    
    const localityTemplate = `
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: external-service-locality
    spec:
      hosts:
      - {{.Host}}
      location: MESH_EXTERNAL
      ports:
      - name: http
        number: 80
        protocol: HTTP
      resolution: {{.Resolution}}
      endpoints:
      - address: {{.Local}}
        locality: region/zone/subzone
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top