Documentation ¶
Index ¶
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, imgSelectors []container.RefSelector)
func (*DockerPruner) PruneAndRecordState ¶
func (dp *DockerPruner) PruneAndRecordState(ctx context.Context, maxAge time.Duration, imgSelectors []container.RefSelector, curBuildCount int)
Click to show internal directories.
Click to hide internal directories.