Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LockScheduledDeploy ¶ added in v0.86.0
func LockScheduledDeploy()
LockScheduledDeploy acquires the global scheduler/deployment lock. While held, scheduled runs and deployments are mutually exclusive.
func UnlockScheduledDeploy ¶ added in v0.86.0
func UnlockScheduledDeploy()
UnlockScheduledDeploy releases the scheduler/deployment lock.
Types ¶
type RepoLock ¶
type RepoLock struct {
// contains filtered or unexported fields
}
RepoLock represents a lock for a specific repository.
func GetRepoLock ¶
GetRepoLock retrieves or creates a RepoLock for the given repoName.
func (*RepoLock) Lock ¶
func (l *RepoLock) Lock()
Lock acquires the lock, blocking until it is available.
Click to show internal directories.
Click to hide internal directories.