Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for noArgs (0.39 sec)

  1. cmd/kubeadm/app/cmd/config.go

    			groups, err := mapLegacyKindsToGroups(kinds)
    			if err != nil {
    				return err
    			}
    			return runConfigPrintActionDefaults(out, groups, configBytesProc)
    		},
    		Args: cobra.NoArgs,
    	}
    	if action == "init" {
    		cmd.Flags().StringSliceVar(&kinds, "component-configs", kinds,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/certs.go

    	cmd := &cobra.Command{
    		Use:     "generate-csr",
    		Short:   "Generate keys and certificate signing requests",
    		Long:    generateCSRLongDesc,
    		Example: generateCSRExample,
    		Args:    cobra.NoArgs,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			if err := config.load(); err != nil {
    				return err
    			}
    			return runGenCSR(out, config)
    		},
    	}
    	config.addFlagSet(cmd.Flags())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/token.go

    			printer, err := outputFlags.ToPrinter()
    			if err != nil {
    				return errors.Wrap(err, "could not construct output printer")
    			}
    
    			return RunListTokens(out, errW, client, printer)
    		},
    		Args: cobra.NoArgs,
    	}
    
    	outputFlags.AddFlags(listCmd)
    
    	tokenCmd.AddCommand(listCmd)
    
    	deleteCmd := &cobra.Command{
    		Use:                   "delete [token-value] ...",
    		DisableFlagsInUseLine: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/upgrade/node.go

    		RunE: func(cmd *cobra.Command, args []string) error {
    			if err := validation.ValidateMixedArguments(cmd.Flags()); err != nil {
    				return err
    			}
    
    			return nodeRunner.Run(args)
    		},
    		Args: cobra.NoArgs,
    	}
    
    	// adds flags to the node command
    	// flags could be eventually inherited by the sub-commands automatically generated for phases
    	addUpgradeNodeFlags(cmd.Flags(), nodeOptions)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. istioctl/pkg/validate/validate.go

      kubectl get services -o yaml | istioctl validate -f -
    
      # Also see the related command 'istioctl analyze'
      istioctl analyze samples/bookinfo/networking/bookinfo-gateway.yaml
    `,
    		Args: cobra.NoArgs,
    		RunE: func(c *cobra.Command, _ []string) error {
    			istioNamespace := ctx.IstioNamespace()
    			defaultNamespace := ctx.NamespaceOrDefault("")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 22 17:58:52 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret.go

      istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 --auth-type=plugin --auth-plugin-name=gcp \
        | kubectl --kubeconfig=c1.yaml apply -f -`,
    		Args: cobra.NoArgs,
    		RunE: func(c *cobra.Command, args []string) error {
    			if err := opts.prepare(ctx); err != nil {
    				return err
    			}
    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 01:43:17 UTC 2023
    - 24K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/join.go

    		opt.externalcfg.Discovery.BootstrapToken = nil //NB. this could be removed when we get better control on args (e.g. phases without discovery should have NoArgs )
    	}
    
    	cfg, err := configutil.LoadOrDefaultJoinConfiguration(opt.cfgPath, opt.externalcfg, configutil.LoadOrDefaultConfigurationOptions{
    		SkipCRIDetect: opt.skipCRIDetect,
    	})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/init.go

    			if !ok {
    				return errors.New("invalid data struct")
    			}
    
    			fmt.Printf("[init] Using Kubernetes version: %s\n", data.cfg.KubernetesVersion)
    
    			return initRunner.Run(args)
    		},
    		Args: cobra.NoArgs,
    	}
    
    	// add flags to the init command.
    	// init command local flags could be eventually inherited by the sub-commands automatically generated for phases
    	AddInitConfigFlags(cmd.Flags(), initOptions.externalInitCfg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. src/internal/reflectlite/all_test.go

    	return p.x*p.x*scale + p.y*p.y*scale
    }
    
    // This will be index 2.
    func (p Point) GCMethod(k int) int {
    	runtime.GC()
    	return k + p.x
    }
    
    // This will be index 3.
    func (p Point) NoArgs() {
    	// Exercise no-argument/no-result paths.
    }
    
    // This will be index 4.
    func (p Point) TotalDist(points ...Point) int {
    	tot := 0
    	for _, q := range points {
    		dx := q.x - p.x
    		dy := q.y - p.y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  10. src/runtime/syscall_windows.go

    }
    
    //go:linkname syscall_Syscall9 syscall.Syscall9
    //go:nosplit
    func syscall_Syscall9(fn, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2, err uintptr) {
    	args := [...]uintptr{a1, a2, a3, a4, a5, a6, a7, a8, a9}
    	return syscall_SyscallN(fn, args[:nargs]...)
    }
    
    //go:linkname syscall_Syscall12 syscall.Syscall12
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top