tmp_manager

package
v1.2.325 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func CreateDockerConfigDir

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

func CreateKubeConfigFromBase64 added in v1.2.80

func CreateKubeConfigFromBase64(ctx context.Context, base64KubeConfig io.Reader) (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, containerBackend container_backend.ContainerBackend) error

func ReleaseProjectDir

func ReleaseProjectDir(dir string) error

func RunGC added in v1.2.11

func RunGC(ctx context.Context, dryRun bool, containerBackend container_backend.ContainerBackend) 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