Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AttachControlPlaneFlags (0.12 sec)

  1. istioctl/pkg/clioptions/central.go

    	GCPProject string
    
    	// Istiod address. For MCP may be different than Xds.
    	IstiodAddr string
    }
    
    // AttachControlPlaneFlags attaches control-plane flags to a Cobra command.
    // (Currently just --endpoint)
    func (o *CentralControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) {
    	cmd.PersistentFlags().StringVar(&o.Xds, "xds-address", viper.GetString("XDS-ADDRESS"),
    		"XDS Endpoint")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jun 06 03:39:27 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/clioptions/control_plane.go

    type ControlPlaneOptions struct {
    	// Revision is the istio.io/rev control plane revision
    	Revision string
    }
    
    // AttachControlPlaneFlags attaches control-plane flags to a Cobra command.
    // (Currently just --revision)
    func (o *ControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) {
    	cmd.PersistentFlags().StringVarP(&o.Revision, "revision", "r", "",
    		"Control plane revision")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 01 05:47:27 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. istioctl/pkg/internaldebug/internal-debug.go

    				return err
    			}
    			if newResponse != nil {
    				return sw.PrintAll(newResponse)
    			}
    
    			return sw.PrintAll(xdsResponses)
    		},
    	}
    
    	opts.AttachControlPlaneFlags(debugCommand)
    	centralOpts.AttachControlPlaneFlags(debugCommand)
    	debugCommand.Long += "\n\n" + util.ExperimentalMsg
    	debugCommand.PersistentFlags().BoolVar(&internalDebugAllIstiod, "all", false,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 12 11:30:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. istioctl/pkg/proxystatus/proxystatus.go

    				Namespace: ctx.Namespace(),
    			}
    			return sw.PrintAll(xdsResponses)
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	opts.AttachControlPlaneFlags(statusCmd)
    	centralOpts.AttachControlPlaneFlags(statusCmd)
    	statusCmd.PersistentFlags().StringVarP(&configDumpFile, "file", "f", "",
    		"Envoy config dump JSON file")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. istioctl/pkg/version/version.go

    		GetRemoteVersion: xdsRemoteVersionWrapper(ctx, &opts, &centralOpts, &xdsResponses),
    		GetProxyVersions: xdsProxyVersionWrapper(&xdsResponses),
    	})
    	opts.AttachControlPlaneFlags(versionCmd)
    	centralOpts.AttachControlPlaneFlags(versionCmd)
    	versionCmd.Args = func(c *cobra.Command, args []string) error {
    		if err := cobra.NoArgs(c, args); err != nil {
    			return err
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 21:11:35 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/clusters.go

    			if err != nil {
    				return err
    			}
    			return writeMulticlusterStatus(cmd.OutOrStdout(), res)
    		},
    	}
    	opts.AttachControlPlaneFlags(cmd)
    	return cmd
    }
    
    func writeMulticlusterStatus(out io.Writer, input map[string][]byte) error {
    	statuses, err := parseClusterStatuses(input)
    	if err != nil {
    		return err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top