destroy

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeleteSonobuoyEnvWaitTime = time.Hour * 1
	NonOpenShiftNamespace     = "e2e-.*"
)

Variables

This section is empty.

Functions

func NewCmdDestroy

func NewCmdDestroy() *cobra.Command

Types

type DestroyOptions

type DestroyOptions struct {
}

func NewDestroyOptions

func NewDestroyOptions() *DestroyOptions

func (*DestroyOptions) DeleteSonobuoyEnv

func (d *DestroyOptions) DeleteSonobuoyEnv(sclient sonobuoyclient.Interface) error

DeleteSonobuoyEnv initiates deletion of Sonobuoy environment and waits until completion.

func (*DestroyOptions) DeleteTestNamespaces

func (d *DestroyOptions) DeleteTestNamespaces(kclient kubernetes.Interface) error

DeleteTestNamespaces deletes any non-openshift namespace.

func (*DestroyOptions) RestoreSCC

func (d *DestroyOptions) RestoreSCC(kclient kubernetes.Interface) error

Jump to

Keyboard shortcuts

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