Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NewRunner (0.33 sec)

  1. cmd/kubeadm/app/cmd/phases/workflow/runner.go

    	// It corresponds to the relative path of the phase in the workflow managed by the Runner.
    	use string
    }
    
    // NewRunner return a new runner for composable kubeadm workflows.
    func NewRunner() *Runner {
    	return &Runner{
    		Phases: []Phase{},
    	}
    }
    
    // AppendPhase adds the given phase to the ordered sequence of phases managed by the runner.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 21 05:35:15 UTC 2022
    - 16K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/upgrade/node.go

    	outputWriter          io.Writer
    }
    
    // newCmdNode returns the cobra command for `kubeadm upgrade node`
    func newCmdNode(out io.Writer) *cobra.Command {
    	nodeOptions := newNodeOptions()
    	nodeRunner := workflow.NewRunner()
    
    	cmd := &cobra.Command{
    		Use:   "node",
    		Short: "Upgrade commands for a node in the cluster",
    		RunE: func(cmd *cobra.Command, args []string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. 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 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 12:26:58 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  4. pkg/registry/core/rest/storage_core.go

    		// than 1 minute for backward compatibility of failing the whole
    		// apiserver if we can't repair them.
    		wg := sync.WaitGroup{}
    		wg.Add(2)
    		runner := async.NewRunner(
    			func(stopCh chan struct{}) { p.startServiceClusterIPRepair(wg.Done, stopCh) },
    			func(stopCh chan struct{}) { p.startServiceNodePortsRepair(wg.Done, stopCh) },
    		)
    		runner.Start()
    		go func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/bugreport/bugreport.go

    	// Aggregated errors for all fetch operations.
    	gErrors util.Errors
    	lock    = sync.RWMutex{}
    )
    
    func runBugReportCommand(ctx cli.Context, _ *cobra.Command, logOpts *log.Options) error {
    	runner := kubectlcmd.NewRunner(gConfig.RequestConcurrency)
    	runner.ReportRunningTasks()
    	if err := configLogs(logOpts); err != nil {
    		return err
    	}
    	config, err := parseConfig()
    	if err != nil {
    		return err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/init.go

    func newCmdInit(out io.Writer, initOptions *initOptions) *cobra.Command {
    	if initOptions == nil {
    		initOptions = newInitOptions()
    	}
    	initRunner := workflow.NewRunner()
    
    	cmd := &cobra.Command{
    		Use:   "init",
    		Short: "Run this command in order to set up the Kubernetes control plane",
    		RunE: func(cmd *cobra.Command, args []string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/join.go

    func newCmdJoin(out io.Writer, joinOptions *joinOptions) *cobra.Command {
    	if joinOptions == nil {
    		joinOptions = newJoinOptions()
    	}
    	joinRunner := workflow.NewRunner()
    
    	cmd := &cobra.Command{
    		Use:   "join [api-server-endpoint]",
    		Short: "Run this on any machine you wish to join an existing cluster",
    		Long:  joinLongDescription,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top