Documentation
¶
Index ¶
- Constants
- func DisableProtection(ctx types.TestContext) error
- func EnableProtection(ctx types.TestContext) error
- func EnableProtectionDiscoveredApps(ctx types.TestContext) error
- func Failover(ctx types.TestContext) error
- func Purge(ctx types.TestContext) error
- func Relocate(ctx types.TestContext) error
Constants ¶
const (
OcmSchedulingDisable = "cluster.open-cluster-management.io/experimental-scheduling-disable"
)
Variables ¶
This section is empty.
Functions ¶
func DisableProtection ¶
func DisableProtection(ctx types.TestContext) error
remove DRPC update placement annotation
func EnableProtection ¶
func EnableProtection(ctx types.TestContext) error
If AppSet/Subscription, find Placement Determine DRPolicy Determine preferredCluster Determine PVC label selector Determine KubeObjectProtection requirements if Imperative (?) Create DRPC, in desired namespace nolint:funlen,cyclop
func EnableProtectionDiscoveredApps ¶
func EnableProtectionDiscoveredApps(ctx types.TestContext) error
nolint:funlen
func Failover ¶
func Failover(ctx types.TestContext) error
func Purge ¶
func Purge(ctx types.TestContext) error
Purge deletes the workload's protection resources, then the workload, and waits for all related resources to be completely deleted.
func Relocate ¶
func Relocate(ctx types.TestContext) error
Determine DRPC Check Placement Relocate to Primary in DRPolicy as the PrimaryCluster Update DRPC
Types ¶
This section is empty.