Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for Command (0.17 sec)

  1. cmd/main.go

    	commandsTree := trie.NewTrie()
    
    	// registerCommand registers a cli command.
    	registerCommand := func(command cli.Command) {
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    	findClosestCommands := func(command string) []string {
    		var closestCommands []string
    		closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    	return endpointConfigCmd
    }
    
    // edsConfigCmd is a command to dump EDS output. This differs from "endpoints" which pulls from /clusters.
    // Notably, this shows metadata and locality, while clusters shows outlier health status
    func edsConfigCmd(ctx cli.Context) *cobra.Command {
    	var podName, podNamespace string
    
    	endpointConfigCmd := &cobra.Command{
    		Use: "eds [<type>/]<name>[.<namespace>]",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-remove.go

    }
    
    func operatorRemoveCmd(ctx cli.Context, rootArgs *RootArgs, orArgs *operatorRemoveArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "remove",
    		Short: "Removes the Istio operator controller from the cluster.",
    		Long:  "The remove subcommand removes the Istio operator controller from the cluster.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if orArgs.revision == "" && !orArgs.purge {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/tag.go

    	Tag        string   `json:"tag"`
    	Revision   string   `json:"revision"`
    	Namespaces []string `json:"namespaces"`
    }
    
    func TagCommand(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "tag",
    		Short: "Command group used to interact with revision tags",
    		Long: `Command group used to interact with revision tags. Revision tags allow for the creation of mutable aliases
    referring to control plane revisions for sidecar injection.
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  5. istioctl/pkg/waypoint/waypoint.go

    		}
    		return &gw, nil
    	}
    	waypointGenerateCmd := &cobra.Command{
    		Use:   "generate",
    		Short: "Generate a waypoint configuration",
    		Long:  "Generate a waypoint configuration as YAML",
    		Example: `  # Generate a waypoint as yaml
      istioctl x waypoint generate --namespace default`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			gw, err := makeGateway(false)
    			if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:40 GMT 2024
    - 15K bytes
    - Viewed (0)
  6. istioctl/pkg/authz/authz.go

    )
    
    var configDumpFile string
    
    func checkCmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "check [<type>/]<name>[.<namespace>]",
    		Short: "Check AuthorizationPolicy applied in the pod.",
    		Long: `Check prints the AuthorizationPolicy applied to a pod by directly checking
    the Envoy configuration of the pod. The command is especially useful for inspecting
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. operator/cmd/mesh/install.go

    func InstallCmdWithArgs(ctx cli.Context, rootArgs *RootArgs, iArgs *InstallArgs) *cobra.Command {
    	ic := &cobra.Command{
    		Use:     "install",
    		Short:   "Applies an Istio manifest, installing or reconfiguring Istio on a cluster.",
    		Long:    "The install command generates an Istio install manifest and applies it to a cluster.",
    		Aliases: []string{"apply"},
    		// nolint: lll
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  8. operator/cmd/mesh/profile-diff.go

    	manifestsPath string
    }
    
    func addProfileDiffFlags(cmd *cobra.Command, args *profileDiffArgs) {
    	cmd.PersistentFlags().StringVarP(&args.manifestsPath, "charts", "", "", ChartsDeprecatedStr)
    	cmd.PersistentFlags().StringVarP(&args.manifestsPath, "manifests", "d", "", ManifestsFlagHelpStr)
    }
    
    func profileDiffCmd(pfArgs *profileDiffArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "diff <profile|file1.yaml> <profile|file2.yaml>",
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest_shared_test.go

    }
    
    // runManifestCommand runs the given manifest command. If filenames is set, passes the given filenames as -f flag,
    // flags is passed to the command verbatim. If you set both flags and path, make sure to not use -f in flags.
    func runManifestCommand(command string, filenames []string, flags string, chartSource chartSourceType, fileSelect []string) (string, error) {
    	var args string
    	if command == "install" {
    		args = "install"
    	} else {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. istioctl/pkg/metrics/metrics.go

    )
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "metrics <workload name>...",
    		Short: "Prints the metrics for the specified workload(s) when running in Kubernetes.",
    		Long: `
    Prints the metrics for the specified service(s) when running in Kubernetes.
    
    This command finds a Prometheus pod running in the specified istio system
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top