- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 131 for Command (0.2 sec)
-
istioctl/cmd/root.go
seenCommands := make(map[*cobra.Command]bool) var commandStack []*cobra.Command commandStack = append(commandStack, rootCmd) for len(commandStack) > 0 { n := len(commandStack) - 1 curCmd := commandStack[n] commandStack = commandStack[:n] seenCommands[curCmd] = true for _, command := range curCmd.Commands() { if !seenCommands[command] { commandStack = append(commandStack, command)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
configCmd.AddCommand(allCmd(ctx)) configCmd.AddCommand(connectionsCmd(ctx)) return configCmd } type Command struct { Name string } func certificatesConfigCmd(ctx cli.Context) *cobra.Command { common := new(commonFlags) cmd := &cobra.Command{ Use: "certificate", Short: "Retrieves certificate for the specified Ztunnel pod.",
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 13:11:40 GMT 2024 - 22.2K bytes - Viewed (0) -
operator/cmd/mesh/root.go
DryRun bool } func addFlags(cmd *cobra.Command, rootArgs *RootArgs) { cmd.PersistentFlags().BoolVarP(&rootArgs.DryRun, "dry-run", "", false, "Console/log output only, make no changes.") } // GetRootCmd returns the root of the cobra command-tree. func GetRootCmd(ctx cli.Context, args []string) *cobra.Command { rootCmd := &cobra.Command{ Use: "mesh", Short: "Command line Istio install utility.",
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 3.9K bytes - Viewed (0) -
operator/cmd/mesh/profile.go
import ( "github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" ) // ProfileCmd is a group of commands related to profile listing, dumping and diffing. func ProfileCmd(_ cli.Context) *cobra.Command { pc := &cobra.Command{ Use: "profile", Short: "Commands related to Istio configuration profiles", Long: "The profile command lists, dumps or diffs Istio configuration profiles.", Example: "istioctl profile list\n" +
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.5K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
} func groupCommand(ctx cli.Context) *cobra.Command { groupCmd := &cobra.Command{ Use: "group", Short: "Commands dealing with WorkloadGroup resources", Example: " istioctl x workload group create --name foo --namespace bar --labels app=foobar", } groupCmd.AddCommand(createCommand(ctx)) return groupCmd } func entryCommand(ctx cli.Context) *cobra.Command { entryCmd := &cobra.Command{ Use: "entry",
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0) -
istioctl/pkg/config/config.go
} // Cmd represents the config subcommand command func Cmd() *cobra.Command { configCmd := &cobra.Command{ Use: "config SUBCOMMAND", Short: "Configure istioctl defaults", Args: cobra.NoArgs, Example: ` # list configuration parameters istioctl experimental config list`, } configCmd.AddCommand(listCommand()) return configCmd } func listCommand() *cobra.Command { listCmd := &cobra.Command{ Use: "list",
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sun Jul 30 12:16:07 GMT 2023 - 3.1K bytes - Viewed (0) -
misc/ios/detect.go
files = append(files, string(line)) } } return files } func parseMobileProvision(fname string) *exec.Cmd { return exec.Command("security", "cms", "-D", "-i", string(fname)) } func plistExtract(fname string, path string) ([]byte, error) { out, err := exec.Command("/usr/libexec/PlistBuddy", "-c", "Print "+path, fname).CombinedOutput() if err != nil { return nil, err } return bytes.TrimSpace(out), nil }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
needsRestart int } func Cmd(cliContext cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "injector", Short: "List sidecar injector and sidecar versions", Long: `List sidecar injector and sidecar versions`, Example: ` istioctl experimental injector list`, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
} func Dashboard(cliContext cli.Context) *cobra.Command { dashboardCmd := &cobra.Command{ Use: "dashboard", Aliases: []string{"dash", "d"}, Short: "Access to Istio web UIs", Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("unknown dashboard %q", args[0]) } return nil }, RunE: func(cmd *cobra.Command, args []string) error { cmd.HelpFunc()(cmd, args)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K 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 Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.4K bytes - Viewed (0)