Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultBundleCacheDir = "/var/cache/uploads"
Variables ¶
This section is empty.
Functions ¶
func NewBundleGC ¶
func NewBundleGC(cache cache.Cache, storageDir string, storageSyncInterval time.Duration) manager.Runnable
NewBundleGC returns a Runnable for controller-runtime that automatically garbage-collects bundle uploads as those bundles are deleted. In case deletion events are missed, the garbage collector also periodically deletes files in the storageDir that are not associated with an active uploaded bundle.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.