tmp_manager

package
v1.2.51 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommonPrefix           = "werf-"
	ProjectDirPrefix       = CommonPrefix + "project-data-"
	DockerConfigDirPrefix  = CommonPrefix + "docker-config-"
	WerfConfigRenderPrefix = CommonPrefix + "config-render-"
)

Variables

This section is empty.

Functions

func CreateDockerConfigDir

func CreateDockerConfigDir(ctx context.Context, fromDockerConfig string) (string, error)

func CreateProjectDir

func CreateProjectDir(ctx context.Context) (string, error)

func CreateWerfConfigRender

func CreateWerfConfigRender(ctx context.Context) (string, error)

func GetCreatedTmpDirs

func GetCreatedTmpDirs() string

func GetReleasedTmpDirs

func GetReleasedTmpDirs() string

func GetServiceTmpDir

func GetServiceTmpDir() string

func Purge

func Purge(ctx context.Context, dryRun bool) error

func ReleaseProjectDir

func ReleaseProjectDir(dir string) error

func RunGC added in v1.2.11

func RunGC(ctx context.Context, dryRun bool) error

func ShouldRunAutoGC added in v1.2.11

func ShouldRunAutoGC() (bool, error)

Types

type LinkDesc

type LinkDesc struct {
	FileInfo os.FileInfo
	LinkPath string
}

Jump to

Keyboard shortcuts

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