Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for funcdata (0.14 sec)

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

    			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 {
    		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
    - 2.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/upgrade/node/preflight.go

    		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")
    	}
    	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
    - 2.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    			options.TokenDiscoverySkipCAHash,
    			options.TLSBootstrapToken,
    			options.TokenStr,
    			options.Patches,
    			options.DryRun,
    		},
    	}
    }
    
    func getKubeletStartJoinData(c workflow.RunData) (*kubeadmapi.JoinConfiguration, *kubeadmapi.InitConfiguration, *clientcmdapi.Config, error) {
    	data, ok := c.(JoinData)
    	if !ok {
    		return nil, nil, nil, errors.New("kubelet-start phase invoked with an invalid data struct")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/join/preflight.go

    			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")
    
    	// Start with general 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)
  5. cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go

    		// https://github.com/kubernetes/kubeadm/issues/2907
    		Hidden: true,
    		Run:    runWaitControlPlanePhase,
    	}
    	return phase
    }
    
    func runWaitControlPlanePhase(c workflow.RunData) error {
    	data, ok := c.(InitData)
    	if !ok {
    		return errors.New("wait-control-plane phase invoked with an invalid data struct")
    	}
    
    	// If we're dry-running, print the generated manifests.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    		Run:     runCleanupNode,
    		InheritFlags: []string{
    			options.CertificatesDir,
    			options.NodeCRISocket,
    			options.CleanupTmpDir,
    			options.DryRun,
    		},
    	}
    }
    
    func runCleanupNode(c workflow.RunData) error {
    	dirsToClean := []string{filepath.Join(kubeadmconstants.KubernetesDir, kubeadmconstants.ManifestsSubDirName)}
    	r, ok := c.(resetData)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/upgrade/node.go

    	// sets the data builder function, that will be used by the runner
    	// both when running the entire workflow or single phases
    	nodeRunner.SetDataInitializer(func(cmd *cobra.Command, args []string) (workflow.RunData, error) {
    		data, err := newNodeData(cmd, args, nodeOptions, out)
    		if err != nil {
    			return nil, err
    		}
    		// If the flag for skipping phases was empty, use the values from config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. docs/debugging/xl-meta/main.go

    		ndjson := c.Bool("ndjson")
    		if c.Bool("data") && c.Bool("combine") {
    			return errors.New("cannot combine --data and --combine")
    		}
    		// file / version / file
    		filemap := make(map[string]map[string]string)
    		foundData := make(map[string][]byte)
    		partDataToVerID := make(map[string][2]string)
    		var baseName string
    		// versionID ->
    		combineFiles := make(map[string][]string)
    		decode := func(r io.Reader, file string) ([]byte, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/liveness/plive.go

    	ls := curfn.LSym
    	fninfo := ls.Func()
    	fninfo.GCArgs, fninfo.GCLocals = lv.emit()
    
    	p := pp.Prog(obj.AFUNCDATA)
    	p.From.SetConst(rtabi.FUNCDATA_ArgsPointerMaps)
    	p.To.Type = obj.TYPE_MEM
    	p.To.Name = obj.NAME_EXTERN
    	p.To.Sym = fninfo.GCArgs
    
    	p = pp.Prog(obj.AFUNCDATA)
    	p.From.SetConst(rtabi.FUNCDATA_LocalsPointerMaps)
    	p.To.Type = obj.TYPE_MEM
    	p.To.Name = obj.NAME_EXTERN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/loong64/asm.go

    	{obj.APCALIGN, C_SCON, C_NONE, C_NONE, C_NONE, C_NONE, 0, 0, 0, 0},
    	{obj.APCDATA, C_LCON, C_NONE, C_NONE, C_LCON, C_NONE, 0, 0, 0, 0},
    	{obj.APCDATA, C_DCON, C_NONE, C_NONE, C_DCON, C_NONE, 0, 0, 0, 0},
    	{obj.AFUNCDATA, C_SCON, C_NONE, C_NONE, C_ADDR, C_NONE, 0, 0, 0, 0},
    	{obj.ANOP, C_NONE, C_NONE, C_NONE, C_NONE, C_NONE, 0, 0, 0, 0},
    	{obj.ANOP, C_LCON, C_NONE, C_NONE, C_NONE, C_NONE, 0, 0, 0, 0}, // nop variants, see #40689
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
Back to top