dockerprune

package
v0.18.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

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, 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)

func (*DockerPruner) SetUp added in v0.10.22

func (dp *DockerPruner) SetUp(ctx context.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL