destroy

package
v0.0.0-...-06d3161 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Destroy

func Destroy(ctx context.Context, at analyticsTrackerInterface, insights buildTrackerInterface, ioCtrl *io.Controller, k8sLogger *io.K8sLogger) *cobra.Command

Destroy destroys the dev application defined by the manifest

func NewConfigmapHandler

func NewConfigmapHandler(c kubernetes.Interface) configMapHandler

Types

type Options

type Options struct {
	Manifest *model.Manifest
	// ManifestPathFlag is the option -f as introduced by the user when executing this command.
	// This is stored at the configmap as filename to redeploy from the ui.
	ManifestPathFlag string
	// ManifestPath is the path to the manifest used though the command execution.
	// This might change its value during execution
	ManifestPath        string
	Name                string
	Namespace           string
	K8sContext          string
	Variables           []string
	DestroyVolumes      bool
	DestroyDependencies bool
	ForceDestroy        bool
	RunWithoutBash      bool
	DestroyAll          bool
	RunInRemote         bool
}

Options represents the options for destroy command

Jump to

Keyboard shortcuts

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