MCPcopy Index your code
hub / github.com/eraser-dev/eraser

github.com/eraser-dev/eraser @v1.4.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.4.1 ↗ · + Follow
795 symbols 2,599 edges 117 files 348 documented · 44%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Eraser: Cleaning up Images from Kubernetes Nodes

GitHub FOSSA Status OpenSSF Best Practices OpenSSF Scorecard

Eraser logo

Eraser helps Kubernetes admins remove a list of non-running images from all Kubernetes nodes in a cluster.

Getting started

You can find a quick start guide in the Eraser documentation.

Demo

intro

Contributing

There are several ways to get involved:

This project welcomes contributions and suggestions.

This project has adopted the CNCF Code of Conduct.

Support

How to file issues and get help

This project uses GitHub Issues to track bugs and feature requests. Please search the existing issues before filing new issues to avoid duplicates. For new issues, file your bug or feature request as a new Issue.

The Eraser maintainers will respond to the best of their abilities.

Extension points exported contracts — how you extend this code

Collector (Interface)
(no doc) [3 implementers]
pkg/cri/client.go
ImageProvider (Interface)
interface for custom scanners to communicate with Eraser. [1 implementers]
pkg/scanners/template/scanner_template.go
Remover (Interface)
(no doc) [3 implementers]
pkg/cri/client.go
Scanner (Interface)
(no doc) [1 implementers]
pkg/scanners/trivy/types.go
ConfigFunc (FuncType)
(no doc)
pkg/scanners/template/scanner_template.go

Core symbols most depended-on inside this repo

Set
called by 280
test/e2e/util/utils.go
Error
called by 199
pkg/cri/util.go
LoadImageToCluster
called by 89
test/e2e/util/utils.go
GetClusterNodes
called by 26
test/e2e/util/utils.go
Logf
called by 22
pkg/remover/test_client_test.go
GetPodLogs
called by 22
test/e2e/util/utils.go
Finish
called by 21
pkg/scanners/template/scanner_template.go
String
called by 19
pkg/utils/flag.go

Shape

Function 446
Method 224
Struct 99
TypeAlias 17
Interface 5
FuncType 4

Languages

Go100%

Modules by API surface

api/v1alpha1/zz_generated.conversion.go78 symbols
api/v1alpha3/zz_generated.conversion.go54 symbols
api/v1alpha2/zz_generated.conversion.go48 symbols
api/v1alpha1/zz_generated.deepcopy.go45 symbols
api/unversioned/zz_generated.deepcopy.go43 symbols
test/e2e/util/utils.go38 symbols
api/v1/zz_generated.conversion.go34 symbols
api/v1alpha3/zz_generated.deepcopy.go27 symbols
api/v1alpha2/zz_generated.deepcopy.go25 symbols
api/v1alpha3/eraserconfig_types.go21 symbols
api/unversioned/eraserconfig_types.go21 symbols
api/v1alpha1/eraserconfig_types.go20 symbols

For agents

$ claude mcp add eraser \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact