tmp_manager

package
v1.2.0-alpha18 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var (
	AutoGCEnabled bool
)

Functions

func CreateDockerConfigDir

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

func CreateHelmTmpChartDestDir

func CreateHelmTmpChartDestDir() (string, error)

func CreateProjectDir

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

func CreateWerfConfigRender

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

func GC

func GC(ctx context.Context, dryRun bool) 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

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