commands

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeregisterCluster added in v1.2.1

func DeregisterCluster(ctx context.Context, args []string, logger logr.Logger) error

DeregisterCluster takes care of removing a non CAPI cluster that was previously registered.

func Generate added in v0.28.0

func Generate(ctx context.Context, args []string, logger logr.Logger) error

Generate takes care generating a kubeconfig

func LogLevel added in v0.2.0

func LogLevel(ctx context.Context, args []string, logger logr.Logger) error

LogLevel allows changing log verbosity.

func RedeployCluster added in v1.3.0

func RedeployCluster(ctx context.Context, args []string, logger logr.Logger) error

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

func RegisterCluster(ctx context.Context, args []string, logger logr.Logger) error

RegisterCluster takes care of importing a non CAPI cluster.

func Show

func Show(ctx context.Context, args []string, logger logr.Logger) error

Show takes keyword then calls subcommand.

func Version

func Version(args []string, logger logr.Logger) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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