destroy

package
v1.57.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package destroy implements a 'devenv destroy' command that allows developers to destroy the running developer environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDestroy

func NewCmdDestroy(log logrus.FieldLogger) *cli.Command

Types

type Options

type Options struct {

	// Options
	CurrentClusterName    string
	RemoveImageCache      bool
	RemoveSnapshotStorage bool
	KubernetesRuntime     kubernetesruntime.Runtime
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(log logrus.FieldLogger, b *box.Config) (*Options, error)

func (*Options) MarshalLog added in v1.38.0

func (o *Options) MarshalLog(addField func(key string, v interface{}))

func (*Options) Run

func (o *Options) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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