Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 183 for cobra (0.04 sec)

  1. pkg/test/echo/cmd/server/main.go

    	disableALPN      bool
    
    	loggingOptions = log.DefaultOptions()
    
    	rootCmd = &cobra.Command{
    		Use:               "server",
    		Short:             "Echo server application.",
    		SilenceUsage:      true,
    		Long:              `Echo application for testing Istio E2E`,
    		PersistentPreRunE: configureLogging,
    		Run: func(cmd *cobra.Command, args []string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. pkg/test/echo/cmd/client/main.go

    where the network configuration doesn't support gRPC to the source pod.'
    `,
    		Args:              cobra.ExactArgs(1),
    		PersistentPreRunE: configureLogging,
    		Run: func(cmd *cobra.Command, args []string) {
    			expectSet = cmd.Flags().Changed("expect")
    			// Create a request from the flags.
    			request, err := getRequest(args[0])
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. istioctl/pkg/version/version.go

    		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
    		}
    		if err := centralOpts.ValidateControlPlaneFlags(); err != nil {
    			return err
    		}
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. pkg/collateral/control.go

    }
    
    func findCommands(commands map[string]*cobra.Command, cmd *cobra.Command) {
    	cmd.InitDefaultHelpCmd()
    	cmd.InitDefaultHelpFlag()
    
    	commands[cmd.CommandPath()] = cmd
    	for _, c := range cmd.Commands() {
    		findCommands(commands, c)
    	}
    }
    
    const help = "help"
    
    func genHTMLFragment(cmd *cobra.Command, path string, p Predicates) error {
    	commands := make(map[string]*cobra.Command)
    	findCommands(commands, cmd)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/upgrade/diff.go

    )
    
    // newCmdDiff returns the cobra command for `kubeadm upgrade diff`
    func newCmdDiff(out io.Writer) *cobra.Command {
    	flags := &diffFlags{
    		kubeConfigPath: constants.GetAdminKubeConfigPath(),
    		out:            out,
    	}
    
    	cmd := &cobra.Command{
    		Use:   "diff [version]",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. cmd/kube-scheduler/app/server.go

    }
    
    // Option configures a framework.Registry.
    type Option func(runtime.Registry) error
    
    // NewSchedulerCommand creates a *cobra.Command object with default parameters and registryOptions
    func NewSchedulerCommand(registryOptions ...Option) *cobra.Command {
    	opts := options.NewOptions()
    
    	cmd := &cobra.Command{
    		Use: "kube-scheduler",
    		Long: `The Kubernetes scheduler is a control plane process which assigns
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/reset.go

    func newCmdReset(in io.Reader, out io.Writer, resetOptions *resetOptions) *cobra.Command {
    	if resetOptions == nil {
    		resetOptions = newResetOptions()
    	}
    	resetRunner := workflow.NewRunner()
    
    	cmd := &cobra.Command{
    		Use:   "reset",
    		Short: "Performs a best effort revert of changes made to this host by 'kubeadm init' or 'kubeadm join'",
    		RunE: func(cmd *cobra.Command, args []string) error {
    			data, err := resetRunner.InitData(args)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 12:26:58 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-generate.go

    		"If enabled, the current cluster will be checked for cluster-specific setting detection.")
    }
    
    func ManifestGenerateCmd(ctx cli.Context, rootArgs *RootArgs, mgArgs *ManifestGenerateArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "generate",
    		Short: "Generates an Istio install manifest",
    		Long:  "The generate subcommand generates an Istio install manifest and outputs to the console by default.",
    		// nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/cmd/root.go

    }
    
    func GetCommand(logOpts *log.Options) *cobra.Command {
    	cfg := config.DefaultConfig()
    	cmd := &cobra.Command{
    		Use:   "istio-iptables",
    		Short: "Set up iptables rules for Istio Sidecar",
    		Long:  "istio-iptables is responsible for setting up port forwarding for Istio Sidecar.",
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    			if err := log.Configure(logOpts); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/init/certs_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package phases
    
    import (
    	"os"
    	"testing"
    
    	"github.com/spf13/cobra"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
    	certstestutil "k8s.io/kubernetes/cmd/kubeadm/app/util/certs"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 2.1K bytes
    - Viewed (0)
Back to top