Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for AttachControlPlaneFlags (0.39 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)
  7. istioctl/pkg/kubeinject/kubeinject.go

    	injectCmd.PersistentFlags().StringVar(&whcName, "webhookConfig", defaultInjectWebhookConfigName,
    		"MutatingWebhookConfiguration name for Istio")
    	opts.AttachControlPlaneFlags(injectCmd)
    	centralOpts.AttachControlPlaneFlags(injectCmd)
    	return injectCmd
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig.go

    			err = istiodConfigCmd.execute(logCmd.OutOrStdout())
    			if err != nil {
    				return err
    			}
    			return nil
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    	opts.AttachControlPlaneFlags(logCmd)
    	logCmd.PersistentFlags().BoolVar(&istiodReset, "reset", istiodReset, "Reset levels to default value. (info)")
    	logCmd.PersistentFlags().IntVar(&controlzPort, "ctrlz_port", 9876, "ControlZ port")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. istioctl/pkg/precheck/precheck.go

    		fmt.Sprintf("Output format: one of %v", formatting.MsgOutputFormatKeys))
    	cmd.PersistentFlags().StringVarP(&fromCompatibilityVersion, "from-version", "f", "",
    		"check changes since the provided version")
    	opts.AttachControlPlaneFlags(cmd)
    	return cmd
    }
    
    func checkFromVersion(ctx cli.Context, revision, version string) (diag.Messages, error) {
    	cli, err := ctx.CLIClientWithRevision(revision)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload.go

    	configureCmd.PersistentFlags().StringVar(&externalIP, "externalIP", "", "External IP address of the workload")
    	opts.AttachControlPlaneFlags(configureCmd)
    	return configureCmd
    }
    
    // Reads a WorkloadGroup yaml. Additionally populates default values if unset
    // TODO: add WorkloadGroup validation in pkg/config/validation
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
Back to top