- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for Cmd (0.12 sec)
-
istioctl/pkg/tag/tag.go
`, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("unknown subcommand %q", args[0]) } return nil }, RunE: func(cmd *cobra.Command, args []string) error { cmd.HelpFunc()(cmd, args) return nil }, } cmd.AddCommand(tagSetCommand(ctx)) cmd.AddCommand(tagGenerateCommand(ctx)) cmd.AddCommand(tagListCommand(ctx))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
} func VerifyOutput(t *testing.T, cmd *cobra.Command, c TestCase) { t.Helper() cmd.SetArgs(c.Args) var out bytes.Buffer cmd.SetOut(&out) cmd.SetErr(&out) cmd.SilenceUsage = true fErr := cmd.Execute() output := out.String() if c.ExpectedOutput != "" && c.ExpectedOutput != output { t.Fatalf("Unexpected output for '%s %s'\n got: %q\nwant: %q", cmd.Name(),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 2K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
# List all waypoints in a specific namespace istioctl x waypoint list --namespace default`, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("unknown subcommand %q", args[0]) } return nil }, RunE: func(cmd *cobra.Command, args []string) error { cmd.HelpFunc()(cmd, args) return nil }, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
} verifyExecTestOutput(t, XdsStatusCommand(ctx), 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: Fri Mar 15 08:28:50 GMT 2024 - 5.5K bytes - Viewed (0) -
cni/pkg/util/executil.go
"os/exec" "strings" "istio.io/istio/pkg/log" ) type ExecList struct { Cmd string Args []string } func NewExec(cmd string, args []string) *ExecList { return &ExecList{ Cmd: cmd, Args: args, } } func ExecuteOutput(cmd string, args ...string) (string, error) { externalCommand := exec.Command(cmd, args...) stdout := &bytes.Buffer{} stderr := &bytes.Buffer{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.8K bytes - Viewed (0) -
istioctl/pkg/clioptions/central.go
func (o *CentralControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) { cmd.PersistentFlags().StringVar(&o.Xds, "xds-address", viper.GetString("XDS-ADDRESS"), "XDS Endpoint") cmd.PersistentFlags().StringVar(&o.CertDir, "cert-dir", viper.GetString("CERT-DIR"), "XDS Endpoint certificate directory") cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "", "Istiod pod label selector")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jun 06 03:39:27 GMT 2022 - 3.2K bytes - Viewed (0) -
operator/cmd/mesh/manifest-diff.go
renameResources string } func addManifestDiffFlags(cmd *cobra.Command, diffArgs *manifestDiffArgs) { cmd.PersistentFlags().BoolVarP(&diffArgs.compareDir, "directory", "r", false, "Compare directory.") cmd.PersistentFlags().BoolVarP(&diffArgs.verbose, "verbose", "v", false, "Verbose output.") cmd.PersistentFlags().StringVar(&diffArgs.selectResources, "select", "::",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.8K bytes - Viewed (0) -
istioctl/cmd/istioctl/main.go
_ "k8s.io/client-go/plugin/pkg/client/auth" "istio.io/istio/istioctl/cmd" "istio.io/istio/pkg/log" ) func main() { if err := cmd.ConfigAndEnvProcessing(); err != nil { fmt.Fprintf(os.Stderr, "Could not initialize: %v\n", err) exitCode := cmd.GetExitCode(err) os.Exit(exitCode) } rootCmd := cmd.GetRootCmd(os.Args[1:]) log.EnableKlogWithCobra()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 23 17:08:31 GMT 2023 - 1.1K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
kind: IstioOperator ` ) func addProfileDumpFlags(cmd *cobra.Command, args *profileDumpArgs) { cmd.PersistentFlags().StringSliceVarP(&args.inFilenames, "filename", "f", nil, filenameFlagHelpStr) 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")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 7.1K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump_test.go
cmd := "profile dump -f " + profilePath if configPath != "" { cmd += " --config-path " + configPath } if len(chartSource) > 0 { cmd += " --manifests=" + string(chartSource) } if outfmt != "" { cmd += " --output=" + outfmt } return runCommand(cmd) } func TestProfileDumpFlags(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 20 11:44:25 GMT 2022 - 3.7K bytes - Viewed (0)