commands

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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