lock

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Locker

type Locker interface {
	GetName() string
	Lock(s *terraform.State) (ok bool, err error)
	Unlock(s *terraform.State) (ok bool, err error)
	GetLock(s *terraform.State) (terraform.LockInfo, error)
}

type LockerWithForceUnlockEnabled added in v0.1.2

type LockerWithForceUnlockEnabled struct {
	Locker
}

func NewLockerWithForceUnlockEnabled added in v0.1.2

func NewLockerWithForceUnlockEnabled(l Locker) *LockerWithForceUnlockEnabled

func (*LockerWithForceUnlockEnabled) Unlock added in v0.1.2

func (l *LockerWithForceUnlockEnabled) Unlock(state *terraform.State) (bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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