Categorygithub.com/shiftstack/prune
modulepackage
0.0.0-20240611121638-4f7d0f92ecbf
Repository: https://github.com/shiftstack/prune.git
Documentation: pkg.go.dev

# README

Prune stale OpenShift resources in OpenStack

List resources older than a threshold.

Ignores resources tagged with: shiftstack-prune=keep.

Use

Dry run:

export OS_CLOUD=<clouds.yaml entry>
./prune

Actual run:

export OS_CLOUD=<clouds.yaml entry>
./prune --no-dry-run

Configure the resoruce TTL with --resource-ttl=<duration> where <duration> is expressed as a Go duration. For example:

export OS_CLOUD=<clouds.yaml entry>
./prune --no-dry-run --resource-ttl=5h

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author