snap

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Snap

func Snap(options *SnapOptions) (deleted []string, err error)

Snap deletes half the pods in a Kubernetes cluster and returns a list of pod names that were deleted.

Types

type SnapOptions

type SnapOptions struct {
	Namespace        string
	SnapAllPods      bool
	SnapOrphanedPods bool
	SnapStoppedPods  bool
}

Jump to

Keyboard shortcuts

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