Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for dumb (0.2 sec)

  1. istioctl/pkg/util/formatting/formatter.go

    	YAMLFormat = "yaml"
    )
    
    var (
    	MsgOutputFormatKeys = []string{LogFormat, JSONFormat, YAMLFormat}
    	MsgOutputFormats    = make(map[string]bool)
    	termEnvVar          = env.Register("TERM", "", "Specifies terminal type.  Use 'dumb' to suppress color output")
    )
    
    func init() {
    	for _, key := range MsgOutputFormatKeys {
    		MsgOutputFormats[key] = true
    	}
    }
    
    // Print output messages in the specified format with color options
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ConverterTest.java

        SerializableTester.reserializeAndAssert(composedConverter);
      }
    
      public void testSerialization_from() {
        Converter<String, String> dumb = Converter.from(toStringFunction(), toStringFunction());
        SerializableTester.reserializeAndAssert(dumb);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  3. internal/color/color.go

    package color
    
    import (
    	"fmt"
    
    	"github.com/fatih/color"
    )
    
    // global colors.
    var (
    	// Check if we stderr, stdout are dumb terminals, we do not apply
    	// ansi coloring on dumb terminals.
    	IsTerminal = func() bool {
    		return !color.NoColor
    	}
    
    	Bold = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ConverterTest.java

        SerializableTester.reserializeAndAssert(composedConverter);
      }
    
      public void testSerialization_from() {
        Converter<String, String> dumb = Converter.from(toStringFunction(), toStringFunction());
        SerializableTester.reserializeAndAssert(dumb);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  5. istioctl/pkg/analyze/analyze.go

    	analysisCmd.PersistentFlags().BoolVar(&colorize, "color", formatting.IstioctlColorDefault(analysisCmd.OutOrStdout()),
    		"Default true.  Disable with '=false' or set $TERM to dumb")
    	analysisCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false,
    		"Enable verbose output")
    	analysisCmd.PersistentFlags().Var(&failureThreshold, "failure-threshold",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. cmd/api-response.go

    	listPartsResponse.Key = s3EncodeName(partsInfo.Object, encodingType)
    	listPartsResponse.UploadID = partsInfo.UploadID
    	listPartsResponse.StorageClass = globalMinioDefaultStorageClass
    
    	// Dumb values not meaningful
    	listPartsResponse.Initiator = Initiator{
    		ID:          globalMinioDefaultOwnerID,
    		DisplayName: globalMinioDefaultOwnerID,
    	}
    	listPartsResponse.Owner = Owner{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  7. cmd/common-main.go

    )
    
    func init() {
    	if !term.IsTerminal(int(os.Stdout.Fd())) || !term.IsTerminal(int(os.Stderr.Fd())) {
    		color.TurnOff()
    	}
    	if env.Get("NO_COLOR", "") != "" || env.Get("TERM", "") == "dumb" {
    		color.TurnOff()
    	}
    
    	if runtime.GOOS == "windows" {
    		if mousetrap.StartedByExplorer() {
    			fmt.Printf("Don't double-click %s\n", os.Args[0])
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  8. operator/cmd/mesh/profile-dump.go

    	cmd.PersistentFlags().StringVarP(&args.configPath, "config-path", "p", "",
    		"The path the root of the configuration subtree to dump e.g. components.pilot. By default, dump whole tree")
    	cmd.PersistentFlags().StringVarP(&args.outputFormat, "output", "o", yamlOutput,
    		"Output format: one of json|yaml|flags")
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. operator/cmd/mesh/operator-dump.go

    		"Output format: one of json|yaml")
    }
    
    func operatorDumpCmd(rootArgs *RootArgs, odArgs *operatorDumpArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "dump",
    		Short: "Dumps the Istio operator controller manifest.",
    		Long:  "The dump subcommand dumps the Istio operator controller manifest.",
    		Args:  cobra.ExactArgs(0),
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  10. operator/cmd/mesh/profile-dump_test.go

    				t.Fatal(err)
    			}
    			if !util.IsYAMLEqual(got, want) {
    				t.Errorf("profile-dump command(%s): got:\n%s\n\nwant:\n%s\nDiff:\n%s\n", tt.desc, got, want, util.YAMLDiff(got, want))
    			}
    		})
    	}
    }
    
    func runProfileDump(profilePath, configPath string, chartSource chartSourceType, outfmt string) (string, error) {
    	cmd := "profile dump -f " + profilePath
    	if configPath != "" {
    		cmd += " --config-path " + configPath
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 20 11:44:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
Back to top