werf

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
)

Functions

func AcquireHostLock added in v1.1.9

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

func DefaultLockerOnLostLease added in v1.1.10

func DefaultLockerOnLostLease(lock lockgate.LockHandle) error

func DefaultLockerOnWait added in v1.1.10

func DefaultLockerOnWait(lock lockgate.LockHandle, doWait func() error) error

func GetHomeDir

func GetHomeDir() string

func GetHostLocker added in v1.1.9

func GetHostLocker() lockgate.Locker

func GetLocalCacheDir

func GetLocalCacheDir() string

func GetServiceDir

func GetServiceDir() string

func GetSharedContextDir

func GetSharedContextDir() string

func GetStagesStorageCacheDir added in v1.1.10

func GetStagesStorageCacheDir() string

func GetStorageLockManagerDir added in v1.1.10

func GetStorageLockManagerDir() string

func GetTmpDir

func GetTmpDir() string

func Init

func Init(tmpDirOption, homeDirOption string) error

func ReleaseHostLock added in v1.1.9

func ReleaseHostLock(lock lockgate.LockHandle) error

func SetupLockerDefaultOptions added in v1.1.10

func SetupLockerDefaultOptions(opts lockgate.AcquireOptions) lockgate.AcquireOptions

func WithHostLock added in v1.1.9

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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