- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for Command (0.24 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/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) -
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 Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.9K bytes - Viewed (0) -
istioctl/pkg/version/version.go
"istio.io/istio/pilot/pkg/model" "istio.io/istio/pilot/pkg/xds" "istio.io/istio/pkg/proxy" istioVersion "istio.io/istio/pkg/version" ) func NewVersionCommand(ctx cli.Context) *cobra.Command { profileCmd := mesh.ProfileCmd(ctx) var opts clioptions.ControlPlaneOptions versionCmd := istioVersion.CobraCommandWithOptions(istioVersion.CobraOptions{ GetRemoteVersion: getRemoteInfoWrapper(ctx, &profileCmd, &opts),
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.3K bytes - Viewed (0)