Documentation
¶
Index ¶
Constants ¶
View Source
const DEFAULT_GROUP_MESSAGE_LIFETIME_DAYS = 30
View Source
const DEFAULT_LIFETIME_OF_INSTALLATIONS = 90
View Source
const DEFAULT_LIFETIME_OF_KEY_PACKAGES = 90
View Source
const DEFAULT_LIFETIME_OF_WELCOME_MESSAGES = 90
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func NewPruneExecutor ¶
type GroupMessagesPruner ¶ added in v1.1.0
type GroupMessagesPruner struct {
// contains filtered or unexported fields
}
func NewGroupMessagesPruner ¶ added in v1.1.0
func (*GroupMessagesPruner) Count ¶ added in v1.1.0
func (g *GroupMessagesPruner) Count(ctx context.Context) (int64, error)
func (*GroupMessagesPruner) Name ¶ added in v1.1.0
func (g *GroupMessagesPruner) Name() string
func (*GroupMessagesPruner) PruneCycle ¶ added in v1.1.0
func (g *GroupMessagesPruner) PruneCycle(ctx context.Context) (int, error)
type InstallationsPruner ¶ added in v1.1.0
type InstallationsPruner struct {
// contains filtered or unexported fields
}
func NewInstallationsPruner ¶ added in v1.1.0
func (*InstallationsPruner) Count ¶ added in v1.1.0
func (ip *InstallationsPruner) Count(ctx context.Context) (int64, error)
func (*InstallationsPruner) Name ¶ added in v1.1.0
func (ip *InstallationsPruner) Name() string
func (*InstallationsPruner) PruneCycle ¶ added in v1.1.0
func (ip *InstallationsPruner) PruneCycle(ctx context.Context) (int, error)
type KeyPackagesPruner ¶ added in v1.2.0
type KeyPackagesPruner struct {
// contains filtered or unexported fields
}
func NewKeyPackagesPruner ¶ added in v1.2.0
func (*KeyPackagesPruner) Count ¶ added in v1.2.0
func (ip *KeyPackagesPruner) Count(ctx context.Context) (int64, error)
func (*KeyPackagesPruner) Name ¶ added in v1.2.0
func (ip *KeyPackagesPruner) Name() string
func (*KeyPackagesPruner) PruneCycle ¶ added in v1.2.0
func (ip *KeyPackagesPruner) PruneCycle(ctx context.Context) (int, error)
type WelcomePruner ¶
type WelcomePruner struct {
// contains filtered or unexported fields
}
func NewWelcomePruner ¶ added in v1.1.0
func (*WelcomePruner) Name ¶ added in v1.1.0
func (w *WelcomePruner) Name() string
func (*WelcomePruner) PruneCycle ¶
func (w *WelcomePruner) PruneCycle(ctx context.Context) (int, error)
Click to show internal directories.
Click to hide internal directories.