Documentation ¶
Index ¶
Constants ¶
View Source
const ( // IntegrationTestTag is specifically used for integration test // in case the test is run against non seed cluster then the supplied MachineClass // is expected to have these tags set so that the machines created from this suite // won't be orphan collected. IntegrationTestTag = "kubernetes-io-role-integration-test" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourcesTrackerImpl ¶
type ResourcesTrackerImpl struct { MachineClass *v1alpha1.MachineClass SecretData map[string][]byte ClusterName string }
ResourcesTrackerImpl type keeps a note of resources which are initialized in MCM IT suite and are used in provider IT
func (*ResourcesTrackerImpl) InitializeResourcesTracker ¶
func (r *ResourcesTrackerImpl) InitializeResourcesTracker(machineClass *v1alpha1.MachineClass, secretData map[string][]byte, clusterName string) error
InitializeResourcesTracker initializes the type ResourcesTrackerImpl variable and tries to delete the orphan resources present before the actual IT runs.
func (*ResourcesTrackerImpl) IsOrphanedResourcesAvailable ¶
func (r *ResourcesTrackerImpl) IsOrphanedResourcesAvailable() bool
IsOrphanedResourcesAvailable checks whether there are any orphaned resources left. If yes, then prints them and returns true. If not, then returns false
Click to show internal directories.
Click to hide internal directories.