Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for DefaultOptions (0.49 sec)

  1. istioctl/pkg/root/root.go

    	// scope is for dev logging.  Warning: log levels are not set by --log_output_level until command is Run().
    	Scope = log.RegisterScope("cli", "istioctl")
    )
    
    func defaultLogOptions() *log.Options {
    	o := log.DefaultOptions()
    	// Default to warning for everything; we usually don't want logs in istioctl
    	o.SetDefaultOutputLevel("all", log.WarnLevel)
    	// These scopes are too noisy even at warning level
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Mar 26 20:38:10 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. istioctl/pkg/internaldebug/internal-debug.go

    		},
    		TypeUrl: v3.DebugType,
    	}
    	xdsResponses, respErr := multixds.AllRequestAndProcessXds(&xdsRequest, centralOpts, istioNamespace,
    		namespace, serviceAccount, kubeClient, multixds.DefaultOptions)
    	if respErr != nil {
    		return xdsResponses, respErr
    	}
    	_, _ = fmt.Fprint(writer, "error: according to below command list, please check all supported internal debug commands\n")
    	return xdsResponses, nil
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. cni/pkg/cmd/root.go

    	"istio.io/istio/pkg/env"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/version"
    	iptables "istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    var (
    	logOptions   = log.DefaultOptions()
    	ctrlzOptions = func() *ctrlz.Options {
    		o := ctrlz.DefaultOptions()
    		o.EnablePprof = true
    		return o
    	}()
    )
    
    var rootCmd = &cobra.Command{
    	Use:          "install-cni",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 21:42:29 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. cni/pkg/log/uds_test.go

    	defer close(stop)
    	assert.NoError(t, logger.StartUDSLogServer(udsSock, stop))
    
    	// Configure log to tee to UDS server
    	stdout := os.Stdout
    	r, w, _ := os.Pipe()
    	os.Stdout = w
    	loggingOptions := log.DefaultOptions()
    	loggingOptions.WithTeeToUDS(udsSock, constants.UDSLogPath)
    	assert.NoError(t, log.Configure(loggingOptions))
    	log.FindScope("default").SetOutputLevel(log.DebugLevel)
    	log.Debug("debug log")
    	log.Info("info log")
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. istioctl/pkg/multixds/gather.go

    	// when `XdsViaAgents` is true. This is only used in `proxy-status` command.
    	// 0 means that there is no limit.
    	XdsViaAgentsLimit int
    }
    
    var DefaultOptions = Options{
    	MessageWriter:     os.Stdout,
    	XdsViaAgents:      false,
    	XdsViaAgentsLimit: 0,
    }
    
    // RequestAndProcessXds merges XDS responses from 1 central or 1..N K8s cluster-based XDS servers
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin.go

    	case "error":
    		return log.ErrorLevel
    	case "info":
    		return log.InfoLevel
    	}
    	return log.InfoLevel
    }
    
    func GetLoggingOptions(udsAddress string) *log.Options {
    	loggingOptions := log.DefaultOptions()
    	loggingOptions.OutputPaths = []string{"stderr"}
    	loggingOptions.JSONEncoding = true
    	if udsAddress != "" {
    		loggingOptions.WithTeeToUDS(udsAddress, constants.UDSLogPath)
    	}
    	return loggingOptions
    }
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/net_test.go

    	"istio.io/istio/cni/pkg/iptables"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    func setupLogging() {
    	opts := istiolog.DefaultOptions()
    	opts.SetDefaultOutputLevel(istiolog.OverrideScopeName, istiolog.DebugLevel)
    	istiolog.Configure(opts)
    	for _, scope := range istiolog.Scopes() {
    		scope.SetOutputLevel(istiolog.DebugLevel)
    	}
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 04:21:06 GMT 2020
    - 65.7K bytes
    - Viewed (0)
Back to top