Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package upgrades provides a framework for testing Kubernetes federation features before, during, and after different types of upgrades.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FederationUpgradeType ¶
type FederationUpgradeType int
FederationUpgradeType represents different types of federation upgrades.
const ( // FCPUpgrade indicates that federation control plane is being upgraded. FCPUpgrade FederationUpgradeType = iota // FederatedClustersUpgrade indicates that federated clusters are being upgraded. FederatedClustersUpgrade // FCPUpgradeFollowedByFederatedClustersUpgrade indicates that federation control plane is upgraded // followed by federated clusters upgrade. FCPUpgradeFollowedByFederatedClustersUpgrade // FederatedClustersUpgradeFollowedByFCPUpgrade indicates that federated clusters are upgraded // followed by federation control plane upgrade. FederatedClustersUpgradeFollowedByFCPUpgrade )
type Test ¶
type Test interface {
	// Setup should create and verify whatever objects need to
	// exist before the upgrade disruption starts.
	Setup(f *fedframework.Framework)
	// Test will run during the upgrade. When the upgrade is
	// complete, done will be closed and final validation can
	// begin.
	Test(f *fedframework.Framework, done <-chan struct{}, upgrade FederationUpgradeType)
	// TearDown should clean up any objects that are created that
	// aren't already cleaned up by the framework.
	Teardown(f *fedframework.Framework)
}
    Test is an interface for federation upgrade tests.
 Click to show internal directories. 
   Click to hide internal directories.