commands

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 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 Snapshot

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

Snapshot takes keyword then calls subcommand.

func SnapshotReconciler

func SnapshotReconciler(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

func Techsupport added in v0.6.0

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

Techsupport takes keyword then calls subcommand.

func TechsupportReconciler added in v0.6.0

func TechsupportReconciler(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

func Version

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

Types

type ClusterPredicate added in v0.29.0

type ClusterPredicate struct {
	Logger logr.Logger
}

func (ClusterPredicate) Create added in v0.29.0

func (ClusterPredicate) Delete added in v0.29.0

func (ClusterPredicate) Generic added in v0.29.0

func (ClusterPredicate) Update added in v0.29.0

type SnapshotPredicate added in v0.29.0

type SnapshotPredicate struct {
	Logger logr.Logger
}

func (SnapshotPredicate) Create added in v0.29.0

func (SnapshotPredicate) Delete added in v0.29.0

func (SnapshotPredicate) Generic added in v0.29.0

func (SnapshotPredicate) Update added in v0.29.0

type SveltosClusterPredicate added in v0.29.0

type SveltosClusterPredicate struct {
	Logger logr.Logger
}

func (SveltosClusterPredicate) Create added in v0.29.0

func (SveltosClusterPredicate) Delete added in v0.29.0

func (SveltosClusterPredicate) Generic added in v0.29.0

func (SveltosClusterPredicate) Update added in v0.29.0

type TechsupportPredicate added in v0.29.0

type TechsupportPredicate struct {
	Logger logr.Logger
}

func (TechsupportPredicate) Create added in v0.29.0

func (TechsupportPredicate) Delete added in v0.29.0

func (TechsupportPredicate) Generic added in v0.29.0

func (TechsupportPredicate) Update added in v0.29.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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