Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 76 for Cmd (4.25 sec)

  1. operator/cmd/mesh/operator-dump.go

    		Args:  cobra.ExactArgs(0),
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    			if !labels.IsDNS1123Label(odArgs.common.revision) && cmd.PersistentFlags().Changed("revision") {
    				return fmt.Errorf("invalid revision specified: %v", odArgs.common.revision)
    			}
    			return nil
    		},
    		Run: func(cmd *cobra.Command, args []string) {
    			l := clog.NewConsoleLogger(cmd.OutOrStdout(), cmd.ErrOrStderr(), installerScope)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  2. istioctl/pkg/wait/wait.go

    			"Kubernetes")
    	cmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "enables verbose output")
    	_ = cmd.PersistentFlags().MarkHidden("verbose")
    	opts.AttachControlPlaneFlags(cmd)
    	return cmd
    }
    
    func printVerbosef(cmd *cobra.Command, template string, args ...any) {
    	if verbose {
    		_, _ = fmt.Fprintf(cmd.OutOrStdout(), template+"\n", args...)
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  3. licenses/github.com/klauspost/compress/LICENSE

       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       See the License for the specific language governing permissions and
       limitations under the License.
    
    ------------------
    
    Files: s2/cmd/internal/readahead/*
    
    The MIT License (MIT)
    
    Copyright (c) 2015 Klaus Post
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Nov 30 19:13:15 GMT 2021
    - 16.3K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile-diff.go

    func profileDiff(cmd *cobra.Command, pfArgs *profileDiffArgs, args []string) (bool, error) {
    	l := clog.NewConsoleLogger(cmd.OutOrStdout(), cmd.OutOrStderr(), nil)
    	setFlags := make([]string, 0)
    	if pfArgs.manifestsPath != "" {
    		setFlags = append(setFlags, fmt.Sprintf("installPackagePath=%s", pfArgs.manifestsPath))
    	}
    	return profileDiffInternal(args[0], args[1], setFlags, cmd.OutOrStdout(), l)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. istioctl/pkg/authz/authz.go

      istioctl x authz check -f httpbin_config_dump.json`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) > 1 {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("check requires only <pod-name>[.<pod-namespace>]")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    			if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    				Namespace: "default",
    			})), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. istioctl/pkg/analyze/analyze.go

    				if len(result.SkippedAnalyzers) > 0 {
    					fmt.Fprintln(cmd.ErrOrStderr(), "Skipped analyzers:")
    					for _, a := range result.SkippedAnalyzers {
    						fmt.Fprintln(cmd.ErrOrStderr(), "\t", a)
    					}
    				}
    				if len(result.ExecutedAnalyzers) > 0 {
    					fmt.Fprintln(cmd.ErrOrStderr(), "Executed analyzers:")
    					for _, a := range result.ExecutedAnalyzers {
    						fmt.Fprintln(cmd.ErrOrStderr(), "\t", a)
    					}
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig_test.go

    				Namespace: "default",
    			})), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. istioctl/pkg/admin/admin.go

    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	istiodLog := istiodLogCmd(ctx)
    	adminCmd.AddCommand(istiodLog)
    	adminCmd.PersistentFlags().StringVarP(&istiodLabelSelector, "selector", "l", "app=istiod", "label selector")
    
    	return adminCmd
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. istioctl/pkg/metrics/metrics.go

    		// nolint: goimports
    		Aliases: []string{"m"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) < 1 {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("metrics requires workload name")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			return run(cmd, ctx, args)
    		},
    		DisableFlagsInUseLine: true,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top