Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for debug (0.14 sec)

  1. internal/grid/debug.go

    	"net"
    	"net/http"
    	"net/http/httptest"
    	"sync"
    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/mux"
    )
    
    //go:generate stringer -type=debugMsg $GOFILE
    
    // debugMsg is a debug message for testing purposes.
    // may only be used for tests.
    type debugMsg int
    
    const (
    	debugPrint = false
    	debugReqs  = false
    )
    
    const (
    	debugShutdown debugMsg = iota
    	debugKillInbound
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. istioctl/pkg/internaldebug/internal-debug.go

      # Retrieve syncz debug information via Kubernetes config, using token security
      # (This is the usual way to get the debug information with an in-cluster control plane.)
      istioctl x internal-debug syncz
    
      # Retrieve syncz debug information directly from the control plane, using RSA certificate security
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. istioctl/pkg/internaldebug/internal-debug_test.go

    	wantException bool
    }
    
    func TestInternalDebug(t *testing.T) {
    	cases := []execTestCase{
    		{ // case 0, no args
    			args:           []string{},
    			noIstiod:       true,
    			expectedOutput: "Error: debug type is required\n",
    			wantException:  true,
    		},
    		{ // case 1, no istiod
    			args:           []string{"adsz"},
    			noIstiod:       true,
    			expectedOutput: "Error: no running Istio pods in \"istio-system\"\n",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver.go

    	for {
    		log.Debug("accepting conn")
    		conn, err := z.accept()
    		if err != nil {
    			if errors.Is(err, net.ErrClosed) {
    				log.Debug("listener closed - returning")
    				return
    			}
    
    			log.Errorf("failed to accept conn: %v", err)
    			continue
    		}
    		log.Debug("connection accepted")
    		go func() {
    			log.Debug("handling conn")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. tests/tests_test.go

    		if err == nil {
    			db.Exec("PRAGMA foreign_keys = ON")
    		}
    	}
    
    	if err != nil {
    		return
    	}
    
    	if debug := os.Getenv("DEBUG"); debug == "true" {
    		db.Logger = db.Logger.LogMode(logger.Info)
    	} else if debug == "false" {
    		db.Logger = db.Logger.LogMode(logger.Silent)
    	}
    
    	return
    }
    
    func RunMigrations() {
    	var err error
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  6. cmd/streaming-v4-unsigned.go

    	}
    
    	// If the chunk size is zero we return io.EOF. As specified by AWS,
    	// only the last chunk is zero-sized.
    	if len(cr.buffer) == 0 {
    		if cr.debug {
    			fmt.Println("EOF")
    		}
    		if cr.trailers != nil {
    			err = cr.readTrailers()
    			if cr.debug {
    				fmt.Println("trailer returned:", err)
    			}
    			if err != nil {
    				cr.err = err
    				return 0, err
    			}
    		}
    		cr.err = io.EOF
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  7. istioctl/pkg/dashboard/dashboard.go

      # Open Istio debug web UI for the istiod-56dd66799-jfdvs pod in a custom namespace
      istioctl dashboard istiod-debug istiod-123-456 -n custom-ns
    
      # Open Istio debug web UI for any Istiod pod
      istioctl dashboard istiod-debug deployment/istiod.istio-system
    
      # with short syntax
      istioctl dash istiod-debug pilot-123-456.istio-system
      istioctl d istiod-debug pilot-123-456.istio-system
    `,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig.go

    		return &s, fmt.Errorf("cannot deserialize response: %s", err)
    	}
    	return &s, nil
    }
    
    var (
    	istiodLabelSelector = ""
    	istiodReset         = false
    	validationPattern   = `^\w+:(debug|error|warn|info|debug)`
    )
    
    func istiodLogCmd(ctx cli.Context) *cobra.Command {
    	var controlzPort int
    	var opts clioptions.ControlPlaneOptions
    	outputLogLevel := ""
    	stackTraceLevel := ""
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    			wantException:    true,
    		},
    		{ // logger name valid and logging level valid
    			execClientConfig: loggingConfig,
    			args:             strings.Split("log ztunnel-9v7nw --level ztunnel::pool:debug", " "),
    			expectedString:   "",
    			wantException:    false,
    		},
    		{ // set ztunnel logging level
    			execClientConfig: loggingConfig,
    			args:             strings.Split("log ztunnel-9v7nw --level debug", " "),
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue21897.go

    package cgotest
    
    /*
    #cgo LDFLAGS: -framework CoreFoundation
    #include <CoreFoundation/CoreFoundation.h>
    */
    import "C"
    import (
    	"runtime/debug"
    	"testing"
    	"unsafe"
    )
    
    func test21897(t *testing.T) {
    	// Please write barrier, kick in soon.
    	defer debug.SetGCPercent(debug.SetGCPercent(1))
    
    	for i := 0; i < 10000; i++ {
    		testCFNumberRef()
    		testCFDateRef()
    		testCFBooleanRef()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top