Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // PreUpgradeClusterInfo holds the cluster info pre upgrade. PreUpgradeClusterInfo = ClusterStruct{} // PostUpgradeClusterInfo holds the cluster info post upgrade. PostUpgradeClusterInfo = ClusterStruct{} )
Functions ¶
This section is empty.
Types ¶
type ClusterStruct ¶
type ClusterStruct struct { Version string ID string Name string Operators []string NodeName string SriovNetworks []string SriovNetworkNodePolicies []string WorkloadResources []WorkloadStruct WorkloadPVs WorkloadPV }
ClusterStruct is a struct that holds the cluster info pre and post upgrade.
func (*ClusterStruct) SaveClusterInfo ¶
func (upgradeVar *ClusterStruct) SaveClusterInfo() error
SaveClusterInfo is a dedicated func to save cluster info.
type WorkloadObjects ¶
WorkloadObjects is a struct that holds the workload objects.
type WorkloadPV ¶
WorkloadPV struct holds the information to test that persistent volume content is not lost during upgrade.
type WorkloadStruct ¶
type WorkloadStruct struct { Namespace string Objects WorkloadObjects }
WorkloadStruct is a struct that holds the workload info.
Click to show internal directories.
Click to hide internal directories.