- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for Command (0.14 sec)
-
operator/cmd/mesh/operator.go
"istio.io/istio/istioctl/pkg/cli" ) // OperatorCmd is a group of commands related to installation and management of the operator controller. func OperatorCmd(ctx cli.Context) *cobra.Command { oc := &cobra.Command{ Use: "operator", Short: "Commands related to Istio operator controller.", Long: "The operator command installs, dumps, removes and shows the status of the operator controller.", }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 1.5K bytes - Viewed (0) -
cni/pkg/util/executil.go
func Execute(cmd string, args ...string) error { log.Debugf("Running command: %s %s", cmd, strings.Join(args, " ")) externalCommand := exec.Command(cmd, args...) stdout := &bytes.Buffer{} stderr := &bytes.Buffer{} externalCommand.Stdout = stdout externalCommand.Stderr = stderr err := externalCommand.Run() if len(stdout.String()) != 0 { log.Debugf("Command output: \n%v", stdout.String()) }
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/cmd/options.go
} func optionsCommand(rootCmd *cobra.Command) *cobra.Command { retval := &cobra.Command{ Use: "options", Short: "Displays istioctl global options", Args: cobra.ExactArgs(0), } retval.SetHelpFunc(func(c *cobra.Command, args []string) { c.Printf("The following options can be passed to any command:\n") // (Currently the only global options we show are help options)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.8K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
"config_distribution?resource=VirtualService/default/bookinfo") } } } return nil, nil } func DebugCommand(ctx cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions var centralOpts clioptions.CentralControlPlaneOptions debugCommand := &cobra.Command{ Use: "internal-debug [<type>/]<name>[.<namespace>]", Short: "Retrieves the debug information of istio", Long: `
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.9K bytes - Viewed (0) -
operator/cmd/mesh/manifest-diff.go
"e.g. Service:*:istiod->Service:*:istio-control - rename istiod service into istio-control") } func manifestDiffCmd(diffArgs *manifestDiffArgs) *cobra.Command { cmd := &cobra.Command{ Use: "diff <file|dir> <file|dir>", Short: "Compare manifests and generate diff", Long: "The diff subcommand compares manifests from two files or directories. The output is a list of\n" +
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/pkg/proxystatus/proxystatus.go
data, err := io.ReadAll(file) if err != nil { return nil, err } return data, nil } func StableXdsStatusCommand(ctx cli.Context) *cobra.Command { cmd := XdsStatusCommand(ctx) unstableFlags := []string{"xds-via-agents", "xds-via-agents-limit"} cmd.PreRunE = func(cmd *cobra.Command, args []string) error { for _, flag := range unstableFlags { if cmd.PersistentFlags().Changed(flag) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 6.2K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
package main import ( "bufio" "bytes" "internal/testenv" "os" "path/filepath" "runtime" "strings" "sync" "testing" ) // TestMain executes the test binary as the addr2line command if // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise. func TestMain(m *testing.M) { if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" { main() os.Exit(0) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 22:16:54 GMT 2024 - 3.8K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
} func profileDumpCmd(pdArgs *profileDumpArgs) *cobra.Command { return &cobra.Command{ Use: "dump [<profile>]", Short: "Dumps an Istio configuration profile", Long: "The dump subcommand dumps the values in an Istio configuration profile.", Args: func(cmd *cobra.Command, args []string) error { if len(args) > 1 { return fmt.Errorf("too many positional arguments") }
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/manifest.go
"github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" ) // ManifestCmd is a group of commands related to manifest generation, installation, diffing and migration. func ManifestCmd(ctx cli.Context) *cobra.Command { mc := &cobra.Command{ Use: "manifest", Short: "Commands related to Istio manifests", Long: "The manifest command generates and diffs Istio manifests.", } mgcArgs := &ManifestGenerateArgs{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.4K bytes - Viewed (0) -
operator/cmd/mesh/profile-list.go
manifestsPath string } func addProfileListFlags(cmd *cobra.Command, args *profileListArgs) { cmd.PersistentFlags().StringVarP(&args.manifestsPath, "charts", "", "", ChartsDeprecatedStr) cmd.PersistentFlags().StringVarP(&args.manifestsPath, "manifests", "d", "", ManifestsFlagHelpStr) } func profileListCmd(plArgs *profileListArgs) *cobra.Command { return &cobra.Command{ Use: "list",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.9K bytes - Viewed (0)