types

package
v0.0.0-...-d796889 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BulkDeleteKind = "BulkDelete"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkDelete

type BulkDelete struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec BulkDeleteSpec `json:"spec,omitempty"`
}

BulkK8sDelete delete all of the K8s objects of a given kind in a namespace

type BulkDeleteSpec

type BulkDeleteSpec struct {
	Groups []Group `json:"groups,omitempty"`
}

type Group

type Group struct {
	Namespace string `json:"namespace,omitempty"`
	Resource  string `json:"resource,omitempty"`
	Group     string `json:"group,omitempty"`
	Version   string `json:"version,omitempty"`
	// MinAge is the minimum age of an item to be eligible for deletion
	MinAge string `json:"minAge,omitempty"`
}

Jump to

Keyboard shortcuts

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