workload

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReportsByLabel

func GetReportsByLabel(ctx context.Context, resolver kube.ObjectResolver, objectList client.ObjectList, namespace string,
	labels map[string]string) error

GetReportsByLabel fetch reports by matching labels

func MarkOldReportForImmediateDeletion

func MarkOldReportForImmediateDeletion(ctx context.Context, resolver kube.ObjectResolver, namespace string, resourceName string) error

MarkOldReportForImmediateDeletion set old (historical replicaSets) reports with TTL = 0 for immediate deletion

func SkipProcessing

func SkipProcessing(ctx context.Context, resource client.Object, or kube.ObjectResolver, scanOnlyCurrentRevisions bool, log logr.Logger, skipResourceLabels []string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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