dractions

package
v0.0.0-...-a74b631 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OcmSchedulingDisable = "cluster.open-cluster-management.io/experimental-scheduling-disable"
)

Variables

This section is empty.

Functions

func DisableProtection

func DisableProtection(ctx types.Context) error

remove DRPC update placement annotation

func DisableProtectionDiscoveredApps

func DisableProtectionDiscoveredApps(ctx types.Context) error

remove DRPC update placement annotation

func EnableProtection

func EnableProtection(ctx types.Context) 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

func EnableProtectionDiscoveredApps

func EnableProtectionDiscoveredApps(ctx types.Context) error

func Failover

func Failover(ctx types.Context) error

func Relocate

func Relocate(ctx types.Context) error

Determine DRPC Check Placement Relocate to Primary in DRPolicy as the PrimaryCluster Update DRPC

Types

This section is empty.

Jump to

Keyboard shortcuts

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