Documentation
¶
Index ¶
- func DeregisterCluster(ctx context.Context, args []string, logger logr.Logger) error
- func Generate(ctx context.Context, args []string, logger logr.Logger) error
- func LogLevel(ctx context.Context, args []string, logger logr.Logger) error
- func RedeployCluster(ctx context.Context, args []string, logger logr.Logger) error
- func RegisterCluster(ctx context.Context, args []string, logger logr.Logger) error
- func Show(ctx context.Context, args []string, logger logr.Logger) error
- func Version(args []string, logger logr.Logger) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeregisterCluster ¶ added in v1.2.1
DeregisterCluster takes care of removing a non CAPI cluster that was previously registered.
func RedeployCluster ¶ added in v1.3.0
RedeployCluster defines the command structure for forcing a redeployment of all applications and add-ons on a target cluster.
This function clears the Status field of all relevant ClusterSummary instances, forcing Sveltos controllers to treat the deployed add-ons as requiring a fresh reconciliation. This process effectively triggers a re-evaluation and re-application of all associated ClusterProfiles/Profiles and the resources (configurations, secrets, deployments, etc.) they define on the target cluster.
func RegisterCluster ¶ added in v0.3.0
RegisterCluster takes care of importing a non CAPI cluster.
Types ¶
This section is empty.