tmp_manager

package
v1.0.1-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 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-"
)

Variables

View Source
var (
	AutoGCEnabled = true
)

Functions

func CreateDockerConfigDir

func CreateDockerConfigDir(fromDockerConfig string) (string, error)

func CreateProjectDir

func CreateProjectDir() (string, error)

func CreateWerfConfigRender

func CreateWerfConfigRender() (string, error)

func GC

func GC(dryRun bool) error

func GetCreatedTmpDirs

func GetCreatedTmpDirs() string

func GetReleasedTmpDirs

func GetReleasedTmpDirs() string

func GetServiceTmpDir

func GetServiceTmpDir() string

func Purge

func Purge(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