Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 154 for logback (0.15 sec)

  1. pilot/pkg/util/network/ip.go

    	ifaces, _ := net.Interfaces()
    
    	for _, iface := range ifaces {
    		if iface.Flags&net.FlagUp == 0 {
    			continue // interface down
    		}
    		if iface.Flags&net.FlagLoopback != 0 {
    			continue // loopback interface
    		}
    		addrs, _ := iface.Addrs()
    
    		for _, addr := range addrs {
    			var ip net.IP
    			switch v := addr.(type) {
    			case *net.IPNet:
    				ip = v.IP
    			case *net.IPAddr:
    				ip = v.IP
    			default:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 21:27:21 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/maxinflight.go

    			default:
    				// at this point we're about to return a 429, BUT not all actors should be rate limited.  A system:master is so powerful
    				// that they should always get an answer.  It's a super-admin or a loopback connection.
    				if currUser, ok := apirequest.UserFrom(ctx); ok {
    					for _, group := range currUser.GetGroups() {
    						if group == user.SystemPrivilegedGroup {
    							handler.ServeHTTP(w, r)
    							return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 11:34:15 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/serving.go

    	DisableHTTP2Serving bool
    	// Required set to true means that BindPort cannot be zero.
    	Required bool
    	// ExternalAddress is the address advertised, even if BindAddress is a loopback. By default this
    	// is set to BindAddress if the later no loopback, or to the first host interface address.
    	ExternalAddress net.IP
    
    	// Listener is the secure server network listener.
    	// either Listener or BindAddress/BindPort/BindNetwork is set,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 13:08:18 UTC 2024
    - 15.9K bytes
    - Viewed (1)
  4. cmd/kubeadm/app/preflight/checks_test.go

    	var tests = []struct {
    		name           string
    		check          HTTPProxyCheck
    		expectWarnings bool
    	}{
    		{
    			name: "Loopback address",
    			check: HTTPProxyCheck{
    				Proto: "https",
    				Host:  "127.0.0.1",
    			}, // Loopback addresses never should produce proxy warnings
    			expectWarnings: false,
    		},
    		{
    			name: "IPv4 direct access",
    			check: HTTPProxyCheck{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/hooks.go

    type PreShutdownHookFunc func() error
    
    // PostStartHookContext provides information about this API server to a PostStartHookFunc
    type PostStartHookContext struct {
    	// LoopbackClientConfig is a config for a privileged loopback connection to the API server
    	LoopbackClientConfig *restclient.Config
    	// StopCh is the channel that will be closed when the server stops.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/math/all_test.go

    		}
    	}
    	for i := 0; i < len(vflogbSC); i++ {
    		if f := Logb(vflogbSC[i]); !alike(logbSC[i], f) {
    			t.Errorf("Logb(%g) = %g, want %g", vflogbSC[i], f, logbSC[i])
    		}
    	}
    	for i := 0; i < len(vffrexpBC); i++ {
    		if f := Logb(vffrexpBC[i]); !alike(logbBC[i], f) {
    			t.Errorf("Logb(%g) = %g, want %g", vffrexpBC[i], f, logbBC[i])
    		}
    	}
    }
    
    func TestLog10(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  7. samples/kind-lb/setupkind.sh

    while : ; do
      ip=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.'${addrName}'}}{{end}}' "${CLUSTERNAME}"-control-plane)
      if [[ -n "${ip}" ]]; then
        #Change the kubeconfig file not to use the loopback IP
        if [[ "${IPFAMILY}" == "ipv6" ]]; then
          ip="[${ip}]"
        elif [[ "${IPFAMILY}" == "dual" ]] && [[ "${IPV6GW}" == "true" ]]; then
          ip="[${ip}]"
        fi
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/web/api.go

    				b.bufLines++
    				if b.bufLines > maxErrorDetailLines {
    					break
    				}
    			}
    		}
    	}
    
    	return n, err
    }
    
    // IsLocalHost reports whether the given URL refers to a local
    // (loopback) host, such as "localhost" or "127.0.0.1:8080".
    func IsLocalHost(u *url.URL) bool {
    	return isLocalHost(u)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:00:34 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  9. cmd/kube-apiserver/app/server.go

    		// stop printing usage when the command errors
    		SilenceUsage: true,
    		PersistentPreRunE: func(*cobra.Command, []string) error {
    			// silence client-go warnings.
    			// kube-apiserver loopback clients should not log self-issued warnings.
    			rest.SetDefaultWarningHandler(rest.NoWarnings{})
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			verflag.PrintAndExitIfRequested()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/testing/testserver.go

    	s.RecommendedOptions.SecureServing.ServerCert.CertDirectory = result.TmpDir
    	s.RecommendedOptions.SecureServing.ExternalAddress = s.RecommendedOptions.SecureServing.Listener.Addr().(*net.TCPAddr).IP // use listener addr although it is a loopback device
    
    	pkgPath, err := pkgPath(t)
    	if err != nil {
    		return result, err
    	}
    	s.RecommendedOptions.SecureServing.ServerCert.FixtureDirectory = filepath.Join(pkgPath, "testdata")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 9K bytes
    - Viewed (1)
Back to top