Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for attach (0.24 sec)

  1. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    			default:
    				return fmt.Errorf("output format %q not supported", common.outputFormat)
    			}
    		}),
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	common.attach(cmd)
    
    	return cmd
    }
    
    func servicesCmd(ctx cli.Context) *cobra.Command {
    	var serviceNamespace string
    	common := new(commonFlags)
    	cmd := &cobra.Command{
    		Use:   "service",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  2. istioctl/pkg/clioptions/central.go

    	Plaintext bool
    
    	// GCP project number or ID to use for XDS calls, if any.
    	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) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/kubeinject.go

    		if err != nil {
    			return nil, err
    		}
    		namespace, selector, err := polymorphichelpers.SelectorsForObject(svc)
    		if err != nil {
    			if e.injectorAddress == "" {
    				return nil, fmt.Errorf("cannot attach to %T: %v", svc, err)
    			}
    			address = fmt.Sprintf("https://%s:%d%s", e.injectorAddress, *cc.Service.Port, *cc.Service.Path)
    		} else {
    			pod, err := GetFirstPod(e.client.Kube().CoreV1(), namespace, selector.String())
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  4. istioctl/cmd/root.go

    		cmd *cobra.Command, args []string, toComplete string,
    	) ([]string, cobra.ShellCompDirective) {
    		return completion.ValidNamespaceArgs(cmd, ctx, args, toComplete)
    	})
    
    	// Attach the Istio logging options to the command.
    	root.LoggingOptions.AttachCobraFlags(rootCmd)
    	hiddenFlags := []string{
    		"log_as_json", "log_rotate", "log_rotate_max_age", "log_rotate_max_backups",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. istioctl/pkg/clioptions/control_plane.go

    // ControlPlaneOptions defines common options used by istioctl.
    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", "",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 01 05:47:27 GMT 2021
    - 1.1K bytes
    - Viewed (0)
Back to top