Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cleanup ¶
type Cleanup struct {
// contains filtered or unexported fields
}
Cleanup implements garbage collection for packages
func (*Cleanup) Prune ¶
Prune removes unused packages from the configured package service. It uses the direct application dependencies to determine the set of packages that are still required, and sweeps the rest. It will not remove packages from repositories other than the defaults.SystemAccountOrg unless it can tell if a package is safe to remove.
type Config ¶
type Config struct { // Config specifies the common pruner configuration prune.Config // App specifies the cluster application App *storage.Application // Apps lists other cluster applications. // There might be several applications meaningful for the cluster // if it's an Ops Center and has been connected with multiple remote // clusters. Apps []storage.Application // Packages specifies the package service to prune Packages packageService }
Config describes configuration for the cleaner of unused packages
Click to show internal directories.
Click to hide internal directories.