cleanup

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: Apache-2.0 Imports: 4 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, assetService handlersv1beta1.AssetService) (uint32, error)

Types

type Config

type Config struct {
	DryRun         bool          `mapstructure:"dry_run" default:"true"`
	ExpiryDuration time.Duration `mapstructure:"expiry_duration" default:"720h0m0s"` // 30 days
	Services       string        `mapstructure:"services"`                           // list of services separated by comma, "all" means all service
}

Jump to

Keyboard shortcuts

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