type StaticPodPathManager …
type KubeStaticPodPathManager …
func NewKubeStaticPodPathManager(kubernetesDir, patchesDir, tempDir, backupDir, backupEtcdDir string, keepManifestDir, keepEtcdDir bool) StaticPodPathManager { … }
func NewKubeStaticPodPathManagerUsingTempDirs(kubernetesDir, patchesDir string, saveManifestsDir, saveEtcdDir bool) (StaticPodPathManager, error) { … }
func (spm *KubeStaticPodPathManager) MoveFile(oldPath, newPath string) error { … }
func (spm *KubeStaticPodPathManager) KubernetesDir() string { … }
func (spm *KubeStaticPodPathManager) PatchesDir() string { … }
func (spm *KubeStaticPodPathManager) RealManifestPath(component string) string { … }
func (spm *KubeStaticPodPathManager) RealManifestDir() string { … }
func (spm *KubeStaticPodPathManager) TempManifestPath(component string) string { … }
func (spm *KubeStaticPodPathManager) TempManifestDir() string { … }
func (spm *KubeStaticPodPathManager) BackupManifestPath(component string) string { … }
func (spm *KubeStaticPodPathManager) BackupManifestDir() string { … }
func (spm *KubeStaticPodPathManager) BackupEtcdDir() string { … }
func (spm *KubeStaticPodPathManager) CleanupDirs() error { … }
func upgradeComponent(component string, certsRenewMgr *renewal.Manager, waiter apiclient.Waiter, pathMgr StaticPodPathManager, cfg *kubeadmapi.InitConfiguration, beforePodHash string, recoverManifests map[string]string) error { … }
func performEtcdStaticPodUpgrade(certsRenewMgr *renewal.Manager, client clientset.Interface, waiter apiclient.Waiter, pathMgr StaticPodPathManager, cfg *kubeadmapi.InitConfiguration, recoverManifests map[string]string, oldEtcdClient, newEtcdClient etcdutil.ClusterInterrogator) (bool, error) { … }
func StaticPodControlPlane(client clientset.Interface, waiter apiclient.Waiter, pathMgr StaticPodPathManager, cfg *kubeadmapi.InitConfiguration, etcdUpgrade, renewCerts bool, oldEtcdClient, newEtcdClient etcdutil.ClusterInterrogator) error { … }
func rollbackOldManifests(oldManifests map[string]string, origErr error, pathMgr StaticPodPathManager, restoreEtcd bool) error { … }
func rollbackEtcdData(cfg *kubeadmapi.InitConfiguration, pathMgr StaticPodPathManager) error { … }
func renewCertsByComponent(cfg *kubeadmapi.InitConfiguration, component string, certsRenewMgr *renewal.Manager) error { … }
func GetPathManagerForUpgrade(kubernetesDir, patchesDir string, internalcfg *kubeadmapi.InitConfiguration, etcdUpgrade bool) (StaticPodPathManager, error) { … }
func PerformStaticPodUpgrade(client clientset.Interface, waiter apiclient.Waiter, internalcfg *kubeadmapi.InitConfiguration, etcdUpgrade, renewCerts bool, patchesDir string) error { … }
func DryRunStaticPodUpgrade(patchesDir string, internalcfg *kubeadmapi.InitConfiguration) error { … }
func GetEtcdImageTagFromStaticPod(manifestDir string) (string, error) { … }
func convertImageTagMetadataToSemver(tag string) string { … }