Documentation ¶
Index ¶
- func SeedReconfigurationFromClusterInfo(clusterInfo *utils.ClusterInfo, ...) *seedreconfig.SeedReconfiguration
- type AdditionalTrustBundle
- type ServerSSHKey
- 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) GetAdditionalTrustBundle(ctx context.Context) (*AdditionalTrustBundle, 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)
- func (r *UpgradeClusterConfigGather) GetServerSSHKeys(ctx context.Context) ([]ServerSSHKey, 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, chronyConfig string, additionalTrustBundle *AdditionalTrustBundle, serverSSHKeys []ServerSSHKey, ) *seedreconfig.SeedReconfiguration
Types ¶
type AdditionalTrustBundle ¶
type AdditionalTrustBundle struct { // The contents of the "user-ca-bundle" configmap in the "openshift-config" namespace UserCaBundle string `json:"userCaBundle"` // The Proxy CR trustedCA configmap name ProxyConfigmapName string `json:"proxyConfigmapName"` // The contents of the ProxyConfigmapName configmap. Must equal // UserCaBundle if ProxyConfigmapName is "user-ca-bundle" ProxyConfigmapBundle string `json:"proxyConfigmapBundle"` }
type ServerSSHKey ¶
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) GetAdditionalTrustBundle ¶
func (r *UpgradeClusterConfigGather) GetAdditionalTrustBundle(ctx context.Context) (*AdditionalTrustBundle, 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)
func (*UpgradeClusterConfigGather) GetServerSSHKeys ¶
func (r *UpgradeClusterConfigGather) GetServerSSHKeys(ctx context.Context) ([]ServerSSHKey, error)
Click to show internal directories.
Click to hide internal directories.