package
Version:
v6.3.0+incompatible
Opens a new window with list of versions in this module.
Published: Jun 28, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package gc implements the garbage collection logic for Purity.
-
func Run(url, instanceName, tokenFile string, tls bool, minAge time.Duration, ...) error
-
func RunForever(url, instanceName, tokenFile string, tls bool, minAge, frequency time.Duration)
Run runs once against the remote servers and triggers a GC if needed.
RunForever runs indefinitely, periodically hitting the remote server and possibly GC'ing it.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.