Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for Debug (0.17 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/asm/doc.go

    	-I dir1 -I dir2
    		Search for #include files in dir1, dir2, etc,
    		after consulting $GOROOT/pkg/$GOOS_$GOARCH.
    	-S
    		Print assembly and machine code.
    	-V
    		Print assembler version and exit.
    	-debug
    		Dump instructions as they are parsed.
    	-dynlink
    		Support references to Go symbols defined in other shared libraries.
    	-e
    		No limit on number of errors reported.
    	-gensymabis
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/proxyconfig.go

    	WarningLevel
    	// InfoLevel enables info level logging
    	InfoLevel
    	// DebugLevel enables debug level logging
    	DebugLevel
    	// TraceLevel enables trace level logging
    	TraceLevel
    )
    
    var levelToString = map[Level]string{
    	TraceLevel:    "trace",
    	DebugLevel:    "debug",
    	InfoLevel:     "info",
    	WarningLevel:  "warning",
    	ErrorLevel:    "error",
    	CriticalLevel: "critical",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  10. gorm.go

    	return tx
    }
    
    // WithContext change current instance db's context to ctx
    func (db *DB) WithContext(ctx context.Context) *DB {
    	return db.Session(&Session{Context: ctx})
    }
    
    // Debug start debug mode
    func (db *DB) Debug() (tx *DB) {
    	tx = db.getInstance()
    	return tx.Session(&Session{
    		Logger: db.Logger.LogMode(logger.Info),
    	})
    }
    
    // Set store value with key into current db instance's context
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top