clusterconfig

package
v0.0.0-...-5a6eb71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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

type UpgradeClusterConfigGather struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

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

type UpgradeClusterConfigGatherer

type UpgradeClusterConfigGatherer interface {
	FetchClusterConfig(ctx context.Context, ostreeVarDir string) error
	FetchLvmConfig(ctx context.Context, ostreeVarDir string) error
}

Directories

Path Synopsis
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL