werf

package
v1.1.22-alpha5 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GlobalWarningLines []string
)
View Source
var (
	Version = "dev"
)

Functions

func AcquireHostLock

func AcquireHostLock(lockName string, opts lockgate.AcquireOptions) (bool, lockgate.LockHandle, error)

func DefaultLockerOnLostLease

func DefaultLockerOnLostLease(lock lockgate.LockHandle) error

func DefaultLockerOnWait

func DefaultLockerOnWait(lockName string, doWait func() error) error

func GetHomeDir

func GetHomeDir() string

func GetHostLocker

func GetHostLocker() lockgate.Locker

func GetLocalCacheDir

func GetLocalCacheDir() string

func GetServiceDir

func GetServiceDir() string

func GetSharedContextDir

func GetSharedContextDir() string

func GetStagesStorageCacheDir

func GetStagesStorageCacheDir() string

func GetTmpDir

func GetTmpDir() string

func GlobalWarningLn added in v1.1.23

func GlobalWarningLn(line string)

func Init

func Init(tmpDirOption, homeDirOption string) error

func PrintGlobalWarnings added in v1.1.23

func PrintGlobalWarnings()

func ReleaseHostLock

func ReleaseHostLock(lock lockgate.LockHandle) error

func SetupLockerDefaultOptions

func SetupLockerDefaultOptions(opts lockgate.AcquireOptions) lockgate.AcquireOptions

func WithHostLock

func WithHostLock(lockName string, opts lockgate.AcquireOptions, f func() error) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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