Documentation ¶
Index ¶
- Constants
- func NewJournal(params libfsm.ExecutorParams, runtimePath string, silent localenv.Silent, ...) (libfsm.PhaseExecutor, error)
- func NewPackages(params libfsm.ExecutorParams, app storage.Application, ...) (libfsm.PhaseExecutor, error)
- func NewRegistry(params libfsm.ExecutorParams, clusterApp loc.Locator, ...) (libfsm.PhaseExecutor, error)
Constants ¶
View Source
const ( // Journal is the phase to remove obsolete systemd journal directories Journal = "/journal" // Packages is the phase to remove unused telekube packages Packages = "/packages" // ClusterPackages is the sub-phase to remove unused telekube packages // from cluster package storage ClusterPackages = "/packages/cluster" // Registry is the phase to remove unused docker images Registry = "/registry" )
Variables ¶
This section is empty.
Functions ¶
func NewJournal ¶
func NewJournal(params libfsm.ExecutorParams, runtimePath string, silent localenv.Silent, logger log.FieldLogger) (libfsm.PhaseExecutor, error)
NewJournal returns a new executor to remove obsolete systemd journal directories inside the runtime container.
func NewPackages ¶
func NewPackages( params libfsm.ExecutorParams, app storage.Application, packages libpack.PackageService, silent localenv.Silent, logger log.FieldLogger, ) (libfsm.PhaseExecutor, error)
NewPackages creates a new executor that removes unused telekube packages
func NewRegistry ¶
func NewRegistry( params libfsm.ExecutorParams, clusterApp loc.Locator, clusterApps app.Applications, clusterPackages pack.PackageService, silent localenv.Silent, logger log.FieldLogger, ) (libfsm.PhaseExecutor, error)
NewRegistry creates a new executor to prune unused docker images on a node
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.