garbage

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	Log              logr.Logger
	Client           *kube.DynamicClient
	KubeConfig       *rest.Config
	InventoryManager *inventory.Manager
	WorkerPoolSize   int
}

Collector inspects the inventory for dangling manifests or helm releases, which are undefined in the declcd gitops repository, and uninstalls them from the Kubernetes cluster and inventory.

func (*Collector) Collect

func (c *Collector) Collect(ctx context.Context, dag *component.DependencyGraph) error

Collect inspects the inventory for dangling manifests or helm releases, which are undefined in the declcd gitops repository, and uninstalls them from the Kubernetes cluster and inventory. The DependencyGraph is a representation of the gitops repository.

Jump to

Keyboard shortcuts

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