collector

package
v0.3.0-beta0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg *Config)

Run the collector according to cfg.

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

Collector is a garbage collector of unused resources in Datastore.

type Config

type Config struct {
	Cloud   string
	Bucket  string
	Cache   string
	Project string
	Before  time.Time
}

Config defines common fields needed to start the garbage collector.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL