reaper

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupDeployments added in v1.7.0

func CleanupDeployments(ctx context.Context, logger *zap.Logger, client kubernetes.Interface, instanceID string, listOps metav1.ListOptions) error

CleanupDeployments deletes deployment(s) for a given instanceID

func CleanupHpa added in v1.7.0

func CleanupHpa(ctx context.Context, logger *zap.Logger, client kubernetes.Interface, instanceID string, listOps metav1.ListOptions) error

CleanupHpa deletes horizontal pod autoscaler(s) for a given instanceID

func CleanupKubeObject

func CleanupKubeObject(ctx context.Context, logger *zap.Logger, kubeClient kubernetes.Interface, kubeobj *apiv1.ObjectReference)

CleanupKubeObject deletes given kubernetes object

func CleanupPods added in v1.7.0

func CleanupPods(ctx context.Context, logger *zap.Logger, client kubernetes.Interface, instanceID string, listOps metav1.ListOptions) error

CleanupPods deletes pod(s) for a given instanceID

func CleanupServices added in v1.7.0

func CleanupServices(ctx context.Context, logger *zap.Logger, client kubernetes.Interface, instanceID string, listOps metav1.ListOptions) error

CleanupServices deletes service(s) for a given instanceID

func GetReaperNamespace added in v1.18.0

func GetReaperNamespace() map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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