Documentation ¶
Index ¶
- func SeedReconfigurationFromClusterInfo(clusterInfo *utils.ClusterInfo, ...) *seedreconfig.SeedReconfiguration
- type UpgradeClusterConfigGather
- func (r *UpgradeClusterConfigGather) FetchClusterConfig(ctx context.Context, ostreeVarDir string) error
- func (r *UpgradeClusterConfigGather) FetchLvmConfig(ctx context.Context, ostreeDir string) error
- func (r *UpgradeClusterConfigGather) GetInstallConfig(ctx context.Context) (string, error)
- func (r *UpgradeClusterConfigGather) GetKubeadminPasswordHash(ctx context.Context) (string, error)
- func (r *UpgradeClusterConfigGather) GetProxy(ctx context.Context) (*seedreconfig.Proxy, *seedreconfig.Proxy, error)
- type UpgradeClusterConfigGatherer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SeedReconfigurationFromClusterInfo ¶
func SeedReconfigurationFromClusterInfo( clusterInfo *utils.ClusterInfo, kubeconfigCryptoRetention *seedreconfig.KubeConfigCryptoRetention, sshKey string, infraID string, pullSecret string, kubeadminPasswordHash string, proxy, statusProxy *seedreconfig.Proxy, installConfig string, ) *seedreconfig.SeedReconfiguration
Types ¶
type UpgradeClusterConfigGather ¶
UpgradeClusterConfigGather Gather ClusterConfig attributes from the kube-api
func (*UpgradeClusterConfigGather) FetchClusterConfig ¶
func (r *UpgradeClusterConfigGather) FetchClusterConfig(ctx context.Context, ostreeVarDir string) error
FetchClusterConfig collects the current cluster's configuration and write it as JSON files into given filesystem directory.
func (*UpgradeClusterConfigGather) FetchLvmConfig ¶
func (r *UpgradeClusterConfigGather) FetchLvmConfig(ctx context.Context, ostreeDir string) error
func (*UpgradeClusterConfigGather) GetInstallConfig ¶
func (r *UpgradeClusterConfigGather) GetInstallConfig(ctx context.Context) (string, error)
func (*UpgradeClusterConfigGather) GetKubeadminPasswordHash ¶
func (r *UpgradeClusterConfigGather) GetKubeadminPasswordHash(ctx context.Context) (string, error)
func (*UpgradeClusterConfigGather) GetProxy ¶
func (r *UpgradeClusterConfigGather) GetProxy(ctx context.Context) (*seedreconfig.Proxy, *seedreconfig.Proxy, error)
Click to show internal directories.
Click to hide internal directories.