- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 144 for funcdata (0.12 sec)
-
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) -
cmd/kubeadm/app/cmd/phases/init/kubelet.go
options.ImageRepository, options.NodeCRISocket, options.NodeName, options.Patches, options.DryRun, }, } } // runKubeletStart executes kubelet start logic. func runKubeletStart(c workflow.RunData) error { data, ok := c.(InitData) if !ok { return errors.New("kubelet-start phase invoked with an invalid data struct") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Aug 20 09:18:00 UTC 2023 - 3.2K bytes - Viewed (0) -
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) -
cmd/kubeadm/app/cmd/phases/init/bootstraptoken.go
InheritFlags: []string{ options.CfgPath, options.KubeconfigPath, options.SkipTokenPrint, options.DryRun, }, Run: runBootstrapToken, } } func runBootstrapToken(c workflow.RunData) error { data, ok := c.(InitData) if !ok { return errors.New("bootstrap-token phase invoked with an invalid data struct") } client, err := data.Client() if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 11 08:02:50 UTC 2022 - 4.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/showjoincommand.go
Run: showJoinCommand, Dependencies: []string{"bootstrap-token", "upload-certs"}, } } // showJoinCommand prints the join command after all the phases in init have finished func showJoinCommand(c workflow.RunData) error { data, ok := c.(InitData) if !ok { return errors.New("show-join-command phase invoked with an invalid data struct") } adminKubeConfigPath := data.KubeConfigPath()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 26 15:35:58 UTC 2022 - 3.9K bytes - Viewed (0) -
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) -
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) -
cmd/kubeadm/app/cmd/phases/reset/removeetcdmember.go
Run: runRemoveETCDMemberPhase, InheritFlags: []string{ options.KubeconfigPath, options.DryRun, }, } } func runRemoveETCDMemberPhase(c workflow.RunData) error { r, ok := c.(resetData) if !ok { return errors.New("remove-etcd-member-phase phase invoked with an invalid data struct") } cfg := r.Cfg() // Only clear etcd data when using local etcd.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 11 08:02:50 UTC 2022 - 4.5K bytes - Viewed (0) -
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) -
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)