Documentation ¶
Index ¶
- type DockerPruner
- func (dp *DockerPruner) DisabledForTesting(disabled bool)
- func (dp *DockerPruner) OnChange(ctx context.Context, st store.RStore)
- func (dp *DockerPruner) Prune(ctx context.Context, maxAge time.Duration, keepRecent int, ...)
- func (dp *DockerPruner) PruneAndRecordState(ctx context.Context, maxAge time.Duration, keepRecent int, ...)
- func (dp *DockerPruner) SetUp(ctx context.Context, _ store.RStore) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerPruner ¶
type DockerPruner struct {
// contains filtered or unexported fields
}
func NewDockerPruner ¶
func NewDockerPruner(dCli docker.Client) *DockerPruner
func (*DockerPruner) DisabledForTesting ¶
func (dp *DockerPruner) DisabledForTesting(disabled bool)
func (*DockerPruner) OnChange ¶
func (dp *DockerPruner) OnChange(ctx context.Context, st store.RStore)
func (*DockerPruner) Prune ¶
func (dp *DockerPruner) Prune(ctx context.Context, maxAge time.Duration, keepRecent int, imgSelectors []container.RefSelector)
func (*DockerPruner) PruneAndRecordState ¶
func (dp *DockerPruner) PruneAndRecordState(ctx context.Context, maxAge time.Duration, keepRecent int, imgSelectors []container.RefSelector, curBuildCount int)
Click to show internal directories.
Click to hide internal directories.