Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Localhost (0.43 sec)

  1. cni/pkg/nodeagent/testdata/localhost.yaml

    # This shows an example local config for ztunnel that adds a workload for localhost.
    # This allows local testing by sending requests through the local ztunnel to other servers running on localhost.
    workloads:
    - uid: cluster1//v1/Pod/default/local
      name: local
      namespace: default
      serviceAccount: default
      workloadIps: ["127.0.0.1"]
      protocol: HBONE
      node: local
      network: ""
      services:
        "default/example.com":
          80: 8080
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. istioctl/pkg/dashboard/dashboard_test.go

    			Args:           strings.Split("controlz --browser=false pod-123456-7890", " "),
    			ExpectedRegexp: regexp.MustCompile(".*http://localhost:3456"),
    			WantException:  false,
    		},
    		{ // case 17
    			Args:           strings.Split("envoy --browser=false pod-123456-7890", " "),
    			ExpectedRegexp: regexp.MustCompile("http://localhost:3456"),
    			WantException:  false,
    		},
    	}
    
    	dbCmd := Dashboard(cli.NewFakeContext(&cli.NewFakeContextOption{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Nov 21 01:17:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. istioctl/pkg/clioptions/central.go

    	"github.com/spf13/viper"
    )
    
    // CentralControlPlaneOptions holds options common to all subcommands
    // that invoke Istiod via xDS REST endpoint
    type CentralControlPlaneOptions struct {
    	// Xds is XDS endpoint, e.g. localhost:15010.
    	Xds string
    
    	// XdsPodLabel is a Kubernetes label on the Istiod pods
    	XdsPodLabel string
    
    	// XdsPodPort is a port exposing XDS (typically 15010 or 15012)
    	XdsPodPort int
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables_linux.go

    	loopbackLink, err := netlink.LinkByName("lo")
    	if err != nil {
    		return fmt.Errorf("failed to find 'lo' link: %v", err)
    	}
    
    	// Set up netlink routes for localhost
    	cidrs := []string{"0.0.0.0/0"}
    	if cfg.EnableIPv6 {
    		cidrs = append(cidrs, "0::0/0")
    	}
    	for _, fullCIDR := range cidrs {
    		_, localhostDst, err := net.ParseCIDR(fullCIDR)
    		if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. istioctl/pkg/admin/istiodconfig_test.go

    			if !reflect.DeepEqual(got, tt.want) {
    				t.Errorf("newScopeStackTraceLevelPair() got = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func Test_chooseClientFlag(t *testing.T) {
    	url, _ := url.Parse("http://localhost/scopej/resource")
    
    	ctrzClient := &ControlzClient{
    		baseURL:    url,
    		httpClient: &http.Client{},
    	}
    
    	type args struct {
    		ctrzClient      *ControlzClient
    		reset           bool
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/testdata/mesh-config.yaml

      #interceptionMode: REDIRECT
      #
      # Port where Envoy listens (on local host) for admin commands
      # You can exec into the istio-proxy container in a pod and
      # curl the admin port (curl http://localhost:15000/) to obtain
      # diagnostic information from Envoy. See
      # https://lyft.github.io/envoy/docs/operations/admin.html
      # for more details
      proxyAdminPort: 15000
      #
      # Zipkin trace collector
      zipkinAddress: ""
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. istioctl/pkg/cli/mock_client.go

    	"istio.io/istio/pkg/kube"
    )
    
    type MockPortForwarder struct{}
    
    func (m MockPortForwarder) Start() error {
    	return nil
    }
    
    func (m MockPortForwarder) Address() string {
    	return "localhost:3456"
    }
    
    func (m MockPortForwarder) Close() {
    }
    
    func (m MockPortForwarder) ErrChan() <-chan error {
    	return make(chan error)
    }
    
    func (m MockPortForwarder) WaitForStop() {
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. istioctl/pkg/metrics/metrics_test.go

    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) {
    			testutil.VerifyOutput(t, metricCmd, c)
    		})
    	}
    }
    
    func TestAPI(t *testing.T) {
    	_, _ = prometheusAPI(fmt.Sprintf("http://localhost:%d", 1234))
    }
    
    var _ promv1.API = mockPromAPI{}
    
    func TestPrintMetrics(t *testing.T) {
    	mockProm := mockPromAPI{
    		cannedResponse: map[string]prometheus_model.Value{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
Back to top