Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for runPreflight (0.52 sec)

  1. cmd/kubeadm/app/cmd/phases/reset/preflight.go

    		Short:   "Run reset pre-flight checks",
    		Long:    "Run pre-flight checks for kubeadm reset.",
    		Run:     runPreflight,
    		InheritFlags: []string{
    			options.IgnorePreflightErrors,
    			options.ForceReset,
    			options.DryRun,
    		},
    	}
    }
    
    // runPreflight executes preflight checks logic.
    func runPreflight(c workflow.RunData) error {
    	r, ok := c.(resetData)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 11 08:02:50 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/init/preflight.go

    		Long:    "Run pre-flight checks for kubeadm init.",
    		Example: preflightExample,
    		Run:     runPreflight,
    		InheritFlags: []string{
    			options.CfgPath,
    			options.ImageRepository,
    			options.NodeCRISocket,
    			options.IgnorePreflightErrors,
    			options.DryRun,
    		},
    	}
    }
    
    // runPreflight executes preflight checks logic.
    func runPreflight(c workflow.RunData) error {
    	data, ok := c.(InitData)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/upgrade/node/preflight.go

    		Name:  "preflight",
    		Short: "Run upgrade node pre-flight checks",
    		Long:  "Run pre-flight checks for kubeadm upgrade node.",
    		Run:   runPreflight,
    		InheritFlags: []string{
    			options.IgnorePreflightErrors,
    		},
    	}
    }
    
    // runPreflight executes preflight checks logic.
    func runPreflight(c workflow.RunData) error {
    	data, ok := c.(Data)
    	if !ok {
    		return errors.New("preflight phase invoked with an invalid data struct")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/join/preflight.go

    			options.TokenDiscovery,
    			options.TokenDiscoveryCAHash,
    			options.TokenDiscoverySkipCAHash,
    			options.CertificateKey,
    			options.DryRun,
    		},
    	}
    }
    
    // runPreflight executes preflight checks logic.
    func runPreflight(c workflow.RunData) error {
    	j, ok := c.(JoinData)
    	if !ok {
    		return errors.New("preflight phase invoked with an invalid data struct")
    	}
    	fmt.Println("[preflight] Running pre-flight checks")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top