lock

package
v0.109.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLockingEnabledForMainControllers

func IsLockingEnabledForMainControllers(config *config.LandscaperConfiguration) bool

Types

type LockCleaner

type LockCleaner struct {
	// contains filtered or unexported fields
}

func NewLockCleaner

func NewLockCleaner(lsClient client.Client) *LockCleaner

func (*LockCleaner) StartPeriodicalSyncObjectCleanup

func (l *LockCleaner) StartPeriodicalSyncObjectCleanup(ctx context.Context, logger logging.Logger)

type Locker

type Locker struct {
	// contains filtered or unexported fields
}

func NewLocker

func NewLocker(lsClient, hostClient client.Client, prefix string) *Locker

func (*Locker) LockExecution

func (*Locker) LockInstallation

func (*Locker) NotLockedResult

func (l *Locker) NotLockedResult() (reconcile.Result, error)

func (*Locker) Unlock

func (l *Locker) Unlock(ctx context.Context, syncObject *lsv1alpha1.SyncObject)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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