package
Version:
v6.3.5+incompatible
Opens a new window with list of versions in this module.
Published: Jul 6, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 20
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 Clean(url, instanceName, tokenFile string, tls, dryRun bool) error
-
func Delete(url, instanceName, tokenFile string, tls bool, hashes []string) error
-
func Run(url, instanceName, tokenFile string, tls bool, minAge time.Duration, ...) error
-
func RunForever(url, instanceName, tokenFile string, tls bool, minAge, frequency time.Duration)
Clean cleans any build actions referencing missing blobs from the server.
Delete deletes a series of build actions from the remote server.
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.