uninstall

package
v1.4.0-rc1 Latest Latest
Warning

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

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

Documentation

Overview

Package uninstall ...

Index

Constants

View Source
const (

	// FlagCatalogNamespace is the name of the catalog namespace flag.
	FlagCatalogNamespace = "catalog-namespace"
	// FlagSkipEnvDetection is the name of the skip env detection flag.
	FlagSkipEnvDetection = "skip-env-detection"
	// FlagSkipOLM is the name of the skip OLM flag.
	FlagSkipOLM = "skip-olm"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// KubeconfigPath is a path to a kubeconfig
	KubeconfigPath string `mapstructure:"kubeconfig"`
	// AssumeYes is true when all questions can be skipped.
	AssumeYes bool `mapstructure:"assume-yes"`
	// Force is true when we shall not prompt for removal.
	Force bool
	// SkipEnvDetection skips detecting the Kubernetes environment.
	SkipEnvDetection bool `mapstructure:"skip-env-detection"`

	// If set, we will print the pretty output.
	Pretty bool
}

Config stores configuration for the Uninstall command.

type Uninstall

type Uninstall struct {
	// contains filtered or unexported fields
}

Uninstall implements logic for the cluster command.

func NewUninstall

func NewUninstall(c Config, l *zap.SugaredLogger) (*Uninstall, error)

NewUninstall returns a new Uninstall struct.

func (*Uninstall) Run

func (u *Uninstall) Run(ctx context.Context) error

Run runs the cluster command.

Jump to

Keyboard shortcuts

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