Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for LogLevel (0.18 sec)

  1. cni/pkg/cmd/root.go

    		CNINetworkConfigFile: viper.GetString(constants.CNINetworkConfigFile),
    		CNINetworkConfig:     viper.GetString(constants.CNINetworkConfig),
    
    		LogLevel:           viper.GetString(constants.LogLevel),
    		KubeconfigFilename: viper.GetString(constants.KubeconfigFilename),
    		KubeconfigMode:     viper.GetInt(constants.KubeconfigMode),
    		KubeCAFile:         viper.GetString(constants.KubeCAFile),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin.go

    		if err != nil {
    			return nil, fmt.Errorf("could not convert result to current version: %v", err)
    		}
    	}
    	// End previous result parsing
    
    	return &conf, nil
    }
    
    func getLogLevel(logLevel string) log.Level {
    	switch logLevel {
    	case "debug":
    		return log.DebugLevel
    	case "warn":
    		return log.WarnLevel
    	case "error":
    		return log.ErrorLevel
    	case "info":
    		return log.InfoLevel
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. cni/pkg/config/config.go

    	b.WriteString("CNINetworkConfigFile: " + c.CNINetworkConfigFile + "\n")
    	b.WriteString("CNINetworkConfig: " + c.CNINetworkConfig + "\n")
    
    	b.WriteString("LogLevel: " + c.LogLevel + "\n")
    	b.WriteString("KubeconfigFilename: " + c.KubeconfigFilename + "\n")
    	b.WriteString("KubeconfigMode: " + fmt.Sprintf("%#o", c.KubeconfigMode) + "\n")
    	b.WriteString("KubeCAFile: " + c.KubeCAFile + "\n")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin_test.go

    	confNoPrevResult := `{
        "cniVersion": "1.0.0",
    	"name": "istio-plugin-sample-test",
    	"type": "sample",
        "runtimeconfig": {
             "sampleconfig": []
        },
        "loglevel": "debug",
    	"ambient_enabled": %t,
        "kubernetes": {
            "k8sapiroot": "APIRoot",
            "kubeconfig": "testK8sConfig",
            "nodename": "testNodeName",
            "excludenamespaces": "testNS",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. cni/pkg/constants/constants.go

    	CNINetDir            = "cni-net-dir"
    	CNIConfName          = "cni-conf-name"
    	ChainedCNIPlugin     = "chained-cni-plugin"
    	CNINetworkConfigFile = "cni-network-config-file"
    	CNINetworkConfig     = "cni-network-config"
    	LogLevel             = "log-level"
    	KubeconfigFilename   = "kubecfg-file-name"
    	KubeconfigMode       = "kubeconfig-mode"
    	KubeCAFile           = "kube-ca-file"
    	SkipTLSVerify        = "skip-tls-verify"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top